/* SkyTeam, Components (matched to live skyteamaviation.com UI) */

/* ============================================================
 * BUTTONS
 * ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base),
              background var(--t-base), border-color var(--t-base),
              color var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform var(--t-base); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  position: relative;
  background: var(--gold-grad);
  color: #ffffff;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  /* Diagonal shine sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.30) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms cubic-bezier(.4,.6,.2,1);
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: #ffffff;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-on-dark {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
}
.btn-on-dark:hover { border-color: #fff; color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-lg    { padding: 16px 28px; font-size: 16px; }

/* ============================================================
 * HEADER
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 250ms ease, background 250ms ease;
}
/* Once user scrolls, header lifts with a soft shadow */
.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(11,15,20,0.07);
  background: rgba(255,255,255,.96);
}
html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(13,14,17,0.94);
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}
/* Scroll-progress bar inside the header */
.scroll-progress {
  position: absolute;
  inset-inline-start: 0; bottom: -1px;
  height: 2px;
  background: var(--gold-grad);
  width: 0;
  transition: width 80ms linear;
  z-index: 1;
  border-radius: 2px;
}
.site-header .bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  justify-content: space-between;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-header .brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--body);
  font-weight: 600;
  position: relative;
  transition: color 150ms ease, background 200ms ease;
}
.site-nav a .nav-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  color: var(--gold-deep);
  flex: 0 0 auto;
}
.site-nav a:hover {
  color: var(--ink);
  background: var(--gold-12);
}
.site-nav a.is-active {
  color: var(--ink);
  background: var(--gold-12);
}
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 14px; height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
}
html[data-theme="dark"] .site-nav a:hover,
html[data-theme="dark"] .site-nav a.is-active { background: rgba(212,168,77,0.12); }

/* Quick contact button (phone), tucked left of the lang toggle */
.header-actions .contact-quick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  color: var(--body);
  transition: color 150ms ease, border-color 200ms ease, transform 200ms ease;
}
.header-actions .contact-quick:hover { color: var(--gold-deep); border-color: var(--gold-30); transform: rotate(-8deg); }
.header-actions .contact-quick svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .header-actions .contact-quick { display: none; } }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }

.lang-toggle {
  display: inline-flex;
  background: var(--bg-tint);
  padding: 3px;
  border-radius: var(--r-pill);
  font-size: 13px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  color: var(--body);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--gold);
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button[aria-pressed="true"]:hover { color: var(--gold); }

/* Theme toggle (sun/moon) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  padding: 0;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--body);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.theme-toggle:hover { color: var(--gold-deep); border-color: var(--gold-30); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-sun  { display: none; }
.theme-toggle .ico-moon { display: block; }
html[data-theme="dark"] .theme-toggle .ico-sun  { display: block; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: none; }

.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 4px auto;
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .btn { display: none; }
  .header-actions .lang-toggle { order: 2; }
}

/* Burger animates into an X when drawer is open */
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.burger span { transition: transform 250ms ease, opacity 200ms ease; }

/* ============================================================
 * MOBILE NAV DRAWER
 * Slides in from the side. Hidden on desktop.
 * ============================================================ */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.mobile-drawer .drawer-scrim {
  position: absolute; inset: 0;
  background: rgba(11,12,15,0.55);
  opacity: 0;
  transition: opacity 300ms ease;
}
.mobile-drawer .drawer-panel {
  position: absolute;
  top: 0; inset-inline-end: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--bg);
  box-shadow: -16px 0 40px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(.22,.8,.2,1);
  display: flex;
  flex-direction: column;
  padding: var(--space-7) var(--space-5) var(--space-5);
  overflow-y: auto;
}
[dir="rtl"] .mobile-drawer .drawer-panel {
  inset-inline-end: auto;
  inset-inline-start: 0;
  transform: translateX(-100%);
  box-shadow: 16px 0 40px rgba(0,0,0,0.18);
}
@media (max-width: 900px) { .mobile-drawer { display: block; } }

body.nav-open .mobile-drawer { pointer-events: auto; }
body.nav-open .mobile-drawer .drawer-scrim { opacity: 1; }
body.nav-open .mobile-drawer .drawer-panel { transform: translateX(0); }

.drawer-panel .drawer-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: var(--space-6);
}
.drawer-panel .drawer-brand img { height: 34px; }
.drawer-panel nav { display: grid; gap: 4px; margin-bottom: var(--space-6); }
.drawer-panel nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg-tint);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}
.drawer-panel nav a::after {
  content: "→";
  color: var(--gold-deep);
  font-weight: 700;
  transition: transform 200ms ease;
}
[dir="rtl"] .drawer-panel nav a::after { content: "←"; }
.drawer-panel nav a:hover { background: var(--gold-12); border-color: var(--gold-30); }
.drawer-panel nav a:hover::after { transform: translateX(3px); }
[dir="rtl"] .drawer-panel nav a:hover::after { transform: translateX(-3px); }

.drawer-panel .drawer-cta { display: grid; gap: 10px; margin-bottom: var(--space-5); }
.drawer-panel .drawer-meta {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: grid; gap: 4px;
}
.drawer-panel .drawer-meta a { color: var(--ink); font-weight: 600; }
.drawer-panel .drawer-meta a:hover { color: var(--gold-deep); }

/* Lock body scroll when drawer is open */
body.nav-open { overflow: hidden; }

/* ============================================================
 * STICKY MOBILE CTA
 * ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  inset-inline: 0; bottom: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  z-index: 40;
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
@media (max-width: 900px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
}

/* ============================================================
 * HERO (modern, full-width feeling)
 * Edge-to-edge feel, asymmetric grid, no boxy section-card around it.
 * ============================================================ */
.hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-9);
  overflow: hidden;
}
/* Decorative ambient blobs that float behind the content (full width) */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  top: -160px; inset-inline-start: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(201,162,77,0.18) 0%, transparent 65%);
}
.hero::after {
  bottom: -200px; inset-inline-end: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(17,17,17,0.05) 0%, transparent 65%);
}
.hero > .container, .hero > .container-wide { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

/* Eyebrow row: a single row, no wrap. On narrow viewports the tagline
 * collapses to its own pill below the title for clean reading. */
.hero-eyebrow-row {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 6px;
  margin-bottom: 22px;
  background: var(--gold-12);
  border: 1px solid var(--gold-30);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-eyebrow-row > * { white-space: nowrap; }
.hero-eyebrow-row .star {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(201,162,77,0.35);
}
.hero-eyebrow-row .star svg { width: 12px; height: 12px; }
.hero-eyebrow-row .sep {
  width: 4px; height: 4px;
  background: var(--gold-deep);
  border-radius: 50%;
  opacity: 0.5;
  flex: 0 0 auto;
}
/* On narrow viewports drop the tagline so the pill stays compact */
@media (max-width: 720px) {
  .hero-eyebrow-row .sep,
  .hero-eyebrow-row [data-i18n="hero.tagline"] { display: none; }
}

/* Old badge stack kept for back-compat but unused in modern hero */
.hero-badges {
  display: inline-flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
}
.hero-badges .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--gold-12);
  border: 1px solid var(--gold-30);
  border-radius: var(--r-pill);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-badges .pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 0 4px var(--gold-12);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.4vw + 0.7rem, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.030em;
  text-wrap: balance;
}
@media (max-width: 1080px) { .hero h1 { text-wrap: pretty; } }
.hero .lead {
  margin-bottom: 14px;
  max-width: 60ch;
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  color: var(--body-soft);
}
.hero .hero-sub-line {
  margin-bottom: 28px;
  max-width: 56ch;
  font-size: 14.5px;
  color: var(--muted);
  font-style: italic;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

/* Compact stats / trust strip below CTAs */
.hero-stats {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 2fr 1.8fr;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero-stats .item {
  display: flex; flex-direction: column; gap: 2px;
  align-items: center; text-align: center;
}
.hero-stats .item .k {
  font-size: 13px;
  color: var(--body-soft);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.hero-stats .item .k svg { width: 14px; height: 14px; color: var(--gold-deep); flex: 0 0 auto; }
.hero-stats .item .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-stats .item .v { font-size: 15px; }
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero-trust .item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--body);
  font-weight: 500;
}
.hero-trust .item .ico {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-12);
  color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-trust .item .ico svg { width: 14px; height: 14px; }

/* Hero visual frame: cinematic real-image bg + animated plane route overlay */
.hero-visual {
  position: relative;
  aspect-ratio: 5/4.4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(165deg, #0e1218 0%, #060708 100%);
  border: 2px solid #000;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.03);
}
/* Real photo behind everything */
.hero-visual .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.95) brightness(0.85);
}
/* Tonal overlay over image */
.hero-visual .hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(11,12,15,0.50) 0%, rgba(11,12,15,0.22) 45%, rgba(11,12,15,0.85) 100%),
    radial-gradient(120% 80% at 80% 100%, rgba(201,162,77,0.18) 0%, transparent 60%);
}
/* HUD-style grid + horizon, masked to fade out at edges */
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, transparent 64%, rgba(201,162,77,0.10) 66%, rgba(201,162,77,0.05) 67%, transparent 68%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 90% at 50% 50%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 90% at 50% 50%, #000 55%, transparent 100%);
}
/* Sunset glow blob */
.hero-visual::after {
  content: "";
  position: absolute;
  top: -60px; inset-inline-end: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,162,77,0.28) 0%, rgba(201,162,77,0.10) 35%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
/* Subtle vignette frame inside */
.hero-visual .frame-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.40) 100%);
  z-index: 2;
}
.hero-visual .corner-mark {
  position: absolute;
  z-index: 4;
  width: 22px; height: 22px;
  border: 1px solid rgba(201,162,77,0.45);
  pointer-events: none;
}
.hero-visual .corner-mark.tl { top: 14px; inset-inline-start: 14px;  border-inline-end: 0; border-bottom: 0; }
.hero-visual .corner-mark.tr { top: 14px; inset-inline-end: 14px; border-inline-start: 0;  border-bottom: 0; }
.hero-visual .corner-mark.bl { bottom: 14px; inset-inline-start: 14px;  border-inline-end: 0; border-top: 0; }
.hero-visual .corner-mark.br { bottom: 14px; inset-inline-end: 14px; border-inline-start: 0;  border-top: 0; }

/* Tiny status chip in the bottom corner (intentional, not a placeholder label) */
.hero-visual .status-chip {
  position: absolute;
  z-index: 4;
  bottom: 18px; inset-inline-start: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,162,77,0.30);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-visual .status-chip .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,77,0.18);
  animation: pulseGold 2.4s ease-in-out infinite;
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,162,77,0.18); transform: scale(1); }
  50%      { box-shadow: 0 0 0 7px rgba(201,162,77,0.05); transform: scale(1.25); }
}

/* Plane route (SVG inside hero) */
.plane-route { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.plane-route svg { width: 100%; height: 100%; overflow: visible; }
.plane-route .route-line {
  stroke: rgba(201,162,77,.55);
  stroke-width: 1.25;
  stroke-dasharray: 3 7;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(201,162,77,0.30));
}
.plane-route .route-node     {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201,162,77,0.6));
}
.plane-route .route-node-ring {
  fill: rgba(201,162,77,0.08);
  stroke: rgba(201,162,77,.45);
  stroke-width: 1;
  transition: stroke 400ms ease, fill 400ms ease, r 400ms ease;
}
.plane-route .route-node-pulse {
  fill: var(--gold);
  opacity: 0;
  pointer-events: none;
}
.plane-route .route-node-active .route-node-ring {
  fill: rgba(201,162,77,0.30);
  stroke: var(--gold);
  stroke-width: 2;
}
.plane-route .route-node-active .route-node-pulse {
  animation: routeNodePulse 1.6s ease-out infinite;
}
@keyframes routeNodePulse {
  0%   { opacity: 0.6; r: 8; }
  100% { opacity: 0;   r: 22; }
}
.plane-route .node-label {
  fill: rgba(255,255,255,.92);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plane-route .route-node-active + text.node-label,
.plane-route .route-node-active .node-label {
  fill: var(--gold);
}
.plane-route .plane {
  fill: var(--gold);
  filter: drop-shadow(0 4px 10px rgba(201,162,77,.65));
  transition: opacity 400ms ease;
}

/* ============================================================
 * CARDS (general)
 * ============================================================ */
.card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: var(--space-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  overflow: hidden;
}
/* Subtle gold corner glow on hover */
.card::after {
  content: "";
  position: absolute;
  top: -60px; inset-inline-end: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(201,162,77,0.16) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-30);
}
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: var(--space-2); font-size: 18px; }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: 15px; color: var(--body); }
/* Optional arrow that slides in on hover (only if .card-link is added) */
.card-link::before {
  content: "→";
  position: absolute;
  top: var(--space-6); inset-inline-end: var(--space-5);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-12);
  color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 250ms ease, transform 350ms cubic-bezier(.4,.6,.2,1), background 250ms ease;
  pointer-events: none;
}
.card-link:hover::before {
  opacity: 1;
  transform: translateX(0);
  background: var(--gold-grad);
  color: #fff;
}
[dir="rtl"] .card-link::before { inset-inline-end: auto; inset-inline-start: var(--space-5); content: "←"; transform: translateX(6px); }
[dir="rtl"] .card-link:hover::before { transform: translateX(0); }

.card-num .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--gold-12);
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}
.card-icon .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--gold-12);
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.card-icon .ico svg { width: 24px; height: 24px; stroke-width: 1.75; }

/* Two-pane card: dark hero + light list */
.split-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-card .pane-dark {
  position: relative;
  padding: 44px 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201,162,77,0.22) 0%, transparent 55%),
    var(--dark-grad);
  color: #fff;
}
.split-card .pane-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.split-card .pane-dark > * { position: relative; }
.split-card .pane-light {
  padding: 36px;
  background: linear-gradient(180deg, var(--bg-2) 0%, #ffffff 100%);
}
@media (max-width: 800px) { .split-card { grid-template-columns: 1fr; } }

/* ============================================================
 * CARD-IMG (image-led stage card with number badge overlay)
 * ============================================================ */
.card-img {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card-img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-30);
}
.card-img .num-badge {
  position: absolute;
  top: 12px; inset-inline-start: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(201,162,77,0.40);
  line-height: 1;
  pointer-events: none;
}
.card-img .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card-img .body h3 { margin: 0; font-size: 17px; }
.card-img .body p  { margin: 0; font-size: 14px; color: var(--body); line-height: 1.6; }
html[data-theme="dark"] .card-img {
  background: linear-gradient(180deg, #1b1c20 0%, #15161a 100%);
  border-color: var(--border);
}
html[data-theme="dark"] .card-img:hover { border-color: var(--gold-30); }

/* ============================================================
 * TRAINING LOCATION (image placeholder + caption + 2 location cards)
 * ============================================================ */
.location-block { display: grid; gap: var(--space-6); }
.location-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid #000;
}
.location-caption {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--body);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 800px) { .location-grid { grid-template-columns: 1fr; } }
/* ============================================================
 * LOCATION CARD (enhanced: gradient header, flag, art, features)
 * ============================================================ */
.location-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 350ms cubic-bezier(.22,.8,.2,1), box-shadow 350ms ease, border-color 350ms ease;
  display: flex; flex-direction: column;
}
.location-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-30);
  box-shadow: var(--shadow-lg);
}

/* Soft gold blob top-right (light variant) */
.location-card::after {
  content: "";
  position: absolute;
  top: -40px; inset-inline-end: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--gold-08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Card header strip: flag mark + role tag + decorative aviation art */
.location-card .lc-head {
  position: relative;
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, var(--gold-wash, #fbf6e9) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
}
.location-card .lc-head::after {
  /* decorative diagonal lines pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(201,162,77,0.08) 0 1px, transparent 1px 14px);
  pointer-events: none;
  opacity: 0.6;
}
.location-card .lc-head > * { position: relative; z-index: 1; }

.location-card .flag-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: inline-flex;
  align-items: center; justify-content: center;
}
.location-card .flag-mark svg { width: 100%; height: 100%; display: block; }

.location-card .role-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--gold-30);
  color: var(--gold-deep);
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.location-card .role-tag svg { width: 12px; height: 12px; }

.location-card .lc-head .head-art {
  position: absolute;
  inset-inline-end: 14px; top: 50%;
  transform: translateY(-50%);
  width: 88px; height: 56px;
  color: rgba(201,162,77,0.32);
  pointer-events: none;
}
.location-card .lc-head .head-art svg { width: 100%; height: 100%; }

/* Body */
.location-card .lc-body {
  padding: 22px;
  display: grid; gap: 14px;
  flex: 1;
}
.location-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.location-card h3 .city-mark {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}
.location-card .role-line {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}

/* Feature chips */
.location-card .lc-features {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 2px;
}
.location-card .lc-features .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  color: var(--body);
  font-weight: 600;
}
.location-card .lc-features .chip svg { width: 12px; height: 12px; color: var(--gold-deep); flex: 0 0 auto; }

/* Contact rows with icon chips */
.location-card .lc-contact { display: grid; gap: 10px; padding-top: 4px; border-top: 1px dashed var(--border); }
.location-card .lc-contact .row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5;
  color: var(--body);
}
.location-card .lc-contact .row .ico {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--gold-12);
  color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.location-card .lc-contact .row .ico svg { width: 14px; height: 14px; }
.location-card .lc-contact .row a { color: var(--ink); font-weight: 600; transition: color 150ms ease; }
.location-card .lc-contact .row a:hover { color: var(--gold-deep); }
.location-card .lc-contact .row .lbl {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 1px;
}

/* Map link CTA at the bottom of the card */
.location-card .map-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  align-self: flex-start;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  transition: background 200ms ease, transform 200ms ease;
}
.location-card .map-link:hover { background: var(--gold-deep); color: #fff; transform: translateX(2px); }
.location-card .map-link svg { width: 13px; height: 13px; }

/* "Training" variant: cool aviation-blue header tint */
.location-card.is-training .lc-head {
  background: linear-gradient(180deg, #14191F 0%, #1a2230 100%);
  border-bottom-color: rgba(255,255,255,0.08);
}
.location-card.is-training .lc-head::after {
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 14px);
}
.location-card.is-training .role-tag {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
}
.location-card.is-training .lc-head .head-art { color: rgba(201,162,77,0.45); }
.location-card.is-training::after {
  background: radial-gradient(circle, rgba(64,128,200,0.10) 0%, transparent 70%);
}

/* Dark mode tweaks */
html[data-theme="dark"] .location-card { background: var(--bg); border-color: var(--border); }
html[data-theme="dark"] .location-card .lc-head { background: linear-gradient(180deg, rgba(212,168,77,0.10) 0%, var(--bg-2) 100%); border-bottom-color: var(--border); }
html[data-theme="dark"] .location-card .lc-head .role-tag { background: rgba(255,255,255,0.04); }
html[data-theme="dark"] .location-card.is-training .lc-head { background: linear-gradient(180deg, #0d1218 0%, #14191F 100%); }
html[data-theme="dark"] .location-card .lc-features .chip { background: var(--bg-2); border-color: var(--border); }
html[data-theme="dark"] .location-card .lc-contact { border-top-color: rgba(255,255,255,0.06); }
html[data-theme="dark"] .location-card .map-link { background: rgba(255,255,255,0.10); color: #fff; }
html[data-theme="dark"] .location-card .map-link:hover { background: var(--gold); color: #0a0b0e; }

/* Mobile: stack header tighter and hide head-art */
@media (max-width: 600px) {
  .location-card .lc-head { padding: 16px 18px 14px; gap: 10px; }
  .location-card .flag-mark { width: 36px; height: 36px; border-radius: 10px; }
  .location-card .lc-head .head-art { display: none; }
  .location-card .lc-body { padding: 18px; gap: 12px; }
  .location-card h3 { font-size: 19px; }
}

/* Backwards-compat for old markup (.role-tag, .addr, .links, .icon-row used on existing pages) */
.location-card > .role-tag { margin: 22px 22px 0 22px; align-self: flex-start; }
.location-card > h3        { padding: 0 22px; }
.location-card > p, .location-card > .addr { padding: 0 22px; margin: 0; font-size: 14px; color: var(--body); line-height: 1.65; }
.location-card > .links    { padding: 0 22px 22px; display: grid; gap: 6px; font-size: 14px; }
.location-card > .links a  { color: var(--body); }
.location-card > .links a:hover { color: var(--gold-deep); }
.location-card .icon-row {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600;
}
.location-card .icon-row svg { width: 16px; height: 16px; color: var(--gold-deep); }

/* ============================================================
 * JOURNEY (timeline w/ animated plane)
 * ============================================================ */
.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: var(--space-7);
  padding: 24px 0 8px;
}
/* Soft horizontal aura under the line */
.journey-track::before {
  content: "";
  position: absolute;
  top: 18px; inset-inline-start: 0; inset-inline-end: 0;
  height: 14px;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(201,162,77,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.journey-step {
  position: relative;
  text-align: center;
  padding: 70px 6px 14px;
  border-radius: var(--r-card);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.journey-step:hover { background: rgba(201,162,77,0.04); }

/* Marker: gradient ring with glowing core */
.journey-step .marker {
  position: absolute;
  top: 14px; inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #ffffff;
  z-index: 2;
  box-shadow:
    0 0 0 2px var(--gold),
    0 4px 14px rgba(201,162,77,0.25);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.journey-step .marker::before {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  transform: scale(0);
  transition: transform var(--t-base);
}
.journey-step .marker::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,77,0.45) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.journey-step.is-in .marker::before { transform: scale(1); }
.journey-step.is-active .marker {
  transform: translateX(-50%) scale(1.15);
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 0 8px var(--gold-12),
    0 8px 22px rgba(201,162,77,0.5);
}
.journey-step.is-active .marker::before { transform: scale(1); }
.journey-step.is-active .marker::after  { opacity: 1; animation: markerPulse 1.8s ease-out infinite; }
@keyframes markerPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Step number badge (gold pill) */
.journey-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 9px;
  margin-bottom: 10px;
  border-radius: var(--r-pill);
  background: var(--gold-12);
  border: 1px solid var(--gold-30);
  color: var(--gold-deep);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-feature-settings: "tnum" 1;
}
.journey-step.is-active .step-num {
  background: var(--gold-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(201,162,77,0.4);
}
.journey-step h4 { margin-bottom: 6px; font-size: 15px; line-height: 1.3; }
.journey-step p  { font-size: 13.5px; margin: 0; color: var(--body); line-height: 1.55; }

/* Dotted route line, slightly thicker, with subtle glow */
.journey-line {
  position: absolute;
  top: 24px; inset-inline-start: 4%; inset-inline-end: 4%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 14px);
  z-index: 0;
  filter: drop-shadow(0 0 4px rgba(201,162,77,0.35));
  border-radius: 2px;
}

/* Plane element (detailed airliner SVG + soft trail).
 * NOTE: no CSS transitions on `left` or `opacity`. JS updates both every frame
 * (rAF) for smooth motion. CSS transitions would lag behind the JS values and
 * make the plane visibly slide back to the start at end of cycle.
 */
.journey-plane {
  position: absolute;
  top: 24px;
  inset-inline-start: 4%;
  width: 64px; height: 64px;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
[dir="rtl"] .journey-plane { transform: translate(50%, -50%); }
/* Vapour trail behind the plane while moving */
.journey-plane::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 80%;
  transform: translateY(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,162,77,0.6) 100%);
  filter: blur(0.5px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 350ms ease;
}
.journey-plane[data-state="moving"]::before { opacity: 1; }

.journey-plane .plane-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(201,162,77,.40)) drop-shadow(0 0 14px rgba(201,162,77,.18));
  transform: translateY(0) rotate(0deg);
  transition: transform 380ms cubic-bezier(.22,.8,.4,1);
}

/* While paused at a milestone: very subtle drift, no visible bounce */
.journey-plane[data-state="resting"] .plane-img {
  animation: planeHover 3.6s ease-in-out infinite;
}
@keyframes planeHover {
  0%,100% { transform: translateY(0)     rotate(0deg);    }
  50%     { transform: translateY(-1.5px) rotate(-0.6deg); }
}

/* Arrival: soft settle, no spring */
.journey-plane.just-arrived .plane-img {
  animation: planeArrive 700ms ease-out;
}
@keyframes planeArrive {
  0%   { transform: translateY(0)   rotate(0deg) scale(1);    }
  40%  { transform: translateY(-2px) rotate(-1.2deg) scale(1.02); }
  100% { transform: translateY(0)   rotate(0deg) scale(1);    }
}

/* Fly-off: tilt up and accelerate */
.journey-plane[data-state="flyoff"] .plane-img {
  animation: planeAscend 1400ms ease-in forwards;
}
@keyframes planeAscend {
  0%   { transform: translateY(0)   rotate(0deg)  scale(1);    }
  100% { transform: translateY(-14px) rotate(-14deg) scale(1.06); }
}

/* While the plane is in REST (off-screen between cycles), keep it neutral */
.journey-plane[data-state="rest"] .plane-img,
.journey-plane[data-state="moving"] .plane-img { animation: none; }

@media (max-width: 900px) {
  .journey-track { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .journey-track::before { display: none; }
  .journey-step {
    text-align: start;
    padding: 14px 0 14px 36px;
    border-inline-start: 2px dashed var(--gold-30);
    margin-inline-start: 12px;
  }
  .journey-step .marker { top: 18px; inset-inline-start: -11px; transform: none; }
  .journey-step.is-active .marker { transform: scale(1.15); }
  .journey-line, .journey-plane { display: none; }
}

/* ============================================================
 * REASSURE / FORM / FAQ / FINAL CTA
 * ============================================================ */
.reassure { text-align: center; padding: 44px 36px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 980px) { .form-grid { grid-template-columns: 1fr; gap: var(--space-7); } }

.form-card {
  position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(201,162,77,0.05) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(201,162,77,0.04);
  overflow: hidden;
}
/* Gold accent bar on the left edge of the form card */
.form-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold-grad);
  border-radius: 4px 0 0 4px;
}
/* Subtle decorative blob in top-right of the form card */
.form-card::after {
  content: "";
  position: absolute;
  top: -80px; inset-inline-end: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,162,77,0.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.form-card > * { position: relative; z-index: 1; }
.form-card h3 { margin-bottom: 8px; font-size: 22px; }
.form-card .form-sub { margin-bottom: 24px; color: var(--body); font-size: 14px; }
/* Small form header tag */
.form-card .form-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  margin-bottom: 14px;
  background: var(--gold-12);
  border: 1px solid var(--gold-30);
  border-radius: var(--r-pill);
  color: var(--gold-deep);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.form-card .form-tag svg { width: 12px; height: 12px; }

.field { margin-bottom: 14px; }
.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.field label .opt {
  font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
  font-size: 11px;
}
.field .req {
  display: inline-block;
  width: 5px; height: 5px;
  margin-inline-start: 4px;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: middle;
}

/* Input wrapper to support inline icons */
.input-wrap { position: relative; display: block; }
.input-wrap .input-ico {
  position: absolute;
  top: 50%; inset-inline-start: 14px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--muted);
  pointer-events: none;
  transition: color var(--t-fast);
}
.input-wrap .input-ico svg { width: 18px; height: 18px; }
.input-wrap .input.has-ico,
.input-wrap .select.has-ico { padding-inline-start: 42px; }
.input-wrap:focus-within .input-ico { color: var(--gold-deep); }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #ffffff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.input:hover, .select:hover, .textarea:hover { border-color: #d8d8d8; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px var(--gold-12);
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* Custom select chevron */
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-inline-end: 38px;
}

/* "Same number on mobile" checkbox label */
.same-wa-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--body);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 4px;
}
.same-wa-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--gold-deep);
  cursor: pointer;
}

.field-error {
  display: none;
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--error); box-shadow: 0 0 0 4px rgba(215,38,61,0.10); }
.field.has-error .field-error { display: block; }

.form-foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.form-foot svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--gold-deep); }
.form-after-steps { display: grid; gap: 12px; margin-top: var(--space-5); width: fit-content; margin-inline: auto; }
.form-after-steps li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--body); list-style: none;
}
[dir="rtl"] .form-after-steps li { direction: ltr !important; }
.form-after-steps .num {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-12);
  color: var(--gold-deep);
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }

/* Requirements checklist grid — 2 cols on desktop, stacks at ≤600px */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  max-width: 880px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
@media (max-width: 600px) { .req-grid { grid-template-columns: 1fr; } }

/* RTL: flip custom select chevron to logical-end (physical left) */
[dir="rtl"] .input-wrap .select { background-position: left 14px center; }

.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  margin-bottom: 14px;
  background: var(--bg-tint);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 22px 18px;
  font-size: 15px; line-height: 1.7;
  color: var(--body);
}

.final-cta {
  border-radius: var(--r-xl);
  padding: var(--space-9) var(--space-6);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201,162,77,0.18), transparent 70%),
    var(--dark-grad);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::after {
  content: "";
  position: absolute;
  top: -80px; inset-inline-end: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(201,162,77,0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.final-cta h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; font-size: clamp(1.45rem, 1.8vw + 0.8rem, 2rem); }
.final-cta p  { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 28px; }
.final-cta .cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }

/* ============================================================
 * DARK CARD (used by Reassurance bar)
 * ============================================================ */
.dark-card {
  position: relative;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(201,162,77,0.22) 0%, transparent 55%),
    var(--dark-grad);
  color: rgba(255,255,255,0.85);
  padding: var(--space-7);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dark-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
}
.dark-card > * { position: relative; z-index: 1; }
.dark-card h2, .dark-card h3 { color: #fff; }
.dark-card p { color: rgba(255,255,255,0.7); }

/* ============================================================
 * FOOTER
 * ============================================================ */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,.6);
  padding: 60px 0 28px;
  font-size: 14px;
  margin-top: var(--space-7);
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-block img { height: 38px; margin-bottom: 14px; }
.site-footer p { color: rgba(255,255,255,.55); }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* ============================================================
 * REAL IMAGE FRAME (replaces .img-ph when a real photo is supplied)
 * ============================================================ */
.real-img {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 2px solid #000;
  background: #111;
  aspect-ratio: 16/10;
}
.real-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.22,.8,.4,1);
}
.real-img:hover img { transform: scale(1.03); }
.real-img.ph-portrait { aspect-ratio: 4/5; }
.real-img.ph-square   { aspect-ratio: 1/1; }
.real-img.ph-wide     { aspect-ratio: 21/9; }

/* ============================================================
 * DARK MODE OVERRIDES
 * The tokens already shifted in tokens.css; here we adjust component
 * surfaces that hard-coded white/light colors.
 * ============================================================ */
html[data-theme="dark"] body { background: var(--page-bg); }
html[data-theme="dark"] .site-header {
  background: rgba(13,14,17,0.85);
  border-bottom-color: var(--border);
}
html[data-theme="dark"] .site-header .brand img { filter: brightness(1.25); }
html[data-theme="dark"] .lang-toggle { background: var(--bg-tint); }
html[data-theme="dark"] .lang-toggle button { color: var(--body); }
html[data-theme="dark"] .lang-toggle button[aria-pressed="true"] { background: var(--gold); color: #0a0b0e; }
html[data-theme="dark"] .lang-toggle button[aria-pressed="true"]:hover { color: #0a0b0e; }
html[data-theme="dark"] .theme-toggle { background: var(--bg-tint); border-color: var(--border); }

html[data-theme="dark"] .section-card { background: var(--bg); }
html[data-theme="dark"] .section-card::before { background: radial-gradient(circle, rgba(212,168,77,0.10) 0%, transparent 70%); }
html[data-theme="dark"] .section-card::after  { background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%); }

html[data-theme="dark"] .card {
  background: linear-gradient(180deg, #1b1c20 0%, #15161a 100%);
  border-color: var(--border);
}
html[data-theme="dark"] .card:hover { border-color: var(--gold-30); }

html[data-theme="dark"] .card-icon .ico,
html[data-theme="dark"] .card-num .num,
html[data-theme="dark"] .form-after-steps .num,
html[data-theme="dark"] .cred-strip .item .ico,
html[data-theme="dark"] .hero-trust .item .ico { background: var(--gold-12); color: var(--gold); }

html[data-theme="dark"] .form-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(212,168,77,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #1b1c20 0%, #15161a 100%);
  border-color: var(--border);
}
html[data-theme="dark"] .input,
html[data-theme="dark"] .select,
html[data-theme="dark"] .textarea {
  background: var(--bg);
  border-color: var(--border);
  color: var(--ink);
}
html[data-theme="dark"] .input:hover,
html[data-theme="dark"] .select:hover,
html[data-theme="dark"] .textarea:hover { border-color: #3a3b40; }
html[data-theme="dark"] .input::placeholder,
html[data-theme="dark"] .textarea::placeholder { color: var(--muted); }

/* Custom select chevron (dark) */
html[data-theme="dark"] .select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a6abb3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

html[data-theme="dark"] .faq-item {
  background: #15161a;
  border-color: var(--border);
}
html[data-theme="dark"] .faq-item summary { color: var(--ink); }

html[data-theme="dark"] .location-card {
  background: var(--bg);
  border-color: var(--border);
}
html[data-theme="dark"] .location-card .addr { color: var(--body); }
html[data-theme="dark"] .location-card .links a { color: var(--body); }
html[data-theme="dark"] .location-card .links a:hover { color: var(--gold); }
html[data-theme="dark"] .location-card.is-training .role-tag {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  color: var(--ink);
}

html[data-theme="dark"] .sticky-cta {
  background: rgba(13,14,17,0.95);
  border-top-color: var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}

html[data-theme="dark"] .burger span { background: var(--ink); }

/* Site footer is already dark, but tighten the border in dark to match */
html[data-theme="dark"] .site-footer { background: #06070a; }
html[data-theme="dark"] .footer-bottom { border-top-color: rgba(255,255,255,0.06); }

/* Mobile: tighten responsive header on dark */
@media (max-width: 900px) {
  html[data-theme="dark"] .site-header { background: rgba(10,11,14,0.92); }
}

/* ============================================================
 * SCROLL CUE (under hero)
 * ============================================================ */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: var(--space-4) auto 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t-fast);
}
.scroll-cue:hover { color: var(--gold-deep); }
.scroll-cue .cue-line {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.scroll-cue .cue-line::after {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 0;
  width: 100%;
  height: 12px;
  background: var(--gold);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(-100%); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(120%); opacity: 0; }
}

/* ============================================================
 * ELIGIBILITY: subtle green check appearing on hover
 * (Card-icon variant, when used in the readiness/eligibility section)
 * ============================================================ */
.card-check { position: relative; }
.card-check .check {
  position: absolute;
  top: var(--space-5); inset-inline-end: var(--space-5);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(31,157,85,0.10);
  color: #1F9D55;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 250ms ease, transform 350ms cubic-bezier(.22,1.4,.3,1), background 250ms ease;
}
.card-check .check svg { width: 14px; height: 14px; stroke-width: 3; }
.card-check:hover .check {
  opacity: 1;
  transform: scale(1);
  background: #1F9D55;
  color: #fff;
}
[dir="rtl"] .card-check .check { inset-inline-end: auto; inset-inline-start: var(--space-5); }

/* ============================================================
 * ENHANCED FOOTER
 * ============================================================ */
.site-footer h4 {
  display: inline-flex; align-items: center; gap: 8px;
}
.site-footer h4 .pin-ico {
  width: 14px; height: 14px;
  color: var(--gold);
  flex: 0 0 auto;
}
.site-footer .brand-block .tagline {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72);
}
.site-footer .brand-block .tagline .dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.site-footer .quick-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 0;
  transition: color 150ms ease, transform 200ms ease;
}
.site-footer .quick-links a::before {
  content: "→";
  color: var(--gold);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.site-footer .quick-links a:hover { color: var(--gold); transform: translateX(2px); }
.site-footer .quick-links a:hover::before { opacity: 1; transform: translateX(0); }
[dir="rtl"] .site-footer .quick-links a::before { content: "←"; }
[dir="rtl"] .site-footer .quick-links a:hover { transform: translateX(-2px); }

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  transition: color 150ms ease, border-color 200ms ease, background 200ms ease;
}
.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold-30);
  background: rgba(201,162,77,0.08);
}
.footer-social a svg { width: 16px; height: 16px; }

/* Contact list */
.contact-list { display: grid; gap: 10px; }
.contact-list .row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5;
}
.contact-list .row .ico {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-list .row .ico svg { width: 16px; height: 16px; }
.contact-list .row .lbl {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1px;
}

/* ============================================================
 * MOBILE RESPONSIVE TIGHTENING
 * ============================================================ */
@media (max-width: 720px) {
  /* Hero: tighter type + better stacking */
  .hero { padding: var(--space-7) 0 var(--space-6); }
  .hero .section-card { padding: var(--space-7) var(--space-4); }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero .lead { font-size: 16px; }
  .hero-badges { gap: 6px; margin-bottom: 16px; }
  .hero-badges .pill { padding: 5px 10px; font-size: 11px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { justify-content: center; }
  .hero-trust { grid-template-columns: 1fr; gap: 10px; padding-top: 14px; }
  .hero-visual { aspect-ratio: 4/3; }
  .hero-visual .corner-mark { width: 16px; height: 16px; }
  .hero-visual .status-chip { inset-inline-start: 12px; bottom: 12px; padding: 4px 10px; font-size: 10px; }

  /* Section cards tighter on phones */
  .section-card { padding: var(--space-7) var(--space-4); border-radius: 16px; }
  .section { padding: var(--space-5) 0; }
  .section-intro { margin-bottom: var(--space-6); }
  h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); }

  /* Cards tighter padding */
  .card { padding: var(--space-5); }
  .card h3 { font-size: 16px; }
  .card-icon .ico { width: 40px; height: 40px; margin-bottom: 12px; }
  .card-icon .ico svg { width: 20px; height: 20px; }

  /* Form */
  .form-card { padding: var(--space-5) var(--space-4); }
  .form-card h3 { font-size: 18px; }

  /* Split / location cards stack and tighten */
  .split-card .pane-dark, .split-card .pane-light { padding: 28px 22px; }
  .location-card { padding: 22px; }

  /* Reassurance / final CTA tighter */
  .reassure { padding: 36px 22px; }
  .final-cta { padding: var(--space-7) var(--space-4); }
  .final-cta h2 { font-size: clamp(1.5rem, 6vw, 1.95rem); }
  .final-cta .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .final-cta .cta-row .btn { justify-content: center; }

  /* Footer tighter, single column already kicks at 600px; refine 720 */
  .site-footer { padding: 40px 0 24px; }

  /* Sticky CTA arrow simpler */
  .sticky-cta .btn { padding: 14px 18px; font-size: 14px; }
}

/* Extra-small adjustments */
@media (max-width: 380px) {
  .hero-badges .pill { font-size: 10px; padding: 4px 9px; }
  .hero h1 { font-size: 1.7rem; }
  .lang-toggle button { padding: 5px 10px; font-size: 12px; }
}

/* Narrowest devices (≤375px): tighter phone-row selector */
@media (max-width: 375px) {
  .phone-row { grid-template-columns: 90px 1fr; }
}

/* ============================================================
 * ANIMATION PACK
 * Stagger reveal, card tilt, gold particles, shimmer, magnet hover.
 * ============================================================ */

/* Stagger reveal: parent has [data-stagger]; children use [data-reveal-child]
 * and inherit a CSS variable index `--i` set by JS for delayed entry. */
[data-reveal-child] {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 600ms cubic-bezier(.22,.8,.2,1), transform 600ms cubic-bezier(.22,.8,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-reveal-child].is-in {
  opacity: 1;
  transform: none;
}

/* Card 3D tilt: JS sets --tx (rotX) and --ty (rotY) on mousemove */
.tilt {
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 250ms cubic-bezier(.22,.8,.2,1);
  will-change: transform;
}
.tilt-glow {
  position: relative;
  isolation: isolate;
}
.tilt-glow::before {
  /* Subtle cursor-following light spot */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(201,162,77,0.16), transparent 70%);
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
  z-index: 0;
}
.tilt-glow:hover::before { opacity: 1; }
.tilt-glow > * { position: relative; z-index: 1; }

/* Shimmer pass on the gold-highlighted heading word every ~6s */
.h-gold span {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 30%, #f0d28a 50%, var(--gold-deep) 70%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerPass 6s ease-in-out 1.5s infinite;
}
@keyframes shimmerPass {
  0%, 70%, 100% { background-position: 200% 0; }
  85%           { background-position: -100% 0; }
}

/* Floating gold particles inside dark sections (CSS-only, lightweight) */
.particles {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particles span {
  position: absolute;
  display: block;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(0.5px);
  animation: floatParticle linear infinite;
}
.particles span:nth-child(1)  { inset-inline-start:  6%; bottom: -10px; animation-duration: 14s; animation-delay: -2s;  width: 3px; height: 3px; opacity: 0.14; }
.particles span:nth-child(2)  { inset-inline-start: 18%; bottom: -10px; animation-duration: 18s; animation-delay: -6s;  width: 5px; height: 5px; opacity: 0.22; }
.particles span:nth-child(3)  { inset-inline-start: 32%; bottom: -10px; animation-duration: 12s; animation-delay: -1s;  width: 3px; height: 3px; opacity: 0.16; }
.particles span:nth-child(4)  { inset-inline-start: 47%; bottom: -10px; animation-duration: 22s; animation-delay: -10s; width: 4px; height: 4px; opacity: 0.12; }
.particles span:nth-child(5)  { inset-inline-start: 60%; bottom: -10px; animation-duration: 16s; animation-delay: -4s;  width: 6px; height: 6px; opacity: 0.20; }
.particles span:nth-child(6)  { inset-inline-start: 72%; bottom: -10px; animation-duration: 19s; animation-delay: -8s;  width: 3px; height: 3px; opacity: 0.14; }
.particles span:nth-child(7)  { inset-inline-start: 85%; bottom: -10px; animation-duration: 14s; animation-delay: -3s;  width: 4px; height: 4px; opacity: 0.18; }
.particles span:nth-child(8)  { inset-inline-start: 92%; bottom: -10px; animation-duration: 21s; animation-delay: -12s; width: 5px; height: 5px; opacity: 0.16; }
@keyframes floatParticle {
  0%   { transform: translateY(0)      translateX(0)   scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-115vh) translateX(40px) scale(1.05); opacity: 0; }
}

/* Magnetic primary button: subtle pull toward cursor */
.btn-magnet { transition: transform 220ms cubic-bezier(.22,.8,.2,1), box-shadow var(--t-base); }

/* Section header underline reveal on scroll */
.section-intro h2 { position: relative; }
.section-intro.is-in h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  bottom: -10px;
  width: 56px;
  height: 3px;
  background: var(--gold-grad);
  border-radius: 4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: underlineGrow 600ms cubic-bezier(.22,.8,.2,1) 200ms forwards;
}
@keyframes underlineGrow {
  to { transform: translateX(-50%) scaleX(1); }
}

/* Number/value pop on stats reveal */
.hero-stats .item .v { transition: color 250ms ease; }
.hero-stats .item:hover .v { color: var(--gold-deep); }

/* Smooth gold border on hover for general .card */
.card {
  background-clip: padding-box;
}
.card.tilt-glow:hover { border-color: var(--gold-30); }

/* Reduced motion: kill the heavy bits */
@media (prefers-reduced-motion: reduce) {
  .h-gold span { animation: none; -webkit-text-fill-color: var(--gold); color: var(--gold); }
  .particles span { animation: none; opacity: 0.2; }
  .tilt { transform: none !important; }
  [data-reveal-child] { transition-duration: 1ms; transition-delay: 0ms; opacity: 1; transform: none; }
  .section-intro.is-in h2::after { transform: translateX(-50%) scaleX(1); animation: none; }
}

/* ============================================================
 * RESPONSIVE IMAGE SIZING (works across all devices)
 * Every image-bearing component fills its frame predictably and
 * adapts its aspect ratio for phone/tablet/desktop/4K.
 * ============================================================ */

/* Universal: real images fill their container, never overflow,
 * and stay sharp via object-fit: cover with center bias. */
.hero-visual img,
.real-img img,
.card-img img,
.location-image img,
.location-image .real-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Hero visual: more screen real-estate on phones, classic 5:4 on desktop, slightly taller on ultra-wide */
.hero-visual { aspect-ratio: 5/4.4; max-height: 720px; }
@media (max-width: 1080px) { .hero-visual { aspect-ratio: 16/11; max-height: 70vh; } }
@media (max-width: 720px)  { .hero-visual { aspect-ratio: 16/11; max-height: 60vh; } }
@media (max-width: 480px)  { .hero-visual { aspect-ratio: 4/3;   max-height: 50vh; } }
@media (min-width: 1600px) { .hero-visual { aspect-ratio: 5/4; } }

/* Real-img variants: keep proportions sensible across breakpoints */
.real-img            { aspect-ratio: 16/10; max-width: 100%; }
.real-img.ph-portrait{ aspect-ratio: 4/5;   max-height: 620px; }
.real-img.ph-square  { aspect-ratio: 1/1;   max-width:  560px; }
.real-img.ph-wide    { aspect-ratio: 21/9;  width: 100%; }

@media (max-width: 980px) {
  .real-img.ph-portrait { aspect-ratio: 4/3;  max-height: 460px; }
  .real-img.ph-wide     { aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  .real-img.ph-portrait { aspect-ratio: 16/12; max-height: 360px; }
  .real-img.ph-wide     { aspect-ratio: 16/10; }
  .real-img.ph-square   { aspect-ratio: 1/1; max-width: 100%; }
}

/* Card-img stage cards: slightly taller image area on tablets, bigger on phones */
.card-img .img { aspect-ratio: 4/3; min-height: 0; position: relative; overflow: hidden; }
@media (max-width: 980px) { .card-img .img { aspect-ratio: 16/10; } }
@media (max-width: 600px) { .card-img .img { aspect-ratio: 16/10; max-height: 240px; } }

/* Location image (wide hero-style block): gracefully shrink on small screens */
.location-image .real-img { aspect-ratio: 21/9; }
@media (max-width: 980px) { .location-image .real-img { aspect-ratio: 16/9;  } }
@media (max-width: 600px) { .location-image .real-img { aspect-ratio: 4/3; max-height: 320px; } }

/* Image placeholders mirror the same responsive aspect rules */
.img-ph             { aspect-ratio: 16/10; }
.img-ph.ph-portrait { aspect-ratio: 4/5; max-height: 620px; }
.img-ph.ph-square   { aspect-ratio: 1/1; max-width: 560px; }
.img-ph.ph-wide     { aspect-ratio: 21/9; }
@media (max-width: 980px) {
  .img-ph.ph-portrait { aspect-ratio: 4/3; max-height: 460px; }
  .img-ph.ph-wide     { aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  .img-ph.ph-portrait { aspect-ratio: 16/12; max-height: 360px; }
}

/* Logo in header + footer: sharper sizing on retina */
.site-header .brand img,
.site-footer .brand-block img { width: auto; height: auto; max-height: 44px; }
@media (max-width: 480px) {
  .site-header .brand img { max-height: 32px; }
}

/* Plane SVG inside the journey track: scales with track width on small screens */
@media (max-width: 1200px) { .journey-plane { width: 56px; height: 56px; } }
@media (max-width: 900px)  { .journey-plane { width: 48px; height: 48px; } }

/* Hero plane route SVG: keep readable label sizes across screens */
@media (max-width: 700px) {
  .plane-route .node-label { font-size: 9px; letter-spacing: 0.1em; }
}

/* Smooth hover scaling without overflow */
.real-img, .card-img { will-change: transform; }
.real-img img, .card-img img { transition: transform 600ms cubic-bezier(.22,.8,.4,1); }
.real-img:hover img,
.card-img:hover img { transform: scale(1.04); }

/* ============================================================
 * BRIDGE MAP (brand pages — overrides .hero-visual aspect-ratio)
 * Must come after all .hero-visual responsive rules to win cascade.
 * ============================================================ */
.bridge-map             { aspect-ratio: 21/8;  }
@media (max-width: 720px)  { .bridge-map { aspect-ratio: 21/10; } }
@media (max-width: 480px)  { .bridge-map { aspect-ratio: 16/9;  } }
