/* Zaga Consulting — "passport & stamp" editorial redesign.
   Tokens and values from the design handoff (design_handoff_zaga_landing). */

:root {
  --paper: #F4EFE3;
  --paper-card: #FFFCF3;
  --ink: #17201A;
  --navy: #1D3B66;      /* passport navy — FINAL brand primary */
  --salmon-deep: #DE8E6F; /* salmon accent on light backgrounds */
  --salmon: #E8A38A;
  --foil: #D8BE85;       /* passport-artwork foil (documents only, not brand) */
  
  --dot-live: #E8A38A;   /* "responde rápido" indicator — salmon, was a stray green */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-section: clamp(72px, 11vh, 130px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
/* Anchor targets land below the sticky nav, not under it */
section[id], [id="historias"] { scroll-margin-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Grid children default to min-width auto, which lets long content blow the
   column past the viewport on small screens. */
.hero > div, .sim-grid > div, .about > div { min-width: 0; }
/* Print grain: a faint paper texture over the whole page (multiply, ~4%) —
   what makes the flat beige read as printed stock. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}
a { color: var(--ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--salmon-deep); }
::selection { background: var(--navy); color: var(--paper); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Type patterns ---------- */
.overline {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--salmon-deep); margin: 0 0 16px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; margin: 0; }
h2 em, h1 em { color: var(--navy); }
.on-dark h2 em { color: var(--salmon); }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stampIn {
  0% { opacity: 0; transform: rotate(8deg) scale(1.6); }
  60% { opacity: 1; transform: rotate(-6deg) scale(.96); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rise { animation: rise .8s var(--d, 0s) var(--ease) both; }

/* Scroll reveals: JS adds .in via IntersectionObserver. Without JS nothing is hidden. */
html.js .reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .spread { transform: rotate(0deg); }
  .spread .flap { transform: rotateX(180deg); }
  .spread .stamp-zaga { opacity: .95; transform: rotate(9deg); }
  .visa-seal { opacity: .92; transform: translateY(-50%); }
}

/* ---------- Buttons / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; padding: 18px 30px; border-radius: 999px;
  transition: transform .25s, background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.pill-primary { background: var(--navy); color: var(--paper); }
.pill-primary:hover { background: var(--salmon-deep); color: var(--ink); transform: translateY(-3px); }
.pill-ghost { border: 1.5px solid rgba(23, 32, 26, .3); color: var(--ink); }
.pill-ghost:hover { border-color: var(--salmon-deep); color: var(--salmon-deep); transform: translateY(-3px); }

.btn-mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 20px; border-radius: 999px; cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.btn-mono-ink { background: var(--ink); color: var(--paper); border: none; }
.btn-mono-ink:hover { background: var(--salmon-deep); color: var(--ink); }
.btn-mono-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(23, 32, 26, .35); }
.btn-mono-ghost:hover { border-color: var(--salmon-deep); color: var(--salmon-deep); }

/* ---------- Nav ---------- */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 227, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  /* separator = the .journey dashed track (drawn solid as you scroll) */
}
.nav-bar nav {
  max-width: 1280px; margin: 0 auto; padding: 16px var(--pad-x);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.wordmark { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; }
.wordmark em { color: var(--navy); font-style: italic; }
.wordmark:hover { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-links {
  display: flex; gap: clamp(14px, 2.5vw, 28px); align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.nav-cta {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px;
  transition: background .25s;
}
.nav-cta:hover { background: var(--salmon-deep); color: var(--ink); }

/* ---------- Journey line (nav) ----------
   The wordmark's dashed COL→USA line, extended into the page: a scroll-progress
   track pinned to the nav's bottom edge. Solid navy draws over the dashes as you
   travel; the salmon dot is the traveler. JS sets --jp (0→1) on .journey. */
.journey { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.j-track {
  position: absolute; left: 0; right: 0; top: .5px; height: 1px;
  background-image: repeating-linear-gradient(90deg, rgba(23, 32, 26, .3) 0 5px, transparent 5px 11px);
}
.j-gone {
  position: absolute; left: 0; top: 0; height: 1.5px; width: 100%;
  background: var(--navy); transform-origin: 0 50%; transform: scaleX(var(--jp, 0));
}
.j-dot {
  position: absolute; top: 50%;
  left: clamp(4px, calc(var(--jp, 0) * 100%), calc(100% - 4px));
  width: 7px; height: 7px; margin-left: -3.5px; transform: translateY(-50%);
  border-radius: 50%; background: var(--salmon-deep);
  box-shadow: 0 0 0 2px var(--paper);
}

/* Tactile press on every button — ink hitting paper */
.pill:active, .nav-cta:active, .sim-cta:active, .guarantee-cta:active,
.sticky-cta:active, .simcard-actions button:active { transform: translateY(1px) scale(.985); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) var(--pad-x) clamp(56px, 9vh, 110px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero .overline { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(46px, 6.4vw, 88px); line-height: .98; margin: 0 0 32px; text-wrap: balance;
}
.hero h1 span { display: block; }
.hero h1 .h1-accent { font-style: italic; color: var(--navy); }
.hero .lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 52ch;
  color: rgba(23, 32, 26, .78); margin: 0 0 40px;
}
.hero .lede em { font-family: var(--serif); font-size: 1.08em; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: rgba(23, 32, 26, .6); margin: 36px 0 0; line-height: 2;
}
.trust-row .hot { color: var(--salmon-deep); }
.trust-row .tr-sep { margin: 0 .55em; color: rgba(23, 32, 26, .32); }

.hero-photo { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-photo .arch {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 260px 260px 8px 8px; overflow: hidden;
  border: 1.5px solid rgba(23, 32, 26, .25); box-shadow: 14px 14px 0 var(--navy);
}
.hero-photo .arch img { width: 100%; height: 100%; object-fit: cover; }
.stamp-chip {
  position: absolute; top: 34px; right: -14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--salmon-deep); border: 2px solid var(--salmon-deep); border-radius: 6px; padding: 10px 16px;
  background: rgba(244, 239, 227, .85);
  animation: stampIn .7s 1.1s var(--ease) both;
  box-shadow: 0 4px 20px rgba(222, 142, 111, .18);
}
/* Consular seal stamped on the visa page — sits in the right-center
   whitespace, and "booms" in only after the passport has opened. */
.visa-seal {
  position: absolute; width: 30%; aspect-ratio: 1; height: auto;
  right: 5%; top: 45%; transform: translateY(-50%) scale(1);
  opacity: 0; mix-blend-mode: multiply; pointer-events: none; z-index: 2;
}
.spread.open .visa-seal { animation: sealStamp .55s var(--ease) 1.85s both; }
@keyframes sealStamp {
  from { opacity: 0; transform: translateY(-50%) scale(1.5) rotate(-5deg); }
  62%  { opacity: .92; transform: translateY(-50%) scale(.97) rotate(1deg); }
  to   { opacity: .92; transform: translateY(-50%) scale(1) rotate(0deg); }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--navy); color: var(--paper); overflow: hidden; padding: 14px 0;
  border-top: 1px solid rgba(244, 239, 227, .15); border-bottom: 1px solid rgba(244, 239, 227, .15);
}
.ticker-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ticker-track span {
  font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap; padding-right: 48px;
}

/* ---------- Proof strip (pre-suasion: trust facts before prices) ---------- */
.proof-strip {
  max-width: 1280px; margin: 0 auto; padding: 22px var(--pad-x);
  display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 36px); flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(23, 32, 26, .65); text-align: center;
  border-bottom: 1px solid rgba(23, 32, 26, .14);
}
.proof-strip .sep { color: var(--salmon-deep); }

/* ---------- Testimonials ---------- */
.stories .cards { align-items: stretch; }
/* Carousel: slow continuous drift, pauses on hover/focus, edge-faded */
.stories-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.stories-track {
  display: flex; gap: clamp(18px, 2.5vw, 28px); width: max-content;
  animation: storiesDrift 75s linear infinite;
}
.stories-carousel:hover .stories-track,
.stories-carousel:focus-within .stories-track { animation-play-state: paused; }
.stories-track .card { width: min(360px, 80vw); flex-shrink: 0; }
@keyframes storiesDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .stories-carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
.quote-card { gap: 14px; }
.quote-mark {
  font-family: var(--serif); font-size: 54px; line-height: .6; color: var(--salmon-deep);
  display: block; height: 26px;
}
.quote-card blockquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45; color: rgba(23, 32, 26, .85); margin: 0; flex: 1;
}
.quote-who {
  border-top: 1.5px dashed rgba(23, 32, 26, .25); padding-top: 16px;
  display: flex; align-items: center; gap: 12px;
}
.avatar-initial {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--salmon-deep); color: var(--salmon-deep);
  font-family: var(--serif); font-style: italic; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.quote-who .who-name { font-weight: 600; font-size: 15px; display: block; }
.quote-who .who-case {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(23, 32, 26, .55);
}

/* ---------- Sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: var(--pad-section) var(--pad-x); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.section-head .intro { max-width: 42ch; font-size: 16px; line-height: 1.6; color: rgba(23, 32, 26, .7); margin: 0; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.5vw, 28px); }
/* Four cards: balanced 2×2 on desktop instead of an orphaned second row */
@media (min-width: 720px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
.card {
  position: relative; background: var(--paper-card); border: 1.5px solid var(--ink); border-radius: 4px;
  padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--navy); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-index { font-family: var(--mono); font-size: 13px; color: rgba(23, 32, 26, .5); }
.card-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(23, 32, 26, .3); color: rgba(23, 32, 26, .6); padding: 6px 12px; border-radius: 999px;
}
.card-tag.hot { background: var(--salmon-deep); border: none; color: var(--ink); }
.card h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; margin: 0; }
.card p { font-size: 15.5px; line-height: 1.6; color: rgba(23, 32, 26, .72); margin: 0; flex: 1; }
.card-price {
  border-top: 1.5px dashed rgba(23, 32, 26, .25); padding-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.card-price .label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(23, 32, 26, .55);
}
.card-price .amount { font-family: var(--serif); font-size: 26px; }
.card-price .unit { font-size: 16px; color: rgba(23, 32, 26, .55); }
.card-price-alt {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: rgba(23, 32, 26, .5); margin: -12px 0 0 !important; flex: 0 !important;
  text-align: right;
}
.card-note {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); margin: 0 !important; flex: 0 !important;
}
.card-link {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1.5px solid var(--salmon-deep); padding-bottom: 3px; align-self: flex-start;
  position: relative; z-index: 2;
}
/* Whole card is a link to its service page; the WhatsApp link stays on top */
.card-cover-link { position: absolute; inset: 0; z-index: 1; border-radius: 4px; }
.card-more {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(23, 32, 26, .45); margin: 0 !important; flex: 0 !important;
}
.card:hover .card-more { color: var(--salmon-deep); }

/* ---------- Check list (service pages) ---------- */
.check-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.check-list li { padding-left: 26px; position: relative; font-size: 16px; line-height: 1.55; color: rgba(23, 32, 26, .78); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--navy); font-weight: 700; }

/* ---------- Simulator ---------- */
.sim { background: var(--navy); color: var(--paper); }
.sim-grid {
  max-width: 1280px; margin: 0 auto; padding: var(--pad-section) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.sim .overline { color: var(--salmon); }
.sim h2 { margin-bottom: 24px; }
.sim .sim-lede { font-size: 17px; line-height: 1.65; color: rgba(244, 239, 227, .78); max-width: 46ch; margin: 0 0 32px; }
.sim-cta {
  color: var(--paper); border: 1.5px solid rgba(244, 239, 227, .4); font-weight: 600; font-size: 16px;
  padding: 16px 28px; border-radius: 999px; display: inline-block; transition: all .25s;
}
.sim-cta:hover { background: var(--paper); color: var(--navy); }
.simcard {
  background: var(--paper); color: var(--ink); border-radius: 8px;
  padding: clamp(28px, 3.4vw, 44px); min-height: 340px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 16px 16px 0 rgba(0, 0, 0, .22);
}
.simcard-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.simcard-head .window { color: var(--salmon-deep); }
.simcard-head .counter { color: rgba(23, 32, 26, .5); }
.simcard-body { flex: 1; display: flex; align-items: center; }
.sim-question { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.12; margin: 0; text-wrap: balance; }
.sim-tip { font-size: 16.5px; line-height: 1.65; color: rgba(23, 32, 26, .85); margin: 0; }
.sim-tip .tip-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); display: block; margin-bottom: 12px;
}
.simcard-actions { display: flex; gap: 12px; flex-wrap: wrap; border-top: 1.5px dashed rgba(23, 32, 26, .25); padding-top: 20px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.5vw, 28px); }
/* Homepage process: exactly three, so pin to 3 even columns and stack straight to
   one below 760px — no 2+1 orphan at tablet widths. */
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps-3 { grid-template-columns: 1fr; gap: 22px; } }
.step { border-left: 2px solid var(--salmon-deep); padding: 8px 0 8px clamp(20px, 2.5vw, 32px); }
.step .ghost-num {
  font-family: var(--serif); font-style: italic; font-size: clamp(56px, 6vw, 84px); line-height: 1;
  color: rgba(29, 59, 102, .28); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 28px; margin: 0 0 12px; }
.step p { font-size: 15.5px; line-height: 1.65; color: rgba(23, 32, 26, .72); margin: 0; }

/* ---------- Guarantee band ---------- */
.guarantee { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.guarantee .stamp-watermark {
  position: absolute; right: -4%; top: 50%; width: min(380px, 55vw);
  transform: translateY(-50%) rotate(-11deg);
  opacity: .08; filter: brightness(0) invert(1); pointer-events: none;
}
.guarantee .inner {
  position: relative;
  max-width: 980px; margin: 0 auto; padding: clamp(80px, 13vh, 150px) var(--pad-x); text-align: center;
}
.guarantee .overline { color: var(--paper); opacity: .8; margin-bottom: 24px; }
.guarantee h2 {
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; margin: 0 0 28px; text-wrap: balance;
}
.guarantee h2 em { color: inherit; }
.guarantee p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; max-width: 56ch; margin: 0 auto 40px; opacity: .92; }
/* .guarantee p outweighs .overline/.scarcity-note (0,1,1 vs 0,1,0) and was blowing
   the small mono lines up to body size — pin them back to their intended scale. */
.guarantee .overline { font-size: 12px; line-height: 1.8; }
.guarantee .scarcity-note { font-size: 12px; line-height: 1.8; }
.guarantee-cta {
  background: var(--paper); color: var(--navy); font-weight: 600; font-size: 17px;
  padding: 18px 34px; border-radius: 999px; display: inline-block;
  transition: transform .25s, box-shadow .25s;
}
.guarantee-cta:hover { color: var(--salmon-deep); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.scarcity-note {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  opacity: .75; margin: 24px auto 0 !important; max-width: 60ch;
}

/* ---------- About ---------- */
.about {
  max-width: 1280px; margin: 0 auto; padding: var(--pad-section) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.about-photo { position: relative; justify-self: center; width: min(420px, 100%); }
.about-photo .frame {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden;
  border: 1.5px solid rgba(23, 32, 26, .25); transform: rotate(-2deg);
  box-shadow: -12px 12px 0 var(--salmon-deep);
}
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.route-chip {
  position: absolute; bottom: 22px; right: -12px; transform: rotate(3deg);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px;
}
.about h2 { margin-bottom: 28px; }
.about .bio { font-size: 17px; line-height: 1.7; color: rgba(23, 32, 26, .78); margin: 0 0 20px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--navy); margin: 12px 0 28px; }
.social-row { display: flex; gap: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.social-row a { border-bottom: 1.5px solid var(--salmon-deep); padding-bottom: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; padding: 0 var(--pad-x) clamp(80px, 12vh, 150px); }
.faq .faq-head { margin-bottom: clamp(36px, 5vh, 56px); }
.faq-list { border-top: 1.5px solid rgba(23, 32, 26, .25); }
.faq-item { border-bottom: 1.5px solid rgba(23, 32, 26, .25); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer; padding: 26px 4px; transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--salmon-deep); }
.faq-item .q { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.2; }
.faq-item .icon { font-family: var(--mono); font-size: 22px; color: var(--salmon-deep); flex-shrink: 0; }
.faq-item .icon::before { content: '+'; }
.faq-item[open] .icon::before { content: '−'; }
.faq-item .a {
  font-size: 16px; line-height: 1.7; color: rgba(23, 32, 26, .75); margin: 0;
  padding: 0 4px 28px; max-width: 68ch; animation: rise .4s var(--ease) both;
}

/* ---------- Footer ---------- */
.site-footer { background: #14263F; color: var(--paper); } /* deep navy — was greenish-black --ink */
.site-footer .inner { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vh, 96px) var(--pad-x) 40px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid rgba(244, 239, 227, .15);
}
.footer-wordmark { font-family: var(--serif); font-size: 30px; margin: 0 0 16px; }
.footer-wordmark em { color: var(--salmon); font-style: italic; }
.footer-seal { width: 120px; height: 120px; margin-bottom: 18px; }
.footer-desc { font-size: 15px; line-height: 1.65; color: rgba(244, 239, 227, .65); max-width: 40ch; margin: 0; }
.footer-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--salmon); margin: 0 0 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer-links a { color: var(--paper); }
.footer-links a:hover { color: var(--salmon); }
.legal { font-size: 12.5px; line-height: 1.7; color: rgba(244, 239, 227, .45); max-width: 100ch; margin: 32px 0 0; }

/* ---------- Passport hero (ported from /demo/passport.html, CO spread) ----------
   Closed it stands portrait; opening removes a -90° rotation (turns to
   landscape, like rotating a real passport to read the visa) while the cover
   flips up over the horizontal spine. Fictional sample data only. */
:root {
  --co-mar-1: #5E2B2C; --co-mar-2: #3E181C;
  --visa-navy: #2A3A5C; --visa-red: #9E3A3E; --visa-khaki: #A9A183;
}
.hero-passport { position: relative; justify-self: center; perspective: 1200px; }
/* Once the passport has opened, it becomes an object: a slow ambient float, plus
   a pointer tilt on desktop (JS drives --tx/--ty; vars resolve inside keyframes). */
.hero-passport.drift { animation: heroDrift 9s ease-in-out infinite; }
@keyframes heroDrift {
  0%, 100% { transform: translateY(0) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
  50% { transform: translateY(-7px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
}
.spread {
  position: relative; width: min(400px, 86vw); aspect-ratio: 560 / 794;
  transform-origin: 50% 75%;
  /* Closed = a resting object: zoomed in and lifted so the cover sits centered in
     the box (which is sized for the OPEN spread), set down a few degrees askew.
     Opening resolves scale/lift/tilt to identity and unfolds into the layout. */
  transform: translateY(-25%) scale(1.14) rotate(-87deg);
  transition: transform 1.3s var(--ease);
  transform-style: preserve-3d;
  cursor: pointer;
}
.spread.open { transform: translateY(0) scale(1) rotate(0deg); }
.spread .half { position: absolute; left: 0; right: 0; top: 50%; bottom: 0; }
.spread .page-bottom { border-radius: 8px; overflow: hidden; border: 1px solid rgba(19,27,46,.16); box-shadow: 0 16px 45px rgba(19,27,46,.25); container-type: inline-size; }
.spread .flap {
  transform-origin: 50% 0%;
  transform: rotateX(0deg);
  transition: transform 1.7s var(--ease) .12s;
  transform-style: preserve-3d;
  z-index: 2;
}
.spread.open .flap { transform: rotateX(180deg); }
.spread .face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 8px; overflow: hidden; transform-style: flat;
}
.spread .face.page-face { transform: rotateX(180deg); border: 1px solid rgba(19,27,46,.16); box-shadow: 0 -10px 35px rgba(19,27,46,.18); container-type: inline-size; }
.spread .cover-face { box-shadow: 0 18px 50px rgba(19,27,46,.4); background: radial-gradient(120% 100% at 30% 20%, var(--co-mar-1), var(--co-mar-2)); }
.spread .cover-art {
  position: absolute; left: 50%; top: 50%; width: 70.9%; height: 141%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: translate(-50%, -50%) rotate(90deg);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 9% 6%;
  color: var(--foil); text-align: center;
}
.spread .cover-art::before { content: ''; position: absolute; inset: 4%; border: 1.5px solid currentColor; border-radius: 6px; opacity: .5; }
.spread .t-pass { font-family: var(--serif); font-size: clamp(15px, 3.4vw, 22px); letter-spacing: .38em; text-transform: uppercase; }
.spread .t-country { font-family: var(--serif); font-size: clamp(12px, 2.6vw, 17px); letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.spread .t-sub { font-family: var(--serif); font-size: clamp(8px, 1.8vw, 11px); letter-spacing: .28em; text-transform: uppercase; opacity: .9; margin-top: 6px; }
.spread .chip { width: 12%; margin-top: 6%; }
.spread .paper-guilloche {
  background:
    repeating-radial-gradient(circle at 25% 20%, rgba(42,58,92,.05) 0 2px, transparent 2px 8px),
    repeating-radial-gradient(circle at 78% 75%, rgba(158,58,62,.045) 0 2px, transparent 2px 8px),
    #F3EFE2;
}
.spread .stamp-migra {
  position: absolute; top: 16%; left: 6%;
  font-family: var(--mono); font-size: 1.9cqw; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(42,58,92,.55); border: 1.5px solid rgba(42,58,92,.45); border-radius: 4px;
  padding: 1.4% 1.8%; transform: rotate(-4deg); line-height: 1.7;
}
.spread .stamp-migra .rd { color: rgba(158,58,62,.6); }
.spread .stamp-old {
  position: absolute; bottom: 10%; left: 34%;
  font-family: var(--mono); font-size: 1.7cqw; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(42,58,92,.28); border: 1.5px solid rgba(42,58,92,.22); border-radius: 50%;
  padding: 3.4% 2.6%; transform: rotate(7deg); text-align: center; line-height: 1.8;
}
.spread .stamp-zaga {
  position: absolute; top: 12%; right: 6%; width: 30%; aspect-ratio: 1;
  transform: rotate(9deg) scale(1.6); opacity: 0; mix-blend-mode: multiply;
}
.spread.open .stamp-zaga { animation: stampSlam .6s var(--ease) 1.6s both; }
@keyframes stampSlam {
  from { opacity: 0; transform: rotate(20deg) scale(1.7); }
  70% { opacity: .95; transform: rotate(9deg) scale(.96); }
  to { opacity: .95; transform: rotate(9deg) scale(1); }
}
.spread .stamp-zaga text { fill: #3A5686; }
.spread .visa-head { display: grid; grid-template-columns: 27% 1fr 8%; height: 15.5%; }
.spread .vh-visa {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #33436B, var(--visa-navy) 60%, #22304E);
  color: #EDE7D5; font-family: var(--serif); font-size: 4.6cqw; letter-spacing: .16em;
  display: flex; align-items: center; justify-content: center;
}
.spread .vh-usa {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.09) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #B04A4C, var(--visa-red) 55%, #8A3136);
  color: #F3E9DA; font-family: var(--serif); letter-spacing: .12em;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 2.6cqw; line-height: 1.2; text-transform: uppercase;
}
.spread .vh-edge {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1.5px, transparent 1.5px 4px),
    var(--visa-khaki);
}
.spread .visa-body { position: relative; display: grid; grid-template-columns: 21% 1fr; gap: 2.6%; padding: 2.6% 3.2%; height: 63%; }
.spread .visa-body::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(30% 60% at 60% 55%, rgba(106,140,110,.15), transparent 70%),
    radial-gradient(16% 34% at 60% 26%, rgba(106,140,110,.12), transparent 75%),
    radial-gradient(24% 50% at 84% 58%, rgba(158,58,62,.06), transparent 75%);
  pointer-events: none;
}
.spread .vphoto { display: flex; flex-direction: column; gap: 3px; }
.spread .vphoto img { width: 100%; aspect-ratio: 33/42; object-fit: cover; object-position: top; border-radius: 2px; }
.spread .vphoto .vstar { font-size: 2cqw; color: rgba(19,27,46,.6); }
.spread .vfields { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1cqw 1.4cqw; align-content: start; }
.spread .vf { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.spread .vf b { font-weight: 400; font-size: 1.55cqw; color: rgba(19,27,46,.55); letter-spacing: .02em; white-space: nowrap; }
.spread .vf span { font-family: var(--mono); font-size: 2.1cqw; color: #232F49; letter-spacing: .03em; white-space: nowrap; }
.spread .vc2 { grid-column: span 2; } .spread .vc3 { grid-column: span 3; } .spread .vc4 { grid-column: span 4; }
.spread .vc5 { grid-column: span 5; } .spread .vc7 { grid-column: span 7; } .spread .vc9 { grid-column: span 9; } .spread .vc12 { grid-column: span 12; }
.spread .vserial { position: absolute; right: 0; bottom: 0; font-family: var(--mono); font-size: 2.6cqw; color: #C0392B; letter-spacing: .08em; }
.spread .mrz {
  font-family: var(--mono); font-size: 2.35cqw; letter-spacing: .05em; line-height: 1.8;
  color: #1E2638; padding: 1.6% 3.2% 2.2%; white-space: nowrap; overflow: hidden;
  border-top: 1px solid rgba(19,27,46,.08); background: rgba(255,252,243,.65);
}

/* ---------- Sticky WhatsApp CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  background: var(--navy); color: var(--paper); font-weight: 600; font-size: 15px;
  padding: 16px 24px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(23, 32, 26, .35);
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s, background .25s;
}
.sticky-cta:hover { background: var(--salmon-deep); color: var(--ink); transform: translateY(-3px); }
.sticky-cta .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot-live); display: inline-block; }

/* ---------- Mobile design system (≤640px) ----------
   Not "desktop shrunk": a deliberate scale for phones.
   Type: h1 40 / h2 30 / h3 22 / body 15–16 / mono 11–12.
   Rhythm: sections 48px, intra-blocks 24–26px.
   Controls: 46–50px tall, primary CTA full-width. */
@media (max-width: 640px) {
  :root { --pad-section: 48px; }
  section[id], [id="historias"] { scroll-margin-top: 72px; }

  /* Header → one compact row: wordmark + language toggle + CTA.
     In-page anchors (Servicios/Proceso/FAQ) are hidden; the language link stays. */
  .nav-bar nav { padding: 11px var(--pad-x); gap: 12px; flex-wrap: nowrap; }
  .wordmark { font-size: 23px; }
  .nav-links { gap: 14px; }
  .nav-links a:not([hreflang]) { display: none; }
  .nav-cta { padding: 10px 15px; }

  /* Hero */
  .hero { padding: 30px var(--pad-x) 40px; gap: 32px; }
  /* Eyebrow: tighten tracking/size so the 4 services fit without an orphaned "·" */
  .hero .overline { font-size: 11px; letter-spacing: .04em; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); margin-bottom: 18px; }
  .hero .lede { font-size: 16px; margin-bottom: 24px; }
  /* CTAs: full-width, 48px-class controls instead of two fat stacked pills */
  .cta-row { gap: 10px; }
  .cta-row .pill { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15.5px; }
  /* Trust row: one check per line, drop the inline dividers */
  .trust-row { font-size: 12px; line-height: 1.85; margin-top: 20px; }
  .trust-row .tr-item { display: block; }
  .trust-row .tr-sep { display: none; }
  /* Passport: still the hero object, sized to leave the fold to the message */
  .spread { width: min(320px, 84vw); }

  /* Proof strip: stacked, quiet — was a 137px wrapping blob */
  .proof-strip { flex-direction: column; gap: 9px; padding: 20px var(--pad-x); font-size: 11px; letter-spacing: .12em; line-height: 1.3; }
  .proof-strip .sep { display: none; }
  .ticker-track span { font-size: 11px; }

  /* Section rhythm + heading scale */
  .section-head { margin-bottom: 26px; }
  h2 { font-size: clamp(30px, 8vw, 38px); }
  .section-head .intro { font-size: 15px; }

  /* Service cards */
  .card { padding: 22px 20px; gap: 12px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 15px; line-height: 1.55; }
  /* Price reads as a left-aligned cluster (DESDE US$18 / página) instead of being
     stretched to opposite card edges by space-between on a narrow width. */
  .card-price { padding-top: 14px; justify-content: flex-start; column-gap: 10px; }
  .card-price .amount { font-size: 22px; }
  .card-price .unit { font-size: 14px; }
  .card-price-alt { text-align: left; margin: 8px 0 0 !important; }

  /* Process steps */
  .step .ghost-num { font-size: 44px; margin-bottom: 6px; }
  .step h3 { font-size: 22px; margin-bottom: 8px; }
  .step p { font-size: 15px; }

  /* Simulator */
  .simcard { min-height: auto; padding: 24px 20px; }
  .sim-question { font-size: clamp(24px, 6.6vw, 30px); }
  .sim .sim-lede { font-size: 15.5px; margin-bottom: 26px; }
  .sim-cta { font-size: 15px; padding: 13px 24px; }
  .sim-tip { font-size: 15.5px; }

  /* Guarantee band */
  .guarantee .inner { padding: 52px var(--pad-x); }
  .guarantee h2 { font-size: clamp(32px, 8.6vw, 42px); margin-bottom: 22px; }
  .guarantee p { font-size: 16px; margin-bottom: 30px; }
  .guarantee-cta { font-size: 16px; padding: 15px 28px; }
  .guarantee .overline, .guarantee .scarcity-note { font-size: 11px; }

  /* About + FAQ */
  .about { gap: 30px; }
  .about .bio { font-size: 16px; }
  .signature { font-size: 24px; }
  .faq { padding-bottom: 52px; }
  .faq-item summary { padding: 18px 4px; }
  .faq-item .q { font-size: 19px; }
  .faq-item .a { font-size: 15.5px; }

  /* Sticky CTA: present, not looming */
  .sticky-cta { bottom: 14px; right: 14px; font-size: 14px; padding: 13px 18px; }

  /* Footer */
  .site-footer .inner { padding: 44px var(--pad-x) 28px; }
  .footer-grid { padding-bottom: 36px; gap: 30px; }
  .footer-seal { width: 96px; height: 96px; margin-bottom: 14px; }
  .footer-wordmark { font-size: 24px; margin-bottom: 12px; }
  .footer-desc { font-size: 14.5px; }
  .legal { font-size: 12px; }
}
