/* ===========================================
   WANDERLUX — Premium Travel Site Stylesheet
   BAA 1017 — Interactive & Accessible Website
   =========================================== */

/* ─── CSS VARIABLES ─────────────────────── */
:root {
  --sand:    #f5f0e8;
  --cream:   #faf7f2;
  --ink:     #1a1a2e;
  --ink-light: #2d2d4e;
  --gold:    #c9a84c;
  --gold-light: #e8cc80;
  --teal:    #1a6b72;
  --teal-light: #2a9aa5;
  --muted:   #6b6b8a;
  --border:  rgba(201,168,76,0.25);
  --white:   #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(26,26,46,0.08);
  --shadow-md: 0 8px 32px rgba(26,26,46,0.14);
  --shadow-lg: 0 24px 64px rgba(26,26,46,0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ─── RESET & BASE ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Accessibility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── TYPOGRAPHY ────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

em { font-style: italic; color: var(--gold); }

.section-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-top: 0.8rem;
}

/* ─── BUTTONS ───────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ─── NAVBAR ────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 5%;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: padding var(--transition);
}
.navbar.scrolled { padding: 0.8rem 5%; }

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.logo-icon { color: var(--gold); font-size: 1rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.audio-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.audio-toggle:hover,
.audio-toggle.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,46,0.85) 0%,
    rgba(26,107,114,0.3) 60%,
    rgba(26,26,46,0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
  padding-top: 80px;
  animation: fadeUp 1s 0.3s both;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-title { color: var(--white); max-width: 620px; }
.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 1.5rem 0 2.5rem;
  line-height: 1.7;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

/* ─── PAGE HERO ─────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: 140px 5% 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
}
.page-hero-inner p:last-child {
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ─── STATS BAR ─────────────────────────── */
.stats-bar {
  background: var(--ink-light);
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}
.stat {
  flex: 1 1 150px;
  padding: 2rem 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── GLOBE SECTION ─────────────────────── */
.globe-section {
  padding: 6rem 5%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.globe-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}
#globeViz {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  min-height: 500px;
  box-shadow: var(--shadow-lg);
}

/* GLOBE SIDEBAR */
.globe-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.sidebar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1rem;
  flex: 1;
  color: var(--muted);
}
.placeholder-icon { font-size: 3rem; }
.sidebar-data {
  padding: 1.8rem;
  flex: 1;
  position: relative;
}
.close-sidebar {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.close-sidebar:hover { background: var(--gold); color: var(--ink); }
.city-flag { font-size: 3rem; margin-bottom: 0.5rem; }
.city-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
}
.city-country { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.2rem; }

.weather-card, .currency-card {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}
.weather-card { display: flex; align-items: center; gap: 1rem; }
.weather-icon { font-size: 2.2rem; }
.weather-temp { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal); display: block; }
.weather-desc { font-size: 0.82rem; color: var(--muted); text-transform: capitalize; }
.currency-card h4 { font-size: 0.8rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--muted); }
.currency-card p { font-size: 0.9rem; margin-bottom: 0.75rem; }
.currency-convert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}
.currency-convert label { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.currency-convert input {
  width: 70px;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}
#convertResult { color: var(--teal); font-weight: 500; }
.sidebar-data .btn-secondary { width: 100%; text-align: center; margin-top: 1rem; }

/* ─── HOW IT WORKS ──────────────────────── */
.how-it-works {
  background: var(--ink);
  padding: 6rem 5%;
  text-align: center;
  color: var(--white);
}
.how-it-works h2 { color: var(--white); margin-bottom: 3rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.step-card {
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--transition);
  position: relative;
}
.step-card:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.step-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(201,168,76,0.12);
  font-weight: 600;
  line-height: 1;
}
.step-icon { font-size: 2rem; margin-bottom: 1rem; }
.step-card h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.3rem; }
.step-card p { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.7; }

/* ─── VIDEO SECTION ─────────────────────── */
.video-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 5%;
}
.video-content p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.video-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ─── DESTINATIONS ──────────────────────── */
.destinations {
  padding: 6rem 5%;
  background: var(--sand);
  text-align: center;
}
.destinations h2 { margin-bottom: 3rem; }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.dest-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dest-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-light);
}
.dest-info {
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dest-info h3 { font-size: 1.1rem; }
.dest-info p { color: var(--muted); font-size: 0.82rem; }
.dest-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  background: rgba(26,107,114,0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

/* ─── ACCORDION ─────────────────────────── */
.faq, .tips-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 6rem 5%;
  text-align: center;
}
.faq h2, .tips-section h2 { margin-bottom: 2.5rem; }
.accordion { text-align: left; }
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.accordion-btn:hover { color: var(--teal); }
.accordion-btn[aria-expanded="true"] { color: var(--teal); }
.accordion-icon {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.accordion-btn[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion-content.open { max-height: 300px; }
.accordion-content p {
  padding-bottom: 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ─── BUDGETER PAGE ─────────────────────── */
.budgeter {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 5% 6rem;
}
.tier-selector {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.tier-btn {
  flex: 1 1 180px;
  padding: 1.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  background: var(--white);
  cursor: pointer;
}
.tier-btn:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.tier-btn.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.04));
  box-shadow: 0 0 0 4px rgba(201,168,76,0.1);
}
.tier-icon { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.tier-name { font-weight: 600; font-size: 1rem; display: block; }
.tier-sub { font-size: 0.75rem; color: var(--muted); display: block; margin-top: 0.2rem; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.calc-controls, .calc-results {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.control-group {
  margin-bottom: 1.5rem;
}
.control-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ink-light);
}
.control-group select,
.control-group input[type="number"],
.control-group input[type="text"],
.control-group input[type="email"],
.control-group input[type="tel"],
.control-group input[type="date"],
.control-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition);
  appearance: none;
}
.control-group select:focus,
.control-group input:focus { border-color: var(--gold); outline: none; }

.range-slider {
  width: 100%;
  margin-top: 0.3rem;
  accent-color: var(--gold);
  height: 4px;
  cursor: pointer;
}

.expense-toggles { border: none; padding: 0; }
.expense-toggles legend {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-light);
  margin-bottom: 0.75rem;
}
.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  cursor: pointer;
  color: var(--ink-light);
}
.toggle-label input[type="checkbox"] { display: none; }
.toggle-track {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: #ddd;
  position: relative;
  flex-shrink: 0;
  transition: background var(--transition);
}
.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-label input:checked + .toggle-track { background: var(--gold); }
.toggle-label input:checked + .toggle-track::after { transform: translateX(18px); }

/* RESULTS */
.total-display {
  text-align: center;
  padding: 2rem;
  background: var(--ink);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.total-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; }
.total-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1.1;
  margin: 0.3rem 0;
  transition: all 0.4s ease;
}
.total-sub { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

.breakdown-list { margin-bottom: 1.5rem; }
.breakdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  transition: opacity var(--transition);
}
.breakdown-item.disabled { opacity: 0.35; }
.breakdown-icon { font-size: 1rem; flex-shrink: 0; }
.breakdown-label { flex: 1; color: var(--muted); }
.breakdown-value { font-weight: 600; color: var(--ink); }
.chart-wrapper { margin: 1rem auto 0; max-width: 220px; }

.tips-section { padding: 0 5% 6rem; }

/* ─── CONTACT / FORM ────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 5% 6rem;
  align-items: start;
}
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.form-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* MULTI-STEP FORM */
.form-step { border: none; padding: 0; }
.form-step legend {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.step-indicator { font-family: var(--font-body); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink-light);
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1px solid #e0ddd7;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group input.invalid { border-color: #e05252; }
.field-error { font-size: 0.78rem; color: #e05252; margin-top: 0.3rem; min-height: 1rem; display:block; }
.field-hint  { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; display:block; }

/* ─── CHECKBOXES — never strip native behaviour ── */
input[type="checkbox"],
input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--gold);
  pointer-events: auto !important;
}

/* Interest / newsletter / consent option rows */
.check-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background var(--transition), border-color var(--transition);
  user-select: none;
  -webkit-user-select: none;
}
.check-option:hover {
  background: rgba(201,168,76,0.09);
  border-color: rgba(201,168,76,0.3);
}
/* Gold highlight when checked — works on all browsers */
.check-option input[type="checkbox"]:checked + *,
.check-option:has(input[type="checkbox"]:checked) {
  font-weight: 500;
}
.check-option:has(input[type="checkbox"]:checked) {
  background: rgba(201,168,76,0.13);
  border-color: var(--gold);
}
.consent-check {
  border: 1.5px solid var(--border);
  background: var(--sand);
  padding: 0.8rem 1rem;
  align-items: flex-start;
}
.consent-check input { margin-top: 2px; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 5 5-5' stroke='%236b6b8a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.check-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.check-option:hover { background: var(--sand); }
.check-option input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; }
.consent-group, .newsletter-group { margin-top: 0.5rem; }

.form-nav {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  align-items: center;
}

/* PROGRESS */
.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.progress-step {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #eee;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  z-index: 1;
}
.progress-step.active { background: var(--gold); color: var(--ink); }
.progress-step.done { background: var(--teal); color: var(--white); }
.progress-bar {
  flex: 1;
  height: 3px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.5s ease;
}

/* FORM SUCCESS */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success h3 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--muted); margin-bottom: 1.5rem; }

/* ASIDE */
.contact-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.aside-card ul { display: flex; flex-direction: column; gap: 0.6rem; }
.aside-card li { font-size: 0.88rem; color: var(--muted); }
.aside-card address { font-style: normal; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.aside-card a { color: var(--teal); text-decoration: underline; }

/* ─── FOOTER ────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 3rem 5%;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.footer-brand .logo { color: var(--white); font-size: 1.3rem; }
.footer-brand p { font-size: 0.82rem; margin-top: 0.4rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; }

/* ─── ANIMATIONS ────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
  .globe-wrapper { grid-template-columns: 1fr; }
  #globeViz { min-height: 380px; }
  .globe-sidebar { min-height: auto; }
  .video-section { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-aside { order: -1; }
}

@media (max-width: 700px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    transition: right var(--transition);
    z-index: 999;
    margin-left: 0;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.2rem; }
  .audio-toggle { margin-left: 0; }

  .hero-content { padding-top: 100px; }
  .stats-bar { flex-wrap: wrap; }
  .stat { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }

  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .tier-selector { flex-direction: column; }
  .tier-btn { flex: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .page-hero { padding: 120px 5% 60px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .total-amount { font-size: 2.4rem; }
}

/* ─── HERO VIDEO CROSSFADE ──────────────────────── */
/* Supports multiple videos (hero1.mp4, hero2.mp4, hero3.mp4)
   cycling with a smooth crossfade every 8 seconds           */
.hero-videos {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
  will-change: opacity;
  transform: translateZ(0);
}
.hero-vid.active {
  opacity: 0.45;
  z-index: 1;
}
/* Fallback: if no video loads, overlay gradient fills the hero */
.hero { background: linear-gradient(135deg, var(--ink) 0%, var(--teal) 100%); }

/* ─── CHECKBOX GRID ──────────────────────────────── */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

/* ─── FORM FIELD IMPROVEMENTS (checkbox-safe version in main block above) ── */

/* ─── FORM PROGRESS DONE STATE ──────────────────── */
.progress-step.done {
  background: var(--teal);
  color: var(--white);
}
.progress-step.done::after {
  content: '✓';
}

/* ─── GLOBE FALLBACK ────────────────────────────── */
/* Shows gradient bg while Globe.gl loads from CDN */
#globeViz {
  background: radial-gradient(ellipse at center, #1a3a4a 0%, #0a0a1a 100%);
  position: relative;
}
#globeViz::before {
  content: 'Loading Globe…';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* ─── AUDIO TOGGLE ACTIVE STATE ─────────────────── */
.audio-toggle.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

/* ─── DEST CARD IMAGE FALLBACKS ─────────────────── */
/* Shows gradient if image file not found */
#img-tokyo  { background: linear-gradient(135deg,#1a1a2e,#3a1a2e) center/cover; }
#img-paris  { background: linear-gradient(135deg,#1a2a1a,#2e2e1a) center/cover; }
#img-bali   { background: linear-gradient(135deg,#0a2a1a,#1a3a0a) center/cover; }
#img-newyork{ background: linear-gradient(135deg,#1a1a3a,#0a1a2e) center/cover; }

/* ─── MOBILE CHECKBOX GRID ──────────────────────── */
@media (max-width: 500px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* ─── LONDON & SYDNEY CARD FALLBACK COLOURS ─── */
#img-london { background: linear-gradient(135deg,#1a1e2a,#2a1e2e) center/cover; }
#img-sydney { background: linear-gradient(135deg,#1a2a2e,#0a1e2e) center/cover; }
