/* =========================================================
   Metafinanciera — Design System
   Editorial, formal, restrained — bone canvas + navy ink + coral signal
   ========================================================= */

:root {
  /* Brand — ONLY these 4 colors */
  --navy:        #003260;
  --navy-dark:   #1B1D36;
  --cyan:        #52C8F2;
  --coral:       #FF5E5E;

  /* Derived neutrals — strictly tints/shades of the navy-dark for ink, white for canvas */
  --bg:          #FFFFFF;
  --bg-tinted:   #F4F6FB;       /* very subtle navy tint */
  --bg-card:     #FFFFFF;
  --bg-dark:     #1B1D36;

  /* Ink (derived from navy-dark) */
  --ink:         #1B1D36;
  --ink-2:       rgba(27,29,54,0.65);
  --ink-3:       rgba(27,29,54,0.45);

  /* Lines */
  --line:        rgba(27,29,54,0.10);
  --line-soft:   rgba(27,29,54,0.06);
  --line-strong: rgba(27,29,54,0.20);

  /* Coral variants for hover */
  --coral-deep:  #E84C4C;

  /* Spacing */
  --pad-x: clamp(20px, 5vw, 56px);
  --container: 1280px;
  --container-narrow: 980px;

  /* Type */
  --font: 'Nunito', system-ui, -apple-system, sans-serif;
  --t-eyebrow: 11.5px;
  --t-body-sm: 14px;
  --t-body: 16.5px;
  --t-body-lg: clamp(18px, 1.4vw, 21px);
  --t-display-sm: clamp(24px, 2.4vw, 32px);
  --t-display-md: clamp(32px, 3.8vw, 48px);
  --t-display-lg: clamp(40px, 5.4vw, 72px);
  --t-display-xl: clamp(56px, 8.4vw, 132px);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20,23,46,0.06);
  --shadow-md: 0 4px 20px rgba(20,23,46,0.08);
  --shadow-lg: 0 20px 60px rgba(20,23,46,0.14);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01';
  font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
::selection { background: var(--ink); color: var(--bg); }

/* Remove the noise overlay — we're sticking to flat color */
body::before { display: none; }

/* =========================================================
   TYPOGRAPHY UTILITIES
   ========================================================= */
.eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .index {
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.eyebrow .dash {
  width: 28px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
}

.display {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 800;
  color: var(--navy);
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
}

.num { font-variant-numeric: tabular-nums; }

.lead {
  font-size: var(--t-body-lg);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 60ch;
  text-wrap: pretty;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.wrap-narrow { max-width: var(--container-narrow); }

section { padding-block: clamp(48px, 6vw, 88px); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-size: var(--t-display-md);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
}
.section-head .meta {
  text-align: right;
  font-size: var(--t-body-sm);
  color: var(--ink-2);
  max-width: 28ch;
}
@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .meta { text-align: left; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: currentColor;
  display: grid;
  place-items: center;
  margin-right: -8px;
}
.btn .arrow svg { width: 12px; height: 12px; color: var(--bg-card); }

.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,94,94,0.32); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy); transform: translateY(-1px); }
.btn-ink .arrow { background: #fff; }
.btn-ink .arrow svg { color: var(--ink); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-card); border-color: var(--ink); }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }

/* =========================================================
   NAV — sticky with mega-menu
   ========================================================= */
.announce {
  background: var(--ink);
  color: rgba(255,255,255,0.9);
  font-size: 12.5px;
  padding: 9px 0;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.announce .ticker { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.announce .extra { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.announce .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255,94,94,0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,94,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255,94,94,0); }
}
.announce a { color: #fff; opacity: 0.7; }
.announce a:hover { opacity: 1; }
@media (max-width: 640px) {
  .announce .extra { display: none; }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  height: 76px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; }
.nav-logo .logo-light { display: none; }

/* Over-dark mode: nav transparent, white text, white logo */
.nav.over-dark {
  background: transparent;
  border-bottom-color: transparent;
}
.nav.over-dark .nav-logo .logo-dark { display: none; }
.nav.over-dark .nav-logo .logo-light { display: inline-block; }
.nav.over-dark .nav-link { color: rgba(255,255,255,0.92); }
.nav.over-dark .nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav.over-dark .nav-item.open > .nav-link { background: rgba(255,255,255,0.12); color: #fff; }
.nav.over-dark .nav-toggle { color: #fff; border-color: rgba(255,255,255,0.3); }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-link .caret {
  width: 12px;
  height: 12px;
  transition: transform .25s ease;
}
.nav-link:hover { background: rgba(20,23,46,0.05); }
.nav-item.open > .nav-link { background: rgba(20,23,46,0.06); }
.nav-item.open > .nav-link .caret { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* Mega-menu panel */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(720px, 92vw);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  margin-top: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.7,.2,1);
  z-index: 70;
}
/* Invisible hover bridge between nav-link and panel so cursor can cross the 12px gap without closing */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.nav-item.open .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mega-col h5 {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 8px;
  border-radius: var(--r-md);
  transition: background .15s ease, transform .15s ease;
}
.mega-link:hover { background: var(--bg); transform: translateX(2px); }
.mega-link .ico {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.mega-link .ico svg { width: 18px; height: 18px; }
.mega-link b {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 1px;
}
.mega-link span {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}

.mega-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-2);
}
.mega-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}
.mega-foot a:hover { color: var(--navy); }

/* mobile nav */
@media (max-width: 980px) {
  .nav-list, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; order: 99; flex-shrink: 0; }
  .nav-inner { display: flex; align-items: center; height: 76px; gap: 0; }
  nav { flex: 1; min-width: 0; }
  .nav-cta { flex-shrink: 0; }
  .nav-logo { flex-shrink: 0; }
  .nav-logo img { height: 28px; width: auto; max-width: none; }

  /* Hamburger → X */
  .nav-open .nav-toggle svg line {
    transition: transform .22s ease, opacity .18s ease;
    transform-box: fill-box;
    transform-origin: center;
  }
  .nav-open .nav-toggle svg line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-open .nav-toggle svg line:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-open .nav-toggle svg line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  /* Overlay */
  .nav-open {
    position: fixed !important;
    inset: 0;
    background: var(--bg) !important;
    border-bottom-color: transparent !important;
    z-index: 100;
  }
  .nav-open .nav-logo .logo-dark  { display: inline-block !important; }
  .nav-open .nav-logo .logo-light { display: none !important; }
  .nav-open .nav-toggle { color: var(--ink) !important; border-color: var(--line) !important; }

  /* Header: logo centrado, X a la derecha */
  .nav-open .nav-inner {
    position: relative;
    border-bottom: 1px solid var(--line);
    justify-content: flex-end;
  }
  .nav-open .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
  }

  /* Panel centrado */
  .nav-open .nav-list {
    display: flex !important;
    position: fixed;
    top: 77px;
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    background: var(--bg);
    z-index: 100;
    margin: 0;
    padding: 16px 0 100px;
    list-style: none;
    gap: 0;
  }
  .nav-open .nav-item { width: 100%; text-align: center; }
  .nav-open .nav-item + .nav-item { border-top: 1px solid var(--line-soft); }

  /* Links principales - grandes y centrados */
  .nav-open .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px var(--pad-x);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink) !important;
    border-radius: 0;
    width: 100%;
    gap: 10px;
  }
  .nav-open .nav-item.open > .nav-link { color: var(--navy) !important; }
  .nav-open .nav-link .caret { width: 20px; height: 20px; color: var(--ink-3); flex-shrink: 0; transition: transform .2s ease; }
  .nav-open .nav-item.open > .nav-link .caret { transform: rotate(180deg); color: var(--navy); }

  /* Submenú */
  .nav-open .mega {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--bg-tinted);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 0 12px;
    opacity: 1;
    pointer-events: auto;
    display: none;
    margin: 0;
  }
  .nav-open .nav-item.open .mega {
    display: block;
    transform: none;
    position: static;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    left: auto;
  }
  .nav-open .mega::before { display: none; }
  .nav-open .mega-grid { display: flex; flex-direction: column; gap: 0; }
  .nav-open .mega-col { display: flex; flex-direction: column; }
  .nav-open .mega-col h5 { display: none; }

  /* Links del submenú - centrados */
  .nav-open .mega-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px var(--pad-x);
    border-radius: 0;
    grid-template-columns: unset;
    gap: 0;
  }
  .nav-open .mega-link:active { background: rgba(27,29,54,0.05); }
  .nav-open .mega-link:hover { transform: none; background: transparent; }
  .nav-open .mega-link .ico { display: none; }
  .nav-open .mega-link > span:not(.ico) { display: block; text-align: center; }
  .nav-open .mega-link > span:not(.ico) > span { display: none; }
  .nav-open .mega-link b { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
  .nav-open .mega-foot { display: none; }

  /* CTA fijo al fondo */
  .nav-open .nav-cta {
    display: block;
    position: fixed;
    left: var(--pad-x);
    right: var(--pad-x);
    bottom: 20px;
    z-index: 101;
  }
  .nav-open .nav-cta .btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    font-size: 16px;
    box-shadow: 0 8px 28px rgba(255,94,94,0.28);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 96px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.hero-grid > * { min-width: 0; }

.hero-eyebrow { margin-bottom: 28px; }

.hero h1 {
  font-size: var(--t-display-xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--navy);
}
.hero .lead { margin: 0 0 36px; max-width: 44ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-tinted);
}
.hero-photo image-slot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-photo .glass {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.hero-photo .glass .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.hero-photo .glass .meta b {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
  letter-spacing: -0.005em;
}
.hero-photo .glass .meta span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
}
.hero-photo .glass .amt {
  font-family: var(--font);
  font-weight: 800;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: right;
}
.hero-photo .glass .amt small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero stats row */
.hero-stats {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-stats .stat .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.hero-stats .stat .v {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-stats .stat .v .unit {
  font-size: 0.5em;
  color: var(--ink-2);
  font-weight: 600;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 520px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* =========================================================
   ALT SECTIONS (bone with cards)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.feature-card .num-mark {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--ink-3);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.feature-card h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 16px 0 12px;
}
.feature-card p { color: var(--ink-2); margin: 0; }
.feature-card .meta-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.feature-card .meta-row .m { display: flex; flex-direction: column; }
.feature-card .meta-row .m b {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.feature-card .meta-row .m span {
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.feature-card .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.feature-card .arrow-link::after {
  content: "→";
  display: inline-block;
  transition: transform .2s ease;
}
.feature-card:hover .arrow-link::after { transform: translateX(4px); }

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  margin-top: clamp(64px, 8vw, 120px);
}
footer.site-footer::before { display: none; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 30px; width: auto; max-width: none; object-fit: contain; display: block; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; max-width: 32ch; line-height: 1.6; margin: 0 0 24px; }
.store-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.store-btn:hover { background: rgba(255,255,255,0.12); }
.store-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer-col h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a { font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }

.footer-mid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-mid .badge {
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.footer-legal {
  padding: 24px 0 12px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.42);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.footer-bottom .socials a:hover { background: rgba(255,255,255,0.14); }
.footer-bottom .socials svg { width: 14px; height: 14px; }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGE HEADER (used on non-home pages)
   ========================================================= */
.page-hero {
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs {
  font-size: var(--t-body-sm);
  color: var(--ink-2);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.page-hero .crumbs a { color: var(--ink-2); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero .crumbs .sep { color: var(--ink-3); }
.page-hero h1 {
  font-size: var(--t-display-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0 0 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero .lead {
  font-size: var(--t-body-lg);
  max-width: 56ch;
  color: var(--ink-2);
  margin: 0;
}

/* =========================================================
   CHIPS / TAGS
   ========================================================= */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.chip-coral { background: rgba(255,94,94,0.08); border-color: rgba(255,94,94,0.24); color: var(--coral-deep); }
.chip-navy  { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-q .ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform .25s ease, background .2s ease, border-color .2s ease;
  color: var(--ink-2);
  flex: 0 0 28px;
}
.faq-q .ico svg { width: 12px; height: 12px; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 0 24px;
  font-size: var(--t-body);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 70ch;
}

/* =========================================================
   FORMS
   ========================================================= */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(20,23,46,0.08);
}

/* =========================================================
   REVEAL (always-visible default; .in plays a one-shot anim)
   ========================================================= */
.reveal {}
.reveal.in {
  animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.in { animation: none; }
  html { scroll-behavior: auto; }
}
