/* =========================================================================
   Harbor Buying - hoja de estilos del sitio publico
   Marca: azul institucional #14346B + naranja de accion #F47B20, Figtree.
   Forma (una sola regla para todo el sitio):
     botones e inputs 10px, chips de icono 12px, tarjetas 20px, fotos 28px.
   La sombra dura navy es un recurso de marca: solo en componentes de producto
   (tablero de deals, estado de cuenta).
   Tema: solo claro. Una sola franja oscura deliberada: "Is it safe?".
   ========================================================================= */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- tokens ------------------------------------------------------------- */
:root {
  color-scheme: light;

  --bg: #FBFCFE;
  --surface: #FEFEFF;
  --surface-2: #F4F7FC;
  --ink: #17202E;
  --ink-strong: #0C2350;
  --muted: #56637A;
  --muted-2: #66728A;
  --line: #DCE4F0;
  --line-2: #EDF1F7;

  --brand-ink: #14346B;
  --brand-solid: #14346B;
  --blue-050: #EEF3FB;
  --blue-100: #DCE7F8;
  --blue-500: #2E6BC6;

  --orange: #F47B20;
  --orange-hover: #E86F16;
  --orange-050: #FFF1E4;
  --orange-ink: #A84C05;
  --on-orange: #0C2350;

  --green: #12805C;
  --green-050: #E6F4EF;
  --amber: #B45309;
  --amber-050: #FEF3E2;

  --block: #0C2350;
  --block-ink: #F3F6FB;
  --block-muted: #B8C7DE;
  --block-line: rgba(255, 255, 255, .14);
  --block-accent: #6FD3AC;
  --footer: #0C2350;

  --sh-hard: 6px 6px 0 var(--ink-strong);
  --sh-2: 0 22px 48px -26px rgba(12, 35, 80, .38);

  --r-sm: 10px;
  --r-chip: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ff: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --sect: clamp(72px, 9vw, 120px);
}

/* --- base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
button { font: inherit; color: inherit }
svg { flex: none }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -.028em; text-wrap: balance }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem) }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem) }
h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: -.015em }
p { margin: 0 }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter) }
.section { padding-block: var(--sect) }
.section--tight { padding-block: clamp(48px, 6vw, 80px) }
.section--tint { background: var(--surface-2) }

.kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--orange-050);
  color: var(--orange-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.kicker--dark { background: rgba(255, 255, 255, .1); color: #B9D0F4 }
@media (max-width: 480px) { .kicker { font-size: .7rem; letter-spacing: .04em } }

.mark-u { background: linear-gradient(transparent 62%, rgba(244, 123, 32, .4) 62%); padding-inline: 2px }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch }
.head { max-width: 760px }
.head h2 { max-width: 24ch }
.head h2 + .lead { margin-top: 18px }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 20px; background: var(--ink-strong); color: #fff; border-radius: 0 0 10px 0; text-decoration: none }
.skip:focus { left: 0 }
section[id] { scroll-margin-top: 84px }

/* --- botones ------------------------------------------------------------ */
.btn {
  --bg: var(--orange);
  --fg: var(--on-orange);
  --bd: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--bd);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--fg);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { --bg: var(--orange-hover); --bd: var(--orange-hover); transform: translateY(-2px) }
.btn:active { transform: translateY(0) scale(.98) }
.btn:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px }
.btn-arrow { transition: transform .25s var(--ease) }
.btn:hover .btn-arrow { transform: translateX(3px) }
.btn--ghost { --bg: transparent; --fg: var(--brand-ink); --bd: var(--line) }
.btn--ghost:hover { --bg: var(--blue-050); --bd: var(--brand-ink); --fg: var(--brand-ink) }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .94rem }
.btn--block { width: 100% }

/* --- header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line-2); box-shadow: 0 10px 30px -24px rgba(12, 35, 80, .6) }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px }
.brand { display: flex; flex: none; text-decoration: none }
.brand img { height: 40px; width: auto }
.nav { display: none; margin-left: auto; align-items: center; gap: 28px }
.nav a { font-size: .96rem; font-weight: 600; text-decoration: none; transition: color .2s ease }
.nav a:hover { color: var(--brand-ink) }
.header-cta { display: none; align-items: center; gap: 10px; flex: none }
.lang { display: inline-flex; flex: none; overflow: hidden; border: 2px solid var(--line); border-radius: var(--r-sm) }
.lang button { height: 38px; padding: 0 11px; border: 0; background: none; color: var(--muted); font-size: .82rem; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease }
.lang button:hover { background: var(--blue-050); color: var(--brand-ink) }
.lang button + button { border-left: 2px solid var(--line) }
.lang button[aria-pressed="true"] { background: var(--brand-solid); color: #fff }
.lang button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px }
.lang--block { display: flex; width: 100%; margin-top: 14px }
.lang--block button { flex: 1; height: 48px; font-size: .9rem }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; border: 2px solid var(--line); border-radius: var(--r-sm); background: none; cursor: pointer }
.burger span, .burger span::before, .burger span::after { display: block; width: 19px; height: 2px; background: var(--brand-ink); transition: transform .25s var(--ease), top .2s ease, background-color .2s }
.burger span { position: relative }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0 }
.burger span::before { top: -6px }
.burger span::after { top: 6px }
.burger[aria-expanded="true"] span { background: transparent }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg) }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg) }
.mobile-menu { display: none; padding: 12px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--bg) }
.mobile-menu.is-open { display: block }
.mobile-menu .m-link { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line-2); font-weight: 600; text-decoration: none }
.mobile-menu .m-actions { display: grid; gap: 10px; margin-top: 20px }
@media (min-width: 1000px) {
  .nav, .header-cta { display: flex }
  .burger, .mobile-menu { display: none !important }
}

/* --- hero --------------------------------------------------------------- */
/* One photo stage. Phones and tablets: copy, then the photo, then the receipt on the
   photo's bottom edge. From 1000px the copy sits on the photo's empty left half
   (wall and sofa) behind a light veil; the member stays clear on the right. */
.hero { padding-block: clamp(24px, 4vw, 40px) clamp(64px, 7vw, 96px) }
.hero-stage { position: relative; display: grid }
.hero-copy { padding-bottom: 32px }
.hero h1 { margin-top: 2px }
.hero .lead { margin-top: 18px }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.hero .btn--ghost:not(:hover) { --bg: var(--surface) }
.hero-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-2); aspect-ratio: 4 / 3 }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 0 }
.hero-chip { position: relative; display: flex; align-items: center; gap: 12px; width: fit-content; margin: -28px 0 0 16px; padding: 10px 18px 10px 10px; border: 2px solid var(--ink-strong); border-radius: var(--r-chip); background: var(--surface); box-shadow: var(--sh-hard) }
.hero-chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green-050); color: var(--green) }
.hero-chip-text { display: grid; gap: 1px }
.hero-chip b { color: var(--green); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums }
.hero-chip-text span { color: var(--muted); font-size: .8rem; font-weight: 600 }
@media (min-width: 640px) {
  .hero-photo { aspect-ratio: 16 / 9 }
}
@media (min-width: 1000px) {
  .hero-copy, .hero-photo { grid-area: 1 / 1 }
  .hero-copy { position: relative; z-index: 1; align-self: center; max-width: 58%; padding: 0 0 clamp(24px, 3vw, 48px) clamp(40px, 5vw, 72px) }
  .hero h1 { font-size: clamp(2.5rem, 3.6vw, 3.4rem) }
  .hero .lead { max-width: 34ch; color: var(--ink) }
  /* The veil lifts the grey sofa enough for body text (AA) and fades out before the phone. */
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(251 252 254 / .94) 0%, rgb(251 252 254 / .84) 34%, rgb(251 252 254 / .4) 50%, rgb(251 252 254 / 0) 62%) }
  .hero-chip { position: absolute; right: clamp(24px, 3vw, 44px); bottom: -26px; margin: 0 }
}

/* --- hechos ------------------------------------------------------------- */
.facts { border-block: 1px solid var(--line) }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr) }
.fact { padding: 26px 18px; border-bottom: 1px solid var(--line-2) }
.fact:nth-child(odd) { border-right: 1px solid var(--line-2) }
.fact b { display: block; margin-bottom: 4px; color: var(--brand-ink); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15 }
.fact > span { color: var(--muted); font-size: .9rem; font-weight: 500 }
@media (min-width: 920px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr) }
  .fact { padding: 32px 28px; border-bottom: 0 }
  .fact:not(:last-child) { border-right: 1px solid var(--line-2) }
}

/* --- que ganas: bento de seis celdas ------------------------------------ */
.bento { display: grid; gap: 16px; margin-top: 48px }
.tile {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .25s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--blue-500) }
.tile h3 { margin-bottom: 8px }
.tile p { color: var(--muted); font-size: .96rem }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: var(--r-chip); background: var(--blue-050); color: var(--brand-ink) }
.tile--warm { border-color: transparent; background: var(--orange-050) }
.tile--warm .tile-icon { background: var(--surface); color: var(--orange-ink) }
.tile--tint { border-color: transparent; background: var(--blue-050) }
.tile--tint .tile-icon { background: var(--surface) }
.tile--brand { border-color: transparent; background: var(--brand-solid); color: var(--block-ink) }
.tile--brand p { color: var(--block-muted) }
.tile--brand .tile-icon { background: rgba(255, 255, 255, .12); color: #fff }
.tile--photo { display: flex; flex-direction: column; overflow: hidden; padding: 0 }
.tile--photo img { flex: 1; min-height: 220px; width: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease) }
.tile--photo:hover img { transform: scale(1.04) }
.tile-body { padding: 26px }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr) }
  .tile--photo { grid-column: 1 / -1 }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-template-areas: "a a b c" "a a d d" "e e f f" }
  .bento > :nth-child(1) { grid-area: a }
  .bento > :nth-child(2) { grid-area: b }
  .bento > :nth-child(3) { grid-area: c }
  .bento > :nth-child(4) { grid-area: d }
  .bento > :nth-child(5) { grid-area: e }
  .bento > :nth-child(6) { grid-area: f }
}

/* --- como funciona: linea de tiempo ------------------------------------- */
.timeline { position: relative; margin-top: 56px; view-timeline-name: --steps }
.timeline-line { position: absolute; top: 24px; bottom: 24px; left: 23px; width: 2px; background: var(--line) }
.timeline-fill { position: absolute; inset: 0; background: var(--orange); transform-origin: top center }
.steps { position: relative; display: grid; gap: 36px; margin: 0; padding: 0; list-style: none }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; align-items: start }
/* On phones the line runs down the dots: hide the stretch below the last one. */
.step:last-child::after { content: ""; position: absolute; top: 48px; bottom: -2px; left: 23px; width: 2px; background: var(--surface-2) }
.step-dot { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--brand-ink) }
.step--paid .step-dot { border-color: var(--green); color: var(--green) }
.step h3 { margin: 10px 0 8px }
.step p { color: var(--muted); font-size: .96rem; max-width: 46ch }
@media (min-width: 1000px) {
  .timeline-line { top: 23px; bottom: auto; left: 24px; right: calc(25% - 48px); width: auto; height: 2px }
  .timeline-fill { transform-origin: left center }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px }
  .step { grid-template-columns: 1fr }
  .step:last-child::after { display: none }
  .step-dot { grid-row: auto }
  .step h3 { margin-top: 24px }
}

/* --- es seguro: la franja oscura del sitio ------------------------------ */
.section--dark { background: var(--block); color: var(--block-ink) }
.section--dark .lead { color: var(--block-muted) }
.safe-layout { display: grid; gap: 40px }
.safe-intro h2 { max-width: 18ch }
.safe-intro .lead { margin-top: 18px }
.promise { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--block-line) }
.promise:first-child { border-top: 0; padding-top: 0 }
.promise-icon { color: var(--block-accent); margin-top: 2px }
.promise h3 { margin-bottom: 8px; color: #fff }
.promise p { color: var(--block-muted); font-size: .96rem }
.safe-note { margin-top: 10px; padding: 22px 24px; border: 1px solid rgba(111, 211, 172, .32); border-radius: var(--r-lg); background: rgba(111, 211, 172, .08); color: #D3E1F2; font-size: .95rem }
.safe-note b { color: #fff }
@media (min-width: 960px) {
  .safe-layout { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start }
  .safe-intro { position: sticky; top: 112px }
}

/* --- plataforma: deals en vivo ------------------------------------------ */
.feature { display: grid; gap: 44px; align-items: center }
.feature-copy h2 { max-width: 20ch }
.feature-copy .lead { margin-top: 18px }
.checks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500 }
.checks svg { margin-top: 3px; color: var(--green) }
@media (min-width: 960px) { .feature { grid-template-columns: 5fr 6fr; gap: 64px } }

.board, .tracker { min-width: 0; padding: 18px; border-radius: var(--r-lg); background: var(--surface) }
.board { border: 2px solid var(--ink-strong); box-shadow: var(--sh-hard) }
.board-title { margin-bottom: 12px; color: var(--muted); font-size: .86rem; font-weight: 700 }
.deal { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-chip) }
.deal + .deal { margin-top: 10px }
.deal-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--blue-050); color: var(--brand-ink) }
.deal-main { display: grid; gap: 2px; min-width: 0 }
.deal-main strong { overflow: hidden; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap }
.deal-meta { color: var(--muted-2); font-size: .8rem; font-weight: 500 }
.deal-age { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--green); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: color .4s ease }
.deal.is-stale .deal-age { color: var(--amber) }
.deal-money { display: grid; gap: 1px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums }
.deal-retail, .deal-pay { color: var(--muted-2); font-size: .76rem; font-weight: 600 }
.deal-pay b { color: var(--ink); font-size: 1.04rem; font-weight: 800 }
.deal-gain { color: var(--green); font-size: .78rem; font-weight: 700 }
.board-note { margin-top: 12px; color: var(--muted); font-size: .84rem }
@media (max-width: 520px) {
  .deal { grid-template-columns: minmax(0, 1fr) }
  .deal-icon { display: none }
  .deal-money { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; text-align: left }
}

/* --- plataforma: tu plata ----------------------------------------------- */
.money-row { margin-top: clamp(88px, 10vw, 140px) }
.checks--row { margin-top: 26px }
.tracker { margin-top: 32px; border: 1px solid var(--line) }
.tracker-grid { display: grid; gap: 14px }
.order { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-chip); background: var(--bg) }
.order-head { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem }
.order-head > span { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 0; padding: 0; list-style: none }
.stepper li { position: relative; padding-top: 12px; color: var(--muted-2); font-size: .76rem; font-weight: 600 }
.stepper li::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 999px; background: var(--line) }
.stepper li.is-done::before { background: var(--blue-500) }
.stepper li.is-paid::before { background: var(--green) }
.stepper li.is-current { color: var(--ink); font-weight: 800 }
@media (min-width: 760px) {
  .checks--row { grid-template-columns: repeat(3, 1fr); gap: 20px }
  .tracker-grid { grid-template-columns: repeat(3, 1fr) }
}

/* --- plataforma: a donde va --------------------------------------------- */
.travel { margin-top: clamp(88px, 10vw, 140px) }
.travel-photo { margin: 0; overflow: hidden; border-radius: var(--r-xl) }
.travel-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover }
.travel-panel { position: relative; margin: -56px 12px 0; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-2) }
.travel-panel h2 { max-width: 18ch }
.travel-panel .lead { margin-top: 16px }
.travel-stat { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--muted) }
.travel-stat b { color: var(--brand-ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em }
@media (min-width: 900px) {
  .travel-photo img { aspect-ratio: 21 / 9 }
  .travel-panel { width: min(600px, 58%); margin: -150px 0 0 48px; padding: 38px 36px }
}

/* --- los numeros: estado de cuenta -------------------------------------- */
.statement { display: grid; margin-top: 44px; overflow: hidden; border: 2px solid var(--ink-strong); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-hard) }
.statement-total { display: flex; flex-direction: column; gap: 8px; padding: 32px 28px; background: var(--blue-050) }
.statement-total > span:first-child { color: var(--muted); font-weight: 600 }
.statement-total > b { color: var(--green); font-size: clamp(2.5rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums }
.statement-extra { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: .95rem }
.statement-extra b { color: var(--ink) }
.statement-lines { padding: 26px 28px }
.statement-lines h3 { margin-bottom: 4px; font-size: .98rem }
.statement-lines .mline + h3 { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-2) }
.mline { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; font-size: .96rem }
.mline span { color: var(--muted); font-weight: 500 }
.mline b { font-weight: 700; font-variant-numeric: tabular-nums }
.money-foot { margin-top: 24px; max-width: 78ch; color: var(--muted-2); font-size: .86rem }
@media (min-width: 860px) {
  .statement { grid-template-columns: 5fr 7fr }
  .statement-total { padding: 40px 36px }
  .statement-lines { padding: 34px 40px }
}

/* --- FAQ ---------------------------------------------------------------- */
.faq-layout { display: grid; gap: 32px }
.faq { border-top: 1px solid var(--line) }
.qa { border-bottom: 1px solid var(--line) }
.qa button { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; font-size: 1.06rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; cursor: pointer }
.qa button:hover { color: var(--brand-ink) }
.qa button:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 4px; border-radius: var(--r-sm) }
.qa-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid var(--line); border-radius: 50%; color: var(--brand-ink); transition: transform .35s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease }
.qa.is-open .qa-ico { transform: rotate(45deg); border-color: var(--brand-solid); background: var(--brand-solid); color: #fff }
.qa-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease) }
.qa.is-open .qa-panel { grid-template-rows: 1fr }
.qa-panel > div { overflow: hidden }
.qa-panel p { max-width: 66ch; padding: 0 48px 24px 0; color: var(--muted); font-size: .98rem }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start }
  .faq-intro { position: sticky; top: 112px }
}

/* --- cierre ------------------------------------------------------------- */
.cta { display: grid; overflow: hidden; border-radius: var(--r-xl); background: var(--orange-050) }
.cta-copy { padding: clamp(32px, 5vw, 64px) }
.cta-copy h2 { max-width: 16ch; color: var(--brand-ink) }
.cta-copy .lead { margin-top: 18px }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }
.cta-photo { margin: 0; min-height: 260px }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 30% }
@media (min-width: 900px) { .cta { grid-template-columns: 7fr 5fr } }

/* --- footer ------------------------------------------------------------- */
.site-footer { padding-block: clamp(52px, 6vw, 76px) 32px; background: var(--footer); color: #A3B3CC; font-size: .93rem }
.foot-grid { display: grid; gap: 36px }
.foot-brand img { height: 42px; width: auto; margin-bottom: 18px }
.foot-brand p { max-width: 40ch; color: #93A6C4; font-size: .9rem }
.foot-col h2 { margin-bottom: 14px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase }
.foot-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none }
.foot-col a { color: #A3B3CC; text-decoration: none; transition: color .2s ease }
.foot-col a:hover { color: #fff }
.foot-bottom { display: grid; gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8597B5; font-size: .84rem }
.foot-legal { max-width: 96ch; color: #7487A7; font-size: .78rem; line-height: 1.6 }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr } }

/* --- banners de la home --------------------------------------------------
   Los escribe Operaciones en el admin (ubicacion "home"), uno por idioma.
   main.js muestra los del idioma elegido y los rota. Copia a la izquierda y
   foto a la derecha; en movil la foto va arriba.
   ------------------------------------------------------------------------ */
.promo { padding-bottom: clamp(48px, 6vw, 80px) }
.promo-slide { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2) }
.promo-slide[hidden], .promo-controls[hidden], .promo-toggle[hidden] { display: none }
.promo-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(26px, 4vw, 52px) }
.promo-copy h2 { max-width: 20ch; color: var(--brand-ink); font-size: clamp(1.6rem, 2.8vw, 2.3rem) }
.promo-copy .lead { margin-top: 14px; max-width: 46ch }
.promo-copy .btn { margin-top: 26px }
.promo-photo { display: block; order: -1; margin: 0 }
.promo-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover }
.promo-controls { display: flex; align-items: center; gap: 6px; margin-top: 14px }
.promo-toggle { margin-right: auto; min-height: 40px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r-sm); background: none; color: var(--muted); font-size: .86rem; font-weight: 700; cursor: pointer; transition: border-color .2s ease, color .2s ease }
.promo-toggle:hover { border-color: var(--brand-ink); color: var(--brand-ink) }
.promo-arrow { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--brand-ink); cursor: pointer; transition: border-color .2s ease, background-color .2s ease }
.promo-arrow:hover { border-color: var(--brand-ink); background: var(--blue-050) }
.promo-arrow--prev svg { transform: scaleX(-1) }
.promo-dots { display: flex }
.promo-dots button { display: grid; place-items: center; width: 28px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer }
.promo-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--muted-2); transition: width .25s var(--ease), background-color .2s ease }
.promo-dots button[aria-current="true"]::before { width: 22px; background: var(--orange) }
.promo-toggle:focus-visible, .promo-arrow:focus-visible, .promo-dots button:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px }
@media (min-width: 760px) {
  .promo-slide { grid-template-columns: 6fr 5fr }
  .promo-photo { order: 0 }
  .promo-photo img { height: 100%; min-height: 340px; aspect-ratio: auto }
}

/* --- legales ------------------------------------------------------------ */
.doc { max-width: 780px; margin-inline: auto }
.doc h1 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 2.6rem) }
.doc-date { margin-bottom: 30px; color: var(--muted-2); font-size: .86rem; font-weight: 600 }
.doc-note { margin-bottom: 30px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-chip); background: var(--blue-050); color: var(--muted); font-size: .9rem }
.doc-note strong { color: var(--ink) }
.doc h2 { margin: 36px 0 12px; font-size: 1.3rem }
.doc p, .doc li { color: var(--muted); font-size: .98rem }
.doc p + p { margin-top: 13px }
.doc ul { display: grid; gap: 8px; margin: 13px 0 0; padding-left: 20px }
.doc a { color: var(--brand-ink); font-weight: 600 }
.doc strong { color: var(--ink) }

/* --- movimiento ----------------------------------------------------------
   Todo se apaga con prefers-reduced-motion. Sin JS (clase .js ausente)
   el contenido se ve completo desde el principio.
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease) }
  .js .reveal.is-in { opacity: 1; transform: none }

  .hero-in { animation: hero-rise .9s var(--ease) both }
  .hero-in--2 { animation-delay: .08s }
  .hero-in--3 { animation-delay: .18s }
  .hero-in--4 { animation-delay: .28s }
  /* The photo settles from a slight zoom while the copy rises over it. */
  .hero-photo { animation: hero-fade 1s ease both }
  .hero-photo img { animation: hero-settle 1.8s var(--ease) both }
  /* The receipt lands last: the payout is the point of the hero. */
  .hero-in--5 { animation-delay: .75s }

  /* La linea del "como funciona" se completa a medida que los pasos entran en pantalla. */
  @supports (animation-timeline: view()) {
    .timeline-fill { animation: fill-down linear both; animation-timeline: --steps; animation-range: entry 30% cover 55% }
    @media (min-width: 1000px) { .timeline-fill { animation-name: fill-right } }
  }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px) } }
@keyframes hero-fade { from { opacity: 0 } }
@keyframes hero-settle { from { transform: scale(1.07) } }
@keyframes fill-down { from { transform: scaleY(0) } to { transform: scaleY(1) } }
@keyframes fill-right { from { transform: scaleX(0) } to { transform: scaleX(1) } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important }
}
