/* ============================================================
   ViaHEY! — Design System + Full Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Rebranded to match goviahey.com — brand blue + orange on pale blue.
     Variable names kept (--teal*) so existing rules retheme without edits. */
  --teal:        #3D74B8;   /* brand blue (globe + tagline) — primary */
  --teal-dark:   #2C5A95;   /* deeper blue for hovers/links */
  --teal-pale:   #E7F7FF;   /* site pale-blue background tint */
  --terra:       #E2723A;   /* brand orange (wordmark + book) — accent */
  --terra-pale:  #FBEEE2;
  --gold:        #C9963A;
  --cream:       #E9F6FD;   /* page background — soft blue */
  --sand:        #D6EAF6;   /* alternating section background */
  --border:      #CFE2EF;   /* blue-tinted borders */
  --midnight:    #16263F;   /* deep navy — headings + footer */
  --slate:       #44566B;
  --muted:       #8398A8;
  --white:       #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1160px;
  --nav-h: 72px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 4px rgba(25,32,46,.07);
  --shadow-md: 0 4px 20px rgba(25,32,46,.10);
  --shadow-lg: 0 8px 40px rgba(25,32,46,.14);

  --ease: .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--midnight);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Layout utilities ───────────────────────────────────────── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-terra  { color: var(--terra); }
.text-muted  { color: var(--muted); }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mb-8   { margin-bottom: 8px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.mb-48  { margin-bottom: 48px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-xl);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61,116,184,.28);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 6px 24px rgba(61,116,184,.38); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal-pale); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn-terra {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(226,114,58,.28);
}
.btn-terra:hover { background: #a8572f; }

.btn-lg  { padding: 18px 36px; font-size: 17px; }
.btn-sm  { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(233,246,253,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-account { font-weight: 600; color: var(--teal-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover  { background: var(--sand); color: var(--midnight); }
.nav-links a.active { color: var(--teal); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 9px 20px; font-size: 14px; letter-spacing: .02em; }
.nav-cta .btn:hover { transform: none; filter: brightness(1.08); }

.nav-social {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}
.nav-social a {
  display: flex;
  padding: 7px;
  border-radius: 50%;
  color: var(--slate);
  transition: color var(--ease), background var(--ease);
}
.nav-social a:hover { color: var(--teal); background: var(--teal-pale); }

.mobile-menu-social {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.mobile-menu-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--teal-dark);
  transition: background var(--ease), color var(--ease);
}
.mobile-menu-social a:hover { background: var(--teal); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--midnight);
}

/* ── Mobile menu ────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 200;
  padding: 24px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--slate);
  line-height: 1;
  padding: 4px;
}
.mobile-menu-links { list-style: none; }
.mobile-menu-links li { border-bottom: 1px solid var(--border); }
.mobile-menu-links a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--midnight);
}
.mobile-menu-links a:last-of-type { color: var(--teal); font-weight: 500; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--midnight);
  overflow: hidden;
}
/* Slow crossfading Ken Burns slideshow of Argentina behind the hero.
   5 slides share one 40s loop, each staggered by 8s. */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
  animation: heroKenBurns 40s linear infinite;
}
.hero-slide:nth-child(1) { animation-delay:  0s; }
.hero-slide:nth-child(2) { animation-delay:  8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide:nth-child(4) { animation-delay: 24s; }
.hero-slide:nth-child(5) { animation-delay: 32s; }

@keyframes heroKenBurns {
  0%   { opacity: 0; transform: scale(1.08) translate3d(0, 0, 0); }
  3%   { opacity: .72; }
  18%  { opacity: .72; }
  21%  { opacity: 0; transform: scale(1.16) translate3d(-2.5%, -1.5%, 0); }
  100% { opacity: 0; transform: scale(1.08) translate3d(0, 0, 0); }
}

/* Navy→blue wash, kept heavier on the left so the white headline stays legible
   while the photos read clearly across the rest of the hero. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(16,30,55,.82) 0%, rgba(18,34,64,.55) 38%, rgba(34,75,122,.30) 70%, rgba(61,116,184,.28) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide:nth-child(1) { opacity: .72; }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  padding: 6px 16px;
  border-radius: var(--r-xl);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.15);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 7.5vw, 92px);
  font-weight: 300;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 24px;
  max-width: 800px;
}
.hero-title em     { font-style: italic; color: rgba(255,255,255,.62); }
.hero-title strong { font-weight: 600; }

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: .5; }
  50%      { opacity: 1; }
}

/* ── Sections ───────────────────────────────────────────────── */
.section       { padding: 96px 0; }
.section-sm    { padding: 56px 0; }
.section-sand  { background: var(--sand); }
.section-white { background: var(--white); }
.section-teal  { background: var(--teal); color: var(--white); }
.section-midnight { background: var(--midnight); color: var(--white); }
.section-teal-pale { background: var(--teal-pale); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}
.section-midnight .section-label,
.section-teal .section-label { color: rgba(255,255,255,.55); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-midnight .section-title em,
.section-teal .section-title em { color: rgba(255,255,255,.55); }

.section-body {
  font-size: 18px;
  color: var(--slate);
  max-width: 600px;
  line-height: 1.72;
}
.section-midnight .section-body,
.section-teal .section-body { color: rgba(255,255,255,.65); }

/* ── Grid ───────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.icon-teal  { background: var(--teal-pale); }
.icon-terra { background: var(--terra-pale); }
.icon-gold  { background: rgba(201,150,58,.12); }
.icon-sand  { background: var(--sand); }

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.card-body { font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ── Stat bar ───────────────────────────────────────────────── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stat-item {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 300;
  color: var(--teal);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--slate); }

/* ── Trip option cards ──────────────────────────────────────── */
.trip-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: all var(--ease);
  cursor: pointer;
  display: block;
}
.trip-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.trip-card.featured { border-color: var(--teal); background: var(--teal-pale); }

.trip-badge {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--r-xl);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.trip-duration {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  color: var(--teal);
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 4px;
}
.trip-duration span { font-size: 24px; letter-spacing: 0; vertical-align: super; }

.trip-includes {
  list-style: none;
  margin: 20px 0 28px;
}
.trip-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--slate);
  border-bottom: 1px solid var(--border);
}
.trip-includes li:last-child { border-bottom: none; }
.trip-includes li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── How it works ───────────────────────────────────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--terra));
}
.how-step { text-align: center; padding: 0 24px; position: relative; }
.how-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-num-1 { background: var(--teal); color: var(--white); }
.step-num-2 { background: var(--terra); color: var(--white); }
.step-num-3 { background: var(--midnight); color: var(--white); }
.how-step-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.how-step-body  { font-size: 15px; color: var(--slate); }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: .8;
  color: var(--teal-pale);
  position: absolute;
  top: 20px;
  left: 28px;
  pointer-events: none;
}
.testimonial-stars { color: #F59E0B; font-size: 14px; margin-bottom: 12px; }
.testimonial-text {
  font-size: 16px;
  line-height: 1.72;
  color: var(--slate);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
  border: 2px solid var(--teal-pale);
}
.testimonial-name { font-weight: 600; font-size: 15px; }
.testimonial-meta { font-size: 13px; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--midnight);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--ease), background var(--ease);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal); color: var(--white); }
.faq-answer {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.72;
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease, padding .38s ease;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 20px; }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--midnight) 0%, #234B7A 55%, var(--teal) 100%);
  border-radius: var(--r-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '✈';
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 140px;
  opacity: .04;
  transform: rotate(-15deg);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.025em;
}
.cta-banner h2 em { font-style: italic; color: rgba(255,255,255,.55); }
.cta-banner p     { color: rgba(255,255,255,.65); font-size: 18px; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions      { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(150deg, var(--midnight) 0%, #234B7A 60%, var(--teal) 100%);
  padding: 80px 0 64px;
  color: var(--white);
}
.page-hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  display: block;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  max-width: 720px;
}
.page-hero-title em     { font-style: italic; color: rgba(255,255,255,.55); }
.page-hero-title strong { font-weight: 600; }
.page-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.68);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Two-column split layout ────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ── Visual placeholder (replaces hero images) ──────────────── */
.img-block {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.img-block-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.8);
  padding: 4px 12px;
  border-radius: var(--r-xl);
}

/* ── Story timeline ─────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--terra), transparent);
}
.timeline-item { margin-bottom: 36px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.timeline-body { font-size: 15px; color: var(--slate); line-height: 1.65; }

/* ── Neighborhood cards ─────────────────────────────────────── */
.neighborhood-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease);
}
.neighborhood-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.neighborhood-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}
.neighborhood-body { padding: 20px 22px; }
.neighborhood-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.neighborhood-vibe {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  padding: 2px 10px;
  border-radius: var(--r-xl);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.neighborhood-desc { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* ── Experience tiles (BA page) ─────────────────────────────── */
.experience-tile {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--ease), box-shadow var(--ease);
}
.experience-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.exp-icon { font-size: 32px; flex-shrink: 0; }
.exp-title { font-family: var(--font-display); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.exp-body  { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* ── Builder ────────────────────────────────────────────────── */
.builder-layout {
  max-width: 720px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
}
.step-indicator::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.step-dot-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--ease);
}
.step-dot.active .step-dot-circle {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--teal-pale);
}
.step-dot.done .step-dot-circle {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.step-dot-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  letter-spacing: .02em;
}
.step-dot.active .step-dot-label { color: var(--teal); font-weight: 600; }

.step-panel { display: none; animation: fadeSlide .28s ease; }
.step-panel.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-heading { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin-bottom: 6px; letter-spacing: -.02em; }
.step-sub     { color: var(--slate); margin-bottom: 28px; font-size: 15px; }

.builder-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Radio cards */
.radio-grid   { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.radio-card   { position: relative; }
.radio-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card-label {
  display: block;
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--ease);
  background: var(--white);
  user-select: none;
}
.radio-card-label:hover { border-color: var(--teal); }
.radio-card input:checked + .radio-card-label {
  border-color: var(--teal);
  background: var(--teal-pale);
  box-shadow: 0 0 0 3px rgba(61,116,184,.15);
}
.radio-card-icon  { font-size: 30px; margin-bottom: 10px; }
.radio-card-title { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.radio-card-desc  { font-size: 13px; color: var(--slate); line-height: 1.5; }

/* Checkbox cards */
.checkbox-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.checkbox-card { position: relative; }
.checkbox-card input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-card-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--ease);
  background: var(--white);
  user-select: none;
}
.checkbox-card-label:hover { border-color: var(--terra); }
.checkbox-card input:checked + .checkbox-card-label {
  border-color: var(--terra);
  background: var(--terra-pale);
}
.checkbox-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all var(--ease);
  color: transparent;
  background: var(--white);
}
.checkbox-card input:checked + .checkbox-card-label .checkbox-check {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--white);
}
.checkbox-card-content { flex: 1; }
.checkbox-card-icon    { font-size: 24px; margin-bottom: 4px; }
.checkbox-card-title   { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.checkbox-card-desc    { font-size: 13px; color: var(--slate); line-height: 1.5; }

/* Level select */
.level-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }

/* Info box */
.info-box {
  background: var(--teal-pale);
  border: 1px solid rgba(61,116,184,.25);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--slate);
}
.info-box strong { color: var(--teal-dark); }

/* ── Form ───────────────────────────────────────────────────── */
.form-group  { margin-bottom: 20px; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label  { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--midnight); }
.form-label span { color: var(--terra); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--midnight);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(61,116,184,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  margin-bottom: 20px;
}
.form-success {
  background: var(--teal-pale);
  border: 1px solid rgba(61,116,184,.3);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
}
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 10px; color: var(--teal-dark); }
.form-success p  { color: var(--slate); font-size: 16px; }

/* ── What happens next ──────────────────────────────────────── */
.next-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.next-step  { text-align: center; padding: 24px; }
.next-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 14px;
}
.next-step-title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.next-step-body  { font-size: 14px; color: var(--slate); }

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
}
.pricing-card.featured { border-color: var(--teal); background: var(--teal-pale); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--terra);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--r-xl);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pricing-header { margin-bottom: 20px; }
.pricing-duration {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--teal);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-note { font-size: 13px; color: var(--muted); }
.pricing-includes {
  list-style: none;
  margin: 20px 0 28px;
}
.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--slate);
}
.pricing-includes li:last-child { border-bottom: none; }
.pricing-includes li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--midnight);
  color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}
.footer-logo img { height: 92px; width: auto; display: block; }
.footer-tagline { font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--ease), color var(--ease);
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 14px; transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Animations ─────────────────────────────────────────────── */
/* fade-up only activates when JS adds .js-animate to <body> */
.js-animate .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.js-animate .fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Tags ───────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-xl);
  font-size: 12px;
  font-weight: 600;
}
.tag-teal  { background: var(--teal-pale); color: var(--teal-dark); }
.tag-terra { background: var(--terra-pale); color: var(--terra); }
.tag-sand  { background: var(--sand); color: var(--slate); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3     { grid-template-columns: repeat(2,1fr); }
  .grid-4     { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-bar   { grid-template-columns: repeat(2,1fr); }
  .stat-item  { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-steps::before { display: none; }
  .split      { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .next-steps { grid-template-columns: 1fr; gap: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Auth (login / signup / account) ─────────────────────────── */
.auth-section { padding: 72px 0 96px; background: var(--cream); min-height: 60vh; }
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 6px;
  color: var(--midnight);
}
.auth-card h1 em { font-style: italic; color: var(--teal); }
.auth-sub { color: var(--slate); font-size: 15px; margin-bottom: 28px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--slate); margin-top: 24px; }
.auth-alt a { color: var(--teal-dark); font-weight: 600; }
.auth-meta { display: flex; justify-content: flex-end; margin: -8px 0 20px; }
.auth-meta a { font-size: 13px; color: var(--muted); }
.auth-meta a:hover { color: var(--teal-dark); }
.logout-btn {
  background: none; border: none; cursor: pointer;
  font: inherit; color: inherit; padding: 0;
}

/* Account dashboard */
.account-panel { max-width: 720px; margin: 0 auto; }
.account-grid { display: grid; gap: 0; }
.account-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.account-row:last-child { border-bottom: none; }
.account-row .label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.account-row .value { color: var(--midnight); font-weight: 500; }
.nav-user { display: flex; align-items: center; gap: 14px; }

.account-empty {
  background: var(--white); border: 1px dashed var(--border);
  border-radius: var(--r-lg); padding: 32px; text-align: center; color: var(--slate);
}
.account-subhead {
  font-family: var(--font-display); font-weight: 400; font-size: 20px;
  color: var(--midnight); margin: 28px 0 16px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.account-pw-form { max-width: 520px; }
.account-pw-success {
  background: var(--teal-pale); border: 1px solid rgba(61,116,184,.3);
  color: var(--teal-dark); padding: 12px 16px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; margin-bottom: 16px;
}

.trip-list, .inquiry-list { display: grid; gap: 16px; }
.trip-card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.trip-program { font-family: var(--font-display); font-size: 20px; color: var(--midnight); }
.trip-dates { color: var(--slate); font-size: 14px; margin-top: 4px; }
.trip-notes { color: var(--muted); font-size: 14px; margin-top: 8px; }
.status-pill {
  flex-shrink: 0; font-size: 12px; font-weight: 600; text-transform: capitalize;
  padding: 5px 12px; border-radius: 999px;
}

.inquiry-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 22px;
}
.inquiry-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 12px; }
.inquiry-program { font-weight: 600; color: var(--teal-dark); font-size: 15px; }
.inquiry-date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.inquiry-message { color: var(--slate); font-size: 15px; line-height: 1.6; white-space: pre-wrap; }

/* Admin */
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; }
.admin-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; margin-bottom: 24px; border-bottom: 1px solid var(--border);
}
.admin-bar h1 { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.admin-section { margin-bottom: 48px; }
.admin-section h2 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin-bottom: 16px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.admin-table th { background: var(--sand); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--slate); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.admin-inline { display: flex; gap: 8px; align-items: center; }
.admin-inline select { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-family: var(--font-body); font-size: 13px; }

@media (max-width: 640px) {
  .auth-card  { padding: 28px 22px; }
  .grid-2     { grid-template-columns: 1fr; }
  .grid-3     { grid-template-columns: 1fr; }
  .radio-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .level-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section    { padding: 64px 0; }
  .cta-banner { padding: 44px 24px; }
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  .form-row   { grid-template-columns: 1fr; }
  .stat-bar   { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-title { font-size: 44px; }
}

/* ── Legal / privacy prose ───────────────────────────────────── */
.legal-prose { max-width: 760px; margin: 0 auto; }
.legal-prose p  { color: var(--slate); margin-bottom: 18px; line-height: 1.75; }
.legal-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--midnight); margin: 38px 0 14px; }
.legal-prose ul { margin: 0 0 18px 22px; color: var(--slate); line-height: 1.75; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose a  { color: var(--teal-dark); text-decoration: underline; }
.legal-updated  { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.legal-note     { font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 20px; margin-top: 32px; }

/* ── Footer legal line ───────────────────────────────────────── */
.footer-legal { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.78); text-decoration: underline; }
.footer-legal a:hover { color: #fff; }

/* ── Cookie banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 290;
  max-width: 440px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.cookie-banner[hidden] { display: none; }
.cookie-text { font-size: 13.5px; color: var(--slate); line-height: 1.55; margin: 0; }
.cookie-text a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; }

/* ── Accessibility widget ────────────────────────────────────── */
.a11y-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--ease), background var(--ease);
}
.a11y-fab:hover { background: var(--teal-dark); transform: translateY(-2px); }

.a11y-panel {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 301;
  width: 262px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.a11y-panel-head strong { font-family: var(--font-display); font-size: 18px; color: var(--midnight); }
.a11y-close { background: none; border: none; cursor: pointer; font-size: 15px; color: var(--muted); padding: 4px; }
.a11y-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--midnight);
  cursor: pointer;
}
.a11y-option:last-of-type { border-bottom: none; }
.a11y-switch { width: 18px; height: 18px; accent-color: var(--teal); cursor: pointer; }
.a11y-reset {
  margin-top: 12px;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--slate);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.a11y-reset:hover { background: var(--sand); }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; text-align: center; }
  body.cookie-open .a11y-fab, body.cookie-open .a11y-panel { display: none; }
}

/* ── Accessibility modes ─────────────────────────────────────── */
/* Larger text — scale the whole UI up. */
html.a11y-large-text body { zoom: 1.12; }

/* High contrast — retint via the design tokens + flatten section backgrounds. */
html.a11y-contrast {
  --slate: #15181c;
  --muted: #2b2f36;
  --midnight: #000000;
  --border: #4a4a4a;
  --cream: #ffffff;
  --sand: #ffffff;
  --teal-pale: #ffffff;
  --teal: #0b4fa0;
  --teal-dark: #06346e;
}
html.a11y-contrast body { background: #fff; }
html.a11y-contrast a:not(.btn):not(.nav-logo):not(.footer-logo) { text-decoration: underline; }

/* Underline links. */
html.a11y-underline-links a:not(.btn):not(.nav-logo):not(.footer-logo) { text-decoration: underline; }

/* Reduce motion — stop the hero slideshow and scroll/fade animations. */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
html.a11y-reduce-motion .hero-slide { animation: none; opacity: 0; }
html.a11y-reduce-motion .hero-slide:first-of-type { opacity: .72; }
html.a11y-reduce-motion .fade-up { opacity: 1 !important; transform: none !important; }

/* ================================================================
   PORTAL — shared by traveller account + admin
   Mirrors CoVA Creative portal structure with ViaHEY brand colours.
   ================================================================ */

/* ── Layout ─────────────────────────────────────────────────── */
.portal-layout {
  display: flex;
  min-height: 100vh;
  background: var(--teal-pale);
}

/* ── Sidebar ────────────────────────────────────────────────── */
.portal-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #0e1c35 0%, var(--midnight) 100%);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.portal-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.portal-brand img { height: 52px; width: auto; display: block; }
.portal-label {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .4rem;
}
.portal-menu { flex: 1; padding: .75rem 0; list-style: none; }
.portal-menu li a,
.portal-logout-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.25rem;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.portal-menu li a:hover,
.portal-logout-btn:hover { background: rgba(255,255,255,.08); color: #fff; transform: none; }
.portal-menu li a.active { background: var(--teal); color: #fff; }
.portal-divider { height: 1px; background: rgba(255,255,255,.1); margin: .5rem 1rem; list-style: none; }
.portal-logout-btn { color: rgba(255,100,100,.8); }
.portal-logout-btn:hover { color: #ff6b6b; background: rgba(255,100,100,.1); }
.portal-user-info {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.portal-avatar {
  width: 36px; height: 36px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.portal-user-name { font-size: .85rem; font-weight: 600; color: #fff; }
.portal-user-role { font-size: .72rem; color: rgba(255,255,255,.45); }

/* ── Main content ───────────────────────────────────────────── */
.portal-main { flex: 1; padding: 2rem; background: var(--teal-pale); min-width: 0; }
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.portal-header h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: .2rem;
  color: var(--midnight);
}
.portal-header p { color: var(--slate); font-size: .92rem; }

/* ── Stat cards ─────────────────────────────────────────────── */
.portal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.stat-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.stat-card-icon.planning   { background: #fef3c7; color: #d97706; }
.stat-card-icon.confirmed  { background: var(--teal-pale); color: var(--teal-dark); }
.stat-card-icon.completed  { background: #d1fae5; color: #059669; }
.stat-card-icon.total      { background: #f1f5f9; color: var(--slate); }
.stat-card-icon.inquiries  { background: var(--terra-pale); color: #c25a28; }
.stat-card-icon.travellers { background: #f0f4ff; color: #4361c2; }
.stat-card-number { font-size: 1.75rem; font-weight: 800; color: var(--midnight); line-height: 1; }
.stat-card-label  { font-size: .78rem; color: var(--slate); margin-top: .2rem; }

/* ── Portal section cards ───────────────────────────────────── */
.portal-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.portal-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.portal-section-header h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--midnight);
  margin: 0;
}

/* ── Portal table ───────────────────────────────────────────── */
.portal-table-wrap { overflow-x: auto; }
.portal-table { width: 100%; border-collapse: collapse; }
.portal-table th {
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .75rem 1rem;
  border-bottom: 2px solid var(--border);
  background: var(--teal-pale);
}
.portal-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  vertical-align: top;
  color: var(--midnight);
}
.portal-table tr:last-child td { border-bottom: none; }
.portal-table tr:hover td { background: #f8fbff; }
.portal-cell-muted { color: var(--muted); font-size: .82rem; margin-top: .15rem; }

/* ── Status badges ──────────────────────────────────────────── */
.p-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: 50px;
  font-size: .74rem;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
}
.p-badge-planning   { background: #fef3c7; color: #92400e; }
.p-badge-confirmed  { background: var(--teal-pale); color: var(--teal-dark); }
.p-badge-completed  { background: #d1fae5; color: #065f46; }
.p-badge-cancelled  { background: #f1f5f9; color: var(--muted); }
.p-badge-inquiry    { background: var(--terra-pale); color: #a04e22; }
.p-badge-admin      { background: #f0f4ff; color: #3451b2; }
.p-badge-traveller  { background: var(--teal-pale); color: var(--teal-dark); }

/* ── Portal empty state ─────────────────────────────────────── */
.portal-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--slate);
}
.portal-empty p { margin-bottom: 1rem; }

/* ── Portal inline status select ───────────────────────────── */
.portal-status-form { display: inline-flex; }
.portal-status-select {
  padding: .25rem .5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--midnight);
  background: var(--white);
  cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .portal-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .portal-sidebar { display: none; }
  .portal-layout  { flex-direction: column; }
  .portal-main    { padding: 1rem; }
  .portal-stats   { grid-template-columns: 1fr 1fr; }
}
