/* ═══════════════════════════════════════════════════════
   Magic Seas Travel — Shared Design System
   mst.css  |  Used by all pages in /Redesign
   ═══════════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  /* Brand surfaces */
  --navy:        #06101f;
  --navy-mid:    #0b1e35;
  --navy-light:  #122848;
  --navy-deep:   #030a14;

  /* Brand accents */
  --teal:        #0ea5a0;
  --teal-light:  #34d3cf;
  --teal-glow:   #5eead4;
  --gold:        #d4a843;
  --gold-light:  #f0c96a;
  --gold-glow:   #ffe0a3;

  /* Elite (jewel) accent — was referenced but never defined */
  --elite-deep:  #6d28d9;
  --elite-mid:   #a855f7;
  --elite-light: #e879f9;

  /* Text */
  --white:       #f5f7fa;
  --muted:       #a9b8cc;          /* lifted from #94a3b8 for AA contrast on navy */
  --muted-dim:   #7d8da0;

  /* Glass / elevation */
  --card-bg:     rgba(255,255,255,0.045);
  --card-bg-2:   rgba(255,255,255,0.07);
  --card-border: rgba(255,255,255,0.10);
  --card-hair:   rgba(255,255,255,0.16);

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.28);
  --shadow-md:   0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg:   0 28px 70px rgba(0,0,0,0.5);
  --glow-teal:   0 0 44px rgba(14,165,160,0.28);
  --glow-gold:   0 0 44px rgba(212,168,67,0.28);

  /* Radii */
  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 100px;

  /* Motion */
  --transition:  0.4s cubic-bezier(0.25,0.8,0.25,1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    0.18s;
  --dur:         0.35s;
  --dur-slow:    0.7s;

  /* Fluid type scale */
  --fs-display:  clamp(2.9rem, 1.6rem + 5.4vw, 6rem);
  --fs-h1:       clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem);
  --fs-h2:       clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  --fs-h3:       clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --fs-body:     clamp(0.95rem, 0.9rem + 0.22vw, 1.06rem);
  --fs-sm:       0.87rem;
  --fs-xs:       0.72rem;

  /* Layout */
  --gutter:      clamp(1.25rem, 5vw, 5rem);
  --maxw:        1200px;
  --nav-h:       92px;

  /* Signature gradients */
  --grad-teal:   linear-gradient(135deg, var(--teal), var(--teal-light));
  --grad-gold:   linear-gradient(135deg, var(--gold), var(--gold-light));
  --grad-elite:  linear-gradient(135deg, var(--elite-deep), var(--elite-light));
  --grad-ink:    linear-gradient(160deg, #06101f 0%, #0a1a2e 45%, #081628 100%);
}

/* Translucent brand tints — static fallback first, color-mix override after */
:root {
  --teal-05:  rgba(14,165,160,0.05);
  --teal-12:  rgba(14,165,160,0.12);
  --teal-25:  rgba(14,165,160,0.25);
  --gold-12:  rgba(212,168,67,0.12);
  --gold-25:  rgba(212,168,67,0.25);
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --teal-05:  color-mix(in srgb, var(--teal) 5%,  transparent);
    --teal-12:  color-mix(in srgb, var(--teal) 12%, transparent);
    --teal-25:  color-mix(in srgb, var(--teal) 25%, transparent);
    --gold-12:  color-mix(in srgb, var(--gold) 12%, transparent);
    --gold-25:  color-mix(in srgb, var(--gold) 25%, transparent);
  }
}

/* Smooth same-origin page transitions (progressive enhancement) */
@view-transition { navigation: auto; }

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem); /* anchors clear the fixed nav */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

/* Typographic polish — modern line-breaking */
h1, h2, h3, h4 { text-wrap: balance; }
p  { text-wrap: pretty; }

/* ─── Focus visibility (accessibility) ───────────────── */
:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link — first tab stop for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 4000;
  background: var(--teal-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ─── Selection & scrollbar ──────────────────────────── */
::selection { background: var(--teal); color: var(--navy); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--teal), var(--teal-light));
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover { background: var(--teal-light); }
html { scrollbar-color: var(--teal) var(--navy-deep); scrollbar-width: thin; }

/* ─── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ─── Container ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ─── Nav ────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--gutter);
  background: linear-gradient(180deg, rgba(6,16,31,0.72), rgba(6,16,31,0.34));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: padding var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

/* Condensed state once the user scrolls */
#nav.scrolled {
  padding: 0.5rem var(--gutter);
  background: rgba(6,16,31,0.88);
  border-bottom-color: var(--card-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

/* Reading-progress hairline across the top of the nav */
#nav::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--gold-light));
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
}
#nav.scrolled::after { opacity: 1; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.nav-logo img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(14,165,160,0.35));
  transition: height var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
}
#nav.scrolled .nav-logo img { height: 48px; }
.nav-logo:hover img { filter: drop-shadow(0 0 16px rgba(52,211,207,0.6)); }

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.nav-wordmark span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
}
.nav-wordmark span:last-child {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.nav-links a {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8eef6;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
/* Pill hover instead of the old underline — bigger target, softer motion */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0.32rem;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width var(--dur) var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 26px; }

.nav-cta {
  background: var(--grad-teal);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0.62rem 1.4rem !important;
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(14,165,160,0.28);
  transition: transform var(--dur) var(--ease-spring),
              box-shadow var(--dur) var(--ease-out) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--grad-teal) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14,165,160,0.45) !important;
  color: var(--navy) !important;
}
/* Sheen sweep */
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-out);
}
.nav-cta:hover::before { transform: translateX(120%); }

/* Hamburger → animated X */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  width: 46px; height: 46px;   /* 44px+ touch target */
  padding: 0;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.hamburger:hover { background: rgba(255,255,255,0.1); border-color: var(--card-hair); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) linear;
}
#nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav.open .hamburger span:nth-child(2) { opacity: 0; }
#nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Page hero base ─────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem 5% 4rem;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, var(--navy) 0%, transparent 60%);
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
}
.page-hero .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
}
.page-hero .hero-label::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--teal);
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 1.8rem;
}

/* ─── Orbs ───────────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,-30px) scale(1.08); }
}

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(212,168,67,0.35);
}
.btn-elite {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(192,38,211,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-elite:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(192,38,211,0.6);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--card-border);
  color: var(--white);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-outline:hover {
  border-color: var(--teal);
  background: rgba(14,165,160,0.1);
  transform: translateY(-3px);
}
.btn-elite {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  box-shadow: 0 0 18px rgba(192,38,211,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-elite:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(192,38,211,0.6);
}
.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(14,165,160,0.35);
}

/* ─── Section commons ────────────────────────────────── */
section { padding: 5rem 5%; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.9rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--teal);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-desc {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}
.section-center { text-align: center; }
.section-center .section-label { justify-content: center; }
.section-center .section-desc { margin: 0 auto; }

/* ─── Reveal animation ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Glass cards ────────────────────────────────────── */
.glass-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14,165,160,0.22);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 40px rgba(14,165,160,0.06);
}
.glass-card:hover::before { opacity: 1; }

/* ─── Icon badge ─────────────────────────────────────── */
.icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,165,160,0.18), rgba(14,165,160,0.05));
  border: 1px solid rgba(14,165,160,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--teal-light);
  flex-shrink: 0;
}
.icon-badge.gold {
  background: linear-gradient(135deg, rgba(212,168,67,0.18), rgba(212,168,67,0.05));
  border-color: rgba(212,168,67,0.22);
  color: var(--gold-light);
}
.icon-badge.purple {
  background: linear-gradient(135deg, rgba(147,51,234,0.18), rgba(147,51,234,0.05));
  border-color: rgba(147,51,234,0.22);
  color: #c084fc;
}

/* ─── Tag chip ───────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(14,165,160,0.3);
  border-radius: 100px;
  padding: 0.22rem 0.7rem;
  background: rgba(14,165,160,0.07);
}
.tag.gold {
  color: var(--gold);
  border-color: rgba(212,168,67,0.3);
  background: rgba(212,168,67,0.07);
}

/* ─── Modal ──────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.open { display: block; }
.modal-box {
  background: var(--navy-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 680px;
  margin: 4% auto;
  padding: 2.5rem;
  position: relative;
  animation: slideUp 0.35s ease;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
}
.modal-close:hover { color: var(--white); }
.modal-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.2rem;
  display: block;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}
.modal-desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.modal-desc strong { color: var(--teal-light); font-weight: 600; }
.modal-desc ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}
.modal-desc li { margin-bottom: 0.4rem; }

/* ─── CTA band ───────────────────────────────────────── */
.cta-band {
  background: var(--navy-light);
  padding: 5rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .orb-bg {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,160,0.1), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(100px);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  position: relative;
}
.cta-band h2 em { font-style: italic; color: var(--gold-light); }
.cta-band p {
  font-size: 0.97rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 2rem;
  position: relative;
}
.cta-band .actions { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Wave divider ───────────────────────────────────── */
.wave { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave svg { display: block; width: 100%; }

/* ─── Back to top ────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(14,165,160,0.15);
  border-color: rgba(14,165,160,0.4);
}

/* ─── Footer ─────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--card-border);
  padding: 3.5rem 5% 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
}
.footer-brand p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 0.9rem;
  max-width: 290px;
}
.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.3rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover {
  background: rgba(14,165,160,0.1);
  color: var(--teal-light);
  border-color: rgba(14,165,160,0.3);
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col ul a {
  font-size: 0.87rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-bottom p { font-size: 0.73rem; color: var(--muted); line-height: 1.6; }
.footer-copyright { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-legal { width: 100%; text-align: center; margin-top: 1rem; font-size: 0.7rem; color: var(--muted); line-height: 1.6; }
.footer-legal strong { font-weight: 700; }

/* ─── Animations ─────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { gap: 0.1rem; }
  .nav-links a { padding: 0.55rem 0.6rem; font-size: 0.72rem; }
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-wordmark span:first-child { font-size: 1.05rem; }
}
@media (max-width: 700px) {
  section { padding: 3.5rem var(--gutter); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom p[style] { text-align: left !important; }
  .back-to-top { bottom: 5.5rem; right: 1rem; }  /* clears the sticky mobile CTA */
}
@media (max-width: 500px) {
  .page-hero { padding: 6rem var(--gutter) 3rem; }
}

/* ─── Mobile drawer ──────────────────────────────────── */
#nav.open {
  background: transparent;
  /* backdrop-filter makes an element the containing block for its
     position:fixed descendants, which trapped the drawer inside the
     101px nav box. Drop it while open — the drawer paints its own
     background and blur across the full viewport instead. */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: transparent;
}
#nav.open .nav-links {
  display: flex;
  flex-direction: column;
  /* Full-viewport panel. Anchoring the top to a fixed --nav-h left a seam
     wherever the real nav was taller, so cover everything and pad the links
     down instead — the logo and hamburger sit above this at z-index 2. */
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,31,0.98), rgba(3,10,20,0.99));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 3rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1;
}
#nav.open .nav-links li {
  opacity: 0;
  transform: translateY(14px);
  animation: drawerIn 0.42s var(--ease-out) forwards;
}
#nav.open .nav-links li:nth-child(1) { animation-delay: 0.04s; }
#nav.open .nav-links li:nth-child(2) { animation-delay: 0.08s; }
#nav.open .nav-links li:nth-child(3) { animation-delay: 0.12s; }
#nav.open .nav-links li:nth-child(4) { animation-delay: 0.16s; }
#nav.open .nav-links li:nth-child(5) { animation-delay: 0.20s; }
#nav.open .nav-links li:nth-child(6) { animation-delay: 0.24s; }
#nav.open .nav-links li:nth-child(7) { animation-delay: 0.28s; }
@keyframes drawerIn {
  to { opacity: 1; transform: translateY(0); }
}
#nav.open .nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#nav.open .nav-links a::after { display: none; }
#nav.open .nav-links .nav-cta {
  margin-top: 1.2rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: none;
  padding: 1rem 1.4rem !important;
}
#nav.open .nav-logo,
#nav.open .hamburger { position: relative; z-index: 2; }

/* Lock background scroll while the drawer is open */
body.nav-locked { overflow: hidden; }

/* ═══════════════════════════════════════════════════════
   MODERN LAYER — 2026 refresh
   Appended last so it refines the base components above.
   ═══════════════════════════════════════════════════════ */

/* ─── Buttons: spring lift + sheen sweep ─────────────── */
.btn-primary, .btn-teal, .btn-outline, .btn-elite {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 46px;                 /* comfortable touch target */
  justify-content: center;
  transition: transform var(--dur) var(--ease-spring),
              box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.btn-primary::after, .btn-teal::after, .btn-elite::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.5) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease-out);
}
.btn-primary:hover::after, .btn-teal:hover::after, .btn-elite:hover::after {
  transform: translateX(130%);
}
.btn-primary:active, .btn-teal:active,
.btn-outline:active, .btn-elite:active { transform: translateY(-1px) scale(0.985); }

/* Arrow nudge on any button containing an icon */
.btn-primary i, .btn-teal i, .btn-outline i, .btn-elite i {
  transition: transform var(--dur) var(--ease-out);
}
.btn-primary:hover i.fa-arrow-right,
.btn-teal:hover i.fa-arrow-right,
.btn-outline:hover i.fa-arrow-right,
.btn-elite:hover i.fa-arrow-right { transform: translateX(4px); }

.btn-elite {
  background: var(--grad-elite);
  box-shadow: 0 0 20px rgba(168,85,247,0.4);
}
.btn-elite:hover { box-shadow: 0 14px 40px rgba(168,85,247,0.55); }

/* ─── Film grain overlay ─────────────────────────────── */
/* Tactile texture over flat gradients — subtle, GPU-cheap, no extra request */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ─── Gradient / shine text ──────────────────────────── */
.text-gradient {
  background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold-glow) 30%, var(--gold) 55%, var(--gold-light) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineText 7s ease-in-out infinite;
}
.text-gradient-teal {
  background: linear-gradient(100deg, var(--teal-light), var(--teal-glow) 45%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes shineText {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ─── Spotlight-follow glass card ────────────────────── */
/* --mx/--my are set from JS on pointer move; degrades to a soft top glow */
.spotlight {
  position: relative;
  isolation: isolate;
}
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(52,211,207,0.16), transparent 62%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ─── Bento grid ─────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.bento-item {
  background: linear-gradient(155deg, var(--card-bg-2), var(--card-bg));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
  min-height: 190px;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.bento-item:hover {
  transform: translateY(-5px);
  border-color: var(--teal-25);
  box-shadow: var(--shadow-md), var(--glow-teal);
}
.bento-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
}
.bento-item p {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-tall   { grid-row: span 2; justify-content: space-between; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-span-2, .bento-span-3, .bento-span-4, .bento-span-6 { grid-column: span 2; }
  .bento-tall { grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-span-2, .bento-span-3, .bento-span-4, .bento-span-6 { grid-column: span 1; }
  .bento-item { padding: 1.6rem; min-height: 0; }
}

/* ─── Logo marquee (infinite scroll) ─────────────────── */
.marquee {
  --marquee-duration: 46s;
  position: relative;
  overflow: hidden;
  padding: 0.6rem 0;
  /* Feather the edges so logos fade in and out rather than clipping */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll var(--marquee-duration) linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }  /* track holds two identical halves */
}
/* Logos sit on a light chip and keep their real brand colours.
   Most of these marks are dark navy/blue on a transparent background, so on
   the navy section they need a light surface behind them - greyscaling and
   over-brightening instead just made them look chalky. */
.marquee-track img {
  height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  box-sizing: content-box;
  transition: transform var(--dur) var(--ease-spring),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.marquee-track img:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4), 0 0 22px rgba(52,211,207,0.28);
  border-color: var(--teal-25);
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ─── Animated stat counters ─────────────────────────── */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-cell {
  background: var(--navy);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: background var(--dur) var(--ease-out);
}
.stat-cell:hover { background: var(--navy-mid); }
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.stat-key {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.55rem;
  line-height: 1.5;
}

/* ─── Photo card (Ken Burns) ─────────────────────────── */
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-mid);
  display: flex;
}
.photo-card .pc-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* works for <img class="pc-media"> */
  background-size: cover;     /* ...and for a div with a background image */
  background-position: center;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
  will-change: transform;
}
.photo-card:hover .pc-media,
.photo-card:focus-within .pc-media { transform: scale(1.11); filter: saturate(1.12); }
.photo-card .pc-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(3,10,20,0.95) 4%, rgba(3,10,20,0.55) 42%, rgba(3,10,20,0.12) 72%),
    linear-gradient(100deg, rgba(6,16,31,0.5), transparent 60%);
  transition: opacity var(--dur) var(--ease-out);
}
.photo-card .pc-body {
  position: relative;
  z-index: 2;
  padding: 2rem 1.8rem;
  margin-top: auto;
  width: 100%;
}

/* ─── Sticky mobile CTA bar ──────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(6,16,31,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--card-border);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease-out);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta a {
  flex: 1;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
}
@media (max-width: 860px) {
  .mobile-cta { display: flex; }
}
/* Hide it while the drawer is open so it cannot overlap menu items */
body.nav-locked .mobile-cta { transform: translateY(110%); }

/* ─── Scroll-driven reveal (native, with JS fallback) ── */
/* Browsers supporting scroll-driven animations reveal with zero JS. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: revealIn linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 26%;
    }
    @keyframes revealIn {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
  }
}

/* ─── Utilities ──────────────────────────────────────── */
.section-shell { max-width: var(--maxw); margin: 0 auto; }
.eyebrow-center { justify-content: center; }
.deferred { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.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;
}

/* ═══════════════════════════════════════════════════════
   MODERN PAGE HERO
   Used by the interior pages (cruises / disney / resorts).
   Mirrors the homepage hero at a shorter height. The older
   .page-hero above is left intact for pages not yet moved.
   ═══════════════════════════════════════════════════════ */
.page-hero.modern {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68svh;
  padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 4rem;
  overflow: hidden;
  isolation: isolate;
}

.ph-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: heroDrift 26s var(--ease-out) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1); }
}

/* Default (teal/navy) grade. Each page overrides the accent stops. */
.ph-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Heavy behind the text column, then falls away fast so the photograph
     still reads on the right. Bottom stop blends into the next section. */
  background:
    linear-gradient(100deg, rgba(3,10,20,0.92) 0%, rgba(5,14,26,0.66) 34%, rgba(6,16,31,0.14) 66%, rgba(6,16,31,0.24) 100%),
    linear-gradient(0deg, var(--navy) 0%, rgba(6,16,31,0.12) 40%, transparent 78%),
    radial-gradient(ellipse 70% 60% at 76% 24%, rgba(14,165,160,0.16) 0%, transparent 62%);
}

.page-hero.modern .grain { z-index: -1; opacity: 0.32; }
.page-hero.modern .orb   { z-index: -2; }

.page-hero.modern .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
}

/* Staged entrance, same rhythm as the homepage */
.page-hero.modern .hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.8s var(--ease-out) forwards;
}
.page-hero.modern .hero-content > *:nth-child(1) { animation-delay: 0.12s; }
.page-hero.modern .hero-content > *:nth-child(2) { animation-delay: 0.24s; }
.page-hero.modern .hero-content > *:nth-child(3) { animation-delay: 0.36s; }
.page-hero.modern .hero-content > *:nth-child(4) { animation-delay: 0.48s; }
.page-hero.modern .hero-content > *:nth-child(5) { animation-delay: 0.60s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Live badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(14,165,160,0.1);
  border: 1px solid var(--teal-25);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulseDot 2.2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,207,0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(52,211,207,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,207,0); }
}

.page-hero.modern h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.page-hero.modern h1 em { font-style: italic; }

.page-hero.modern .hero-sub {
  font-size: clamp(0.98rem, 0.93rem + 0.32vw, 1.14rem);
  font-weight: 300;
  color: #dce6f2;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

/* Trust chips */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  align-items: center;
  list-style: none;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #cfdcea;
}

.trust-chip i { color: var(--teal-light); font-size: 0.88rem; }

/* Per-page accent overrides */
.page-hero.modern.hero-disney .ph-scrim {
  background:
    linear-gradient(100deg, rgba(8,3,20,0.93) 0%, rgba(16,5,32,0.68) 34%, rgba(16,5,32,0.16) 66%, rgba(12,2,32,0.26) 100%),
    linear-gradient(0deg, var(--navy) 0%, rgba(16,5,32,0.12) 40%, transparent 78%),
    radial-gradient(ellipse 70% 60% at 76% 22%, rgba(168,85,247,0.2) 0%, transparent 62%),
    radial-gradient(ellipse 50% 60% at 10% 86%, rgba(236,72,153,0.12) 0%, transparent 58%);
}
.hero-disney .hero-badge { color: var(--elite-light); background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.32); }
.hero-disney .trust-chip i { color: var(--elite-light); }

.page-hero.modern.hero-resorts .ph-scrim {
  background:
    linear-gradient(100deg, rgba(4,12,9,0.92) 0%, rgba(6,18,15,0.64) 34%, rgba(6,16,31,0.12) 66%, rgba(6,16,31,0.22) 100%),
    linear-gradient(0deg, var(--navy) 0%, rgba(6,18,15,0.1) 40%, transparent 78%),
    radial-gradient(ellipse 70% 60% at 76% 22%, rgba(212,168,67,0.18) 0%, transparent 62%),
    radial-gradient(ellipse 50% 60% at 10% 86%, rgba(5,150,105,0.12) 0%, transparent 58%);
}
.hero-resorts .hero-badge { color: var(--gold-light); background: var(--gold-12); border-color: var(--gold-25); }
.hero-resorts .trust-chip i { color: var(--gold-light); }

@media (max-width: 760px) {
  .page-hero.modern { min-height: 62svh; padding-bottom: 3rem; }
  /* Full-width stacked CTAs on phones, for any hero using .hero-actions
     (the modern page heroes and the homepage/honeymoon #hero alike). */
  .hero-actions a { flex: 1 1 100%; }
}

/* ═══════════════════════════════════════════════════════
   FORM CONTROLS ON TOUCH DEVICES
   iOS Safari force-zooms the page when a focused control's
   font-size is below 16px. The quote / plan / inquire forms
   were at ~14px, so every tap jumped the viewport. Lift the
   controls to 16px on small screens and give them a real
   touch target. Desktop styling is untouched.
   ═══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* !important is deliberate: each page's inline <style> loads after this
     file, so a plain rule loses to any page-level control styling. */
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;   /* must be >= 16px, do not "optimise" down */
    min-height: 46px;
  }

  textarea { min-height: 110px; }

  /* Checkbox and radio targets, plus their labels */
  input[type="checkbox"],
  input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--teal);
  }
}

/* Consistent focus treatment for form controls everywhere */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}

/* The quote/plan forms hide the real checkbox and use .pill-label as the
   visual control. At 33px those pills were under the 44px touch guideline. */
@media (max-width: 860px) {
  .pill-label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIAL CAROUSEL
   Markup-driven; mst.js picks up [data-testimonial-carousel].
   Without JS the first quote still shows and the rest are
   reachable by scrolling the track, so it degrades cleanly.
   ═══════════════════════════════════════════════════════ */
.testimonials {
  max-width: 900px;
  margin: 2.6rem auto 0;
  position: relative;
}

.t-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.t-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.t-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 2.6rem 2.8rem;
  background: linear-gradient(155deg, var(--card-bg-2), var(--card-bg));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Equal-height slides: the track is as tall as the longest quote,
   so auto-advancing never makes the page jump. */
.t-track { align-items: stretch; }

.t-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: var(--teal-12);
  border: 1px solid var(--teal-25);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
}

.t-tag .t-emoji {
  /* The chip text is tiny (0.66rem); at 1em the emoji reads as a grey smudge,
     so scale it up and nudge it onto the text baseline. */
  font-size: 1.5em;
  line-height: 1;
  font-style: normal;
  vertical-align: -0.18em;
  margin-right: 0.1em;
  /* keep the glyph on the colour-emoji font rather than the body face */
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.t-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 0.95rem + 0.85vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.62;
  color: var(--white);
  margin: 0;
  position: relative;
}

.t-quote::before {
  content: '\201C';
  font-size: 3.4rem;
  line-height: 0;
  color: var(--teal);
  opacity: 0.32;
  vertical-align: -0.35em;
  margin-right: 0.12em;
}

.t-attr {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.t-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.t-trip {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── Controls ─────────────────────────────────────────── */
.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.t-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-spring);
}

.t-arrow:hover {
  background: var(--teal-12);
  border-color: var(--teal-25);
  transform: scale(1.08);
}

.t-arrow:active { transform: scale(0.96); }

.t-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Dots are real buttons - 32px hit area, small visible mark inside */
.t-dot {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.t-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.26);
  transition: background var(--dur) var(--ease-out),
              width var(--dur) var(--ease-out);
}

.t-dot:hover::before { background: rgba(255,255,255,0.5); }

.t-dot[aria-selected="true"]::before {
  width: 26px;
  border-radius: 100px;
  background: var(--grad-teal);
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 700px) {
  .t-slide { padding: 1.9rem 1.5rem; }
  .t-controls { gap: 0.6rem; }
}

/* Auto-advance is disabled in mst.js under reduced motion; also drop the
   sliding transition so manual navigation is an instant cut. */
@media (prefers-reduced-motion: reduce) {
  .t-track { transition: none; }
}
