/* =========================================================
   MIDAX — estilos
   Todo el sitio es marfil. El volumen lo dan los relieves: una luz
   blanca arriba a la izquierda y una sombra marino abajo a la
   derecha, siempre en ese orden. El marino y el dorado quedan sólo
   para la tinta y los acentos. Ningún tercer color.
   ========================================================= */

@view-transition { navigation: auto; }

:root {
  --navy: #0B1F3B;
  --navy-900: #071427;
  --navy-800: #0E284C;
  --navy-700: #15325C;
  --gold: #C9A227;
  --gold-hi: #D9B53F;
  --gold-600: #B08D22;
  --gold-ink: #6E5410;          /* dorado para texto chico sobre marfil (5.5:1) */
  --gold-dis: #8E6F18;          /* dorado para titulares grandes (3.6:1, AA large) */
  --ivory: #E7E0D2;            /* el fondo de todo el sitio */
  --paper: #FBF8F2;            /* blanco cálido: el puro se ve azul sobre el marfil */
  --ink: #0B1F3B;
  --muted: #5B6778;
  --tenue: #4E5A6B;            /* texto secundario */
  --line: rgba(11, 31, 59, .18);
  --line-dark: rgba(255, 255, 255, .16);   /* sobre la barra marino y las fotos */

  /* Relieve. La luz entra de arriba a la izquierda: primero la luz
     blanca, después la sombra. Si inviertes el orden se hunde. */
  --relieve:      -10px -10px 20px rgba(255, 255, 255, .85), 12px 12px 28px rgba(11, 31, 59, .16);
  --relieve-sm:    -5px  -5px 11px rgba(255, 255, 255, .80),  7px  7px 16px rgba(11, 31, 59, .14);
  --relieve-alto: -14px -14px 32px rgba(255, 255, 255, .90), 22px 22px 48px rgba(11, 31, 59, .20);
  --hundido: inset 5px 5px 11px rgba(11, 31, 59, .13), inset -5px -5px 11px rgba(255, 255, 255, .85);

  /* Source Serif 4 para los titulares e Inter para todo lo demás: es
     la pareja de la banca y los seguros. Instrument Serif se cambió
     el 2026-09-13: su cursiva se veía poco seria para el rubro. */
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* si no, .menu{display:flex} le gana al atributo */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }

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

.ic {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; margin: 0; }
h2 { font-size: clamp(2.15rem, 4vw, 3.6rem); line-height: 1.06; }
h1 em, h2 em, .oe-big em { font-style: italic; color: var(--gold-dis); }
.sec-alto h2 em { color: var(--gold-dis); }

.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font: 600 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-ink); }
.eyebrow-navy { color: var(--navy); }

.sec-intro { color: var(--tenue); font-size: 1.08rem; max-width: 30em; }
.link { color: var(--gold-ink); border-bottom: 1px solid currentColor; font-weight: 600; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.7rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--sans); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn .ic { transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
/* El principal va en marino. El dorado pleno de fondo, sobre un marfil
   cálido, tiraba a mostaza y le quitaba seriedad a la llamada. El dorado
   se queda en los acentos: filetes, iconos, cursivas y el logo. */
.btn-gold { background: var(--navy); color: #fff; box-shadow: var(--relieve-sm); }
/* Dentro de la barra marino el botón marino se perdería: ahí vuelve el
   dorado, que es el único sitio del sitio donde el dorado va de fondo. */
.nav .btn-gold, .menu .btn-gold { background: var(--gold); color: var(--navy); box-shadow: none; }
.nav .btn-gold:hover, .menu .btn-gold:hover { background: var(--gold-hi); }
.btn-gold:hover { background: var(--navy-700); box-shadow: var(--relieve); }
.btn-ghost { background: var(--paper); border-color: transparent; color: var(--ink); box-shadow: var(--relieve-sm); }
.btn-ghost:hover { color: var(--gold-ink); box-shadow: var(--relieve); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-sm { min-height: 44px; padding: 0 1.25rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; line-height: 0; }
/* El logo de la clienta tal cual (img/logo.png): sus colores, su eslogan
   y su fondo transparente, en la barra y en el pie. No se recolorea ni se
   le pone placa: lo pidió Jefferson. */
.logo img { display: block; width: auto; height: 62px; }
.logo-lg img { height: clamp(80px, 11vw, 132px); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; background: var(--navy); color: #fff;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav.scrolled {
  background: var(--navy-900);
  box-shadow: 0 18px 36px -26px rgba(11, 31, 59, .75);
}
.nav-links { display: flex; gap: 34px; }
.nav-links a { position: relative; font-size: .93rem; font-weight: 500; color: rgba(255, 255, 255, .78); padding: 10px 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: #fff; min-height: 44px; }
.nav-tel .ic { color: var(--gold-hi); }
/* Entrar al panel: discreto, del mismo peso que el teléfono. */
.nav-login {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .85); transition: color .3s;
}
.nav-login .ic { color: var(--gold-hi); }
.nav-login:hover { color: #fff; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-dark); }
.lang button {
  min-width: 40px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 700 .78rem/1 var(--sans); letter-spacing: .08em; color: rgba(255, 255, 255, .7); transition: background-color .3s, color .3s;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; cursor: pointer; align-items: center; justify-content: center; }
.burger .ic { width: 22px; height: 22px; }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--navy-900); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 110px clamp(20px, 6vw, 56px) 48px;
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 400 clamp(2rem, 7.5vw, 2.8rem)/1.3 var(--serif); padding: 4px 0; border-bottom: 1px solid var(--line-dark); }
.menu-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.menu-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 1.05rem; }
.menu-tel .ic { color: var(--gold-hi); }

/* ---------- Héroe ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ivory);
  padding-block: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) clamp(72px, 9vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* Tres brillos muy flojos: si suben, el marfil se vuelve blanco y
     el relieve deja de verse. Ninguno pasa de .18. */
  background:
    radial-gradient(44% 48% at 90% 14%, rgba(201, 162, 39, .18), transparent 72%),
    radial-gradient(34% 38% at 2% -4%, rgba(255, 255, 255, .38), transparent 70%),
    radial-gradient(46% 54% at 0% 104%, rgba(11, 31, 59, .07), transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); line-height: 1.04; margin-bottom: .55em; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); color: var(--tenue); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px;
  margin: 2.8rem 0 0; padding: 1.7rem 0 0; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--tenue);
}
.hero-trust li { display: flex; align-items: center; gap: 9px; }
.hero-trust .ic { color: var(--gold-ink); }

/* Oculto hasta que GSAP lo anima. Si a los 3.5 s nada lo animó, la
   animación de rescate lo muestra igual: nunca un héroe en blanco. */
.motion .hero-copy > *, .motion .hero-media { opacity: 0; animation: rescate 0s 3.5s forwards; }
@keyframes rescate { to { opacity: 1; } }

.hero-media { position: relative; max-width: 520px; justify-self: end; width: 100%; }
/* Arco con línea dorada desplazada detrás: el único adorno del héroe. */
.hero-media::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; pointer-events: none;
  border: 1px solid rgba(201, 162, 39, .5);
  border-radius: 50% 50% 24px 24px / 40% 40% 24px 24px;
}
.arch {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #D6CEBC;
  box-shadow: var(--relieve-alto);
  border-radius: 50% 50% 24px 24px / 40% 40% 24px 24px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* Un 10 % de más alto para que el parallax del héroe no destape el
   borde de abajo del arco. Sin esto asoma el fondo al bajar. */
@media (min-width: 901px) { .arch img { height: 110%; top: -5%; position: relative; } }

.oe-card {
  position: absolute; left: -14%; bottom: 9%; display: flex; align-items: center; gap: 16px;
  max-width: 310px; padding: 18px 22px 18px 20px; border-radius: 18px;
  background: var(--paper); color: var(--navy);
  box-shadow: var(--relieve-alto);
  transition: transform .6s var(--ease);
}
.oe-card:hover { transform: translateY(-4px); }
.oe-num { font: 400 2.9rem/.9 var(--serif); color: var(--navy); min-width: 1.2ch; }
.oe-card[data-abierta] .oe-num { display: none; }
.oe-txt { display: flex; flex-direction: column; gap: 4px; }
.oe-label { font-size: .88rem; font-weight: 700; line-height: 1.3; }
.oe-sub { font-size: .8rem; color: var(--gold-ink); font-weight: 600; letter-spacing: .02em; }

/* ---------- Aseguradoras ---------- */
.carriers-band { background: var(--paper); padding-block: clamp(40px, 5vw, 60px); box-shadow: var(--relieve); }
.carriers-in { display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; align-items: center; }
.carriers-label { display: flex; flex-direction: column; gap: 10px; }
.carriers-label b { font: 400 clamp(2.7rem, 4.2vw, 3.7rem)/.9 var(--serif); color: var(--gold-dis); }
.carriers-label span { font: 600 .74rem/1.45 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tenue); max-width: 15em; }
.carriers-list {
  list-style: none; margin: 0; padding: 0 0 0 64px; border-left: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 10px 24px;
}
.carriers-list li { font: 500 clamp(.98rem, 1.2vw, 1.12rem)/1.4 var(--sans); color: var(--ink); }

/* ---------- Secciones ---------- */
.sec { position: relative; padding-block: clamp(92px, 11vw, 150px); }
/* Dos alturas: la de papel queda a ras del marfil y la alta sobresale.
   Ninguna cambia de color, sólo de relieve. */
.sec-paper { background: var(--paper); box-shadow: var(--relieve); }
.sec-alto { background: var(--paper); overflow: hidden; box-shadow: var(--relieve-alto); }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(52px, 6vw, 84px); }
.sec-head .eyebrow { margin-bottom: 20px; }

/* ---------- Coberturas ---------- */
.cob { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cob-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cob-item { border-bottom: 1px solid var(--line); }
.cob-btn {
  display: grid; grid-template-columns: 58px 1fr 44px; align-items: center; gap: 12px;
  width: 100%; padding: 30px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.cob-num { font: 600 .82rem/1 var(--sans); letter-spacing: .1em; color: var(--gold-ink); }
.cob-title { font: 400 clamp(1.7rem, 2.8vw, 2.4rem)/1.1 var(--serif); transition: color .4s, transform .6s var(--ease); }
.cob-btn:hover .cob-title { transform: translateX(6px); }
.cob-plus {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s;
}
.cob-item.open .cob-plus { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.cob-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.cob-item.open .cob-body { grid-template-rows: 1fr; }
.cob-body > div { overflow: hidden; padding-left: 70px; }
.cob-item.open .cob-body > div { padding-bottom: 34px; }
.cob-short { font-size: 1.1rem; color: var(--ink); max-width: 34em; }
.cob-thumb { display: none; }
.checks { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: var(--gold-ink); margin-top: 4px; }
.carriers { margin: 0 0 18px; font-size: .9rem; color: var(--ink); font-weight: 600; }
.carriers span { font-weight: 500; color: var(--muted); }
.carriers > span:first-child::after { content: ":"; }
.tag {
  display: inline-block; padding: 8px 14px; border-radius: 999px; border: 0;
  font-size: .8rem; font-weight: 600; color: var(--navy); background: var(--paper); box-shadow: var(--relieve-sm);
}

.cob-stage { position: sticky; top: 108px; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #D6CEBC; box-shadow: var(--relieve-alto); }
.cob-stage figure {
  position: absolute; inset: 0; margin: 0; z-index: 0;
  clip-path: inset(100% 0 0 0); transition: clip-path .8s var(--ease);
}
.cob-stage figure.prev { clip-path: inset(0 0 0 0); z-index: 1; transition: none; }
.cob-stage figure.on { clip-path: inset(0 0 0 0); z-index: 2; }
.cob-stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1s var(--ease); }
.cob-stage figure.on img { transform: scale(1); }
/* Sombra SOLO donde hay texto: abajo, y se desvanece antes del centro. */
.cob-stage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 30px 28px;
  background: linear-gradient(to top, rgba(7, 20, 39, .82), rgba(7, 20, 39, 0));
  color: #fff; font: 400 1.45rem/1.2 var(--serif);
}
.cob-stage figcaption b { font-weight: 400; }
.cob-stage figcaption span { display: block; margin-bottom: 10px; font: 600 .76rem/1 var(--sans); letter-spacing: .18em; color: var(--gold); }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 44px 40px 8px 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 40px; }
.step-n { display: block; font: 400 clamp(3.4rem, 5.4vw, 5rem)/.9 var(--serif); color: var(--gold-dis); margin-bottom: 26px; }
.step h3 { font-size: 1.7rem; line-height: 1.15; margin-bottom: 14px; }
.step p { color: var(--muted); }

.callout {
  margin-top: clamp(56px, 7vw, 88px); display: flex; align-items: center; gap: 22px 28px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: 22px; background: var(--ivory); box-shadow: var(--hundido);
}
.callout-ic { width: 30px; height: 30px; color: var(--gold-ink); }
.callout p { flex: 1 1 320px; font-size: 1.08rem; }
.callout strong { font-weight: 700; }

/* ---------- Nosotros + equipo ---------- */
.bigx {
  position: absolute; right: -4vw; top: -6vw; pointer-events: none; user-select: none;
  font: 800 clamp(20rem, 42vw, 42rem)/1 var(--sans); color: transparent;
  -webkit-text-stroke: 1px rgba(11, 31, 59, .07);
}
.about { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px 90px; align-items: end; }
.about-lead { color: var(--tenue); font-size: 1.12rem; margin-top: 26px; max-width: 32em; }
.about-cols { margin: 0; display: grid; gap: 28px; }
.about-cols > div { padding-top: 24px; border-top: 1px solid var(--line); }
.about-cols dt { font: 600 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.about-cols dd { margin: 0; color: var(--tenue); }

.team-head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; margin: clamp(90px, 10vw, 130px) 0 34px; }
.team-head h3 { font-size: clamp(1.75rem, 2.7vw, 2.3rem); }
.team-head p { color: var(--tenue); max-width: 26em; }
.team { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 14px; }
.member {
  display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 20px;
  background: var(--ivory); box-shadow: var(--relieve-sm);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.member:hover { transform: translateY(-3px); box-shadow: var(--relieve); }
.mono {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(201, 162, 39, .45); color: var(--gold-ink); font: 400 1.35rem/1 var(--serif); letter-spacing: .04em;
  box-shadow: var(--hundido);
}
.m-name { font-weight: 700; line-height: 1.3; }
.m-role { color: var(--tenue); font-size: .88rem; margin-top: 3px; }
.member-lead { grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 32px; background: var(--paper); box-shadow: var(--relieve); }
.member-lead .mono { width: 112px; height: 112px; font-size: 2.6rem; }
.member-lead .m-name { font: 400 1.9rem/1.1 var(--serif); }
.member-lead .m-role { color: var(--gold-ink); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 10px; }
.member-cta { padding: 0; background: var(--navy); border-color: var(--navy); color: #fff; }
.member-cta:hover { background: var(--navy-700); border-color: var(--navy-700); }
.member-cta a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 100%; padding: 24px; font-weight: 700; }
.member-cta .ic { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.member-cta:hover .ic { transform: translateX(4px); }
/* Foto real del panel: en su color, solo el recorte circular del .mono. */
img.mono { display: block; object-fit: cover; padding: 0; }
/* Equipo de otro tamaño que 1 líder + 5: el líder pasa a fila ancha
   (la grilla de 2 filas solo cierra con 5). Debajo de 1080 px ya es así. */
@media (min-width: 1081px) {
  .team-corta .member-lead { grid-row: auto; grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; }
  .team-corta .member-lead .mono { width: 84px; height: 84px; font-size: 2rem; }
}

/* ---------- Reseñas (solo reales, desde el panel) ---------- */
.testi { padding-block: clamp(72px, 9vw, 120px); }
.testi-head { margin-bottom: 34px; }
.testi-head h2 { max-width: 18em; }
.testi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.testi-card { background: var(--paper); box-shadow: var(--relieve-sm); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.testi-card blockquote {
  margin: 12px 0 18px; font: 400 1.1rem/1.5 var(--serif); color: var(--ink); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.testi-stars { display: flex; gap: 2px; }
.testi-stars .ic { width: 16px; height: 16px; fill: var(--gold); stroke: none; }
.testi-autor { font-weight: 700; }
.testi-meta { color: var(--tenue); font-size: .85rem; }

/* ---------- Franja de inscripción ---------- */
.oe-band { background: var(--ivory); padding-block: clamp(72px, 9vw, 120px); }
.oe-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px 80px; align-items: end;
  padding: clamp(34px, 5vw, 64px); border-radius: 34px;
  background: var(--paper); box-shadow: var(--relieve-alto);
}
.oe-big { font: 400 clamp(2.8rem, 6.2vw, 5.6rem)/.98 var(--serif); letter-spacing: -.02em; }
.oe-band .oe-big em { color: var(--gold-dis); }
.oe-big-n { font-style: italic; }
.oe-side p { font-size: 1.1rem; color: var(--tenue); margin-bottom: 26px; max-width: 30em; }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px 96px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .sec-intro { margin-top: 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font: 400 clamp(1.22rem, 1.7vw, 1.5rem)/1.3 var(--serif);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 22px; height: 22px; color: var(--gold-ink); transition: transform .5s var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 30px 0; color: var(--tenue); max-width: 40em; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px 90px; align-items: start; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .ic { color: var(--gold-ink); margin-top: 4px; }
.contact-list a:hover { color: var(--gold-ink); }
.contact-list small { color: var(--tenue); font-size: .88rem; }
.contact-list .dir { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 44px; font-size: .92rem; font-weight: 600; color: var(--gold-ink); }
.contact-list .dir .ic { margin-top: 0; width: 16px; height: 16px; }
.contact-list .dir:hover { color: var(--gold-600); }

.form-card { background: var(--paper); color: var(--navy); border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--relieve-alto); }
#cotizar { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 700; padding: 0; }
.field small { font-weight: 500; color: var(--muted); }
.field legend { margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px;
  border: 0; background: var(--ivory); box-shadow: var(--hundido); font-size: 1rem;
  transition: box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: var(--hundido), 0 0 0 3px rgba(201, 162, 39, .45); }
.field input[aria-invalid="true"] { box-shadow: var(--hundido), 0 0 0 2px #B42318; }
.field input::placeholder, .field textarea::placeholder { color: #8B95A3; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 0; background: var(--paper); box-shadow: var(--relieve-sm); font-size: .92rem; font-weight: 600; transition: all .3s var(--ease);
}
.chips label:hover span { box-shadow: var(--relieve); }
.chips input:checked + span { background: var(--navy); color: #fff; box-shadow: var(--relieve-sm); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--tenue); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.form-error { color: #B42318; font-size: .9rem; font-weight: 600; }
.form-note { font-size: .8rem; color: var(--tenue); text-align: center; }
/* Honeypot fuera de pantalla (no display:none: algunos bots lo detectan). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-wait { font-size: .9rem; font-weight: 600; color: var(--tenue); text-align: center; }
.form-ok .ok-fallo { color: #B42318; font-weight: 600; }
.form-ok [data-wa-alt] { margin-top: 20px; }
.form-ok { text-align: center; padding: 40px 10px; }
.form-ok:focus { outline: none; }
.ok-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--gold-hi); box-shadow: var(--relieve); margin-bottom: 22px; }
.ok-ic .ic { width: 32px; height: 32px; }
.form-ok h3 { font-size: 2rem; margin-bottom: 12px; }
.form-ok p { color: var(--tenue); max-width: 26em; margin-inline: auto; }

/* ---------- Pie ---------- */
.foot { background: var(--ivory); padding-block: clamp(72px, 9vw, 110px) 36px; box-shadow: inset 0 14px 26px -22px rgba(11, 31, 59, .45); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.foot-lines { font: 400 italic 1.3rem/1.25 var(--serif); color: var(--gold-ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 48px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.foot-cols a, .foot-cols span { color: var(--tenue); padding: 8px 0; transition: color .3s; }
.foot-cols a:hover { color: var(--gold-ink); }
.foot-h { font: 600 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.foot-bottom a { color: var(--tenue); border-bottom: 1px solid var(--line); }
.foot-bottom a:hover { color: var(--gold-ink); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--gold-hi);
  box-shadow: var(--relieve); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.wa-float:hover { transform: scale(1.06); box-shadow: var(--relieve-alto); }
.wa-float .ic { width: 26px; height: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .nav-tel { display: none; } }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .member-lead { grid-row: auto; grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; }
  .member-lead .mono { width: 84px; height: 84px; font-size: 2rem; }
}
@media (max-width: 900px) {
  .carriers-in { grid-template-columns: 1fr; }
  .carriers-label { flex-direction: row; align-items: center; gap: 18px; }
  .carriers-list { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .hero-grid, .sec-head, .cob, .about, .oe-grid, .faq, .contact { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 440px; margin-top: 20px; }
  .oe-card { left: -10px; bottom: 6%; }
  .cob-stage { display: none; }
  .cob-body > div { padding-left: 0; }
  .cob-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-left: 0; padding: 34px 0 30px; }
  .step + .step { border-top: 1px solid var(--line); }
  .step-n { margin-bottom: 14px; }
  .faq-side { position: static; }
}
@media (max-width: 600px) {
  :root { --nav-h: 72px; }
  .nav-end .btn-sm { display: none; }
  .nav-login { justify-content: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--line-dark); }
  .nav-login span { display: none; }
  .logo img { height: 50px; }
  .nav-end { gap: 10px; }
  .eyebrow { letter-spacing: .14em; font-size: .7rem; gap: 10px; }
  .eyebrow::before { width: 22px; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .cob-btn { grid-template-columns: 40px 1fr 44px; padding: 24px 0; }
  .team { grid-template-columns: 1fr; }
  .member-lead { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .faq-list details p { padding-right: 0; }
  .oe-card { max-width: 270px; padding: 14px 16px; }
  .oe-num { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   PÁGINAS LEGALES (privacidad.html y terminos.html)
   Texto largo: una sola columna angosta, sin relieves ni
   animación. Lo único que se busca es que se lea fácil y que
   se pueda citar por número de punto.
   ========================================================= */
.legal { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px)); }
/* La columna va centrada: en pantalla grande, un texto largo pegado a la
   izquierda deja media pantalla vacía y cansa de leer. */
.legal-head, .legal-cuerpo, .legal-pie { margin-inline: auto; }
.legal-head { max-width: 38em; margin-bottom: clamp(44px, 5vw, 64px); }
.legal-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.08; margin-block: 18px 12px; }
.legal-fecha { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.legal-cuerpo { max-width: 38em; }
.legal-cuerpo section + section { margin-top: clamp(30px, 3.4vw, 44px); }
.legal-cuerpo h2 {
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.25;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-bottom: 14px;
}
.legal-cuerpo p, .legal-cuerpo li { color: var(--tenue); line-height: 1.72; }
.legal-cuerpo p + p { margin-top: 12px; }
.legal-cuerpo ul { margin: 12px 0 0; padding-left: 1.15em; display: grid; gap: 8px; }
.legal-cuerpo li::marker { color: var(--gold-ink); }
.legal-cuerpo strong { color: var(--ink); font-weight: 600; }
.legal-cuerpo a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-cuerpo a:hover { color: var(--navy); }
.legal-pie {
  max-width: 38em;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.legal-pie a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-pie a:hover { color: var(--navy); }
