/* ============================================================
   Billings CPR — Premium Dark Edition
   Brand: white #FFFFFF, red #CC0000 (sparingly)
   Type:  Kanit (Bold display + Regular/Medium body)
   ============================================================ */

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --white: #ffffff;
  --red: #CC0000;
  --red-bright: #E60000;
  --red-deep: #A30000;

  /* Dark surfaces */
  --bg: #0A0A0B;
  --bg-elev-1: #111114;
  --bg-elev-2: #16161B;
  --bg-elev-3: #1C1C22;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);

  /* Type */
  --text: #F5F5F7;
  --text-soft: rgba(245,245,247,0.78);
  --text-muted: rgba(245,245,247,0.55);
  --text-faint: rgba(245,245,247,0.38);

  /* Glass */
  --glass-bg: rgba(20,20,24,0.55);
  --glass-bg-strong: rgba(16,16,20,0.72);
  --glass-border: rgba(255,255,255,0.10);
  --glass-blur: 18px;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --s-32: 128px;

  /* Type scale */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 22px;
  --fs-xl: 28px;
  --fs-2xl: 36px;
  --fs-3xl: 48px;
  --fs-4xl: 64px;
  --fs-hero: clamp(48px, 8vw, 104px);
  --fs-display: clamp(36px, 5vw, 72px);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-glass: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 48px rgba(0,0,0,0.45);
  --shadow-card: 0 24px 60px rgba(0,0,0,0.4);
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.3);

  /* Layout */
  --nav-h: 72px;
  --container: 1240px;
  --container-sm: 920px;
}

@media (min-width: 768px) {
  :root {
    --fs-base: 17px;
  }
}

/* ---------- Base ---------- */
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle ambient texture so dark surface isn't flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(204,0,0,0.06), transparent 60%),
    radial-gradient(900px 700px at -10% 100%, rgba(255,255,255,0.025), transparent 65%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--white);
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-display); }
h3 { font-size: var(--fs-2xl); line-height: 1.15; }
h4 { font-size: var(--fs-xl); line-height: 1.25; }
p  { color: var(--text-soft); }
.lead { font-size: var(--fs-lg); line-height: 1.45; color: var(--text-soft); max-width: 60ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--red);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.eyebrow.center::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--red);
  margin-left: 10px;
}

/* Display number — used for big stats */
.bignum {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  display: inline-block;
}
.bignum sup { font-size: 0.4em; vertical-align: super; color: var(--red); margin-left: 0.1em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container-sm { max-width: var(--container-sm); }
@media (min-width: 768px) {
  .container { padding: 0 var(--s-8); }
}

.section { padding: var(--s-20) 0; }
.section-lg { padding: var(--s-24) 0; }
@media (min-width: 768px) {
  .section { padding: var(--s-24) 0; }
  .section-lg { padding: var(--s-32) 0; }
}

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
  max-width: 60ch;
}
.section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { letter-spacing: -0.02em; }

/* ---------- Glass surfaces ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
}
.card {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(204,0,0,0.10);
  color: var(--red);
  margin-bottom: var(--s-5);
  border: 1px solid rgba(204,0,0,0.25);
}
.card .card-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 2; }
.card h3 { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.card p { color: var(--text-soft); font-size: var(--fs-base); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(204,0,0,0.35);
}
.btn-primary:hover { background: var(--red-bright); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); }
.btn-lg { padding: 18px 32px; font-size: var(--fs-md); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- Header (glass) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10,10,11,0.55);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(10,10,11,0.82);
  border-bottom-color: var(--line);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  color: var(--white);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; flex: 0 0 auto;
}
.brand-mark .brand-logo-img {
  height: 44px; width: auto; display: block;
  /* Provided lockup — plane + heart + BILLINGS CPR on transparent background */
}

/* Slightly larger on desktop so the logo can clearly be seen */
@media (min-width: 980px) {
  .brand-mark { height: 56px; }
  .brand-mark .brand-logo-img { height: 56px; }
}

/* Center the logo on mobile so it stays the visual anchor */
@media (max-width: 979px) {
  .site-header .container.nav { position: relative; }
  .site-header .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }
  .site-header .brand-mark,
  .site-header .brand-mark .brand-logo-img { height: 40px; }
  /* Reserve button hidden on mobile (drawer carries it) */
  .site-header .nav-cta { display: none; }
  .site-header .nav > div { margin-left: auto; }
}

/* Drawer head + footer: a bit larger for presence */
.drawer-head .brand-mark,
.drawer-head .brand-mark .brand-logo-img { height: 44px; }
.footer-brand .brand-mark,
.footer-brand .brand-mark .brand-logo-img { height: 56px; }

.nav-links { display: none; align-items: center; gap: var(--s-8); }
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  position: relative;
  padding: 6px 2px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.is-active { color: var(--white); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red); border-radius: 2px;
}
.nav-cta { display: none; }
@media (min-width: 980px) {
  .nav-links, .nav-cta { display: inline-flex; }
}

/* Mobile menu button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--white);
}
.menu-btn:hover { background: rgba(255,255,255,0.1); }
.menu-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (min-width: 980px) { .menu-btn { display: none; } }

/* Mobile drawer (glass) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.drawer.is-open { display: block; }
.drawer-panel {
  position: absolute;
  right: 0; top: 0;
  width: min(420px, 88vw);
  height: 100%;
  background: rgba(14,14,18,0.92);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-left: 1px solid var(--line);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  animation: slidein .3s ease;
}
@keyframes slidein { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-10); }
.drawer-links { display: flex; flex-direction: column; gap: 2px; }
.drawer-links a {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-links a:last-child { border-bottom: 0; }
.drawer-foot { margin-top: auto; padding-top: var(--s-8); display: flex; flex-direction: column; gap: var(--s-3); }

/* Body offset for fixed header */
body { padding-top: var(--nav-h); }
body.no-pad { padding-top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.45) 0%, rgba(10,10,11,0.25) 30%, rgba(10,10,11,0.65) 75%, rgba(10,10,11,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.4) 0%, rgba(10,10,11,0) 60%);
}
/* Fade-to-section: hero image dissolves into the dark surface below */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10,10,11,0) 0%,
    rgba(10,10,11,0.55) 45%,
    rgba(10,10,11,0.92) 85%,
    var(--bg) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: var(--s-16);
  padding-top: var(--s-20);
}
.hero h1 { max-width: 18ch; }
.hero .lead { margin-top: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }

/* Hero meta strip — small metadata under headline */
.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-10);
  margin-top: var(--s-10);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.hero-meta .item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .item .k { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.hero-meta .item .v { font-size: var(--fs-md); font-weight: 600; color: var(--white); }

/* Inner page hero (shorter) */
.hero-inner-page { min-height: clamp(380px, 60vh, 520px); }

/* ---------- Mobile hero refinements ---------- */
@media (max-width: 720px) {
  /* Let the section grow to fit its content — image always fills behind it */
  .hero { min-height: 100svh; }
  .hero-inner-page { min-height: 78svh; }
  .hero-inner {
    padding-top: calc(var(--nav-h) + var(--s-8));
    padding-bottom: var(--s-10);
  }
  /* Tighten the headline on mobile so it doesn't dominate */
  .hero h1 {
    font-size: clamp(40px, 11vw, 60px);
    line-height: 1.02;
  }
  .hero .lead { font-size: var(--fs-md); }
  .hero-actions { margin-top: var(--s-6); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Meta strip becomes a compact 2-column grid */
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4) var(--s-5);
    margin-top: var(--s-7);
    padding-top: var(--s-5);
  }
  .hero-meta .item .v { font-size: var(--fs-sm); }
  /* Subtle vignette — image stays visible, text remains readable via the bottom darkening */
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(10,10,11,0.40) 0%, rgba(10,10,11,0.10) 30%, rgba(10,10,11,0.25) 55%, rgba(10,10,11,0.65) 100%);
  }
  /* Stronger fade-to-section on mobile so transition feels seamless */
  .hero::after {
    height: 22%;
    background: linear-gradient(
      180deg,
      rgba(10,10,11,0) 0%,
      rgba(10,10,11,0.6) 40%,
      rgba(10,10,11,0.95) 80%,
      var(--bg) 100%
    );
  }
  /* Text shadow keeps headlines crisp against bright photo areas */
  .hero h1, .hero .lead, .hero .eyebrow {
    text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  }
}

/* ---------- Booking section (homepage) ---------- */
.booking {
  position: relative;
  padding: var(--s-16) 0 var(--s-24);
}
.booking-frame {
  position: relative;
  padding: var(--s-8) var(--s-5);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .booking-frame { padding: var(--s-12) var(--s-12); }
}
.booking-head { text-align: center; margin-bottom: var(--s-8); }
.booking-head h2 { font-size: var(--fs-display); }
.booking-head p { margin-top: var(--s-3); color: var(--text-soft); }
#purvalet-booking {
  width: 100%;
  min-height: 1100px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
#purvalet-booking iframe { width: 100%; height: 1100px !important; min-height: 1100px; border: 0; display: block; }
#purvalet-booking::after {
  content: "Loading reservation system…";
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  padding: var(--s-12) var(--s-5);
  letter-spacing: 0.04em;
}
#purvalet-booking:has(iframe)::after { display: none; }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: var(--s-5); }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s-5);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-elev-1);
  transition: border-color .25s ease, background .25s ease;
}
.step:hover { border-color: var(--line-strong); background: var(--bg-elev-2); }
.step-num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.25);
  color: var(--red);
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.step h4 { font-size: var(--fs-lg); margin-bottom: 6px; }
.step p { font-size: var(--fs-base); color: var(--text-soft); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
  padding: var(--s-12) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 0 var(--s-2); }
.stat .bignum { display: block; }
.stat .label { display: block; font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--s-2); }
.stat .desc { display: block; font-size: var(--fs-sm); color: var(--text-soft); margin-top: var(--s-2); max-width: 30ch; }

/* ---------- Featured / split ---------- */
.split {
  display: grid;
  gap: var(--s-12);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: var(--s-16); } }
.split.reverse { direction: ltr; }
@media (min-width: 900px) { .split.reverse > *:first-child { order: 2; } }
.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .split-media { aspect-ratio: auto; height: 560px; } }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,11,0.5));
}
.split-body h2 { letter-spacing: -0.02em; }
.split-body .lead { margin-top: var(--s-5); }
.split-body ul { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.split-body ul li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--s-3);
  align-items: start;
  color: var(--text-soft);
}
.split-body ul li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--red);
  margin-top: 10px;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pricing { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.price {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  display: flex; flex-direction: column; gap: var(--s-4);
}
.price.is-feature {
  border-color: rgba(204,0,0,0.45);
  background: linear-gradient(180deg, rgba(204,0,0,0.08), rgba(204,0,0,0.02));
}
.price .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}
.price.is-feature .tag { color: var(--red); }
.price .amt { font-family: 'Kanit', sans-serif; font-weight: 700; font-size: var(--fs-3xl); letter-spacing: -0.03em; color: var(--white); }
.price .save { font-size: var(--fs-sm); color: var(--text-soft); }
.price ul { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
.price ul li { font-size: var(--fs-sm); color: var(--text-soft); padding-left: 18px; position: relative; }
.price ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--red); }

/* ---------- Gallery strip ---------- */
.gallery {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
.gallery .g {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery .g:hover img { transform: scale(1.04); }

/* ---------- Location / map links ---------- */
.location {
  border-radius: var(--r-xl);
  padding: var(--s-12);
  border: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(204,0,0,0.08), transparent 50%),
    var(--bg-elev-1);
  display: grid; gap: var(--s-8);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .location { grid-template-columns: 1.1fr 1fr; gap: var(--s-12); } }
.location address {
  font-style: normal;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: var(--fs-2xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.location .sub { color: var(--text-soft); margin-top: var(--s-3); max-width: 36ch; }
.location-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--s-3); max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev-1);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5) var(--s-6);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  font-weight: 600;
  color: var(--white);
  font-size: var(--fs-md);
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255,255,255,0.03); }
.faq-item summary::after {
  content: "";
  width: 12px; height: 12px;
  flex: 0 0 12px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .ans {
  padding: 0 var(--s-6) var(--s-6);
  color: var(--text-soft);
  font-size: var(--fs-base);
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}

/* ---------- Action cards (reservation page) ---------- */
.actions { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 760px) { .actions { grid-template-columns: 1fr 1fr; } }
.action-card {
  padding: var(--s-12);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  display: flex; flex-direction: column; gap: var(--s-5);
  transition: border-color .25s ease, transform .25s ease;
}
.action-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.action-card .ai {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.25);
  color: var(--red);
}
.action-card .ai svg { width: 26px; height: 26px; }
.action-card h3 { font-size: var(--fs-2xl); }
.action-card p { color: var(--text-soft); }

/* ---------- Contact tiles ---------- */
.contact-tiles { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-tiles { grid-template-columns: repeat(3, 1fr); } }
.contact-tile {
  padding: var(--s-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-elev-1);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .25s ease, transform .25s ease;
}
.contact-tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.contact-tile .ct-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.22);
  color: var(--red);
}
.contact-tile .ct-icon svg { width: 22px; height: 22px; }
.contact-tile .label { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.contact-tile .val { font-family: 'Kanit', sans-serif; font-weight: 700; font-size: var(--fs-xl); color: var(--white); letter-spacing: -0.01em; }
.contact-tile a.val:hover { color: var(--red); }

/* ---------- Final CTA band ---------- */
.cta-band {
  position: relative;
  padding: var(--s-20) var(--s-5);
  border-radius: var(--r-xl);
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(204,0,0,0.16), transparent 60%),
    var(--bg-elev-1);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; }
.cta-band p { margin-top: var(--s-3); color: var(--text-soft); max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta-band .actions-row { margin-top: var(--s-8); display: inline-flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }
.cta-band::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050506;
  border-top: 1px solid var(--line);
  padding: var(--s-16) 0 var(--s-8);
  margin-top: var(--s-16);
}
.footer-grid {
  display: grid;
  gap: var(--s-10);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-12); } }
.footer-brand p { color: var(--text-muted); margin-top: var(--s-3); font-size: var(--fs-sm); max-width: 32ch; }
.footer-col h4 { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: var(--s-4); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-soft); font-size: var(--fs-sm); transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  border-radius: 999px;
  background: rgba(204,0,0,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(204,0,0,0.4);
  display: block;
}
.sticky-cta a {
  display: flex; align-items: center; justify-content: center;
  height: 56px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: var(--fs-md);
  gap: var(--s-2);
}
body.has-sticky-cta { padding-bottom: 84px; }
@media (min-width: 980px) {
  .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: var(--nav-h); }
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Schema/utility ---------- */
.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;
}
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
hr.rule { border: 0; height: 1px; background: var(--line); margin: var(--s-12) 0; }

/* ---------- Booking modal ---------- */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transition: opacity .28s ease;
}
.booking-modal.is-open {
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 1;
}
.booking-modal__panel {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: linear-gradient(180deg, rgba(22,22,27,0.98) 0%, rgba(17,17,20,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
}
.booking-modal.is-open .booking-modal__panel { transform: translateY(0); }
.booking-modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: rgba(10,10,11,0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.booking-modal__title {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.booking-modal__title .eyebrow { font-size: 11px; }
.booking-modal__title h3 {
  margin: 0;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}
.booking-modal__close {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.booking-modal__close:hover {
  background: rgba(204,0,0,0.15);
  border-color: rgba(204,0,0,0.45);
}
.booking-modal__close:active { transform: scale(0.96); }
.booking-modal__close svg { width: 20px; height: 20px; }
.booking-modal__body {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  background: #ffffff; /* The widget itself is light — give it a clean canvas */
}
.booking-modal__loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  color: #5b5b62;
  font-weight: 500;
  background: #ffffff;
  z-index: 1;
  pointer-events: none;
  transition: opacity .3s ease;
}
.booking-modal__loading[hidden] { display: none; }
.booking-modal__spinner {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(204,0,0,0.18);
  border-top-color: #CC0000;
  animation: bcpr-spin 0.9s linear infinite;
}
@keyframes bcpr-spin { to { transform: rotate(360deg); } }
#purvalet-modal-target {
  position: absolute; inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#purvalet-modal-target iframe.purvalet-widget-iframe {
  width: 100% !important;
  border: 0 !important;
  display: block;
  min-height: 100%;
}
@media (min-width: 820px) {
  .booking-modal { padding: 5vh 0; align-items: center; }
  .booking-modal__panel {
    height: min(90vh, 980px);
    max-width: 820px;
    border-radius: 24px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
  }
}
body.modal-open { overflow: hidden; }

/* Updated booking section — CTA card, no inline iframe */
.booking-cta {
  position: relative;
  text-align: center;
  padding: var(--s-12) var(--s-6);
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(204,0,0,0.18) 0%, rgba(204,0,0,0) 55%),
    linear-gradient(180deg, rgba(28,28,34,0.85) 0%, rgba(17,17,20,0.85) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.booking-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(204,0,0,0.35), rgba(255,255,255,0.04) 35%, rgba(255,255,255,0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.booking-cta h2 { margin: 14px 0 10px; }
.booking-cta p { color: var(--text-muted); max-width: 56ch; margin: 0 auto; }
.booking-cta .booking-cta__actions {
  margin-top: var(--s-7);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center;
}
.booking-cta .booking-cta__meta {
  margin-top: var(--s-6);
  display: inline-flex; flex-wrap: wrap; gap: 18px 28px;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.booking-cta .booking-cta__meta span { display: inline-flex; align-items: center; gap: 8px; }
.booking-cta .booking-cta__meta svg { width: 16px; height: 16px; color: var(--red); }

/* ---------- Manage reservation strip on homepage ---------- */
.manage-strip {
  margin-top: var(--s-10);
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-8);
}
.manage-strip__copy { min-width: 0; }
.manage-strip__copy h3 {
  font-size: var(--fs-xl);
  line-height: 1.15;
  margin-top: 8px;
  color: var(--white);
  text-wrap: balance;
}
.manage-strip__copy p {
  color: var(--text-soft);
  margin-top: 8px;
  max-width: 52ch;
  font-size: var(--fs-sm);
}
.manage-strip__actions {
  display: flex;
  gap: var(--s-3);
  flex-shrink: 0;
  align-items: center;
}
@media (max-width: 980px) {
  .manage-strip {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    padding: var(--s-6);
  }
  .manage-strip__copy h3 { font-size: var(--fs-lg); }
  .manage-strip__actions { width: 100%; }
  .manage-strip__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 480px) {
  .manage-strip__actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Print fallback ---------- */
@media print {
  .site-header, .site-footer, .sticky-cta, .drawer { display: none !important; }
  body { color: #000; background: #fff; padding: 0; }
}
