/* ==========================================================================
   Westin Travel — "The Itinerary" design system
   Palette, type and component rules: see DESIGN.md
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0C1220;
  --navy-900: #14203C;
  --navy-800: #1E2D59;
  --navy-700: #2A3D74;
  --terra: #F26522; /* official brand orange, from the logo files */
  --terra-deep: #CC4E12;
  --sand: #F4EFE7;
  --sand-light: #FAF7F2;
  --sky: #9FB8D8;
  --white: #FFFFFF;
  --text: #232A38;
  --text-soft: #5A6272;
  --line: rgba(20, 32, 60, 0.14);
  --line-dark: rgba(159, 184, 216, 0.25);

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --step-hero: clamp(2.6rem, 1.2rem + 5.6vw, 5.4rem);
  --step-1: clamp(2rem, 1.1rem + 3vw, 3.4rem);
  --step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  --step-3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);

  --container: 1180px;
  --gutter: 24px;
  --radius: 14px;
  --shadow: 0 18px 50px -18px rgba(12, 18, 32, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand-light);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-deep); text-decoration: none; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-1); }
h2 { font-size: var(--step-1); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-3); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .section--navy :focus-visible, .section--ink :focus-visible { outline-color: var(--sky); }
::selection { background: var(--terra); color: #fff; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 18px; font-family: var(--font-mono);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 6vw + 40px, 128px); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-900); }
.section--ink { background: var(--ink); }
.section--navy, .section--ink { color: rgba(255, 255, 255, 0.86); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4,
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 4vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.lede { font-size: 1.15rem; color: var(--text-soft); }
.section--navy .lede, .section--ink .lede { color: var(--sky); }

/* ---------- Mono utility voice ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terra-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .section--ink .eyebrow { color: var(--sky); }
.mono { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.05em; }
.mono-label {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 28px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--terra-deep); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--line { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--line:hover { background: var(--navy-800); color: #fff; }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--sky); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; }
.topbar a { color: var(--sky); }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 22px; align-items: center; white-space: nowrap; }
@media (max-width: 720px) { .topbar__group--social { display: none; } .topbar__row { justify-content: center; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 32, 60, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 14px; width: auto; display: block; }
@media (max-width: 520px) { .brand img { height: 11px; } }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--terra); padding-bottom: 4px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
/* dropdown */
.has-drop > button {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0;
  color: rgba(255, 255, 255, 0.85); font: inherit; font-size: 0.95rem; font-weight: 500; cursor: pointer; padding: 0;
}
.has-drop > button::after { content: "▾"; font-size: 0.7em; transition: transform 0.2s; }
.has-drop[data-open="true"] > button::after { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  min-width: 230px; background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; translate: 0 8px; transition: 0.22s var(--ease);
}
.has-drop[data-open="true"] .drop, .has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; translate: 0 0; }
.drop a { display: block; padding: 10px 14px; border-radius: 7px; color: var(--navy-900); font-size: 0.92rem; }
.drop a:hover { background: var(--sand); color: var(--navy-900); }
.drop .drop__hot { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--terra-deep); border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; }
/* burger */
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s var(--ease); }
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn--primary { display: none; }
  .burger { display: block; }
  .mobile-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-open .burger span:nth-child(2) { opacity: 0; }
  .mobile-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.mobile-menu {
  display: none; position: fixed; inset: 0; top: 0; z-index: 90;
  background: var(--navy-900); padding: 130px var(--gutter) 40px; overflow-y: auto;
}
.mobile-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a { display: block; padding: 16px 0; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.mobile-menu .sub a { font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--sky); padding: 8px 0 8px 18px; }
.mobile-menu .btn { margin-top: 28px; width: 100%; justify-content: center; }
body.mobile-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(76deg, rgba(12, 18, 32, 0.92) 0%, rgba(20, 32, 60, 0.72) 46%, rgba(20, 32, 60, 0.25) 100%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 48px; align-items: center; padding-block: clamp(84px, 9vw, 150px); }
.hero__inner > * { min-width: 0; }
.hero h1 { font-size: var(--step-hero); color: #fff; margin-bottom: 0.4em; }
.hero .lede { color: rgba(255, 255, 255, 0.82); max-width: 34em; font-size: 1.18rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__routes { margin-top: 44px; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }
/* page hero (inner pages) */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero .hero__bg::after { background: linear-gradient(76deg, rgba(12, 18, 32, 0.94) 0%, rgba(20, 32, 60, 0.75) 55%, rgba(20, 32, 60, 0.35) 100%); }
.page-hero__inner { position: relative; z-index: 2; padding-block: clamp(72px, 7vw, 120px); max-width: 780px; }
.page-hero h1 { color: #fff; font-size: var(--step-1); }
.page-hero .lede { color: rgba(255, 255, 255, 0.85); }
.crumbs { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin-bottom: 22px; }
.crumbs a { color: var(--sky); }
.crumbs a:hover { color: #fff; }

/* ---------- Route ledger (signature) ---------- */
.route-line { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.route-line .arc { fill: none; stroke: var(--terra); stroke-width: 2; stroke-dasharray: 6 7; }
.route-line .node { fill: #fff; }
.route-line text { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; fill: var(--sky); }
.route-line .code-main { fill: #fff; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .js .route-line .arc { stroke-dashoffset: 480; stroke-dasharray: 480; animation: routeDraw 1.4s 0.5s var(--ease) forwards; }
  @keyframes routeDraw { to { stroke-dashoffset: 0; stroke-dasharray: 6 7; } }
}
.ledger { display: flex; flex-wrap: wrap; gap: 10px 36px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); }
.ledger strong { color: #fff; font-weight: 600; }

/* "Where's good in <month>?" hero widget */
.gowhen { display: flex; flex-direction: column; gap: 14px; }
.gowhen__label { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #fff; margin: 0; }
.gowhen__label strong { color: var(--terra); font-weight: 800; }
.gowhen__months { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-m {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--sky); background: transparent; border: 1px solid var(--line-dark);
  border-radius: 7px; padding: 7px 10px; cursor: pointer; transition: 0.2s var(--ease);
}
.gw-m:hover { color: #fff; border-color: var(--sky); }
.gw-m.is-active { background: var(--terra); border-color: var(--terra); color: #fff; font-weight: 500; }
.gowhen__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gw-chip {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark);
  border-radius: 100px; padding: 9px 18px; cursor: pointer; transition: 0.25s var(--ease);
}
.gw-chip:hover { border-color: var(--terra); color: var(--terra); background: rgba(255, 255, 255, 0.12); }
.gw-chip .mono { color: var(--sky); margin-left: 8px; font-size: 0.68rem; }
.gw-chip:hover .mono { color: var(--terra); }
@media (prefers-reduced-motion: no-preference) {
  .bpass.pulse { animation: bpassPulse 0.9s var(--ease); }
  @keyframes bpassPulse { 30% { box-shadow: 0 0 0 6px rgba(242, 101, 34, 0.45), var(--shadow); } }
}

/* ---------- Boarding pass card (signature) ---------- */
.bpass {
  position: relative; background: var(--sand-light); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 30px 24px 42px;
}
.bpass::before { /* perforated edge */
  content: ""; position: absolute; left: 18px; top: 14px; bottom: 14px; width: 0;
  border-left: 2px dashed rgba(20, 32, 60, 0.25);
}
.bpass__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.bpass__head .mono-label { color: var(--terra-deep); }
.bpass__title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--navy-900); }
.bpass .field { margin-bottom: 14px; }
.bpass label { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 5px; }
.bpass input, .bpass select, .bpass textarea {
  width: 100%; min-width: 0; border: 0; border-bottom: 1.5px solid var(--line); background: transparent;
  font-family: var(--font-mono); font-size: 1rem; color: var(--navy-900); padding: 7px 2px;
  border-radius: 0; appearance: none; -webkit-appearance: none;
}
.bpass select { background-image: linear-gradient(45deg, transparent 50%, var(--navy-800) 50%), linear-gradient(135deg, var(--navy-800) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.bpass input:focus, .bpass select:focus, .bpass textarea:focus { outline: none; border-bottom-color: var(--terra); }
.bpass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.bpass .btn { width: 100%; justify-content: center; margin-top: 10px; }
.bpass__barcode { margin-top: 20px; height: 34px; background: repeating-linear-gradient(90deg, var(--navy-900) 0 2px, transparent 2px 5px, var(--navy-900) 5px 6px, transparent 6px 11px); opacity: 0.75; border-radius: 2px; }
.bpass__note { font-size: 0.8rem; color: var(--text-soft); margin: 10px 0 0; }

/* ---------- Stamps (certifications) ---------- */
.stamps { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); align-items: center; justify-content: center; }
.stamp {
  --stamp-c: var(--navy-800);
  position: relative; display: grid; place-content: center; text-align: center;
  min-width: 148px; min-height: 96px; padding: 14px 20px;
  border: 2px solid var(--stamp-c); border-radius: 10px; color: var(--stamp-c);
  font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4px var(--stamp-c);
  transform: rotate(var(--tilt, -2deg));
  -webkit-mask-image: radial-gradient(circle at 30% 65%, transparent 0 1.5px, #000 2.5px), radial-gradient(circle at 78% 20%, transparent 0 1px, #000 2px);
  -webkit-mask-composite: source-in;
}
.stamp b { display: block; font-size: 1.05rem; font-weight: 600; }
.stamp span { font-size: 0.62rem; opacity: 0.75; }
.stamp--terra { --stamp-c: var(--terra-deep); }
.stamp:nth-child(2n) { --tilt: 1.8deg; }
.stamp:nth-child(3n) { --tilt: -1.2deg; }
.section--navy .stamp, .section--ink .stamp { --stamp-c: var(--sky); }

/* ---------- Credential logos ---------- */
.cred-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 860px) { .cred-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .cred-row { grid-template-columns: 1fr; } }
.cred {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 20px; text-align: center; min-height: 150px;
}
.cred img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.cred--tall img { height: 78px; }
.cred .mono-label { font-size: 0.65rem; }
.section--navy .cred, .section--ink .cred { border-color: transparent; }

/* ---------- Cards: destinations ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.dcard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); aspect-ratio: 4 / 5; display: block; }
.dcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.dcard:hover img { transform: scale(1.05); }
.dcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 18, 32, 0) 40%, rgba(12, 18, 32, 0.88) 100%); }
.dcard__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 22px; }
.dcard__body h3 { color: #fff; font-size: 1.45rem; margin: 0 0 6px; }
.dcard__route { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: flex; gap: 14px; flex-wrap: wrap; }
.dcard__route .to { color: var(--terra); }

/* ---------- Flip cards (destinations) ---------- */
.fcard { position: relative; aspect-ratio: 4 / 5; perspective: 1400px; cursor: pointer; }
.fcard:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; border-radius: var(--radius); }
.fcard__inner { position: relative; width: 100%; height: 100%; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transition: transform 0.65s var(--ease); }
.fcard.is-flipped .fcard__inner { transform: rotateY(180deg); }
.fcard__front, .fcard__back {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  /* belt & braces: crossfade the faces around the flip's edge-on moment
     (the eased rotation passes 90° at ~0.23s of 0.65s), because some
     browsers let rotated backfaces bleed through despite backface-visibility */
  transition: opacity 0.22s linear 0.13s;
}
.fcard__front { background: var(--navy-800); transform: rotateY(0deg); opacity: 1; }
.fcard.is-flipped .fcard__front { opacity: 0; pointer-events: none; }
.fcard__back { opacity: 0; }
.fcard.is-flipped .fcard__back { opacity: 1; }
.fcard__front img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.fcard:hover:not(.is-flipped) .fcard__front img { transform: scale(1.05); }
.fcard__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 18, 32, 0) 40%, rgba(12, 18, 32, 0.88) 100%); }
.fcard__front .dcard__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 22px; }
.fcard__front .dcard__body h3 { color: #fff; font-size: 1.45rem; margin: 0 0 6px; }
.fcard__hint {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em;
  color: #fff; background: rgba(12, 18, 32, 0.55); border-radius: 100px; padding: 6px 11px;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.fcard:hover .fcard__hint, .fcard:focus-visible .fcard__hint { opacity: 1; }
@media (hover: none) { .fcard__hint { opacity: 1; } }
.fcard__back {
  transform: rotateY(180deg); background: var(--navy-900); color: rgba(255, 255, 255, 0.88);
  padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 9px; overflow-y: auto;
}
.fcard__back h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.fcard__meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.fcard__meta .to { color: var(--terra); }
.fcard__visa { font-size: 0.8rem; color: rgba(255, 255, 255, 0.88); margin: 0; line-height: 1.6; }
.fcard__visa .v-cat { background: #fff; color: var(--navy-900); font-weight: 500; font-size: 0.64rem; padding: 3px 8px; margin-right: 8px; }
.fcard__expect { font-size: 0.8rem; color: var(--sky); line-height: 1.55; margin: 0; }
.fcard__back .mono-label { color: var(--sky); margin: 4px 0 0; font-size: 0.62rem; }
.fcard__back ul { list-style: none; margin: 0; padding: 0; flex-grow: 1; }
.fcard__back li { position: relative; padding: 3px 0 3px 18px; font-size: 0.83rem; line-height: 1.45; }
.fcard__back li::before { content: "✓"; position: absolute; left: 0; top: 3px; font-family: var(--font-mono); color: var(--terra); font-size: 0.75rem; }
.fcard__cta { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.fcard__cta:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .fcard__inner { transition: none; }
  .fcard__front img { transition: none; }
  .fcard__front, .fcard__back { transition: none; }
}
/* atlas pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.pager .btn[disabled] { opacity: 0.35; pointer-events: none; }
.pager__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--text-soft); }
.atlas-empty { text-align: center; color: var(--text-soft); padding: 48px 0; font-size: 1.05rem; display: none; }

/* ---------- Cards: services ---------- */
.scard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
a.scard { color: var(--text); }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.scard__code { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--terra-deep); text-transform: uppercase; }
/* photo-topped service card */
.scard--img { padding: 0; overflow: hidden; }
.scard--img .scard__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.scard--img .scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.scard--img:hover .scard__img img { transform: scale(1.05); }
.scard--img .scard__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 32, 0) 55%, rgba(12, 18, 32, 0.35) 100%);
}
.scard--img .scard__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.scard--img .scard__body p { flex-grow: 1; }
.scard h3 { font-size: 1.3rem; margin: 0; }
.scard p { color: var(--text-soft); font-size: 0.98rem; margin: 0; flex-grow: 1; }
.scard__go { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-800); }
.scard:hover .scard__go { color: var(--terra-deep); }
.section--sand .scard { background: var(--sand-light); }

/* ---------- Steps (real sequence only) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; padding-top: 18px; border-top: 2px solid var(--navy-800); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--terra-deep);
  display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--text-soft); font-size: 0.98rem; }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--terra); border-radius: 10px; padding: 30px 28px; height: 100%; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-size: 1.02rem; margin: 0; flex-grow: 1; }
.quote footer { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quote cite { font-style: normal; font-weight: 600; color: var(--navy-900); }
.quote .mono { color: var(--terra-deep); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.section--sand .quote { background: var(--sand-light); }

/* ---------- Live Google reviews ---------- */
.gr-head { font-size: 1.1rem; color: var(--text-soft); margin: 14px 0 0; }
.gr-head strong { color: var(--navy-900); }
.gr-stars { color: var(--terra); letter-spacing: 2px; }
.gr-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Visa strip / conversion band ---------- */
.visa-band { border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--navy-800); color: #fff; }
@media (max-width: 860px) { .visa-band { grid-template-columns: 1fr; } }
.visa-band__copy { padding: clamp(32px, 4vw, 56px); }
.visa-band__copy h2, .visa-band__copy h3 { color: #fff; }
.visa-band__facts { background: var(--ink); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.fact { border-bottom: 1px dashed var(--line-dark); padding-bottom: 14px; }
.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact .mono-label { color: var(--sky); }
.fact strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; margin-top: 4px; }
.fact strong small { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; color: var(--sky); letter-spacing: 0.08em; }

/* ---------- Stats ticker ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem); color: var(--navy-900); line-height: 1; }
.section--navy .stat b, .section--ink .stat b { color: #fff; }
.stat .mono-label { margin-top: 8px; display: block; }
.section--navy .stat .mono-label { color: var(--sky); }

/* ---------- Blog cards ---------- */
.bcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
a.bcard { color: var(--text); }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.bcard__img { aspect-ratio: 16 / 9; overflow: hidden; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.bcard__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.bcard__body h3, .bcard__body .bcard__title { font-size: 1.18rem; margin: 0; }
.bcard__body p { color: var(--text-soft); font-size: 0.95rem; margin: 0; flex-grow: 1; }
.bcard .mono { color: var(--terra-deep); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; }

/* ---------- Timetable (destinations table) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.timetable { width: 100%; border-collapse: collapse; min-width: 680px; }
.timetable th {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: left; color: var(--sand-light); background: var(--navy-900); padding: 14px 18px; position: sticky; top: 0;
}
.timetable td { padding: 13px 18px; border-top: 1px solid var(--line); font-size: 0.95rem; vertical-align: top; }
.timetable td:first-child { font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.timetable td:last-child { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--terra-deep); white-space: nowrap; }
.timetable tbody tr:hover { background: var(--sand-light); }
.filter-bar { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-bar input[type="search"] {
  flex: 1 1 260px; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font-mono); font-size: 0.9rem; background: var(--white); color: var(--navy-900);
}
.filter-bar input[type="search"]:focus { outline: none; border-color: var(--terra); }
.filter-bar select {
  padding: 13px 40px 13px 16px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font-mono); font-size: 0.85rem; background-color: var(--white); color: var(--navy-900);
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy-800) 50%), linear-gradient(135deg, var(--navy-800) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.filter-bar select:focus { outline: none; border-color: var(--terra); }

/* expandable country rows */
.c-toggle {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--navy-900);
  display: inline-flex; align-items: center; gap: 8px;
}
.c-toggle .chev { color: var(--terra); font-size: 0.8em; transition: transform 0.25s var(--ease); }
.c-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
tr.c-row { cursor: pointer; }
tr.c-detail td { padding: 0; border-top: 0; background: var(--sand-light); }
.c-detail__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 10px 40px; padding: 22px 24px 26px; border-top: 2px solid var(--terra); }
@media (max-width: 760px) { .c-detail__inner { grid-template-columns: 1fr; } }
.c-expect { font-size: 0.95rem; color: var(--text-soft); margin: 8px 0 0; white-space: normal; }
.c-visa { font-size: 0.92rem; color: var(--text-soft); margin: 14px 0 0; white-space: normal; }
.c-visa .v-cat {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em;
  background: var(--navy-800); color: #fff; border-radius: 4px; padding: 3px 9px; margin-right: 9px;
  white-space: nowrap;
}
.c-visa a { font-weight: 600; }
.doclist--tight li { padding: 5px 0 5px 26px; border-bottom: 0; font-size: 0.92rem; white-space: normal; }
.doclist--tight li::before { top: 4px; }
.c-detail__inner .mono-label { color: var(--terra-deep); }
.c-detail__inner .scard__go { display: inline-block; margin-top: 12px; }
.filter-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-soft); align-self: center; letter-spacing: 0.08em; }

/* ---------- Checklists / doc lists (visa pages) ---------- */
.doclist { list-style: none; margin: 0 0 1.2em; padding: 0; }
.doclist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--line); font-size: 0.98rem; }
.doclist li::before {
  content: "✓"; position: absolute; left: 4px; top: 9px;
  font-family: var(--font-mono); color: var(--terra-deep); font-weight: 600;
}
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.section--sand .panel { background: var(--sand-light); }
.panel + .panel { margin-top: 26px; }
.panel h3 { font-size: 1.3rem; }
details.acc { border: 1px solid var(--line); border-radius: 10px; background: var(--white); margin-bottom: 12px; }
details.acc summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy-900);
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: var(--terra-deep); transition: transform 0.25s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc__body { padding: 0 22px 20px; color: var(--text-soft); }

/* ---------- Contact / info blocks ---------- */
.info-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .info-tiles { grid-template-columns: 1fr; } }
.itile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.itile h3 { font-size: 1.1rem; }
.itile p { color: var(--text-soft); font-size: 0.95rem; margin: 0; }
.itile a { font-weight: 600; }
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); display: block; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--step-1); }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.95rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-tag { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: #fff; line-height: 1.3; margin: 18px 0 22px; }
.footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-certs .mini-stamp {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line-dark); border-radius: 6px; padding: 6px 10px; color: var(--sky);
}
.footer-legal { border-top: 1px solid rgba(159, 184, 216, 0.15); padding-block: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5); }
.footer-legal a { color: rgba(255, 255, 255, 0.6); }
.footer-legal ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-content: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.4); transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.12s; }
.js .reveal[data-delay="2"] { transition-delay: 0.24s; }
.js .reveal[data-delay="3"] { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .route-line .arc { animation: none; stroke-dashoffset: 0; stroke-dasharray: 6 7; }
  .btn, .dcard img, .scard, .bcard { transition: none; }
}

/* ---------- Prose (blog / legal) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote { border-left: 3px solid var(--terra); margin: 1.4em 0; padding: 0.2em 0 0.2em 1.2em; color: var(--text-soft); font-style: italic; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.post-meta { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 30px; }
