/* =====================================================================
   Anahí Guevara · Especialista en Seguros  (v2.4, "Tres generaciones")
   Editorial cut: display-scale type, hairline index system, one idea
   per screen. The page lives in the hero's world: warm limestone in
   the light, dusk navy in the dark, long soft shadows. Silver is a
   MATERIAL (monogram, hairlines, CTA edge, numerals), never a light.
   ===================================================================== */

/* ---------- Tokens (light surfaces sampled from hero-patio-master) ---------- */
:root {
  --stone-0: #F7F1E6;     /* warm ivory ground */
  --stone-1: #EFE7D5;     /* limestone tint */
  --card: #FDFAF2;        /* warm card white */
  --line: #E0D6C1;        /* warm hairline */
  --line-strong: #CFC3A9;

  --dusk-950: #071A2C;    /* deepest dusk (footer) */
  --dusk-900: #0A2136;    /* dusk navy ground (sampled hero sky) */
  --navy: #0A2E5D;        /* brand deep navy */
  --navy-2: #1E3A66;      /* raised navy surface */
  --silver: #C0C7D1;
  --silver-light: #E6E9EE;
  --white: #FFFFFF;

  --ink: #1B2942;
  --ink-soft: #5A6273;
  --on-dusk: #EDF0F5;
  --on-dusk-soft: #A8B4C6;
  --line-dusk: rgba(192, 199, 209, 0.2);

  --silver-grad: linear-gradient(135deg, #EEF1F5 0%, #C7CED8 45%, #AAB2BE 55%, #E6E9EE 100%);

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-hero: clamp(2.5rem, 1.5rem + 3.9vw, 5.5rem);
  /* the display voice: statements that own the screen */
  --step-display: clamp(2.6rem, 1.4rem + 5.4vw, 6.5rem);

  --wrap: 1280px;
  --gutter: clamp(1.25rem, 0.9rem + 1.75vw, 2.5rem);
  --section-y: clamp(5rem, 3.4rem + 7vw, 10rem);

  --radius: 14px;
  --radius-lg: 20px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.9s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.smooth-scroll { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
::selection { background: var(--navy); color: var(--white); }

/* film grain: breaks digital flatness, matches the photography */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035; mix-blend-mode: overlay;
}

.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.num--silver {
  background: var(--silver-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 500;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--navy); color: var(--white); padding: 0.6rem 1rem; border-radius: 0 0 10px 10px; z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

/* ---------- Shared: the index-label system ---------- */
.eyebrow {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.26em; font-weight: 500;
  color: var(--ink-soft); margin-bottom: clamp(1.4rem, 1rem + 1vw, 2.2rem);
  display: flex; align-items: baseline; gap: 0.9rem;
}
.eyebrow .idx { font-family: var(--serif); font-size: 0.85rem; color: var(--navy); letter-spacing: 0.06em; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }
.eyebrow--ondark { color: var(--on-dusk-soft); }
.eyebrow--ondark .idx { color: var(--silver); }
.eyebrow--ondark::after { background: var(--line-dusk); }

.h2 { font-family: var(--serif); font-size: var(--step-3); color: var(--navy); font-weight: 500; }
.h2 em { font-style: italic; }
.h2--light { color: var(--white); }

/* display statements: the section voice, full measure */
.display {
  font-family: var(--serif); font-weight: 400; font-size: var(--step-display);
  line-height: 1.04; letter-spacing: -0.025em; color: var(--navy); text-wrap: balance;
}
.display em { font-style: italic; }
.display--light { color: var(--white); }

.section { padding-block: var(--section-y); }
.section--stone { background: var(--stone-1); }
.section--dusk { background: var(--dusk-900); color: var(--on-dusk); }
.section__head { margin-bottom: clamp(3rem, 2rem + 3.5vw, 5.5rem); }
.section__lead { color: var(--ink-soft); font-size: var(--step-1); margin-top: 1.4rem; line-height: 1.5; max-width: 44ch; }
.section--dusk .section__lead { color: var(--on-dusk-soft); }

.cta-micro { display: block; margin-top: 0.6rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); }
.section--dusk .cta-micro, .cierre .cta-micro { color: var(--on-dusk-soft); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.4rem; border-radius: 100px; font-weight: 500; font-size: var(--step-0);
  letter-spacing: -0.01em; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, filter 0.3s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: var(--step-1); }
/* magnetic CTAs: the button leans toward the cursor */
.btn--lg { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition-duration: 0.25s; }
.btn--lg:hover { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); }

/* the single silver-EDGED action: navy fill, brushed-silver border */
.btn--wa {
  color: var(--white);
  background:
    linear-gradient(var(--navy-2), var(--navy)) padding-box,
    var(--silver-grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 12px 30px -14px rgba(7, 26, 44, 0.7);
}
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(7, 26, 44, 0.8); filter: brightness(1.08); }
.btn--wa:active { transform: translateY(0) scale(0.99); }

.btn--quiet { color: var(--on-dusk); border-color: var(--line-dusk); background: rgba(7, 26, 44, 0.25); backdrop-filter: blur(4px); }
.btn--quiet:hover { border-color: var(--silver); background: rgba(7, 26, 44, 0.4); transform: translateY(-2px); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 0.85rem;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s,
    transform 0.55s var(--ease-out);
}
.nav--hidden { transform: translateY(-105%); }
.nav.is-scrolled {
  background: rgba(7, 26, 44, 0.85); backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-dusk); padding-block: 0.55rem;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mono { width: 42px; height: 42px; flex: none; }
.brand__mono--lg { width: 58px; height: 58px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.08rem; color: var(--white); font-weight: 500; }
.brand__role { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--on-dusk-soft); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { color: var(--on-dusk); font-size: var(--step--1); position: relative; padding-block: 0.3rem; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--silver-grad); transition: width 0.4s var(--ease-out); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 0.6rem 1.1rem; font-size: var(--step--1); }

/* =====================================================================
   HERO: Tres generaciones (type lives in the blurred right zone)
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--dusk-900); color: var(--on-dusk); overflow: hidden;
  padding-block: clamp(5rem, 4rem + 4vh, 7rem);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__still, .hero__video, .hero__bg picture, .hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-playing { opacity: 1; }
/* scrim: gentle deepening under the type zone (right) and the base; never a box */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(270deg, rgba(7, 26, 44, 0.66) 0%, rgba(7, 26, 44, 0.45) 34%, rgba(7, 26, 44, 0.16) 58%, rgba(7, 26, 44, 0) 72%),
    linear-gradient(0deg, rgba(7, 26, 44, 0.45) 0%, rgba(7, 26, 44, 0) 30%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; display: flex; justify-content: flex-end; }
/* on wide screens the type hugs the right edge at the same visual distance
   as the grandparent's shadow from the left (both scale with the viewport) */
@media (min-width: 961px) {
  .hero__inner { max-width: none; padding-inline: min(12vw, 20rem); }
}
.hero__copy { max-width: 52rem; }
.hero__title {
  font-family: var(--serif); font-weight: 400; font-size: var(--step-hero); color: var(--white);
  line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 1.4rem; max-width: 20ch; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(7, 26, 44, 0.55);
}
.hero__sub { font-size: var(--step-1); color: var(--on-dusk); max-width: 40ch; margin-bottom: 2.3rem; line-height: 1.45; text-wrap: balance; text-shadow: 0 1px 14px rgba(7, 26, 44, 0.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero__micro { margin-top: 1rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--on-dusk-soft); }
.overline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--on-dusk-soft); font-weight: 500; }
.overline span { color: var(--silver); opacity: 0.7; }

/* staggered entrance: the copy settles line by line */
.js .hero__copy > * { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .hero__copy.is-in > * { opacity: 1; transform: none; }
.hero__copy.is-in > *:nth-child(1) { transition-delay: 0.1s; }
.hero__copy.is-in > *:nth-child(2) { transition-delay: 0.22s; }
.hero__copy.is-in > *:nth-child(3) { transition-delay: 0.36s; }
.hero__copy.is-in > *:nth-child(4) { transition-delay: 0.5s; }
.hero__copy.is-in > *:nth-child(5) { transition-delay: 0.62s; }

/* =====================================================================
   FRANJA DE CONFIANZA (one slim limestone band)
   ===================================================================== */
.franja { background: var(--stone-1); border-bottom: 1px solid var(--line); }
.franja__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-block: 1.15rem; flex-wrap: wrap;
}
.franja__inner > span {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 500; white-space: nowrap;
}
.franja__inner > span .num { color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: 0; }
.franja__inner > span + span::before { content: ""; width: 1px; height: 1.6em; background: var(--line-strong); margin-right: 1.5rem; }

/* =====================================================================
   LOS SEGUROS: an editorial index, not a stack of cards
   ===================================================================== */
.seguros .section__head { margin-bottom: clamp(3.5rem, 2.4rem + 4vw, 6.5rem); }
.seguros__list { border-top: 1px solid var(--line-strong); }
.seguro { border-bottom: 1px solid var(--line-strong); transition: background 0.5s var(--ease); }
.seguro:hover { background: rgba(253, 250, 242, 0.75); }

.seguro__row {
  list-style: none; cursor: pointer; display: grid;
  grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem clamp(1.4rem, 1rem + 2vw, 3rem);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem) 0.4rem;
}
.seguro__row::-webkit-details-marker { display: none; }
.seguro__idx {
  font-family: var(--serif); font-size: var(--step-0); color: var(--ink-soft);
  min-width: 2.2ch; padding-top: 0.3rem; align-self: start;
}
.seguro__head { display: flex; flex-direction: column; gap: 0.35rem; }
.seguro__titlewrap { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.seguro__title {
  font-family: var(--serif); font-size: var(--step-2); color: var(--navy); font-weight: 500;
  letter-spacing: -0.015em; transition: color 0.4s;
}
.seguro__row:hover .seguro__title { color: var(--navy-2); }
.seguro__badge { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--navy);
  background: var(--silver-grad); padding: 0.2rem 0.65rem; border-radius: 100px; }
.seguro__tagline { color: var(--ink-soft); font-size: var(--step--1); max-width: 56ch; }
.seguro__toggle { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: color 0.3s; }
.seguro__toggle svg { width: 1.2em; height: 1.2em; transition: transform 0.4s var(--ease); }
.seguro__body[open] .seguro__toggle svg { transform: rotate(180deg); }
.seguro__row:hover .seguro__toggle { color: var(--navy); }
.seguro__thumb {
  width: clamp(96px, 80px + 7vw, 172px); aspect-ratio: 3/2; border-radius: 8px; overflow: hidden;
  flex: none; display: block; box-shadow: 0 18px 34px -22px rgba(10, 46, 93, 0.45);
}
.seguro__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.seguro:hover .seguro__thumb img { transform: scale(1.06); }

/* panel: the image large beside the curated content */
.seguro__panel {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.6rem, 1rem + 2.5vw, 3.5rem);
  padding: 0.4rem 0.4rem clamp(2rem, 1.4rem + 1.6vw, 3rem);
  align-items: start;
}
.seguro__media { border-radius: var(--radius); overflow: hidden; position: sticky; top: 6rem;
  box-shadow: 0 40px 70px -45px rgba(10, 46, 93, 0.55); }
.seguro__media img { width: 100%; height: auto; }

.seguro__headline { display: flex; flex-direction: column; gap: 0.15rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.seguro__headline-k { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft); }
.seguro__headline-v { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.9rem); color: var(--navy); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }

.block { margin-top: 1.7rem; }
.block__t { font-family: var(--serif); font-size: var(--step-1); color: var(--navy); font-weight: 500; margin-bottom: 0.9rem; }
.block__intro { color: var(--ink-soft); font-size: var(--step--1); margin-bottom: 1rem; max-width: 60ch; }
.cov { display: grid; grid-template-columns: 1fr; column-gap: 2rem; row-gap: 0; }
.cov__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.cov__row dt { color: var(--ink-soft); font-size: var(--step--1); }
.cov__row dd { color: var(--navy); font-family: var(--serif); font-size: var(--step-1); font-weight: 500; text-align: right; white-space: nowrap; }
.ulist, .checks, .notes { display: grid; gap: 0.6rem; }
.ulist li, .notes li { position: relative; padding-left: 1.1rem; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }
.ulist li::before, .notes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--silver); }
.checks { grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.4rem; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--silver-grad); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.block--note .notes li::before { background: var(--ink-soft); opacity: 0.5; }
.teachbox { margin-top: 1.7rem; padding: clamp(1.2rem, 1rem + 1vw, 1.6rem); border-radius: var(--radius);
  background: var(--stone-1); border-left: 3px solid; border-image: var(--silver-grad) 1; }
.teachbox__t { font-family: var(--serif); font-size: var(--step-1); color: var(--navy); margin-bottom: 0.6rem; }
.teachbox p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; max-width: 70ch; }
.seguro__summary-lg { font-family: var(--serif); font-size: var(--step-2); color: var(--ink); line-height: 1.45; max-width: 40ch; font-weight: 400; }
.seguro__disclaimer { margin-top: 1.7rem; font-size: 0.74rem; color: var(--ink-soft); opacity: 0.85; }
.seguro__cta { margin-top: 1.3rem; display: flex; flex-direction: column; align-items: flex-start; }

/* =====================================================================
   SOBRE ANAHÍ (typographic, the shadows beside the letter)
   ===================================================================== */
.sobre__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 1.5rem + 5vw, 7rem); align-items: center; }
.sobre__intro { color: var(--on-dusk); max-width: 54ch; font-size: var(--step-1); line-height: 1.6; }
.pullquote { margin-top: clamp(2.4rem, 2rem + 2vw, 4rem); }
.pullquote p { font-family: var(--serif); font-size: var(--step-3); color: var(--white); font-style: italic; line-height: 1.25; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.pullquote cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--on-dusk-soft); }
.pullquote cite::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--silver-grad); vertical-align: middle; margin-right: 0.8rem; }
.sobre__media { border-radius: var(--radius-lg); overflow: hidden; max-width: 480px; justify-self: end;
  box-shadow: 0 60px 100px -60px rgba(0, 0, 0, 0.8); }
.sobre__media img { width: 100%; height: auto; filter: brightness(0.94) saturate(0.96);
  scale: 1.1; will-change: transform; }

/* =====================================================================
   PREGUNTAS FRECUENTES
   ===================================================================== */
.preguntas__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 1.5rem + 4vw, 6rem); align-items: start; }
.preguntas__head { position: sticky; top: 6rem; }
.preguntas__more { margin-top: 1.8rem; color: var(--ink); font-family: var(--serif); font-size: var(--step-1); font-style: italic; }
.preguntas__cta { margin-top: 1.1rem; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa__q { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 1.2rem;
  padding: 1.5rem 0.2rem; font-family: var(--serif); font-size: var(--step-1); color: var(--navy); transition: color 0.3s; }
.qa__q:hover { color: var(--navy-2); }
.qa__q::-webkit-details-marker { display: none; }
.qa__q .qa__idx { font-size: var(--step--1); color: var(--ink-soft); min-width: 2.2ch; flex: none; }
.qa__q > span:not(.qa__idx) { flex: 1; }
.qa__q svg { width: 1.1em; height: 1.1em; flex: none; color: var(--ink-soft); transition: transform 0.4s var(--ease); align-self: center; }
.qa[open] .qa__q svg { transform: rotate(180deg); }
.qa__a { padding: 0 0.2rem 1.6rem calc(2.2ch + 1.2rem + 0.2rem); }
.qa__a p { color: var(--ink-soft); max-width: 62ch; line-height: 1.6; }

/* =====================================================================
   COMUNICADOS (one slim official band, the document invites the tap)
   ===================================================================== */
.com-band { background: var(--stone-1); border-block: 1px solid var(--line); }
.com-band__inner { display: flex; align-items: center; gap: clamp(1.2rem, 1rem + 1.5vw, 2.5rem); padding-block: 1.3rem; flex-wrap: wrap; }
.com-band__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.com-band__title { font-family: var(--serif); font-size: var(--step-1); color: var(--navy); flex: 1; min-width: 16rem; line-height: 1.3; }
.com-band__doc { position: relative; flex: none; width: 74px; border-radius: 6px; overflow: hidden;
  box-shadow: 0 14px 26px -16px rgba(10, 46, 93, 0.5); background: #fff; display: block;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease); }
.com-band__doc:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -18px rgba(10, 46, 93, 0.6); }
.com-band__doc img { width: 100%; height: auto; display: block; }
.com-band__open { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 500; color: var(--navy); white-space: nowrap; }
.com-band__open svg { width: 1.1em; height: 1.1em; }

/* lightbox */
.lightbox { border: none; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 90vh; }
.lightbox[open] { animation: lb-in 0.45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
.lightbox::backdrop { background: rgba(7, 26, 44, 0.82); backdrop-filter: blur(6px); }
.lightbox__img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; border-radius: 10px; background: #fff; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: rgba(7, 26, 44, 0.7); border: 1px solid var(--line-dusk); }
.lightbox__close svg { width: 20px; height: 20px; }

/* =====================================================================
   CIERRE / CONTACTO (full-bleed dusk close)
   ===================================================================== */
.cierre { position: relative; color: var(--on-dusk); overflow: hidden; background: var(--dusk-900); }
.cierre__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cierre__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%;
  scale: 1.12; will-change: transform; }
.cierre__scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7, 26, 44, 0.88) 0%, rgba(7, 26, 44, 0.6) 45%, rgba(7, 26, 44, 0.28) 100%),
  linear-gradient(0deg, rgba(7, 26, 44, 0.55), rgba(7, 26, 44, 0.1) 45%); }
.cierre__inner { position: relative; z-index: 2; }
.cierre__copy { max-width: 44rem; padding-block: clamp(2.5rem, 1.5rem + 4vh, 5rem); }
.cierre__copy .display { margin-bottom: 2.4rem; max-width: 14ch; }
.cierre__promise { margin-top: 1.6rem; color: var(--on-dusk); font-family: var(--serif); font-size: var(--step-1); font-style: italic; max-width: 44ch; line-height: 1.5; }
.contacto__list { margin-top: 2.8rem; display: grid; gap: 1.2rem; border-top: 1px solid var(--line-dusk); padding-top: 2.2rem; }
.contacto__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.9rem; }
.contacto__k { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--on-dusk-soft); flex-basis: 11rem; }
.contacto__v { font-size: var(--step-1); font-family: var(--serif); color: var(--white); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contacto__v:hover { border-color: var(--silver); }
.contacto__note { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-dusk-soft); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--dusk-950); color: var(--on-dusk-soft); padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2.5rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dusk); }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__name { font-family: var(--serif); font-size: 1.3rem; color: var(--white); font-weight: 500; }
.footer__role { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--on-dusk-soft); }
.footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__nav a { font-size: var(--step--1); transition: color 0.3s; }
.footer__nav a:hover { color: var(--white); }
.footer__respaldo { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.footer__respaldo-k { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--on-dusk-soft); }
.brandchip { display: inline-flex; align-items: center; justify-content: center; padding: 0.55rem 0.9rem; border-radius: 10px;
  background: #fff; box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.6); }
.brandchip img { height: 34px; width: auto; display: block; }
.brandchip--sm { padding: 0.4rem 0.6rem; }
.brandchip--sm img { height: 22px; }
.footer__legal { display: flex; align-items: center; gap: 0.9rem 1.1rem; flex-wrap: wrap; margin-top: 2rem; }
.footer__legal p { font-size: var(--step--1); line-height: 1.55; flex: 1 1 30ch; }
.footer__copy { flex-basis: 100%; opacity: 0.75; }

/* =====================================================================
   Floating WhatsApp (appears after the hero)
   ===================================================================== */
.wa-float {
  position: fixed; right: clamp(1rem, 2vw, 1.6rem); bottom: clamp(1rem, 2vh, 1.6rem); z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white);
  background:
    linear-gradient(var(--navy-2), var(--navy)) padding-box,
    var(--silver-grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 14px 34px -12px rgba(7, 26, 44, 0.8);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease-out);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-on { opacity: 1; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); pointer-events: auto; transition-duration: 0.3s; }
.wa-float:hover { filter: brightness(1.1); }

/* =====================================================================
   Reveal motion
   ===================================================================== */
.reveal { transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(30px); }
.reveal.is-in { opacity: 1; transform: none; }
.seguros__list .reveal, .faq .reveal { transition-delay: calc(var(--i, 0) * 70ms); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .sobre__grid, .preguntas__grid { grid-template-columns: 1fr; }
  .preguntas__head { position: static; }
  .sobre__media { justify-self: start; max-width: 420px; }
  .seguro__panel { grid-template-columns: 1fr; }
  .seguro__media { position: static; max-width: 560px; }
  .checks { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  /* the mobile hero still is composed shadows-low, type up top */
  .hero { align-items: flex-start; padding-top: 6.5rem; }
  .hero__inner { justify-content: flex-start; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(7, 26, 44, 0.55) 0%, rgba(7, 26, 44, 0.15) 38%, rgba(7, 26, 44, 0) 60%),
      linear-gradient(0deg, rgba(7, 26, 44, 0.3) 0%, rgba(7, 26, 44, 0) 25%);
  }
}
@media (max-width: 560px) {
  :root { --section-y: clamp(3.6rem, 2.4rem + 8vw, 5.5rem); }
  .brand__text { display: none; }
  .hero__copy { max-width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .franja__inner { justify-content: flex-start; gap: 0.55rem 1rem; padding-block: 0.9rem; }
  .franja__inner > span + span::before { display: none; }
  .seguro__row { grid-template-columns: auto 1fr auto; }
  .seguro__idx { grid-row: 1; }
  .seguro__thumb { grid-row: 1; grid-column: 3; width: 86px; }
  .seguro__toggle { grid-column: 2 / -1; justify-self: start; }
  .seguro__panel { padding-inline: 0.2rem; }
  .cov { grid-template-columns: 1fr; }
  .qa__a { padding-left: 0.2rem; }
  .contacto__k { flex-basis: auto; width: 100%; }
  .com-band__inner { align-items: flex-start; }
  .overline { font-size: 0.66rem; letter-spacing: 0.14em; }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal, .js .hero__copy > * { opacity: 1; transform: none; }
  .hero__video { display: none; }
  .seguro:hover .seguro__thumb img { transform: none; }
  .seguro__body[open] .seguro__panel, .qa[open] .qa__a { animation: none; }
}
