/* ------------------------------------------------------------------------
   Agency theme -- design tokens
------------------------------------------------------------------------ */
:root {
  --ink: #1b1b1f;
  --ink-soft: #3a3a42;
  --muted: #6f7279;
  --border: #ebebeb;
  --surface: #ffffff;
  --surface-alt: #f8f7f5;
  --brand: #D9455F;
  --brand-dark: #B5384E;
  --brand-light: #ffe4e8;
  --gold: #c9a227;
  --ok: #1a7f3c;
  --ok-bg: #e7f6ec;
  --error: #b3261e;
  --error-bg: #fdeceb;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(20, 20, 25, 0.06);
  --shadow: 0 12px 32px rgba(20, 20, 25, 0.10);
  --shadow-lg: 0 24px 64px rgba(20, 20, 25, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Marcellus", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg, var(--surface));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ------------------------------------------------------------------------
   Buttons
------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 20px rgba(217, 69, 95, 0.28);
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(217, 69, 95, 0.34); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--border); box-shadow: none;
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn--on-dark { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.btn--on-dark:hover { background: var(--gold); border-color: var(--gold); color: #1b1b1f; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

/* ------------------------------------------------------------------------
   Header / nav
------------------------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 10px 0;
}
.site-header.is-transparent { background: transparent; }
.site-header.is-scrolled,
.site-header:not(.is-transparent) {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
/* The blur lives on a ::before behind the header's own content, not on
   .site-header itself -- backdrop-filter/filter/transform on an element
   makes it a containing block for its `position: fixed` descendants, which
   broke the mobile nav panel's full-viewport sizing (it would size itself
   against the ~100px header instead of the viewport, so its "offscreen"
   -110% translate stopped actually being offscreen as soon as the header
   went solid on scroll). */
.site-header.is-scrolled::before,
.site-header:not(.is-transparent)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(10px);
}
.site-header__inner {
  max-width: 1160px; margin: 0 auto; padding: 8px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink);
  display: flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; flex: 1 1 auto;
}
.brand__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: clamp(8ch, 18vw, 18ch); flex: 0 1 auto; }
.site-header.is-transparent:not(.is-scrolled) .brand { color: #fff; }
.brand__mark { color: var(--brand); font-size: 1.1rem; transform: rotate(0deg); transition: transform 0.6s var(--ease); display: inline-block; }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__logo { height: 64px; width: auto; display: inline-block; object-fit: contain; }
.site-footer__brand .brand__logo { height: 56px; }

.main-nav { display: flex; gap: 32px; font-weight: 500; font-size: 0.95rem; }
.main-nav a { position: relative; padding: 6px 0; color: var(--ink-soft); transition: color 0.25s; }
.main-nav__specials { position:relative; }
.main-nav__specials-toggle { position:relative; padding:6px 0; border:0; background:transparent; color:var(--ink-soft); font:inherit; cursor:pointer; }
.main-nav__specials-toggle span { margin-left:3px; font-size:.72em; }
.site-header.is-transparent:not(.is-scrolled) .main-nav__specials-toggle { color:rgba(255,255,255,.88); }
.main-nav__specials-toggle:hover,.main-nav__specials-toggle.is-active { color:var(--brand); }
.site-header.is-transparent:not(.is-scrolled) .main-nav__specials-toggle:hover,.site-header.is-transparent:not(.is-scrolled) .main-nav__specials-toggle.is-active { color:#fff; }
.main-nav__submenu { display:none; position:absolute; top:100%; left:-18px; z-index:110; min-width:190px; padding:10px; border:1px solid rgba(255,255,255,.2); border-radius:12px; background:rgba(0,0,0,.35); -webkit-backdrop-filter:blur(16px) saturate(1.35); backdrop-filter:blur(16px) saturate(1.35); box-shadow:0 12px 32px rgba(20,20,25,.16), inset 0 1px 0 rgba(255,255,255,.16); }
.main-nav__submenu a { display:block; padding:10px 12px; border-radius:8px; color:#fff; white-space:nowrap; }
.main-nav__submenu a::after { display:none; }
.main-nav__submenu a:hover,.main-nav__submenu a.is-active { background:rgba(255,255,255,.16); color:#fff; }
.main-nav__specials.is-open .main-nav__submenu { display:block; }
@media (min-width:861px) { .main-nav__specials:hover .main-nav__submenu,.main-nav__specials:focus-within .main-nav__submenu { display:block; } }
.site-header.is-transparent:not(.is-scrolled) .main-nav a { color: rgba(255,255,255,0.88); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--brand);
  transition: right 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--brand); }
.site-header.is-transparent:not(.is-scrolled) .main-nav a:hover,
.site-header.is-transparent:not(.is-scrolled) .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.site-header__actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.header-cart { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:0 13px; border:1px solid var(--border); border-radius:999px; color:var(--ink); font-size:.9rem; font-weight:600; white-space:nowrap; transition:background .2s,color .2s,border-color .2s; }
.header-cart svg { width:18px; height:18px; fill:currentColor; }
.header-cart { width:46px; padding:0; position:relative; }
.account-link { gap:8px; }
.account-link svg { width:18px; height:18px; fill:currentColor; }
.header-cart:hover,.header-cart:focus-visible { background:var(--brand); border-color:var(--brand); color:#fff; }
.site-header.is-transparent:not(.is-scrolled) .header-cart { border-color:rgba(255,255,255,.5); color:#fff; }
.site-header.is-transparent:not(.is-scrolled) .header-cart:hover,.site-header.is-transparent:not(.is-scrolled) .header-cart:focus-visible { background:var(--brand); border-color:var(--brand); color:#fff; }
.header-cart__count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:var(--brand); color:#fff; font-size:.75rem; line-height:1; }
.header-cart:hover .header-cart__count,.header-cart:focus-visible .header-cart__count { background:#fff; color:var(--brand); }
.call-us__icon { display: block; width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }
.call-us--icon-only { width: 46px; height: 46px; padding: 0; }
.cart-add-icon { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid var(--border); border-radius:50%; background:#fff; color:var(--ink); vertical-align:middle; cursor:pointer; padding:0; transition:background .2s,color .2s,border-color .2s; }
.cart-add-icon svg { width:19px; height:19px; fill:currentColor; }
.cart-add-icon:hover,.cart-add-icon:focus-visible { background:var(--brand); border-color:var(--brand); color:#fff; }
.cart-add-icon:disabled { opacity:.45; cursor:not-allowed; background:#fff; color:var(--ink); }
.cart-add-inline { display:inline-flex; align-items:center; gap:6px; margin-left:8px; vertical-align:middle; }
.cart-add-inline input[type="date"],.cart-add-inline input[type="number"] { height:34px; border:1px solid var(--border); border-radius:8px; padding:0 8px; font-size:.85rem; color:var(--ink); background:#fff; }
.cart-add-inline input[type="date"] { width:132px; }
.cart-add-inline input[type="number"] { width:58px; }
.cart-add-inline input:disabled { opacity:.45; cursor:not-allowed; }
.cart-add-lock-note { margin:4px 0 0; font-size:.8rem; color:var(--muted); }
.xp-reel-modal__cart-btn { position:absolute; z-index:2; top:20px; right:66px; display:flex; align-items:center; justify-content:center; width:42px; height:42px; border:1px solid rgba(255,255,255,.75); border-radius:50%; background:rgba(0,0,0,.38); color:#fff; }
.xp-reel-modal__cart-btn[hidden] { display:none; }
.site-header.is-transparent:not(.is-scrolled) .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.site-header.is-transparent:not(.is-scrolled) .btn--ghost:hover { background: #fff; color: var(--ink); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  width: 26px; height: 26px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s; }
.site-header.is-transparent:not(.is-scrolled) .nav-toggle { color: #fff; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 80px; }
  .site-header__inner { padding: 8px 20px; gap: 12px; }
  .brand { font-size: 1.1rem; gap: 6px; }
  .brand__logo { height: 44px; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; padding: 32px; gap: 8px;
    transform: translateY(-110%); transition: transform 0.4s var(--ease); z-index: 90; overflow-y: auto; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--ink-soft) !important; font-size: 1.1rem; }
  .main-nav__specials { width:100%; }
  .main-nav__specials-toggle { width:100%; padding:14px 0; border-bottom:1px solid var(--border); text-align:left; color:var(--ink-soft) !important; font-size:1.1rem; }
  .main-nav__submenu { position:static; min-width:0; padding:0 0 8px 18px; border:0; border-radius:0; box-shadow:none; background:transparent; }
  .main-nav__submenu a { padding:11px 0; border-bottom:1px solid var(--border); border-radius:0; color:var(--ink-soft) !important; font-size:1rem; }
  .main-nav__submenu a:hover,.main-nav__submenu a.is-active { background:transparent; color:var(--brand) !important; }
  .main-nav.is-open { transform: translateY(0); }
  .site-header__actions .btn--ghost { display: none; }
  .nav-toggle { display: flex; }
  }

@media (max-width: 480px) {
  :root { --header-h: 72px; }
  .brand { font-size: 0.95rem; }
  .brand__logo { height: 36px; }
}

/* ------------------------------------------------------------------------
   Hero / parallax
------------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 92vh; color: #fff; isolation: isolate;
}
.hero--compact { min-height: 56vh; }
.hero--with-search { padding-bottom: 64px; }
.hero__bg {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  will-change: transform; z-index: -2;
}
.hero__video {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  will-change: transform; z-index: -2;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,12,18,0.55) 0%, rgba(10,12,18,0.35) 40%, rgba(10,12,18,0.78) 100%);
}
.hero__content { max-width: 1160px; margin: 0 auto; padding: 0 32px; width: 100%; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 600; color: var(--gold); margin-bottom: 18px;
}
.hero__eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); color: #fff; margin-bottom: 0.3em; max-width: 16ch;
}
.hero__word { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: blur(4px); }
.hero.is-ready .hero__word {
  animation: word-in 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms);
}
@keyframes word-in { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.hero p { font-size: 1.15rem; max-width: 46ch; color: rgba(255,255,255,0.88); }
.hero__actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero__scroll span { width: 1px; height: 36px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.hero__scroll span::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: #fff;
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line { 50% { top: 100%; } 100% { top: 100%; } 0% { top: -100%; } }

/* ------------------------------------------------------------------------
   Homepage booking search bar
------------------------------------------------------------------------ */
/* The search bar pill overlaps the hero via its own negative margin-top.
   That margin is now large enough to pull the pill's full height back up
   into the hero's own painted area, so the wrapper below contributes
   ~zero visible band of its own -- whatever tiny sliver remains carries
   the same background as the section right after it, instead of plain
   white, so there is no visible seam between the header and the content
   that follows. */
.search-bar-wrap { padding-bottom: 0; }
.search-bar {
  position: relative; z-index: 5; display: flex; align-items: stretch;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); margin: -72px auto 0; max-width: 1020px; padding: 8px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.search-bar:hover { box-shadow: 0 28px 70px rgba(20, 20, 25, 0.22); }
.search-bar__field {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  justify-content: center; gap: 2px; padding: 8px 22px; border-radius: 999px;
  transition: background 0.3s var(--ease);
}
.search-bar__field:hover, .search-bar__field:focus-within { background: var(--surface-alt); }
.search-bar__field label {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink);
}
.search-bar__field select,
.search-bar__field input[type="date"] {
  border: none; background: none; padding: 2px 0 0; font-size: 0.92rem; color: var(--ink-soft);
  font-family: var(--font-body); width: 100%; appearance: none; -webkit-appearance: none;
}
.search-bar__field select:focus,
.search-bar__field input[type="date"]:focus { outline: none; color: var(--ink); }
.search-bar__sep { width: 1px; background: var(--border); margin: 10px 0; flex: none; }

.search-bar__guest-toggle {
  border: none; background: none; text-align: left; padding: 2px 0 0; font-size: 0.92rem;
  color: var(--ink-soft); font-family: var(--font-body); cursor: pointer; width: 100%;
}
.search-bar__field--guests { overflow: visible; }

.guest-panel {
  position: absolute; top: calc(100% + 14px); left: 0; width: 300px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 10px 20px; opacity: 0; pointer-events: none; transform: translateY(-8px) scale(0.98);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 10;
}
.guest-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.guest-panel__row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
.guest-panel__row:last-of-type { border-bottom: none; }
.guest-panel__text { display: flex; flex-direction: column; }
.guest-panel__text span { color: var(--muted); font-size: 0.82rem; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  color: var(--ink); font-size: 1rem; cursor: pointer; transition: border-color 0.25s, color 0.25s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.stepper button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); transform: scale(1.08); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper span { min-width: 18px; text-align: center; font-weight: 600; }
.guest-panel__done {
  width: 100%; margin: 10px 0 6px; padding: 10px; border: none; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; transition: background 0.25s;
}
.guest-panel__done:hover { background: var(--brand); }

.search-bar__submit {
  flex: none; display: flex; align-items: center; gap: 8px; border: none; border-radius: 999px;
  background: var(--brand); color: #fff; padding: 0 28px; margin-left: 6px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); font-size: 0.95rem; transition: background 0.25s, transform 0.25s;
}
.search-bar__submit:hover { background: var(--brand-dark); transform: scale(1.03); }
.search-bar__submit-icon { font-size: 1rem; }

@media (max-width: 920px) {
  .search-bar { flex-wrap: wrap; border-radius: var(--radius-lg); margin-top: -32px; }
  .search-bar__sep { display: none; }
  .search-bar__field { flex: 1 1 42%; }
  .search-bar__submit { flex: 1 1 100%; margin: 8px 0 0; padding: 14px; justify-content: center; }
  .guest-panel { left: auto; right: 0; }
}
@media (max-width: 560px) {
  .search-bar__field { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------------
   Scroll reveal
------------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
[data-reveal="fade-up"] { transform: translateY(36px); }
[data-reveal="fade-left"] { transform: translateX(-36px); }
[data-reveal="fade-right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="blur-up"] { transform: translateY(24px); filter: blur(10px); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: blur(0); }

/* ------------------------------------------------------------------------
   Section scaffolding
------------------------------------------------------------------------ */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--surface-alt); }

/* Pastel gradient washes -- applied per-section on the home page so each one
   reads as its own soft-colored band instead of flat white/alt stripes. */
.section--pastel-1 { background: linear-gradient(135deg, #fff1f4 0%, #fff8ec 100%); }
.section--pastel-2 { background: linear-gradient(135deg, #eef7ff 0%, #eefcf4 100%); }
.section--pastel-3 { background: linear-gradient(135deg, #f8f0ff 0%, #fff0f6 100%); }
.section--pastel-4 { background: linear-gradient(135deg, #eafff5 0%, #eef2ff 100%); }
.section--pastel-5 { background: linear-gradient(135deg, #fff3ea 0%, #f4ecff 100%); }
.section--pastel-6 { background: linear-gradient(135deg, #eafffa 0%, #fffaea 100%); }

/* Wave divider: sits at the bottom of a section, inside its own box, and
   paints over it with the next section's color so the seam curves instead
   of cutting straight across. */
.wave-divider {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 80px;
  line-height: 0; pointer-events: none; z-index: 2;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }
.wave-divider svg path { fill: var(--wave-color, var(--surface)); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 600; color: var(--brand); margin-bottom: 14px;
}
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ------------------------------------------------------------------------
   Stat counters
------------------------------------------------------------------------ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: 980px; margin: 0 auto;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--ink);
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat__num .suffix { font-size: 0.55em; color: var(--brand); }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

/* ------------------------------------------------------------------------
   Listing grid / cards
------------------------------------------------------------------------ */
.listing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 32px;
}
.listing-card {
  display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid var(--border);
}
.listing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.listing-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-alt); }
.listing-card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease);
}
.listing-card:hover .listing-card__media img { transform: scale(1.08); }
.listing-card__rating {
  position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.95); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 5px 11px; font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; gap: 4px; box-shadow: var(--shadow-sm);
}
.listing-card__rating .star { color: var(--gold); }
.listing-card__body { padding: 20px; }
.listing-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.listing-card__meta { color: var(--muted); font-size: 0.88rem; display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
.listing-card__price { font-weight: 700; font-size: 1.02rem; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
.listing-card__price .unit { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.listing-card__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 64px 0; }

/* Carousel (featured stays) */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 320px; scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 12px; justify-content: flex-end; margin-bottom: 20px; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  cursor: pointer; font-size: 1.1rem; transition: background 0.25s, color 0.25s, transform 0.25s;
}
.carousel__btn:hover { background: var(--ink); color: #fff; transform: scale(1.06); }

.event-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.event-card__image {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 8/8; overflow: hidden; background: var(--surface-alt);
}
.event-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease); }
.event-card:hover .event-card__image img { transform: scale(1.05); }
.event-card.is-highlighted { box-shadow: 0 0 0 3px var(--brand), var(--shadow); transition: box-shadow 0.3s var(--ease); }
.event-card__body { padding: 20px; }
.event-card__dates { color: var(--brand); font-size: .82rem; font-weight: 700; margin: 0 0 8px; }
.event-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 10px; }
.event-card h3 a { color: var(--ink); }
.event-card__excerpt { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 14px; }
.event-card__more { color: var(--brand); font-weight: 700; font-size: .9rem; }
.event-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.event-card__enroll { margin-top: 2px; }
.events-all { margin: 24px 0 0; text-align: center; }

/* Events section layout: calendar aside + carousel */
.events-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .events-layout { grid-template-columns: 1fr; } }

.event-calendar {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm); padding: 20px;
}
.event-calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.event-calendar__head h3 { margin: 0; font-size: 1.02rem; font-family: var(--font-display); }
.event-calendar__head .carousel__btn { width: 34px; height: 34px; font-size: 0.95rem; }
.event-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.event-calendar__dow { text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--muted); padding-bottom: 6px; }
.event-calendar__day {
  position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--ink-soft);
}
.event-calendar__day.is-pad { visibility: hidden; }
.event-calendar__num { position: relative; z-index: 1; }
.event-calendar__day.has-event { background: var(--brand-light); font-weight: 700; color: var(--brand-dark); }
.event-calendar__icon {
  position: absolute; bottom: 2px; right: 2px; width: 16px; height: 16px; padding: 0; border: none;
  background: var(--brand); color: #fff; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.event-calendar__icon svg { width: 10px; height: 10px; }
.event-calendar__icon:hover { background: var(--brand-dark); }
.event-calendar__hint { margin: 14px 0 0; font-size: 0.78rem; color: var(--muted); }
.event-calendar__empty { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Enroll / Express interest modal */
.enroll-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 20, 25, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
  padding: 20px;
}
.enroll-modal.is-open { opacity: 1; pointer-events: auto; }
.enroll-modal__panel {
  position: relative; width: 100%; max-width: 420px; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 32px; transform: translateY(12px); transition: transform 0.3s var(--ease);
}
.enroll-modal.is-open .enroll-modal__panel { transform: translateY(0); }
.enroll-modal__close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--surface-alt); font-size: 1.1rem; cursor: pointer; color: var(--ink);
}
.enroll-modal__close:hover { background: var(--border); }
.enroll-modal__title { margin: 0 0 4px; }
.enroll-modal__event { color: var(--brand); font-weight: 700; font-size: 0.9rem; margin: 0 0 20px; }
.enroll-modal__status { margin: 14px 0 0; font-size: 0.88rem; }
.enroll-modal__status.is-error { color: var(--error); }
.enroll-modal__status.is-ok { color: var(--ok); }
.event-empty-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--muted); text-align: center; }
.event-empty-card p { margin: 0; }
.event-list { display: grid; gap: 28px; max-width: 940px; margin: 0 auto; }
.event-list-card { display: grid; grid-template-columns: minmax(220px, 38%) 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.event-list-card__image { min-height: 220px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); }
.event-list-card__image img { width: 100%; height: 100%; object-fit: contain; }
.event-list-card__body { padding: 26px; }
.event-list-card h2 { font-family: var(--font-display); margin: 0 0 12px; }
.event-list-card h2 a { color: var(--ink); }
.event-detail__head { padding: 70px 0 38px; background: var(--surface-alt); }
.event-detail__head h1 { max-width: 900px; margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); }
.event-detail__dates { color: var(--brand); font-size: 1.05rem; font-weight: 700; margin: 10px 0 0; }
.event-detail__actions { margin: 20px 0 0; }
.event-detail__back { display: inline-block; margin-bottom: 28px; color: var(--brand); font-weight: 700; }
.event-detail__hero { margin: 38px auto; }
.event-detail__hero img { width: 100%; max-height: 1150px; object-fit: cover; border-radius: var(--radius); }
.event-detail__content { max-width: 820px; padding: 10px 24px 80px; font-size: 1.05rem; line-height: 1.8; }
.event-detail__content img { max-width: 100%; height: auto; }
.event-pagination { margin-top: 36px; text-align: center; }
@media (max-width: 640px) { .event-list-card { grid-template-columns: 1fr; } .event-list-card__image { min-height: 0; aspect-ratio: 8/5; } }

/* Experiences */
.experience-list { display: grid; gap: 28px; max-width: 940px; margin: 0 auto; }
.experience-list-card { display: grid; grid-template-columns: minmax(220px, 38%) 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.experience-list-card__image { min-height: 220px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); }
.experience-list-card__image img { width: 100%; height: 100%; object-fit: cover; }
.experience-list-card__placeholder { font-size: 2.4rem; color: var(--muted); }
.experience-list-card__body { padding: 26px; }
.experience-list-card h2 { font-family: var(--font-display); margin: 0 0 12px; }
.experience-list-card h2 a { color: var(--ink); }
.experience-card__meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--brand); font-size: .85rem; font-weight: 700; margin: 0 0 10px; }
.experience-card__excerpt { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 14px; }
.experience-card__more { color: var(--brand); font-weight: 700; font-size: .9rem; }
@media (max-width: 640px) { .experience-list-card { grid-template-columns: 1fr; } .experience-list-card__image { min-height: 0; aspect-ratio: 16/9; } }

/* Experience card (home page carousel) -- reel-style 9:16 thumbnail. */
.experience-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.experience-card__image {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 9/16; overflow: hidden; background: var(--surface-alt);
}
.experience-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.experience-card:hover .experience-card__image img { transform: scale(1.05); }
.experience-card__body { padding: 20px; }
.experience-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 10px; }
.experience-card h3 a { color: var(--ink); }
.experience-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.experience-card__enroll { margin-top: 2px; }
@media (max-width: 640px) {
  /* 9:16 is tall -- narrow the carousel card on phones so one card fits
     comfortably without the image dwarfing the rest of the home page. */
  .carousel__track > .experience-card { flex-basis: 220px; }
}

.experience-detail__head { padding: 70px 0 38px; background: var(--surface-alt); }
.experience-detail__head h1 { max-width: 900px; margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); }
.experience-detail__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--brand); font-size: 1.05rem; font-weight: 700; margin: 10px 0 0; }
.experience-detail__actions { margin: 20px 0 0; }
.experience-detail__back { display: inline-block; margin-bottom: 28px; color: var(--brand); font-weight: 700; }
.experience-detail__content { max-width: 820px; padding: 10px 24px 80px; font-size: 1.05rem; line-height: 1.8; }
.experience-detail__content img { max-width: 100%; height: auto; }

/* Static 9:16 fallback image shown behind the reel modal (no-JS/SEO). */
.experience-detail__hero { margin: 38px auto; max-width: 360px; }
.experience-detail__hero img {
  width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* Instagram-style reel modal: swipe/arrow through experiences, one 9:16
   video/image at a time, no page reload (history.pushState keeps the URL
   shareable). Built by agencycms.js initExperienceReel(). */
.xp-reel-modal {
  position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; gap: 18px;
  background: rgba(10, 10, 12, 0.92); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.xp-reel-modal.is-open { opacity: 1; pointer-events: auto; }
.xp-reel-modal__close, .xp-reel-modal__mute, .xp-reel-modal__nav, .xp-reel-modal__book-btn {
  border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff;
  cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.xp-reel-modal__close:hover, .xp-reel-modal__mute:hover, .xp-reel-modal__nav:hover, .xp-reel-modal__book-btn:hover { background: rgba(255, 255, 255, 0.26); }
.xp-reel-modal__close, .xp-reel-modal__mute, .xp-reel-modal__book-btn { position: absolute; }
.xp-reel-modal__close { top: 18px; right: 18px; width: 40px; height: 40px; font-size: 1.3rem; }
.xp-reel-modal__mute { top: 18px; left: 18px; width: 36px; height: 36px; font-size: 1rem; }
.xp-reel-modal__nav { flex: 0 0 auto; width: 46px; height: 46px; font-size: 1.3rem; }
.xp-reel-modal__book-btn { right: 16px; bottom: 122px; width: 46px; height: 46px; }
.xp-reel-modal__stage {
  position: relative; width: min(92vw, 92vh * 9 / 16); height: min(92vh, 92vw * 16 / 9); aspect-ratio: 9/16;
  border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg);
  touch-action: pan-y;
}
.xp-reel-modal__slide { position: absolute; inset: 0; transition: transform 0.3s var(--ease); }
.xp-reel-modal__slide video, .xp-reel-modal__slide img, .xp-reel-modal__slide iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.xp-reel-modal__video-status { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; margin: 0; color: #fff; background: #111; text-align: center; }
.xp-reel-modal__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 64px 22px 18px; color: #fff;
  background: rgba(0, 0, 0, 0.45);
}
.xp-reel-modal__overlay h3 { font-family: var(--font-display); margin: 0 0 6px; font-size: 1.3rem; }
.xp-reel-modal__meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; font-weight: 700; color: var(--brand-light); margin: 0 0 8px; }
.xp-reel-modal__excerpt {
  font-size: 0.85rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); margin: 0 0 14px;
  max-height: 4.5em; overflow: hidden;
}
@media (max-width: 640px) {
  .xp-reel-modal__stage { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .xp-reel-modal__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 32px; height: 32px; font-size: 1rem; background: rgba(255, 255, 255, 0.18);
  }
  .xp-reel-modal__nav--prev { left: 8px; }
  .xp-reel-modal__nav--next { right: 8px; }
}

/* Classification browser (home page "browse by type" carousel) */
.classification-track > * { flex: 0 0 168px; }
.classification-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.classification-card__frame {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; width: 100%;
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.classification-card__frame svg { width: 48%; height: 48%; color: var(--brand); }
.classification-card:hover .classification-card__frame,
.classification-card:focus-visible .classification-card__frame {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand);
}
.classification-card__label {
  margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.classification-card__count { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
@media (max-width: 560px) { .classification-track > * { flex-basis: 136px; } }

/* ------------------------------------------------------------------------
   Why-us parallax banner
------------------------------------------------------------------------ */
.feature-banner { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; color: #fff; }
.feature-banner__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; z-index: -2; }
.feature-banner__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,12,18,0.82) 0%, rgba(10,12,18,0.45) 70%); z-index: -1; }
.feature-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; max-width: 520px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.02rem; }
.feature-list .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; margin-top: 2px;
}

/* ------------------------------------------------------------------------
   Listing detail
------------------------------------------------------------------------ */
.detail-hero {
  position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
}
.detail-hero__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; z-index: -3; }
.detail-hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(10,12,18,0.15) 0%, rgba(10,12,18,0.85) 100%);
}
.detail-hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.35; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.detail-hero__content { max-width: 1160px; margin: 0 auto; padding: 0 32px 120px; width: 100%; }
.detail-hero .badge { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(4px); position: relative; overflow: hidden; }
.detail-hero .badge.verified { background: rgba(26,127,60,0.85); color: #fff; }
.detail-hero .badge::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  animation: badge-shimmer 3.2s ease-in-out infinite;
}
@keyframes badge-shimmer { 0%, 30% { transform: translateX(-120%); } 65%, 100% { transform: translateX(120%); } }
.detail-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 0.2em; }
.detail-hero__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 0.98rem; color: rgba(255,255,255,0.9); }

.gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: -64px 32px 0; position: relative; z-index: 2;
  max-width: 1096px; margin-left: auto; margin-right: auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.gallery-strip img { width: 100%; height: 160px; object-fit: cover; cursor: zoom-in; transition: filter 0.3s; }
.gallery-strip img:hover { filter: brightness(0.85); }
.gallery-strip__main { grid-column: span 2; grid-row: span 2; height: 100%; }
.gallery-strip__main img { height: 328px; }
@media (max-width: 860px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .gallery-strip__main { grid-column: span 2; }
  .gallery-strip img, .gallery-strip__main img { height: 180px; }
  .gallery-strip > *:nth-child(n+4) { display: none; }
}

.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,12,0.96); z-index: 300;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; transition: background 0.25s;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.25); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; margin-top: 56px; align-items: start; }
.detail-layout h2 { font-size: 1.5rem; margin-top: 0; margin-bottom: 0.7em; }
.badge { display: inline-block; background: #f7f7f7; border-radius: 999px; padding: 5px 14px; font-size: 0.82rem; margin-right: 8px; font-weight: 500; }
.badge.verified { background: var(--ok-bg); color: var(--ok); }

.badge--removable { display: inline-flex; align-items: center; gap: 8px; margin-right: 0; }
.badge__remove {
  color: var(--ink-soft); text-decoration: none; font-weight: 700; line-height: 1;
  font-size: 1rem;
}
.badge__remove:hover { color: var(--brand); }
.active-filters__clear { font-size: 0.82rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.active-filters__clear:hover { color: var(--brand-dark); text-decoration: underline; }

/* Stays page: groups the result grid under a heading per location, with a
   rule trailing off to the right -- "Goa ───────" then that location's cards,
   then the next location's heading, and so on. */
.location-group { margin-bottom: 48px; }
.location-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.location-group__head h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 0; white-space: nowrap; }
.location-group__head hr { flex: 1; border: none; border-top: 1px solid var(--border); margin: 0; }

/* Shared "block" scaffolding: every section of the detail page gets its
   own background treatment, rounded card shell, and reveal animation. */
.detail-block {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: 32px 36px; margin-bottom: 28px;
  border: 1px solid var(--border);
}
.detail-block > h2:first-child { margin-top: 0; }

.detail-block--about {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-alt) 100%);
}
.detail-block--about::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 60%; height: 140%;
  background: radial-gradient(closest-side, var(--brand-light) 0%, transparent 100%);
  opacity: 0.6; z-index: -1; animation: drift 14s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, 4%) scale(1.08); }
}

.detail-block--specs {
  background: var(--surface);
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1.6px);
  background-size: 18px 18px;
}
.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.spec { padding: 10px 6px; border-radius: var(--radius); transition: transform 0.4s var(--ease); }
.spec:hover { transform: translateY(-4px); }
.spec__icon { font-size: 1.5rem; display: block; margin-bottom: 6px; filter: saturate(0.9); }
.spec__num {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--ink);
}
.spec__label { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
@media (max-width: 560px) { .spec-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

.detail-block--amenities {
  background-image:
    repeating-linear-gradient(135deg, rgba(217,69,95,0.035) 0px, rgba(217,69,95,0.035) 2px, transparent 2px, transparent 18px);
  background-color: var(--surface);
}
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.amenity-grid > div {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border);
  border-radius: 8px; transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.amenity-grid > div:hover { background: var(--surface-alt); transform: translateX(4px); }
.amenity-grid > div::before {
  content: "\2713"; color: #fff; font-weight: 700; font-size: 0.72rem; flex: none;
  width: 20px; height: 20px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform 0.4s var(--ease);
}
.amenity-grid > div.is-visible::before { transform: scale(1); }

.detail-block--rules {
  background: linear-gradient(135deg, var(--surface-alt) 0%, var(--surface) 70%);
  border-left: 4px solid var(--gold);
}

.detail-block--host {
  background: radial-gradient(ellipse at top left, var(--brand-light) 0%, var(--surface) 55%);
}
.host-card { display: flex; gap: 16px; align-items: flex-start; }
.host-card__avatar {
  flex: none; width: 64px; height: 64px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 0deg, var(--brand), var(--gold), var(--brand));
}
.host-card__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 2px solid var(--surface); }
.host-card__avatar .team-card__initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--surface-alt); font-size: 1.4rem; }
.host-card--link { text-decoration: none; color: inherit; }
.host-card--link strong { color: var(--ink); }
.detail-block--pm { background: radial-gradient(ellipse at top left, var(--brand-light) 0%, var(--surface) 55%); }
.pm-contacts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pm-contacts a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface-alt); border: 1px solid var(--border); color: var(--ink-soft); font-size: 0.84rem;
}
.pm-contacts a:hover { color: var(--brand); border-color: var(--brand); }

.detail-block--reviews {
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1.6px);
  background-size: 22px 22px;
  background-color: var(--surface);
}
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review .reviewer { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.review .stars { color: var(--gold); font-size: 0.85rem; }

/* Auto-looping review carousel */
.review-carousel { position: relative; }
.review-carousel__track {
  position: relative; transition: height 0.45s var(--ease);
}
.review-carousel__slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transform: translateX(24px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.review-carousel__slide.is-active {
  position: relative; opacity: 1; pointer-events: auto; transform: translateX(0);
}
.review-carousel__slide.is-leaving { transform: translateX(-24px); }
.review-carousel__dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 20px;
}
.review-carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--border); transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.review-carousel__dots button.is-active { background: var(--brand); transform: scale(1.3); }
@media (min-width: 641px) { .review { max-width: 640px; margin: 0 auto; } }

.booking-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 16px); height: fit-content;
  position: relative; overflow: hidden;
}
.booking-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), var(--brand), var(--gold), var(--brand));
  opacity: 0.5; animation: border-spin 5s linear infinite;
}
.booking-card::after {
  content: ""; position: absolute; inset: 1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-alt) 100%);
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes border-spin { to { --angle: 360deg; } }
.booking-card__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.booking-card__price .unit { font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; color: var(--muted); }
.quote-result { border-top: 1px solid var(--border); margin: 16px 0; padding-top: 10px; }
.quote-result .price-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--ink-soft); }
.quote-result .price-row.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; color: var(--ink); font-weight: 700; }
.quote-result__error { color: #a3342b; font-size: .9rem; }
@media (max-width: 920px) {
  .detail-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-block--about::before, .host-card__avatar, .booking-card::before, .detail-hero .badge::after { animation: none; }
}

/* ------------------------------------------------------------------------
   Forms / booking flow
------------------------------------------------------------------------ */
.steps { display: flex; gap: 0; margin: 32px 0 40px; counter-reset: step; }
.steps__item {
  flex: 1; text-align: center; position: relative; padding-top: 44px; font-size: 0.88rem; color: var(--muted); font-weight: 500;
}
.steps__item::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--surface-alt); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted);
  transition: all 0.35s var(--ease);
}
.steps__item::after {
  content: ""; position: absolute; top: 16px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 2px; background: var(--border);
}
.steps__item:last-child::after { display: none; }
.steps__item.is-active, .steps__item.is-done { color: var(--ink); }
.steps__item.is-active::before, .steps__item.is-done::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps__item.is-done::after { background: var(--brand); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.88rem; color: var(--ink-soft); }
form input, form select, form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem;
  font-family: var(--font-body); transition: border-color 0.25s, box-shadow 0.25s; background: #fff;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light);
}
.customer-consent-options { display: grid; gap: 14px; margin: 22px 0 26px; }
form .customer-consent {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left;
  font-size: 0.9rem; line-height: 1.55;
}
form .customer-consent input[type="checkbox"] {
  flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; padding: 0;
  accent-color: var(--brand); cursor: pointer;
}
form .customer-consent__text { flex: 1; min-width: 0; text-align: left; }
form label.customer-consent__text, form .customer-consent__text label {
  display: block; margin: 0; text-align: left; font-size: 0.9rem; line-height: 1.55; font-weight: 400; cursor: pointer;
}
form .customer-consent__text a { display: inline-block; margin-top: 4px; }
.price-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); }
.price-row.total { border-top: 1px solid var(--border); font-weight: 700; margin-top: 8px; padding-top: 14px; color: var(--ink); font-size: 1.05rem; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.alert.error { background: var(--error-bg); color: var(--error); }
.alert.success {
  background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; gap: 12px; font-size: 1.05rem;
}
.alert.success .check {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  animation: pop-in 0.5s var(--ease) both;
}
@keyframes pop-in { from { transform: scale(0); } to { transform: scale(1); } }

.confirm-card {
  background: var(--surface-alt); border-radius: var(--radius-lg); padding: 32px; margin-top: 8px;
}
.confirm-card .price-row { font-size: 1.02rem; }

/* ------------------------------------------------------------------------
   Footer
------------------------------------------------------------------------ */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,0.75); margin-top: 0; }
.site-footer__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: saturate(0.85);
}
.site-footer__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,18,0.675) 0%, rgba(10,12,18,0.615) 50%, rgba(27,27,31,0.75) 100%);
}
.site-footer__inner {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto; padding: 72px 32px 48px;
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.site-footer__brand { max-width: 320px; }
.site-footer__brand .brand__mark { color: var(--gold); }
.site-footer__brand { color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.site-footer__brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; font-family: var(--font-body); font-weight: 400; margin-top: 10px; }
.site-footer__address { max-width: 280px; }
.site-footer__socials { display: flex; gap: 10px; margin-top: 16px; }
.site-footer__social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.site-footer__social-icon:hover { background: var(--gold); color: #1a1a1a; }
.site-footer__links { display: flex; gap: 64px; }
.site-footer__links h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer__links a { display: block; padding: 6px 0; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__bottom {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 20px; font-size: 0.82rem; color: rgba(255,255,255,0.45);
}

/* ------------------------------------------------------------------------
   Team page
------------------------------------------------------------------------ */
.hero--team {
  min-height: 42vh; position: relative;
  background:
    radial-gradient(1100px 560px at 50% -20%, rgba(201,162,39,0.22), transparent 60%),
    linear-gradient(160deg, #06070a 0%, #1b1b1f 55%, #241a0d 100%);
}
.hero--team::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.25; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.hero--contact, .hero--team-photo { background: none; }
.hero--contact::after, .hero--team-photo::after { display: none; }
.hero--team .hero__content { text-align: center; margin: 0 auto; }
.hero--team .hero__eyebrow { justify-content: center; }
.hero--team h1 { max-width: none; }
.hero--team p { margin: 0 auto; text-align: center; }
.hero__rule { display: block; width: 56px; height: 2px; background: var(--gold); margin: 32px auto 0; }

.team-section--founders {
  background: linear-gradient(180deg, #1b1b1f 0%, #121214 100%);
  color: rgba(255,255,255,0.85);
  padding-top: 88px; padding-bottom: 112px; position: relative;
}
.team-section--founders .section__head h2 { color: #fff; }
.team-section--founders .section__eyebrow { color: var(--gold); }
.team-section--founders .section__eyebrow::before { background: var(--gold); }

.founder-rows { display: flex; flex-direction: column; gap: 0; }
.founder-row {
  display: flex; align-items: center; gap: 64px; text-decoration: none; color: inherit;
  padding: 48px 0; position: relative;
}
.founder-row + .founder-row { border-top: 1px solid rgba(255,255,255,0.08); }
.founder-row--reverse { flex-direction: row-reverse; }
.founder-row__photo {
  flex: 0 0 300px; width: 300px; height: 300px; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,0.04); position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 0 10px rgba(201,162,39,0.12), var(--shadow);
  transition: box-shadow 0.3s var(--ease);
  color: inherit; text-decoration: none;
}
.founder-row:hover .founder-row__photo { box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 0 10px rgba(201,162,39,0.22), var(--shadow); }
.founder-row__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-row__photo .team-card__initial { font-size: 4rem; }
.founder-row__content { flex: 1; min-width: 0; }
/* Wraps index/name/role/bio in a link to the member's page -- kept separate
   from .founder-row__contacts below so the mailto/tel/WhatsApp/LinkedIn
   links aren't nested inside this anchor (invalid HTML, unreliable clicks). */
.founder-row__text { display: block; color: inherit; text-decoration: none; }
.founder-row__index {
  display: block; font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; color: rgba(201,162,39,0.6); margin-bottom: 10px;
}
.founder-row__content h3 { font-family: var(--font-display); font-size: 1.9rem; color: #fff; margin: 0 0 6px; }
.founder-row__role {
  color: var(--gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 18px;
}
.founder-row__bio { color: rgba(255,255,255,0.68); font-size: 1rem; line-height: 1.75; max-width: 600px; margin-bottom: 20px; }
.founder-row__bio p { margin: 0; }
.founder-row__contacts { display: flex; gap: 10px; }
.founder-row__contacts .team-card__contact-icon { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.15); }
.founder-row:hover .team-card__contact-icon { border-color: var(--gold); color: var(--gold); }

@media (max-width: 760px) {
  .founder-row, .founder-row--reverse { flex-direction: column; text-align: center; gap: 24px; }
  .founder-row__photo { width: 220px; height: 220px; flex: 0 0 220px; }
  .founder-row__bio { margin-left: auto; margin-right: auto; }
  .founder-row__contacts { justify-content: center; }
}

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); gap: 28px;
  justify-content: center;
}

.team-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 36px 28px; color: inherit; text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.team-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brand));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.team-card:hover::before { transform: scaleX(1); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Wraps photo/name/role/bio in a link to the member's page -- kept separate
   from .team-card__contacts below so the mailto/tel/WhatsApp/LinkedIn links
   aren't nested inside this anchor (invalid HTML, unreliable clicks). */
.team-card__link {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; color: inherit; text-decoration: none;
}

.team-card__photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 20px;
  background: var(--surface-alt); display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold); flex-shrink: 0;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initial { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); }

.team-card__name { font-family: var(--font-display); font-size: 1.3rem; margin: 0; }
.team-card__role {
  color: var(--brand); font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; margin: 6px 0 16px;
}
.team-card--core .team-card__role { color: var(--gold); }
.team-card__bio { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin-bottom: 18px; }
.team-card__bio p { margin: 0; }

.team-card__contacts { display: flex; gap: 10px; justify-content: center; margin-top: auto; }
.team-card__contact-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; font-size: 0.82rem;
  background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--border);
}
.team-card--core .team-card__contact-icon {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.15);
}
.team-card:hover .team-card__contact-icon { border-color: var(--gold); color: var(--gold); }

.team-card__readmore {
  display: inline-block; margin-top: 16px; font-size: 0.82rem; font-weight: 600;
  color: var(--brand); text-decoration: none;
}
.team-card__readmore:hover { color: var(--brand-dark); text-decoration: underline; }

.founder-row__readmore {
  display: inline-block; margin-top: -8px; margin-bottom: 20px; font-size: 0.82rem; font-weight: 600;
  color: var(--gold); text-decoration: none;
}
.founder-row:hover .founder-row__readmore { text-decoration: underline; }

/* ------------------------------------------------------------------------
   Team member detail page
------------------------------------------------------------------------ */
.member-hero {
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(201,162,39,0.22), transparent 60%),
    linear-gradient(160deg, #06070a 0%, #1b1b1f 60%, #241a0d 100%);
  color: #fff; padding: 140px 32px 72px;
}
.member-hero__inner {
  max-width: 1000px; margin: 0 auto; display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
}
.member-hero__photo {
  width: 160px; height: 160px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 3px solid var(--gold); background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.member-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.member-hero__photo .team-card__initial { font-size: 3.4rem; }
.member-hero h1 { margin: 0 0 6px; }
.member-hero__role { color: var(--gold); font-size: 1.05rem; font-weight: 600; }

.member-contacts {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px;
}
.member-contacts a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 0.88rem; transition: background 0.2s;
}
.member-contacts a:hover { background: var(--gold); color: #1a1a1a; }

.member-bio { max-width: 760px; margin: 0 auto; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }

/* ------------------------------------------------------------------------
   Contact page
------------------------------------------------------------------------ */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 28px;
  justify-content: center;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 36px 28px; text-align: center;
}
.contact-card__icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 16px; }
.contact-card p { color: var(--ink-soft); margin: 0 0 14px; }
.contact-card__link {
  display: block; color: var(--ink-soft); font-size: 0.92rem; padding: 6px 0; text-decoration: none;
}
.contact-card__link:hover { color: var(--brand); }

.contact-location {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch;
}
.location-map, .location-map iframe { width: 100%; height: 100%; min-height: 420px; }
.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 36px 32px;
}
.contact-form-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 20px; }
.field__hint { font-size: 0.82rem; color: var(--muted); margin: -12px 0 18px; }
.field--icon .field__input-wrap { position: relative; }
.field--icon .field__icon {
  position: absolute; left: 14px; top: 23px; transform: translateY(-50%);
  font-size: 1rem; line-height: 1; opacity: 0.55; pointer-events: none;
}
.field--icon input, .field--icon select { padding-left: 42px; }
@media (max-width: 860px) {
  .contact-location { grid-template-columns: 1fr; }
  .location-map, .location-map iframe { min-height: 320px; }
}

/* ------------------------------------------------------------------------
   Misc / legacy page blocks (search, 404 etc.)
------------------------------------------------------------------------ */
.page-shell { padding-top: calc(var(--header-h) + 48px); padding-bottom: 80px; }
.page-shell h1 { font-size: 2.2rem; }

/* ------------------------------------------------------------------------
   Packages (home page sections + index/detail pages)
------------------------------------------------------------------------ */
.package-section { overflow: hidden; }
.package-section__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.12; z-index: 0; pointer-events: none;
}
.package-section > .container { position: relative; z-index: 1; }

.package-feature {
  display: grid; grid-template-columns: minmax(280px, 42%) 1fr; gap: 48px; align-items: center;
  margin-bottom: 48px;
}
.package-feature--reverse { direction: rtl; }
.package-feature--reverse > * { direction: ltr; }
.package-feature__media {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  background: var(--surface-alt);
}
.package-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.package-feature__titlebar { margin-bottom: 14px; }
.package-feature__titlebar h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.package-feature__description { color: var(--ink-soft); }
.package-feature__footer {
  display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; color: var(--brand);
  margin: 0 0 20px; font-size: 0.95rem;
}
@media (max-width: 760px) {
  .package-feature, .package-feature--reverse { grid-template-columns: 1fr; direction: ltr; }
}

.package-programs { margin-top: 8px; }
.program-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.program-card__image {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-alt);
}
.program-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.program-card:hover .program-card__image img { transform: scale(1.05); }
.program-card__body { padding: 20px; }
.program-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 10px; }
.program-card__meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--brand); font-size: .85rem; font-weight: 700; margin: 0 0 10px; }
.program-card__excerpt { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 14px; }
.program-card__more { color: var(--brand); font-weight: 700; font-size: .9rem; }

/* Packages index listing page */
.package-list { display: grid; gap: 28px; max-width: 940px; margin: 0 auto; }
.package-list-card { display: grid; grid-template-columns: minmax(220px, 38%) 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.package-list-card__image { aspect-ratio: 4/3; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); }
.package-list-card__image img { width: 100%; height: 100%; object-fit: cover; }
.package-list-card__body { padding: 26px; }
.package-list-card h2 { font-family: var(--font-display); margin: 0 0 12px; }
.package-list-card h2 a { color: var(--ink); }
.package-card__meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--brand); font-size: .85rem; font-weight: 700; margin: 0 0 10px; }
.package-card__excerpt { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 14px; }
.package-card__more { color: var(--brand); font-weight: 700; font-size: .9rem; }
.package-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.package-card__enroll { margin-top: 2px; }
@media (max-width: 640px) { .package-list-card { grid-template-columns: 1fr; } }

/* Package detail page */
.package-detail { position: relative; padding-bottom: 80px; }
.package-detail .detail-hero { position: relative; z-index: 1; }
.package-detail .detail-hero__overlay { background: rgba(0, 0, 0, 0.75); }
.package-detail__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.12; z-index: 0; pointer-events: none;
}
.package-detail__programs { position: relative; z-index: 1; max-width: 940px; margin: 56px auto 0; }
.package-detail__back { display: inline-block; color: rgba(255,255,255,0.85); font-weight: 700; font-size: 0.9rem; margin-bottom: 18px; }
.package-detail__back:hover { color: #fff; }

/* Magazine-style flipbook -- one program "spread" visible at a time, with a
   3D page-turn transition between them instead of a plain carousel scroll. */
.program-flipbook { position: relative; outline: none; }
.program-flipbook__stage {
  position: relative; perspective: 2000px; transition: height 0.5s var(--ease);
}
.program-page {
  position: absolute; inset: 0; overflow-y: auto;
  opacity: 0; pointer-events: none; transform: rotateY(-18deg) scale(0.96); transform-origin: center;
  transition: transform 0.6s var(--ease), opacity 0.45s var(--ease);
  backface-visibility: hidden;
}
.program-page.is-active {
  position: relative; opacity: 1; pointer-events: auto; transform: rotateY(0deg) scale(1);
}
.program-page.is-leaving { transform: rotateY(18deg) scale(0.96); }
.program-page__body { max-width: 720px; margin: 0 auto; }
.program-page__index {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
  font-weight: 700; color: var(--muted); margin-bottom: 10px;
}
.program-page h3 { font-family: var(--font-display); margin: 0 0 10px; }
.program-page__meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--brand); font-size: .85rem; font-weight: 700; margin: 0 0 10px; }
/* flow-root so the floated figure below is contained -- otherwise this box
   collapses to the text's line-height and the image spills past its parent. */
.program-page__description { color: var(--ink-soft); display: flow-root; }
.program-page__enroll { margin-top: 18px; }
.program-page__figure {
  float: left; width: 44%; max-width: 300px; margin: 0 24px 16px 0; shape-margin: 8px;
}
.program-page__figure--right { float: right; margin: 0 0 16px 24px; }
.program-page__figure img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .program-page__figure, .program-page__figure--right { float: none; width: 100%; max-width: none; margin: 0 0 20px; }
}
.program-flipbook__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.program-flipbook__nav--top { margin-top: 0; margin-bottom: 20px; }
.program-flipbook__dots { display: flex; gap: 8px; }
.program-flipbook__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--border); transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.program-flipbook__dots button.is-active { background: var(--brand); transform: scale(1.3); }
@media (max-width: 760px) {
  .program-page { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .program-page, .program-page.is-active, .program-page.is-leaving { transform: none; }
}
