/* ==========================================================
   Vía Legal · Sitio web
   Paleta: Azul Noche #0E2240 · Azul Vía #1F5FAE · Azul Destino #4DA3FF
           Hielo #E6EFF8 · Pizarra #3A4558
   Tipografía: Sora (titulares) · Inter (texto)
   ========================================================== */

:root {
  --navy: #0E2240;
  --navy-2: #12305A;
  --via: #1F5FAE;
  --via-2: #2E74C9;
  --dest: #4DA3FF;
  --ice: #E6EFF8;
  --bg-soft: #F4F8FC;
  --slate: #3A4558;
  --line: #E1EAF4;
  --wa: #1FA457;
  --wa-d: #178a47;

  --ff-h: 'Sora', system-ui, sans-serif;
  --ff-b: 'Inter', system-ui, sans-serif;

  --nav-h: 80px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
section[id] { scroll-margin-top: 64px; }

:focus-visible { outline: 2px solid var(--dest); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Piezas base ---------- */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--dest); flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--ff-b); letter-spacing: .18em; text-transform: uppercase;
  color: var(--via); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--dest); }

.h2, .h3 { font-family: var(--ff-h); font-weight: 600; color: var(--navy); letter-spacing: -.025em; line-height: 1.12; }
.h2 { font-size: clamp(1.9rem, 3.7vw, 2.9rem); }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

.arr::before { content: '→'; display: inline-block; transition: transform .25s var(--ease); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--ff-b); cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover .arr::before { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--via); color: #fff; }
.btn--primary:hover { background: var(--via-2); box-shadow: 0 10px 30px -10px rgba(46, 116, 201, .7); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--ice); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-d); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(14, 34, 64, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links > a:not(.btn) {
  position: relative; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .82);
  padding: 8px 0; transition: color .2s;
}
.nav__links > a:not(.btn):hover, .nav__links > a.is-active { color: #fff; }
.nav__links > a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--dest); border-radius: 2px;
}
.nav__mobile-cta { display: none; }
.nav__cta { padding: 13px 24px; font-size: 14.5px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  background: transparent; border: 1px solid rgba(255, 255, 255, .3);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0;
}
.nav__toggle span { width: 18px; height: 1.8px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(780px, 100svh);
  background: var(--navy);
  display: flex; align-items: center;
  --W: 700px; --H: 760px; --R: -60px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(31, 95, 174, .55), transparent 70%),
    radial-gradient(40% 40% at 8% 100%, rgba(31, 95, 174, .25), transparent 70%),
    linear-gradient(180deg, #0E2240 0%, #0F2748 60%, #0D2140 100%);
}
.hero__lines {
  position: absolute; z-index: -2; bottom: 0; right: var(--R);
  width: var(--W); height: var(--H);
}
.hero__dot {
  position: absolute; z-index: -1;
  right: calc(var(--R) + var(--W) / 2); bottom: calc(var(--H) * .8026);
  width: 0; height: 0;
}
.hero__dot i {
  position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--dest);
}
.hero__dot i::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(circle, rgba(77, 163, 255, .42), rgba(77, 163, 255, 0) 68%);
  animation: glow 4s ease-in-out infinite;
}
.hero__dot i::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--dest);
  animation: ping 2.8s var(--ease) infinite;
}
@keyframes glow { 50% { opacity: .65; scale: 1.08; } }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

.hero__inner { padding: calc(var(--nav-h) + 70px) 0 70px; }
.hero__inner > * { max-width: 700px; }
.hero__title {
  font-family: var(--ff-h); font-weight: 600; color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.3rem); line-height: 1.08; letter-spacing: -.035em;
  margin-bottom: 28px; text-wrap: balance;
}
.accent { color: var(--dest); }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .72); max-width: 560px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px; color: rgba(255, 255, 255, .7);
}
.hero__chips li { display: flex; align-items: center; gap: 10px; }

/* ---------- Secciones ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 56px 0 80px; }
.section--light { background: var(--bg-soft); }
.section--white { background: #fff; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.head .h2 { max-width: 560px; text-wrap: balance; }
.head__lead { max-width: 340px; color: var(--slate); font-size: 15.5px; }

/* ---------- Áreas ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); min-height: 252px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 163, 255, .14), transparent 70%);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(14, 34, 64, .35); border-color: #cfe0f2; }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ice); display: grid; place-items: center; margin-bottom: 26px;
}
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--via); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font: 600 1.15rem/1.25 var(--ff-h); color: var(--navy); letter-spacing: -.015em; margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin-bottom: 22px; }
.card__link { margin-top: auto; display: inline-flex; gap: 8px; font-size: 14px; font-weight: 600; color: var(--via); }
.card:hover .arr::before { transform: translateX(4px); }

.card--dark { background: var(--navy); border-color: var(--navy); }
.card--dark:hover { border-color: var(--navy); box-shadow: 0 24px 50px -22px rgba(14, 34, 64, .7); }
.card--dark .card__icon { background: rgba(255, 255, 255, .1); }
.card--dark .card__icon svg { stroke: var(--dest); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255, 255, 255, .72); }
.card--dark .card__link { color: var(--dest); }

/* ---------- Cómo trabajamos ---------- */
.route {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  --p: 0;
}
.route::before, .route::after {
  content: ''; position: absolute; left: 22px; top: 21px; height: 0;
}
.route::before { right: 0; border-top: 2px dashed #C6D7EB; }
.route::after {
  width: calc((100% - 22px) * var(--p)); border-top: 2px solid var(--via);
  box-shadow: 0 0 14px rgba(77, 163, 255, .6); transition: width .15s linear;
}
.step { position: relative; }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 26px;
  background: var(--navy); color: #fff; font: 600 14px/1 var(--ff-h);
}
.step--end .step__n { background: var(--via); }
.step h3 { font: 600 1.1rem/1.25 var(--ff-h); color: var(--navy); letter-spacing: -.015em; margin-bottom: 8px; }
.step p { font-size: 14.5px; max-width: 250px; }
.route__dest { position: absolute; right: -6px; top: 13px; }
.route__dest i {
  display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--dest);
  box-shadow: 0 0 0 6px rgba(77, 163, 255, .2), 0 0 24px 4px rgba(77, 163, 255, .55);
  animation: glow 3.2s ease-in-out infinite;
}

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about__media { position: relative; }
.about__panel {
  aspect-ratio: 1 / 1.02; border-radius: 28px; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(70% 60% at 70% 20%, rgba(77, 163, 255, .35), transparent 70%),
    linear-gradient(160deg, #163867, var(--navy));
}
.about__panel svg { width: 58%; filter: drop-shadow(0 20px 50px rgba(77, 163, 255, .35)); }
.about__badge {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--navy); font: 600 14px/1 var(--ff-h);
  padding: 12px 18px 12px 12px; border-radius: 14px; box-shadow: 0 14px 34px -14px rgba(14, 34, 64, .5);
}
.about__text { margin: 20px 0 30px; max-width: 480px; }
.about__list { display: grid; gap: 18px; }
.about__list li { display: flex; gap: 14px; align-items: flex-start; }
.about__list .dot { width: 8px; height: 8px; margin-top: 9px; box-shadow: 0 0 0 4px rgba(77, 163, 255, .2); }
.about__list b { display: block; font: 600 15.5px/1.4 var(--ff-h); color: var(--navy); }
.about__list span { font-size: 14.5px; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
.person__ph {
  aspect-ratio: 3 / 3.4; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
  background: linear-gradient(180deg, #EAF2FA, #D5E4F5);
  transition: transform .4s var(--ease);
}
.person:hover .person__ph { transform: translateY(-4px); }
.person__ph svg { width: 70%; fill: #A8C2E2; }
.person figcaption { padding-top: 14px; }
.person b { display: block; font: 600 15px/1.3 var(--ff-h); color: var(--navy); }
.person span { font-size: 13.5px; }

/* ---------- Banner CTA ---------- */
.banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px 64px; border-radius: 28px; background: linear-gradient(120deg, var(--navy), #123464);
}
.banner__glow {
  position: absolute; z-index: -1; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 163, 255, .38), transparent 66%);
}
.banner h2 { font: 600 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--ff-h); color: #fff; letter-spacing: -.025em; max-width: 480px; margin-bottom: 10px; }
.banner p { color: rgba(255, 255, 255, .72); }
.banner__actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: start; }
.contact .head__lead { max-width: 400px; margin-top: 20px; }
.contact__list { display: grid; gap: 22px; margin-top: 44px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.ci { width: 46px; height: 46px; border-radius: 13px; background: var(--ice); display: grid; place-items: center; flex: none; }
.ci svg { width: 21px; height: 21px; fill: none; stroke: var(--via); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list small { display: block; font-size: 12.5px; color: #6b7a90; line-height: 1.2; }
.contact__list b { font: 600 15.5px/1.4 var(--ff-h); color: var(--navy); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px;
  box-shadow: 0 40px 70px -40px rgba(14, 34, 64, .35);
  display: grid; gap: 20px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--ff-b); color: var(--navy);
  padding: 14px 16px; border-radius: 12px; border: 1px solid #D8E3F0; background: #FAFCFE;
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%233A4558' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA8BB; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--via); background: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 174, .12);
}
.field .is-invalid { border-color: #D14B4B; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--via); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__status { font-size: 14px; min-height: 1.4em; color: var(--via); }
.form__status.is-error { color: #C43D3D; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding-top: 80px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer__brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 260px; font-size: 14.5px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer__col h4 { font: 600 15px/1 var(--ff-h); color: #fff; margin-bottom: 8px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--wa);
  box-shadow: 0 12px 30px -8px rgba(31, 164, 87, .65);
  transition: transform .3s var(--ease), background .2s;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-d); }

/* WhatsApp solo se muestra cuando hay número configurado (js/main.js) */
html:not(.has-wa) .wa-float, html:not(.has-wa) .btn--wa { display: none; }

/* Tarjeta de llamada a la acción dentro de la cuadrícula de áreas */
.card--cta { background: transparent; border-style: dashed; border-color: #BFD1E6; justify-content: center; }
.card--cta .card__link { margin-top: 8px; }

/* Servicios por área */
.area__aud { margin-bottom: 22px; padding: 14px 18px; border-radius: 14px; background: var(--bg-soft); font-size: 14.5px; }
.area__aud small { display: block; font: 600 11px/1 var(--ff-b); letter-spacing: .16em; text-transform: uppercase; color: var(--via); margin-bottom: 8px; }
.svc { display: grid; gap: 0; margin-bottom: 26px; }
.svc li { position: relative; padding: 14px 0 14px 20px; border-top: 1px solid var(--line); }
.svc li::before { content: ''; position: absolute; left: 0; top: 1.35em; width: 6px; height: 6px; border-radius: 50%; background: var(--dest); }
.svc b { display: block; font: 600 15px/1.4 var(--ff-h); color: var(--navy); }
.svc span { font-size: 14px; color: var(--slate); }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1020px) {
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { gap: 56px; }
  .banner { padding: 44px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav { background: var(--navy); }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links > a:not(.btn) {
    display: flex; justify-content: space-between; align-items: center;
    font: 500 1.45rem/1 var(--ff-h); color: #fff; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav__links > a:not(.btn)::after { content: '→'; position: static; height: auto; background: none; color: var(--dest); font-size: 1rem; }
  .nav__links > a.is-active::after { height: auto; }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: auto; padding-top: 40px; text-align: center; }
  .nav__mobile-cta p { font-size: 13.5px; color: rgba(255, 255, 255, .6); }
  .nav__mobile-cta .btn { width: 100%; }

  .hero { --W: 460px; --H: 500px; --R: -195px; align-items: flex-start; min-height: 0; }
  .hero__inner { padding: calc(var(--nav-h) + 56px) 0 56px; }
  .hero__lines { opacity: .55; }
  .hero__dot i::before { width: 220px; height: 220px; }
  .hero__chips { flex-direction: column; gap: 12px; margin-top: 44px; }
  .hero__actions .btn { width: 100%; }

  .section { padding: 84px 0; }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }

  .route { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .route::before, .route::after, .route__dest { display: none; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding-bottom: 30px; }
  .step::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; border-left: 2px dashed #C6D7EB; }
  .step--end::before { display: none; }
  .step__n { grid-row: 1 / span 2; margin: 0; }
  .step p { max-width: none; }

  .about { grid-template-columns: 1fr; }
  .about__panel { aspect-ratio: 16 / 11; }
  .about__panel svg { width: 34%; }
  .contact { grid-template-columns: 1fr; }
  .banner { flex-direction: column; align-items: flex-start; }
  .banner__actions { width: 100%; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(1180px, 100% - 40px); }
  .grid3 { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .team { gap: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__actions .btn { width: 100%; }
  .banner { padding: 34px 26px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .footer__legal { flex-direction: column; gap: 6px; }
}

/* ==========================================================
   Páginas internas
   ========================================================== */
.nav--light, .nav--light.is-scrolled {
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav--light .nav__links > a:not(.btn) { color: var(--slate); }
.nav--light .nav__links > a:not(.btn):hover, .nav--light .nav__links > a.is-active { color: var(--via); }
.nav--light .nav__links > a.is-active::after { background: var(--via); }
.nav--light .nav__toggle { border-color: #cdd9e8; }
.nav--light .nav__toggle span { background: var(--navy); }

.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: calc(var(--nav-h) + 56px) 0 64px; overflow: hidden; }
.page-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.crumbs { font-size: 13px; color: #6b7a90; margin-bottom: 28px; }
.crumbs a:hover { color: var(--via); }
.h1 { font: 600 clamp(2.1rem, 4.6vw, 3.4rem)/1.1 var(--ff-h); color: var(--navy); letter-spacing: -.03em; max-width: 640px; text-wrap: balance; }
.page-hero__lead { max-width: 520px; margin-top: 20px; font-size: 1.05rem; }
.page-hero__mark { flex: none; width: clamp(120px, 15vw, 190px); }

.areas { max-width: 1040px; }
.area {
  display: grid; grid-template-columns: 320px 1fr; gap: 40px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.area:first-child { padding-top: 12px; }
.area__head { display: flex; gap: 16px; align-items: flex-start; }
.area__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ice); display: grid; place-items: center; flex: none; }
.area__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--via); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.area__n { display: block; font: 500 13px/1 var(--ff-b); color: var(--dest); margin: 4px 0 8px; }
.area h2 { font: 600 1.4rem/1.2 var(--ff-h); color: var(--navy); letter-spacing: -.02em; }
.area__body > p { color: var(--slate); margin-bottom: 20px; }
.area__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; margin-bottom: 26px; font-size: 14.5px; }
.area__list li { position: relative; padding-left: 18px; }
.area__list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--dest); }
.area__link { display: inline-flex; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--via); }
.area__link:hover .arr::before { transform: translateX(4px); }
.area:target h2 { color: var(--via); }
.areas__note { padding-top: 24px; font-size: 12.5px; color: #8593a8; }

.map { position: relative; margin-top: 36px; border-radius: 22px; overflow: hidden; aspect-ratio: 400 / 250; }
.map svg { width: 100%; height: 100%; }
.map__tag {
  position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--navy);
  font: 600 13px/1 var(--ff-b); padding: 10px 14px; border-radius: 10px; box-shadow: 0 8px 20px -10px rgba(14, 34, 64, .4);
}

.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.expect li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.expect li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(14, 34, 64, .35); }
.expect span { font: 500 13px/1 var(--ff-b); color: var(--dest); }
.expect h3 { font: 600 1.15rem/1.3 var(--ff-h); color: var(--navy); margin: 14px 0 8px; }
.expect p { font-size: 14.5px; }

@media (max-width: 900px) {
  .page-hero { padding: calc(var(--nav-h) + 36px) 0 48px; }
  .page-hero__mark { width: 84px; align-self: flex-start; }
  .area { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .expect { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .area__list { grid-template-columns: 1fr; }
  .page-hero__inner { align-items: flex-start; }
}
