* {
  box-sizing: border-box;
}

:root {
  --navy: #0F4666;
  --navy-dark: #0A3049;
  --blue: #1599C3;
  --blue-soft: #DDF2F9;
  --ice: #F3FBFE;
  --mint: #E7F6F5;
  --text: #163244;
  --muted: #5D7481;
  --white: #FFFFFF;
  --line: rgba(15, 70, 102, 0.12);
  --shadow: 0 24px 70px rgba(15, 70, 102, 0.16);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef9fd 0%, #ffffff 42%, #f3fbfe 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 251, 254, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 236px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a,
.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  transition: color .2s ease;
}

.main-nav > a:hover,
.nav-dropdown:hover .nav-drop-trigger,
.main-nav .active,
.nav-dropdown.active .nav-drop-trigger {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-trigger span {
  margin-left: 5px;
  font-size: 11px;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 330px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(15, 70, 102, .16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.submenu a:hover {
  color: var(--navy-dark);
  background: var(--blue-soft);
}

.header-phone {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(15, 70, 102, .18);
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 90px;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(21, 153, 195, 0.12);
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: -170px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(15, 70, 102, 0.08);
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.hero-content h1 {
  margin: 0 0 22px;
  color: var(--navy-dark);
  font-size: clamp(27px, 3.5vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.page-hero h1 {
  margin: 0 0 22px;
  color: var(--navy-dark);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p,
.page-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 16px 34px rgba(21, 153, 195, .26);
}

.btn-outline {
  color: var(--navy);
  background: rgba(255,255,255,.72);
  border-color: rgba(15, 70, 102, .16);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.hero-info div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
}

.hero-info strong,
.hero-info span {
  display: block;
}

.hero-info strong {
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-size: 15px;
}

.hero-info span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-visual,
.page-hero-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(15, 70, 102, 0.10);
  border-radius: 44px;
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow);
}

.hero-visual img,
.page-hero-card img {
  width: 100%;
  border-radius: 34px;
}

.floating-card {
  position: absolute;
  min-width: 176px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 36px rgba(15, 70, 102, .16);
  backdrop-filter: blur(12px);
}

.floating-card span,
.floating-card strong {
  display: block;
}

.floating-card span {
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.floating-card strong {
  color: var(--navy-dark);
  font-size: 15px;
}

.floating-card-one {
  top: 48px;
  left: -24px;
}

.floating-card-two {
  right: -22px;
  bottom: 64px;
}

.about-section,
.services-section,
.features-section,
.cta-section,
.content-section {
  padding: 82px 0;
}

.no-top {
  padding-top: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 70, 102, 0.08);
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ice);
  box-shadow: 0 18px 44px rgba(15, 70, 102, 0.10);
}

.about-image img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-grid h2,
.section-heading h2,
.feature-panel h2,
.cta-box h2,
.content-main h2 {
  margin: 0 0 18px;
  color: var(--navy-dark);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.content-main h2 {
  margin-top: 36px;
  font-size: clamp(26px, 2.4vw, 34px);
}

.about-grid p,
.section-heading p,
.feature-panel p,
.cta-box p,
.service-card p,
.feature-item p,
.content-main p,
.content-aside p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-grid p,
.content-main p,
.content-aside p {
  margin: 0 0 16px;
}

.lead-text {
  padding: 24px;
  border-left: 4px solid var(--blue);
  border-radius: 18px;
  background: var(--ice);
  font-size: 18px !important;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 292px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 46px rgba(15, 70, 102, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 153, 195, 0.28);
  box-shadow: 0 26px 58px rgba(15, 70, 102, 0.13);
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 800;
}

.service-card h3,
.feature-item h3,
.content-aside h3 {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-card p,
.feature-item p {
  margin: 0;
}

.features-section {
  background: linear-gradient(135deg, rgba(15, 70, 102, 0.08), rgba(21, 153, 195, 0.12));
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.feature-panel {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 56px rgba(15, 70, 102, 0.10);
}

.feature-panel p {
  margin: 0 0 28px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  padding: 30px;
  border: 1px solid rgba(15, 70, 102, 0.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.74);
}

.page-hero.compact .container {
  position: relative;
  z-index: 1;
}

.page-hero.compact {
  padding-bottom: 64px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.content-main,
.content-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 50px rgba(15, 70, 102, 0.08);
}

.content-main {
  padding: 42px;
}

.content-aside {
  padding: 30px;
}

.sticky-card {
  position: sticky;
  top: 110px;
}

.aside-phone {
  display: block;
  margin-top: 16px;
  color: var(--navy-dark);
  font-size: 22px;
  font-weight: 800;
}

.related-links {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-links strong {
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.related-links a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.related-links a:hover {
  color: var(--blue);
}

.cta-section {
  padding-bottom: 96px;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  align-items: center;
  padding: 50px;
  border-radius: 36px;
  color: var(--white);
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,.20), transparent 30%), linear-gradient(135deg, var(--navy-dark), var(--blue));
  box-shadow: var(--shadow);
}

.cta-box h2,
.cta-box p,
.cta-box .eyebrow {
  color: var(--white);
}

.cta-box .eyebrow::before {
  background: var(--white);
}

.cta-box p {
  max-width: 690px;
  margin: 0;
  opacity: .88;
}

.cta-actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.phone-large {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 70px;
  height: 70px;
  transition: .3s ease;
}

/* Foto */
.whatsapp-float img {
  height: 100%;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 2;
}

/* Onda 1 */
.whatsapp-float::before {
  animation: wave 2s infinite;
  animation-delay: .5s;
  content: "";
  background: rgba(37, 211, 102, .25);
  border: 1px solid #25d366;
  border-radius: 50%;
  display: block;
  inset: 0;
  position: absolute;
  z-index: -1;
}

/* Onda 2 */
.whatsapp-float::after {
  animation: wave 2s infinite;
  content: "";
  background: rgba(37, 211, 102, .25);
  border: 1px solid #25d366;
  border-radius: 50%;
  display: block;
  inset: 0;
  position: absolute;
  z-index: -1;
}

@keyframes wave {
  0% {
    transform: scale(1);
    opacity: .8;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.site-footer {
  padding: 23px 0;
  color: #fff;
  background: #000;
  text-align: center;
}

.footer-wrap {
  text-align: center;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  font-weight: 800;
}

@media (max-width: 1080px) {
  .header-wrap {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .brand img {
    width: 210px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    padding-bottom: 4px;
  }

  .submenu {
    left: 0;
    transform: translate(0, 10px);
  }

  .nav-dropdown:hover .submenu,
  .nav-dropdown:focus-within .submenu {
    transform: translate(0, 0);
  }

  .hero-grid,
  .page-hero-grid,
  .about-grid,
  .features-grid,
  .cta-box,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 38px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    justify-items: start;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-phone {
    display: none;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    align-items: flex-start;
  }

  .submenu {
    min-width: 280px;
  }

  .hero-section,
  .page-hero {
    padding: 48px 0 62px;
  }

  .hero-info,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .page-hero-card {
    padding: 10px;
    border-radius: 30px;
  }

  .hero-visual img,
  .page-hero-card img {
    border-radius: 24px;
  }

  .floating-card {
    position: static;
    margin-top: 12px;
  }

  .about-section,
  .services-section,
  .features-section,
  .cta-section,
  .content-section {
    padding: 58px 0;
  }

  .about-grid,
  .feature-panel,
  .cta-box,
  .content-main,
  .content-aside {
    padding: 28px;
  }

  .about-image img {
    min-height: 240px;
  }

  .service-card,
  .feature-item {
    padding: 24px;
  }

  .footer-wrap {
    display: grid;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 18px;
  }
}