/* ============================================================
   CIA & ASOCIADOS / MONCADA ABOGADOS
   Custom design system — premium legal, navy + gold
   Built on top of MAAT structural tokens
   ============================================================ */

/* Fonts: Sora loaded locally via fonts/ (see @font-face below)
   Cormorant Garamond loaded from Google Fonts in <head>
*/

/* Local Sora */
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- PALETTE ---------- */
  --navy-900: #0E1F37;
  --navy-800: #142B4D;
  --navy-700: #1A2E4A;   /* primary institutional */
  --navy-600: #234070;
  --navy-500: #2D5F8A;   /* mid blue, CTAs */
  --navy-400: #5077A0;

  --gold-700: #8E7426;
  --gold-600: #B08F35;
  --gold-500: #C9A84C;   /* accent — excellence */
  --gold-400: #DABF7A;
  --gold-200: #ECDFB9;
  --gold-100: #F6EDD3;

  --cream:    #FAF6EE;
  --paper:    #FFFFFF;
  --bone:     #F2EDE3;
  --line:     #E6DFD0;

  --ink-900:  #0B1424;
  --ink-700:  #2A3346;
  --ink-500:  #5C6271;
  --ink-300:  #97A0AC;

  --status-green: #16794C;
  --status-red:   #B33A3A;

  /* ---------- FONTS ---------- */
  --font-display: 'Spectral', 'Times New Roman', Georgia, serif;
  --font-body:    'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --display-italic: normal;
  --display-weight-h1: 500;

  /* ---------- SPACING (8px grid) ---------- */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 40px; --s-6: 48px; --s-8: 64px; --s-10: 80px;
  --s-12: 96px; --s-16: 128px; --s-20: 160px;

  /* ---------- RADII ---------- */
  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-xl: 18px;

  /* ---------- SHADOWS ---------- */
  --shadow-sm: 0 1px 2px rgba(11,20,36,.05), 0 1px 1px rgba(11,20,36,.04);
  --shadow-md: 0 6px 18px rgba(11,20,36,.08), 0 2px 6px rgba(11,20,36,.04);
  --shadow-lg: 0 20px 50px rgba(11,20,36,.14), 0 6px 16px rgba(11,20,36,.06);
  --shadow-gold: 0 8px 24px rgba(201,168,76,.32);

  /* ---------- MOTION ---------- */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- type ---------- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0;
}
h1 { font-size: clamp(48px, 6vw, 84px); font-weight: var(--display-weight-h1); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 500; }
h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; }
h4 { font-size: 19px; font-weight: 500; }

.accent {
  color: var(--gold-700);
  font-style: var(--display-italic);
  font-weight: 500;
}
.hero .accent, .section-dark .accent { color: var(--gold-400); }

p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold-500);
}
.eyebrow.no-line::before { display: none; }
.eyebrow.center::before { display: none; }

.serif { font-family: var(--font-display); }
.italic { font-style: italic; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-4);
}
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 var(--s-4); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,31,55,.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(201,168,76,.18);
  color: #fff;
}
.nav-inner {
  display: flex; align-items: center; gap: var(--s-6);
  padding: 18px var(--s-4);
  max-width: 1280px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  flex: 0 0 38px;
}
.nav-logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo-text .lt-1 {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-400);
  white-space: nowrap;
}
.nav-logo-text .lt-2 {
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  white-space: nowrap;
}
.nav-links {
  display: flex; gap: var(--s-4); margin-left: auto; align-items: center;
}
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .nav-link { font-size: 12.5px; }
}
@media (max-width: 1040px) {
  .nav-inner { gap: var(--s-4); padding-left: 20px; padding-right: 20px; }
  .nav-links { gap: 16px; }
  .nav-link { font-size: 12px; }
  .nav-logo-text .lt-2 { display: none; }
}

/* ============================================================
   NAV — MOBILE / TABLET DRAWER (single source of truth)
   Cascade: desktop styles above, this block below = mobile wins
   ============================================================ */
.nav-mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0;
}
.nav-mobile-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: var(--navy-900);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  flex-direction: column;
  padding: 24px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}
.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer-close {
  align-self: flex-end;
  color: #fff;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  margin-bottom: 24px;
}
.nav-drawer-link {
  display: block;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.nav-drawer-link.active {
  color: var(--gold-400);
}
.nav-drawer-cta {
  margin-top: 32px;
  padding: 14px 22px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-align: center;
  display: block;
  cursor: pointer;
}
.nav-drawer-footer {
  margin-top: auto;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.nav-drawer-footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: 6px;
}

/* Show mobile nav at <=1024px (incluye iPad portrait + landscape) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .nav-mobile-btn {
    display: inline-flex;
    margin-left: auto;
  }
  .nav-drawer {
    display: flex;
  }
  .nav-drawer-backdrop {
    display: block;
  }
}
.nav-link {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.82);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold-400); }
.nav-link.active { color: var(--gold-400); }
.nav-link.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold-500);
}
.nav-cta {
  padding: 11px 20px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-radius: var(--r-md);
  transition: all .2s var(--ease);
  box-shadow: 0 4px 14px rgba(201,168,76,.30);
}
.nav-cta:hover { background: var(--gold-400); transform: translateY(-1px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 6px 20px rgba(201,168,76,.30);
}
.btn-primary:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(201,168,76,.40); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-dark {
  background: var(--navy-800);
  color: var(--paper);
}
.btn-dark:hover { background: var(--navy-700); }

.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--navy-700);
}
.btn-ghost:hover { background: var(--navy-700); color: #fff; }

.btn-ghost-light {
  background: transparent;
  color: var(--gold-400);
  border: 1.5px solid rgba(201,168,76,.45);
}
.btn-ghost-light:hover { background: rgba(201,168,76,.10); color: var(--gold-400); }

.btn-arrow::after {
  content: "→";
  transition: transform .25s var(--ease);
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy-500);
  font-weight: 600; font-size: 14px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all .2s var(--ease);
}
.link-arrow:hover { color: var(--navy-700); border-bottom-color: var(--gold-500); }
.link-arrow span.arr { transition: transform .25s var(--ease); display: inline-block; }
.link-arrow:hover span.arr { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  padding: var(--s-12) 0 var(--s-16);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(201,168,76,.10), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(45,95,138,.30), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--s-10);
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-weight: var(--display-weight-h1);
}
.hero h1 .gold { color: var(--gold-400); font-style: var(--display-italic); font-weight: 500; }
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin: var(--s-4) 0 var(--s-5);
}
.hero-cta-row {
  display: flex; gap: var(--s-2); flex-wrap: wrap;
  margin-top: var(--s-5);
}
.hero-meta {
  display: flex; gap: var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.10);
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
}
.hero-meta-item .lbl {
  font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--s-3);
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--gold-500);
}

/* ============================================================
   SECTION
   ============================================================ */
.section { padding: var(--s-12) 0; }
.section-tight { padding: var(--s-8) 0; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-bone { background: var(--bone); }
.section-dark {
  background: var(--navy-900); color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  display: flex; flex-direction: column; gap: var(--s-2);
  margin-bottom: var(--s-8);
  max-width: 720px;
}
.section-head.center { margin: 0 auto var(--s-8); text-align: center; align-items: center; }
.section-head p.lead {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 620px;
}
.section-dark .section-head p.lead { color: rgba(255,255,255,.7); }

/* ============================================================
   PRACTICE AREAS GRID
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-card {
  background: var(--paper);
  padding: var(--s-5) var(--s-4);
  display: flex; flex-direction: column;
  min-height: 220px;
  position: relative;
  transition: background .25s var(--ease);
  cursor: pointer;
}
.svc-card:hover { background: var(--cream); }
.svc-card:hover .svc-arrow { transform: translate(4px, -4px); color: var(--gold-500); }
.svc-card .svc-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-300);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
}
.svc-card .svc-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.15;
  margin-bottom: var(--s-2);
}
.svc-card .svc-desc {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.6;
  margin-top: auto;
}
.svc-card .svc-arrow {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  font-size: 20px;
  color: var(--ink-300);
  transition: all .25s var(--ease);
}

/* featured area card */
.svc-card.featured {
  background: var(--navy-900);
  color: #fff;
  grid-column: span 1;
}
.svc-card.featured:hover { background: var(--navy-800); }
.svc-card.featured .svc-title { color: #fff; }
.svc-card.featured .svc-desc { color: rgba(255,255,255,.7); }
.svc-card.featured .svc-num { color: var(--gold-400); }
.svc-card.featured .svc-arrow { color: var(--gold-400); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: var(--s-10) 0 var(--s-4);
}
.footer h4 {
  color: var(--gold-400);
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 var(--s-3);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { color: rgba(255,255,255,.7); font-size: 14px; transition: color .2s var(--ease); }
.footer-grid a:hover { color: var(--gold-400); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-4);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-400);
}

/* ============================================================
   FORM
   ============================================================ */
.field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: var(--s-3);
}
.field label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-500);
}
.field input,
.field select,
.field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--ink-900);
  transition: all .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 4px rgba(45,95,138,.12);
}
.field textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.field.error input,
.field.error textarea { border-color: var(--status-red); }
.field-msg { font-size: 12px; color: var(--status-red); }
.field-ok { font-size: 12px; color: var(--status-green); }

/* ============================================================
   FLOATING UI
   ============================================================ */
.fab-stack {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 60;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.fab-wa {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s var(--ease);
}
.fab-wa:hover { transform: scale(1.05); }
.fab-cta {
  background: var(--navy-900);
  color: var(--gold-400);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,168,76,.25);
  display: inline-flex; align-items: center; gap: 10px;
}
.fab-cta:hover { background: var(--navy-800); }

/* WhatsApp drawer */
.wa-drawer {
  position: fixed;
  bottom: 96px; right: 24px;
  width: 340px;
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  z-index: 61;
  overflow: hidden;
  transform-origin: bottom right;
}
.wa-drawer-head {
  background: linear-gradient(135deg, #075E54, #128C7E);
  color: #fff;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.wa-drawer-head .av {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.wa-drawer-head .who { font-weight: 600; font-size: 14px; }
.wa-drawer-head .stat { font-size: 11.5px; opacity: .8; }
.wa-drawer-body {
  padding: 18px;
  background: #ECE5DD;
  min-height: 200px;
}
.wa-msg {
  background: #fff;
  padding: 10px 14px 8px;
  border-radius: 10px 10px 10px 2px;
  font-size: 13.5px;
  margin-bottom: 12px;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
  max-width: 85%;
}
.wa-msg-time {
  font-size: 10px;
  color: var(--ink-300);
  text-align: right;
  margin-top: 2px;
}
.wa-drawer-foot {
  padding: 14px 18px;
  display: flex; gap: 10px;
  background: var(--paper);
}
.wa-drawer-foot input {
  flex: 1;
  background: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13.5px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-gold {
  background: var(--gold-100);
  color: var(--gold-700);
}
.badge-navy {
  background: rgba(26,46,74,.08);
  color: var(--navy-700);
}
.badge-green {
  background: #DCFCE7;
  color: var(--status-green);
}

/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof-strip {
  background: var(--bone);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  align-items: center;
}
.proof-item {
  display: flex; flex-direction: column; gap: 4px;
  text-align: center;
}
.proof-item .n {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
}
.proof-item .l {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============================================================
   I-589 TIMELINE
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 var(--s-4);
}
.tl-step {
  display: contents;
}
.tl-marker {
  position: relative;
  display: flex; justify-content: center;
  padding-bottom: var(--s-6);
}
.tl-marker::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
.tl-marker .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--gold-500);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-700);
  z-index: 1;
  flex-shrink: 0;
}
.tl-step.active .tl-marker .dot {
  background: var(--gold-500);
  color: var(--navy-900);
}
.tl-step:last-of-type .tl-marker::before { display: none; }
.tl-body {
  padding-bottom: var(--s-6);
}
.tl-body h4 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.tl-body p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.6;
}
.tl-meta {
  display: inline-flex; gap: 8px; margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* ============================================================
   PRICING / SERVICIO EN LÍNEA CARDS
   ============================================================ */
.svc-online {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.svc-online.featured {
  background: var(--navy-900);
  color: #fff;
  border: 1px solid var(--navy-700);
}
.svc-online.featured h3 { color: #fff; }
.svc-online .price {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1;
  color: var(--navy-900);
  margin: var(--s-3) 0 var(--s-1);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.svc-online.featured .price { color: var(--gold-400); }
.svc-online .price .cur { font-size: 0.4em; vertical-align: top; margin-right: 4px; color: var(--ink-500); font-style: italic; }
.svc-online.featured .price .cur { color: rgba(255,255,255,.5); }
.svc-online .unit {
  font-size: 13px; color: var(--ink-500);
  margin-bottom: var(--s-4);
}
.svc-online.featured .unit { color: rgba(255,255,255,.65); }
.svc-online ul {
  list-style: none; padding: 0; margin: 0 0 var(--s-5);
  display: flex; flex-direction: column; gap: 10px;
}
.svc-online li {
  display: flex; gap: 10px; font-size: 14px; align-items: flex-start;
}
.svc-online li::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--gold-500); flex-shrink: 0;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23000' d='M13.485 4.515a1 1 0 0 0-1.414 0L6.5 10.086 3.929 7.515a1 1 0 1 0-1.414 1.414l3.278 3.278a1 1 0 0 0 1.414 0l6.278-6.278a1 1 0 0 0 0-1.414z'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23000' d='M13.485 4.515a1 1 0 0 0-1.414 0L6.5 10.086 3.929 7.515a1 1 0 1 0-1.414 1.414l3.278 3.278a1 1 0 0 0 1.414 0l6.278-6.278a1 1 0 0 0 0-1.414z'/></svg>") center/contain no-repeat;
  margin-top: 4px;
}

/* ============================================================
   CHECKOUT / FORM PANEL
   ============================================================ */
.checkout {
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.checkout-grid {
  display: grid; grid-template-columns: 1.3fr .9fr;
}
.checkout-form { padding: var(--s-6); border-right: 1px solid var(--line); }
.checkout-summary {
  background: var(--bone);
  padding: var(--s-6);
  display: flex; flex-direction: column;
}
.checkout-step-pill {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
  margin-bottom: var(--s-3);
}
.checkout-step-pill .n {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 13px;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.summary-row.total {
  border-bottom: 0;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  padding-top: var(--s-3);
}
.pay-methods {
  display: flex; gap: 8px; margin-top: var(--s-3);
}
.pay-methods .pm {
  flex: 1;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.pay-methods .pm.active {
  border-color: var(--navy-700);
  color: var(--navy-900);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(26,46,74,.06);
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--paper);
  padding: var(--s-6);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--navy-900);
  font-weight: 400;
}
.testimonial-attr {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.testimonial-attr .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
}
.testimonial-attr .nm { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.testimonial-attr .ty { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }

/* ============================================================
   TEAM CARD / BIO
   ============================================================ */
.bio {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--s-6);
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
}
.bio-photo {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  position: relative;
  min-height: 460px;
  display: grid; place-items: center;
  overflow: hidden;
}
.bio-photo .ph-label {
  position: absolute; bottom: 16px; left: 16px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  padding: 5px 10px;
  background: rgba(0,0,0,.3);
  border-radius: 4px;
}
.bio-body {
  padding: var(--s-6) var(--s-6) var(--s-6) 0;
  display: flex; flex-direction: column;
  justify-content: center;
}
.bio-body .role {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: var(--s-2);
}

/* ============================================================
   MAP
   ============================================================ */
.coverage-map {
  position: relative;
  background: var(--navy-900);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: var(--s-6);
  color: #fff;
  min-height: 460px;
}

/* ============================================================
   UTIL
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: var(--s-1); } .gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); }
.mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); }
.text-center { text-align: center; }

/* ============================================================
   HERO SLIDESHOW — Ken Burns + crossfade
   ============================================================ */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  will-change: opacity, transform;
}
.hero-bg-slide.is-active {
  opacity: 1;
  animation: kenBurns 12s ease-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1%); }
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      rgba(14,31,55,0.92) 0%,
      rgba(14,31,55,0.78) 45%,
      rgba(14,31,55,0.55) 100%),
    linear-gradient(180deg, rgba(14,31,55,0) 60%, rgba(14,31,55,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-bg-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
.hero-bg-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.hero-bg-dots .dot {
  width: 24px; height: 2px;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.hero-bg-dots .dot.is-active {
  background: var(--gold-400);
  width: 36px;
}

/* Charcoal theme override for hero overlay */
body[data-palette="charcoal-emerald"] .hero-bg-overlay {
  background:
    linear-gradient(105deg,
      rgba(24,28,31,0.92) 0%,
      rgba(24,28,31,0.78) 45%,
      rgba(24,28,31,0.55) 100%),
    linear-gradient(180deg, rgba(24,28,31,0) 60%, rgba(24,28,31,0.55) 100%);
}
body[data-palette="warm-maat"] .hero-bg-overlay {
  background:
    linear-gradient(105deg,
      rgba(42,61,63,0.92) 0%,
      rgba(42,61,63,0.78) 45%,
      rgba(42,61,63,0.55) 100%),
    linear-gradient(180deg, rgba(42,61,63,0) 60%, rgba(42,61,63,0.55) 100%);
}

/* Make hero content sit above the slideshow */
.hero > .wrap { position: relative; z-index: 2; }
.hero::before { z-index: 1; }

/* ============================================================
   FONT FAMILY VARIANTS (Tweaks)
   ============================================================ */
body[data-font="spectral"]   { --font-display: 'Spectral', Georgia, serif; --display-italic: normal; --display-weight-h1: 500; }
body[data-font="newsreader"] { --font-display: 'Newsreader', Georgia, serif; --display-italic: normal; --display-weight-h1: 500; }
body[data-font="cormorant"]  { --font-display: 'Cormorant Garamond', Georgia, serif; --display-italic: italic; --display-weight-h1: 500; }
body[data-font="manrope"]    { --font-display: 'Manrope', system-ui, sans-serif; --display-italic: normal; --display-weight-h1: 700; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

/* When animations are toggled off, show everything immediately */
body[data-animations="off"] .reveal,
body[data-animations="off"] .reveal-scale,
body[data-animations="off"] .reveal-x {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
body[data-animations="off"] .page-shell { animation: none; }

.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: none; }

.reveal-x { opacity: 0; transform: translateX(-24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-x.is-visible { opacity: 1; transform: none; }

.page-shell { animation: pageIn .55s var(--ease) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

@keyframes softPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.pulse-soft { animation: softPulse 2.4s var(--ease) infinite; }

@keyframes goldShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.gold-shimmer {
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500), var(--gold-400), var(--gold-500), var(--gold-700));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 4s var(--ease) infinite;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; gap: 60px; animation: marquee 40s linear infinite; width: max-content; }

.counter { display: inline-block; min-width: 1ch; }

.svc-card { transition: background .3s var(--ease), transform .35s var(--ease); }
.svc-card:hover { transform: translateY(-2px); }

.svc-online { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc-online:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testimonial { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.faq-chev { transition: transform .3s var(--ease); }
.faq-chev.open { transform: rotate(45deg); }

@keyframes accordionDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.accordion-body { animation: accordionDown .35s var(--ease) both; overflow: hidden; }

/* Pulsing dot for 'en línea' indicators */
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; animation: livePulse 2s var(--ease) infinite;
}

/* ============================================================
   PALETTE VARIANTS (Tweaks)
   ============================================================ */
body[data-palette="navy-gold"] {
  /* default — no overrides */
}
body[data-palette="warm-maat"] {
  --navy-900: #2A3D3F;
  --navy-800: #34474A;
  --navy-700: #3F5559;
  --navy-500: #5A7E7F;
  --gold-500: #D76B6E;
  --gold-400: #E48A8D;
  --gold-700: #B05456;
  --gold-100: #FCEDEE;
  --cream:    #F5F1E8;
  --bone:     #E2D5B8;
}
body[data-palette="charcoal-emerald"] {
  --navy-900: #181C1F;
  --navy-800: #232830;
  --navy-700: #2C333D;
  --navy-500: #3E4754;
  --gold-500: #2F8769;
  --gold-400: #45A788;
  --gold-700: #1F6450;
  --gold-100: #DEF1E8;
  --cream:    #F4F4F2;
  --bone:     #E8E7E1;
}

/* ============================================================
   PROCESS WHEEL — rueda de 7 pasos (Migratorio)
   ============================================================ */
.pw-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: block;
}
.pm-wrap { display: none; }

.pw-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 720px;
  margin: 0 auto;
}

.pw-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pw-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: inherit;
  transition: all .3s var(--ease);
  z-index: 2;
  padding: 0;
}
.pw-dot:hover {
  border-color: var(--gold-500);
  transform: translate(-50%, -50%) scale(1.06);
}
.pw-dot.is-past {
  background: var(--gold-100);
  border-color: var(--gold-500);
}
.pw-dot.is-past .pw-dot-num { color: var(--gold-700); }
.pw-dot.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 12px 32px rgba(11,20,36,.18), 0 0 0 4px rgba(201,168,76,.25);
  z-index: 3;
}
.pw-dot.is-active .pw-dot-num { color: var(--gold-400); }
.pw-dot.is-active .pw-dot-label { color: rgba(255,255,255,.75); }

.pw-dot-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1;
}
.pw-dot-label {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  max-width: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pw-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 20px 60px rgba(11,20,36,.12), inset 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  z-index: 1;
}

.pw-center-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  animation: pwFadeIn .4s var(--ease);
}
@keyframes pwFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.pw-center-meta {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 600;
}
.pw-center-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  color: var(--gold-700);
  line-height: 1;
  margin: -4px 0 2px;
}
.pw-center-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-900);
  margin: 0 0 4px;
  line-height: 1.2;
}
.pw-center-desc {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0;
  max-width: 100%;
}
.pw-center-time {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--gold-100);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pw-time-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 600;
}
.pw-time-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-900);
}

.pw-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.pw-ctrl-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-700);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.pw-ctrl-btn:hover:not(:disabled) {
  border-color: var(--navy-700);
  color: var(--navy-900);
  background: var(--paper);
}
.pw-ctrl-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pw-play {
  background: var(--navy-900);
  color: var(--gold-400);
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s var(--ease);
}
.pw-play:hover {
  background: var(--navy-800);
}
.pw-play.is-playing {
  background: var(--gold-500);
  color: var(--navy-900);
}

/* MOBILE: switch to vertical accordion */
@media (max-width: 768px) {
  .pw-wrap { display: none; }
  .pm-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
  }
  .pm-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  }
  .pm-item.is-active {
    border-color: var(--navy-700);
    box-shadow: 0 6px 20px rgba(11,20,36,.08);
  }
  .pm-head {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 40px 1fr 24px;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
  }
  .pm-num {
    width: 40px;
    height: 40px;
    background: var(--navy-900);
    color: var(--gold-400);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
  }
  .pm-item.is-active .pm-num {
    background: var(--gold-500);
    color: var(--navy-900);
  }
  .pm-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--navy-900);
    line-height: 1.25;
  }
  .pm-chev {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cream);
    color: var(--ink-500);
    transition: transform .3s var(--ease);
  }
  .pm-item.is-active .pm-chev {
    transform: rotate(180deg);
    background: var(--navy-900);
    color: var(--gold-400);
  }
  .pm-body {
    padding: 0 18px 20px 72px;
    animation: accordionDown .35s var(--ease);
  }
  .pm-body p {
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.55;
    margin: 0 0 14px;
  }
  .pm-meta {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    background: var(--gold-100);
    border-radius: 8px;
  }
  .pm-meta-label {
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-700);
    font-weight: 600;
  }
  .pm-meta-val {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    color: var(--navy-900);
  }
}

/* Tablet: smaller wheel */
@media (max-width: 1024px) and (min-width: 769px) {
  .pw-stage { max-width: 560px; }
  .pw-dot { width: 62px; height: 62px; }
  .pw-dot-num { font-size: 18px; }
  .pw-dot-label { font-size: 8px; max-width: 48px; }
  .pw-center-num { font-size: 34px; }
  .pw-center-title { font-size: 18px; }
  .pw-center-desc { font-size: 12px; }
}

/* ============================================================
   PAGE HEADER — banner con foto de fondo
   ============================================================ */
.page-header-banner {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-header-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(14, 31, 55, 0.92) 0%,
    rgba(14, 31, 55, 0.80) 45%,
    rgba(14, 31, 55, 0.55) 100%);
  z-index: -1;
}
body[data-palette="charcoal-emerald"] .page-header-banner::before {
  background: linear-gradient(105deg,
    rgba(24, 28, 31, 0.92) 0%,
    rgba(24, 28, 31, 0.82) 45%,
    rgba(24, 28, 31, 0.55) 100%);
}
body[data-palette="warm-maat"] .page-header-banner::before {
  background: linear-gradient(105deg,
    rgba(42, 61, 63, 0.92) 0%,
    rgba(42, 61, 63, 0.80) 45%,
    rgba(42, 61, 63, 0.55) 100%);
}
@media (max-width: 768px) {
  .page-header-banner::before {
    background: linear-gradient(180deg,
      rgba(14, 31, 55, 0.78) 0%,
      rgba(14, 31, 55, 0.92) 100%);
  }
  body[data-palette="charcoal-emerald"] .page-header-banner::before {
    background: linear-gradient(180deg,
      rgba(24, 28, 31, 0.80) 0%,
      rgba(24, 28, 31, 0.94) 100%);
  }
}

/* ============================================================
   HOME — Migratorio Featured card responsive
   ============================================================ */
.migratorio-card {
  aspect-ratio: 1 / 1.1;
  width: 100%;
}

@media (max-width: 768px) {
  .migratorio-card {
    aspect-ratio: 5 / 4;
    max-height: 360px;
  }
}

@media (max-width: 480px) {
  .migratorio-card {
    aspect-ratio: 4 / 3;
    max-height: 280px;
  }
}

/* ============================================================
   ONLINE SERVICES — tabs y detail grid
   ============================================================ */
.online-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.online-tabs::-webkit-scrollbar { display: none; }
.online-tab {
  background: transparent;
  border: 0;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.online-tab.is-active {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}
.online-tab-price {
  font-size: 12px;
  color: var(--ink-300);
  font-weight: 400;
}
.online-tab.is-active .online-tab-price {
  color: var(--gold-700);
  font-weight: 600;
}

.online-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .online-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   COMPARISON TABLE — responsive y dinámica
   ============================================================ */
.compare {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

/* Tabs / selector de servicio */
.compare-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy-900);
}
.compare-tab {
  background: transparent;
  border: 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: rgba(255,255,255,.55);
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
  text-align: left;
  transition: all .25s var(--ease);
  font: inherit;
}
.compare-tab:last-child { border-right: 0; }
.compare-tab:hover { background: rgba(255,255,255,.04); }
.compare-tab.is-active {
  background: rgba(201,168,76,.12);
  color: #fff;
}
.compare-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px 2px 0 0;
}
.compare-tab-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(201,168,76,.12);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  flex-shrink: 0;
}
.compare-tab.is-active .compare-tab-icon {
  background: var(--gold-500);
  color: var(--navy-900);
}
.compare-tab-text { min-width: 0; }
.compare-tab-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare-tab-price {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}
.compare-tab.is-active .compare-tab-price {
  color: var(--gold-400);
  font-weight: 600;
}
.compare-tab-star {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 11px;
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Filas de comparación */
.compare-body {
  background: var(--paper);
}
.compare-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: 0; }
.compare-row-label {
  padding: 20px 24px;
  background: var(--cream);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 600;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.compare-row-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.compare-cell {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--ink-700);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  transition: background .25s var(--ease);
  position: relative;
}
.compare-cell:last-child { border-right: 0; }
.compare-cell.is-featured {
  background: rgba(201,168,76,.06);
  color: var(--navy-900);
  font-weight: 500;
}
.compare-cell.is-active {
  background: rgba(201,168,76,.12);
}
.compare-cell::before {
  content: attr(data-svc);
  display: none;
}

/* MOBILE: stack into a card-per-service vista vertical */
@media (max-width: 768px) {
  .compare-tabs {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .compare-tab {
    padding: 14px 10px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    border-right: 1px solid rgba(255,255,255,.08);
  }
  .compare-tab-icon {
    width: 32px; height: 32px;
  }
  .compare-tab-name {
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
  }
  .compare-tab-price {
    font-size: 10.5px;
  }
  .compare-tab-star {
    position: absolute;
    top: 4px; right: 6px;
    font-size: 9px;
  }
  .compare-tab.is-active::after {
    left: 30%; right: 30%;
  }

  /* En móvil, mostrar solo la columna del servicio activo */
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-row-label {
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 10.5px;
    background: var(--bone);
  }
  .compare-row-values {
    grid-template-columns: 1fr;
  }
  .compare-cell {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: none;
    font-size: 15px;
  }
  .compare-cell:last-child {
    border-bottom: 0;
  }
  .compare-cell.is-active {
    display: flex;
    background: var(--paper);
  }
  .compare-cell.is-active.is-featured {
    background: rgba(201,168,76,.06);
  }
}
.svc-acc-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.btn-sm-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-700);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.btn-sm-ghost:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.svc-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-acc-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-acc-item:hover:not(.is-open) {
  border-color: var(--gold-500);
}
.svc-acc-item.is-open {
  border-color: var(--navy-700);
  box-shadow: 0 8px 28px rgba(11,20,36,.08);
}
.svc-acc-item.is-featured .svc-acc-num {
  background: var(--gold-500);
  color: var(--navy-900);
}

.svc-acc-head {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 44px 56px 1fr 24px;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.svc-acc-num {
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  color: var(--gold-400);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}
.svc-acc-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--navy-700);
}
.svc-acc-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.svc-acc-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.svc-acc-text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.15;
}
.svc-acc-text p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.5;
}
.svc-acc-chev {
  color: var(--ink-500);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.svc-acc-item.is-open .svc-acc-chev {
  transform: rotate(180deg);
  background: var(--navy-900);
  color: var(--gold-400);
}

.svc-acc-body {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 60%);
  animation: accordionDown .4s var(--ease) both;
}
.svc-acc-list {
  display: flex;
  flex-direction: column;
}
.svc-acc-row {
  padding: 22px 28px 22px 124px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transition: background .2s var(--ease);
}
.svc-acc-row:last-child {
  border-bottom: 0;
}
.svc-acc-row:hover {
  background: rgba(201,168,76,.04);
}
.svc-acc-row-main { min-width: 0; }
.svc-acc-row-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.svc-acc-row h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.25;
}
.svc-acc-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.55;
}

.svc-acc-bottom {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* MOBILE ACCORDION */
@media (max-width: 720px) {
  .svc-acc-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .svc-acc-head {
    padding: 18px 18px;
    grid-template-columns: 38px 44px 1fr 24px;
    gap: 14px;
  }
  .svc-acc-num {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .svc-acc-icon {
    width: 44px;
    height: 44px;
  }
  .svc-acc-text h3 {
    font-size: 19px;
  }
  .svc-acc-text p {
    font-size: 13px;
  }
  .svc-acc-row {
    padding: 18px 18px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .svc-acc-row h4 {
    font-size: 17px;
  }
  .svc-acc-row .link-arrow {
    justify-self: flex-start;
    font-size: 13px;
  }
  .svc-acc-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .svc-acc-bottom .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .wrap-narrow { padding: 0 24px; }

  .section { padding: var(--s-10) 0; }
  .section-tight { padding: var(--s-6) 0; }

  .hero { padding: var(--s-10) 0 var(--s-12); }

  /* Hero: stack columns */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: var(--s-6) !important;
  }

  /* Services grid: 2 columns */
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* General grids */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Bio */
  .bio {
    grid-template-columns: 1fr;
  }
  .bio-photo {
    min-height: 360px;
    aspect-ratio: 4/3;
  }
  .bio-body {
    padding: var(--s-5);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5);
  }

  /* Checkout */
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-form,
  .checkout-summary {
    border-right: 0;
  }
  .checkout-summary {
    border-top: 1px solid var(--line);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (<= 720px)
   ============================================================ */
@media (max-width: 720px) {
  /* GLOBAL */
  body { font-size: 15px; }
  .wrap, .wrap-narrow { padding: 0 20px; }

  /* Section padding tighter */
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }

  /* TYPE — scale down */
  h1 { font-size: clamp(36px, 9vw, 48px); }
  h2 { font-size: clamp(28px, 7vw, 36px); }
  h3 { font-size: clamp(20px, 5.2vw, 24px); }

  /* NAV */
  .nav-inner {
    padding: 14px 20px;
    gap: 12px;
  }
  .nav-logo-text .lt-2 { display: none; }
  .nav-logo-text .lt-1 { font-size: 17px; }

  /* HERO */
  .hero {
    padding: var(--s-8) 0 var(--s-10);
    min-height: auto !important;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 56px);
    line-height: 1.05;
  }
  .hero-lead {
    font-size: 16px;
    margin-top: 20px;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn {
    justify-content: center;
  }
  .hero-meta {
    gap: 24px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-meta-item {
    flex: 1 1 calc(50% - 12px);
    min-width: 130px;
  }
  .hero-meta-item .num {
    font-size: 28px;
  }
  .hero-bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(14,31,55,0.55) 0%,
        rgba(14,31,55,0.82) 40%,
        rgba(14,31,55,0.95) 100%) !important;
  }
  body[data-palette="charcoal-emerald"] .hero-bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(24,28,31,0.55) 0%,
        rgba(24,28,31,0.85) 40%,
        rgba(24,28,31,0.95) 100%) !important;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  /* PROOF STRIP */
  .proof-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .proof-item .n {
    font-size: 32px;
  }
  .proof-item .l {
    font-size: 10px;
  }

  /* SERVICES GRID */
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-card {
    min-height: 180px;
    padding: 28px 24px;
  }

  /* GENERAL GRIDS */
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }

  /* SECTION HEADS */
  .section-head { margin-bottom: var(--s-5); }
  .section-head p.lead { font-size: 16px; }

  /* PRICING */
  .svc-online {
    padding: 32px 24px;
  }
  .svc-online .price {
    font-size: 42px !important;
  }

  /* TESTIMONIAL */
  .testimonial {
    padding: 28px 24px;
  }
  .testimonial-quote {
    font-size: 18px;
  }

  /* MIGRATORIO TIMELINE */
  .timeline {
    grid-template-columns: 56px 1fr;
    gap: 0 16px;
  }
  .tl-marker .dot {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .tl-body h4 {
    font-size: 20px;
  }
  .tl-body p {
    font-size: 14px;
  }

  /* FOOTER */
  .footer {
    padding: var(--s-8) 0 var(--s-3);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }

  /* FLOATING UI */
  .fab-stack {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .fab-wa {
    width: 50px;
    height: 50px;
  }
  .fab-cta {
    font-size: 12px;
    padding: 11px 18px;
  }

  /* WHATSAPP DRAWER */
  .wa-drawer {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 80px;
    max-width: 380px;
  }

  /* FORMS */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px; /* prevent zoom on iOS */
  }

  /* CHECKOUT */
  .checkout-form {
    padding: 28px 24px;
  }
  .checkout-summary {
    padding: 28px 24px;
  }

  /* BIO */
  .bio-photo {
    min-height: 280px;
    aspect-ratio: 4/3;
  }
  .bio-body {
    padding: 28px 24px;
  }

  /* HOME · Migratorio Featured image card */
  /* keep as-is; image scales with cover */

  /* Inline grid-2 gaps (e.g. MigratorioFeatured) need !important to override style attr */
  .grid-2 { gap: 32px !important; }
  .section-head { max-width: 100% !important; }

  /* Slideshow dots hidden on small mobile (saves space) */
  .hero-bg-dots { bottom: 16px; }
  .hero-bg-dots .dot { width: 18px; }
  .hero-bg-dots .dot.is-active { width: 26px; }
}

/* ============================================================
   EXTRA SMALL (<= 420px)
   ============================================================ */
@media (max-width: 420px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
  .hero-meta-item {
    flex: 1 1 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 16px;
  }
  .hero-meta-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .svc-online .price { font-size: 36px !important; }
}
