/* =====================================================
   ZAT & DANCE — Entertainment Venue
   Theme: Red / Black / Gold  |  Font: Kanit
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --red: #e01a2b;
  --red-deep: #a30f1c;
  --red-glow: rgba(224, 26, 43, 0.45);
  --gold: #d4af37;
  --gold-soft: #f0cf7a;
  --black: #0b0b0d;
  --black-2: #111114;
  --black-3: #17171b;
  --panel: #1c1c21;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a7a7ad;
  --muted-2: #74747c;

  --font: "Kanit", system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
  --shadow-red: 0 18px 45px -12px var(--red-glow);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

::selection { background: var(--red); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--red-deep); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }
.section--tight { padding: 70px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--gold { color: var(--gold); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-title .accent { color: var(--red); }
.section-title .gold { color: var(--gold); }
.section-sub { color: var(--muted); margin-top: 14px; font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, #ff2b3c 100%);
  color: #fff;
  box-shadow: 0 10px 25px -8px var(--red-glow);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #ff2b3c 0%, #ff5261 100%);
  box-shadow: 0 18px 40px -8px rgba(224, 26, 43, 0.55);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #1a1400;
  box-shadow: 0 10px 25px -8px rgba(212, 175, 55, 0.3);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-soft) 0%, #ffeaa7 100%);
  box-shadow: 0 18px 40px -8px rgba(212, 175, 55, 0.55);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}
.btn--block { width: 100%; justify-content: center; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.9);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.04em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 8px 22px -6px var(--red-glow);
  font-weight: 800; color: #fff; font-size: 1.15rem;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.brand-logo { height: 58px; width: auto; display: block; }
.footer-brand .brand-logo { height: 92px; }
.brand-name { font-size: 1.15rem; line-height: 1; }
.brand-name small { display: block; font-size: 0.6rem; letter-spacing: 0.34em; color: var(--gold); font-weight: 400; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  border-radius: 100px;
  transition: color 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: #fff; }

/* Icons + contact block live in markup but only show on mobile */
.nav-ico { display: none; width: 20px; height: 20px; flex-shrink: 0; }
.nav-mobile-extra { display: none; }
.nav-backdrop { display: none; }
.nav-drawer-top { display: none; }
.nav-close { display: none; }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  color: var(--text); font-family: inherit; font-size: 0.82rem; font-weight: 500;
  transition: border-color 0.25s, background 0.25s;
}
.lang-current:hover { border-color: var(--red); background: rgba(224,26,43,0.1); }
.lang-flag {
  width: 22px; height: 15px; border-radius: 3px; object-fit: cover;
  display: inline-block; flex-shrink: 0; vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12); background: var(--black-3);
}
.lang-current .lang-caret { font-size: 0.7rem; color: var(--muted); transition: transform 0.3s; }
.lang-switch.open .lang-current .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 168px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 1100;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { width: 100%; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 9px;
  color: var(--muted); font-family: inherit; font-size: 0.9rem; text-align: left;
  transition: background 0.2s, color 0.2s;
}
.lang-menu button .lang-flag { width: 24px; height: 16px; }
.lang-menu button:hover { background: var(--black-3); color: #fff; }
.lang-menu button.active { background: var(--red); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .hero-loc::before { margin-left: 8px; margin-right: 0; }
[dir="rtl"] .field .ico { left: auto; right: 14px; }
[dir="rtl"] .field input, [dir="rtl"] .field select { padding: 13px 40px 13px 14px; }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero-loc { letter-spacing: 0; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] .menu-item .badge,
[dir="rtl"] .contact-line, [dir="rtl"] .feature-item,
[dir="rtl"] .contact-mini { text-align: right; }
[dir="rtl"] .footer-col a:hover { padding-left: 0; padding-right: 5px; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.85) 0%, rgba(11,11,13,0.95) 100%),
    radial-gradient(70% 70% at 50% 50%, rgba(224,26,43,0.32), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-copy { max-width: 620px; }
.hero-loc {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 22px;
}
.hero-loc::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 strong {
  display: block;
  font-weight: 800;
  background: linear-gradient(120deg, var(--red) 0%, #ff4d5c 40%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px var(--red-glow));
}
.hero p.lead { color: var(--muted); font-size: 1.05rem; margin: 24px 0 34px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 34px; margin-top: 46px; }
.hero-stats .stat strong { font-size: 1.9rem; font-weight: 700; color: #fff; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats .stat strong span { color: var(--red); }
.hero-stats .stat small { color: var(--muted-2); font-size: 0.8rem; letter-spacing: 0.05em; }

/* Centered Hero Layout */
.hero-center-wrap {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-center-wrap h1 {
  text-align: center;
}
.hero-center-wrap p.lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 24px auto 38px;
  max-width: 640px;
  text-align: center;
}
.hero-center-wrap .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-center-wrap .hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 54px;
  justify-content: center;
}
.hero-center-wrap .hero-stats .stat strong {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}
.hero-center-wrap .hero-stats .stat strong span {
  color: var(--red);
}
.hero-center-wrap .hero-stats .stat small {
  color: var(--muted-2);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}
.hero-loc--center {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-loc--center::before, .hero-loc--center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

/* Reservation card */
.reserve-card {
  background: linear-gradient(135deg, rgba(28,28,33,0.72) 0%, rgba(17,17,20,0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 50px -15px rgba(224, 26, 43, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.reserve-card:hover {
  border-color: rgba(224, 26, 43, 0.35);
  box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.95), 0 0 60px -10px rgba(224, 26, 43, 0.45);
  transform: translateY(-2px);
}
.reserve-tabs { display: flex; background: var(--black-3); border-radius: 12px; padding: 5px; margin-bottom: 6px; }
.reserve-tabs button {
  flex: 1; padding: 11px; border-radius: 9px; color: var(--muted);
  font-size: 0.88rem; font-weight: 500; transition: 0.25s;
}
.reserve-tabs button.active { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px var(--red-glow); }
.reserve-body { padding: 22px 24px 26px; }
.reserve-body h3 { font-weight: 700; font-size: 1.35rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.reserve-body .hint { color: var(--muted); font-size: 0.85rem; margin-bottom: 22px; font-weight: 300; }

.field { position: relative; margin-bottom: 16px; }
.field .ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 1.05rem; pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(224, 26, 43, 0.4));
  transition: transform 0.3s var(--ease);
}
.field:focus-within .ico {
  transform: translateY(-50%) scale(1.15);
}
.field input, .field select {
  width: 100%; padding: 14px 14px 14px 44px;
  background: rgba(23, 23, 27, 0.65); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: 0.92rem; font-weight: 300;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus {
  outline: none;
  background: rgba(17, 17, 20, 0.95);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(224, 26, 43, 0.25);
}
.field select { appearance: none; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reserve-note { text-align: center; font-size: 0.8rem; color: var(--muted-2); margin-top: 16px; font-weight: 300; }
.reserve-note i { color: var(--gold); margin-right: 4px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: var(--muted); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--red), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 0%,100%{opacity:.3;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee {
  background: var(--red);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.3);
}
.marquee-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; color: #fff; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "◆"; color: var(--gold); font-size: 0.7rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =====================================================
   SPECIALS / FEATURED CARDS
   ===================================================== */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.special-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  position: relative;
}
.special-card:hover { transform: translateY(-8px); border-color: rgba(224,26,43,0.5); box-shadow: var(--shadow); }
.special-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.special-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); filter: brightness(0.9); }
.special-card:hover .special-media img { transform: scale(1.08); }
.special-media .tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11,11,13,0.8); border: 1px solid var(--line);
  color: var(--gold); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; font-weight: 500; backdrop-filter: blur(6px);
}
.special-media .price {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--red); color: #fff; font-weight: 600; font-size: 0.85rem;
  padding: 5px 12px; border-radius: 100px; box-shadow: var(--shadow-red);
}
.special-info { padding: 18px 18px 22px; }
.special-info h3 { font-weight: 600; font-size: 1.1rem; }
.special-info p { color: var(--muted); font-size: 0.86rem; margin-top: 6px; }

/* =====================================================
   SERVICE / MENU LIST (tabs)
   ===================================================== */
.menu-wrap { max-width: 900px; margin: 0 auto; }
.menu-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.menu-tabs button {
  padding: 10px 22px; border-radius: 100px; font-size: 0.86rem; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line); transition: 0.3s;
}
.menu-tabs button.active { background: #fff; color: var(--black); border-color: #fff; }
.menu-tabs button:hover:not(.active) { color: #fff; border-color: rgba(255,255,255,0.35); }

.menu-panel { display: none; }
.menu-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.menu-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.menu-item .mi-main { flex: 1; }
.menu-item h4 { font-weight: 500; font-size: 1.02rem; display: inline-flex; align-items: center; gap: 9px; }
.menu-item h4 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.menu-item .badge {
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(212,175,55,0.4); padding: 2px 8px; border-radius: 100px; font-weight: 500;
}
.menu-item p { color: var(--muted-2); font-size: 0.84rem; }
.menu-item .mi-price { color: var(--red); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }

/* =====================================================
   STORY / ABOUT
   ===================================================== */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.story-media img.story-logo { object-fit: contain; background: var(--black-3); padding: 45px; }
.story-media img.story-team { aspect-ratio: 4/5; object-fit: cover; }
.story-media .float {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; box-shadow: var(--shadow); max-width: 240px;
}
.story-media .float p { font-size: 0.82rem; color: var(--muted); font-style: italic; }
.story-media .float .stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 6px; letter-spacing: 2px; }

.story-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.18; }
.story-copy h2 .accent { color: var(--red); }
.story-copy p { color: var(--muted); margin: 20px 0; }
.feature-list { display: grid; gap: 16px; margin-top: 26px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .fi-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(224,26,43,0.12); color: var(--red); border: 1px solid rgba(224,26,43,0.25);
}
.feature-item h4 { font-weight: 600; font-size: 1rem; }
.feature-item p { margin: 2px 0 0; font-size: 0.86rem; }

/* =====================================================
   TEAM / LEADERSHIP
   ===================================================== */
/* คอลัมน์รูปกว้างคงที่ + aspect-ratio 3/4 ทำให้กรอบรูปทั้ง 3 ใบเท่ากันเป๊ะเสมอ
   ไม่ว่าไฟล์ต้นทางจะสัดส่วนไหน */
.leader { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
/* เส้นคั่นเฉพาะการ์ดใบที่ 2 เป็นต้นไป ใบแรกไม่ต้องมี */
.leader + .leader { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
/* สลับรูปไปฝั่งขวา — ต้องสลับความกว้างคอลัมน์ด้วย ไม่งั้นรูปจะไปตกในคอลัมน์ 1fr แล้วบานเต็มจอ */
.leader--reverse { grid-template-columns: 1fr 220px; }
.leader--reverse .leader__media { order: 2; }

/* height:auto จำเป็น เพื่อลบล้าง attribute height="1014" บน <img> ไม่งั้น aspect-ratio ไม่ทำงาน */
.leader__media img {
  width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--black-3); box-shadow: var(--shadow);
}
.leader__body .eyebrow { margin-bottom: 10px; }
.leader__name { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.2; }
.leader__role { color: var(--gold); font-size: 0.94rem; margin-top: 6px; }
.leader__points { margin-top: 20px; gap: 12px; list-style: none; }
.leader__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.92rem; }
.leader__points svg {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px;
  fill: none; stroke: var(--gold); stroke-width: 2;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(224,26,43,0.35), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* "Show more" toggle — revealed by JS, so the full grid stays visible without it */
.gallery-more { display: none; justify-content: center; margin-top: 34px; }
.gallery-more.is-ready { display: flex; }
.gallery-grid.is-collapsed .gallery-item--extra { display: none; }
#galleryMoreBtn .gm-label--less { display: none; }
#galleryMoreBtn[aria-expanded="true"] .gm-label--more { display: none; }
#galleryMoreBtn[aria-expanded="true"] .gm-label--less { display: inline; }

/* =====================================================
   STATS BAND
   ===================================================== */
.stats-band { background: var(--black-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-box { padding: 20px; }
.stat-box strong { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; display: block; }
.stat-box strong span { color: var(--red); }
.stat-box small { color: var(--muted); letter-spacing: 0.06em; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-map { min-height: 480px; position: relative; background: var(--black-3); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.9) contrast(0.9) hue-rotate(180deg); position: absolute; inset: 0; }
.contact-panel { background: var(--black-2); padding: 44px; }
.contact-panel h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.contact-panel h2 .accent { color: var(--red); }
.contact-list { display: grid; gap: 20px; margin: 28px 0; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; }
.contact-line .cl-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(224,26,43,0.12); color: var(--red); border: 1px solid rgba(224,26,43,0.25);
}
.contact-line .cl-ico svg { display: block; }
.contact-line small { color: var(--muted-2); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; display: block; }
.contact-line span { color: var(--text); font-weight: 400; }
.contact-quote { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
.contact-quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.contact-quote p { font-style: italic; color: var(--muted); font-size: 0.9rem; }
.contact-quote .who { font-style: normal; color: var(--text); font-weight: 500; margin-top: 8px; font-size: 0.86rem; }
.contact-quote .who span { color: var(--gold); }

/* Contact actions buttons */
.contact-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ico-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}
.ico-btn svg {
  display: block;
}
.contact-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.9rem;
  padding: 12px 20px;
}
.btn--line-oa {
  background: linear-gradient(135deg, #06c755 0%, #05b34d 100%);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(6, 199, 85, 0.45);
}
.btn--line-oa:hover {
  background: linear-gradient(135deg, #05b34d 0%, #049d43 100%);
  box-shadow: 0 18px 40px -8px rgba(6, 199, 85, 0.65);
  color: #fff;
  transform: translateY(-3px) scale(1.02);
}
.btn--line-oa:active {
  transform: translateY(-1px) scale(0.99);
}

/* Contact form (contact page) */
.contact-form { display: grid; gap: 14px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; display: block; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px; background: var(--black-3); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: 0.92rem; font-weight: 300;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(224,26,43,0.15);
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  position: relative; padding: 190px 0 90px; text-align: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(4px); transform: scale(1.08); }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0.9), rgba(11,11,13,0.82)),
              radial-gradient(50% 60% at 50% 0%, rgba(224,26,43,0.3), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; }
.page-hero h1 .accent { color: var(--red); }
.page-hero p { color: var(--muted); max-width: 560px; margin: 16px auto 0; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; margin-top: 22px; font-size: 0.84rem; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); }

/* =====================================================
   SERVICE PAGE CARDS
   ===================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); border-color: rgba(224,26,43,0.4); box-shadow: var(--shadow); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(224,26,43,0.18), rgba(212,175,55,0.12));
  border: 1px solid var(--line); margin-bottom: 22px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-ico svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  transition: transform 0.4s var(--ease);
}
.svc-card:hover .svc-ico svg {
  transform: scale(1.1);
}
.svc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--red);
  text-shadow: 0 0 10px rgba(224, 26, 43, 0.2);
  transition: color 0.4s var(--ease), text-shadow 0.4s var(--ease);
}
.svc-card:hover .svc-num {
  color: #fff;
  text-shadow: 0 0 12px rgba(224, 26, 43, 0.5);
}
.svc-card h3 { font-weight: 600; font-size: 1.25rem; }
.svc-card p { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }
.svc-card .svc-list { margin-top: 18px; display: grid; gap: 9px; }
.svc-card .svc-list li { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--muted); }
.svc-card .svc-list li::before { content: "✦"; color: var(--gold); font-size: 0.75rem; }
.svc-card .svc-price { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.svc-card .svc-price strong { color: var(--red); font-size: 1.5rem; font-weight: 700; }
.svc-card .svc-price small { color: var(--muted-2); }

/* =====================================================
   PRICING / PACKAGES
   ===================================================== */
.pkg-scroll-wrap {
  width: 100%;
  overflow: hidden;
}
.pkg-nav-mobile {
  display: none;
}
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; padding-top: 16px; }
.pkg-card {
  background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.pkg-card.featured { border-color: var(--red); background: linear-gradient(180deg, rgba(224,26,43,0.08), var(--black-2)); box-shadow: var(--shadow-red); }
.pkg-card:hover { transform: translateY(-6px); }
.pkg-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; font-weight: 500; box-shadow: var(--shadow-red);
}
.pkg-card h3 { font-weight: 600; font-size: 1.2rem; color: var(--gold); }
.pkg-price { font-size: 2.6rem; font-weight: 800; margin: 14px 0 4px; }
.pkg-price small { font-size: 0.9rem; font-weight: 300; color: var(--muted-2); }
.pkg-card > p { color: var(--muted); font-size: 0.88rem; }
.pkg-feats { display: grid; gap: 12px; margin: 24px 0; }
.pkg-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.pkg-feats li::before { content: "✓"; color: var(--red); font-weight: 700; }
.pkg-feats li.off { color: var(--muted-2); opacity: 0.55; }
.pkg-feats li.off::before { content: "✕"; color: var(--muted-2); }

/* =====================================================
   REVIEWS PAGE
   ===================================================== */
.review-summary { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.rs-score { text-align: center; background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.rs-score .big { font-size: 4.5rem; font-weight: 800; line-height: 1; color: var(--gold); }
.rs-score .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; margin: 10px 0; }
.rs-score p { color: var(--muted); font-size: 0.9rem; }
.rs-bars { display: grid; gap: 12px; }
.rs-bar { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--muted); }
.rs-bar .track { flex: 1; height: 8px; background: var(--black-3); border-radius: 100px; overflow: hidden; }
.rs-bar .fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 100px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.4s var(--ease), border-color 0.4s;
  break-inside: avoid;
  display: flex;
  flex-direction: column;
}
.review-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.4); }
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.review-card blockquote { color: var(--text); font-weight: 300; font-size: 0.96rem; line-height: 1.75; }
.review-card .reviewer { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.review-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); flex-shrink: 0; overflow: hidden;
}
.review-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card .reviewer h4 { font-weight: 500; font-size: 0.95rem; }
.review-card .reviewer small { color: var(--muted-2); font-size: 0.78rem; }

/* =====================================================
   CTA STRIP
   ===================================================== */
.cta-strip { position: relative; overflow: hidden; text-align: center; }
.cta-strip-bg { position: absolute; inset: 0; z-index: -2; }
.cta-strip-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-strip-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(11,11,13,0.88), rgba(11,11,13,0.92)), radial-gradient(50% 100% at 50% 100%, rgba(224,26,43,0.4), transparent); }
.cta-strip h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
.cta-strip h2 .accent { color: var(--red); }
.cta-strip p { color: var(--muted); max-width: 520px; margin: 14px auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--black-2); border-top: 1px solid var(--line); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--black-3); border: 1px solid var(--line); color: var(--muted); transition: 0.3s;
}
.footer-social a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }
.footer-col h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 0.88rem; transition: color 0.25s, padding 0.25s; }
.footer-col a:hover { color: var(--red); padding-left: 5px; }
.footer-col .contact-mini { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; text-decoration: none; }
.footer-col a.contact-mini:hover { color: var(--red); padding-left: 0; }
.footer-col .contact-mini i { color: var(--red); margin-top: 3px; }
.footer-col .contact-mini i svg { display: block; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: 0.82rem; }
.footer-bottom .flinks { display: flex; gap: 20px; }
.footer-bottom .flinks a { color: var(--muted-2); font-size: 0.82rem; }
.footer-bottom .flinks a:hover { color: var(--red); }

/* =====================================================
   REVEAL ANIMATION
   ===================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--panel); border: 1px solid var(--red); color: #fff;
  padding: 15px 26px; border-radius: 100px; box-shadow: var(--shadow); z-index: 2000;
  display: flex; align-items: center; gap: 12px; font-size: 0.92rem; transition: transform 0.5s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { color: var(--gold); }

/* Why Choose Us Section */
.wcu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.wcu-card {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.wcu-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.08), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease;
}
.wcu-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.8), 0 0 30px -10px rgba(212, 175, 55, 0.15);
}
.wcu-card:hover::before {
  opacity: 1;
}
.wcu-ico {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(212, 175, 55, 0.1); color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin: 0 auto 24px;
  transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.wcu-icon-svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  transition: stroke 0.4s var(--ease);
}
.wcu-card:hover .wcu-ico {
  transform: scale(1.1) rotate(5deg);
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
  box-shadow: 0 8px 20px -6px rgba(212, 175, 55, 0.3);
}
.wcu-card h3 {
  font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; color: #fff;
}
.wcu-card p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.6; font-weight: 300;
}

/* Booking Steps Section */
.bk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}
.bk-step {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.bk-step:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px -8px rgba(212, 175, 55, 0.1);
}
.bk-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-display);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.bk-step:hover .bk-num {
  color: #fff;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}
.bk-step h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.bk-step p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.62;
  font-weight: 300;
}
.bk-actions-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.bk-actions-wrap .btn {
  padding: 13px 26px;
  font-size: 0.92rem;
}
.bk-nav-mobile {
  display: none;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .reserve-card { max-width: 460px; }
  .specials-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .pkg-grid, .reviews-grid, .wcu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
  .review-summary { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .story-media .float { left: 16px; bottom: -16px; }
}

@media (max-width: 760px) {
  /* Booking Steps horizontal slider layout on mobile and iPad/tablet (including iPad Pro landscape) */
  .bk-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin-top: 32px;
    scrollbar-width: none;
  }
  .bk-grid::-webkit-scrollbar {
    display: none;
  }
  .bk-step {
    flex: 0 0 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    transform: none !important;
  }
  .bk-nav-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
  }
  .bk-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--black-3);
    border: 1px solid var(--line);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
  }
  .bk-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  .bk-dots {
    display: flex;
    gap: 8px;
  }
  .bk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted-2);
    cursor: pointer;
    transition: all 0.3s;
  }
  .bk-dot.active {
    background: var(--red);
    transform: scale(1.3);
  }
}

@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  /* ห้ามใช้ justify-items:center ตรงนี้ เพราะจะทำให้กล่องข้อความหดตามความยาวบรรทัดแล้วล้นขอบ
     จัดรูปให้อยู่กลางด้วย margin auto แทน ข้อความจะได้กว้างเต็มคอนเทนเนอร์ */
  .leader, .leader--reverse { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .leader__media { width: 180px; max-width: 100%; margin-inline: auto; }
  .leader--reverse .leader__media { order: 0; }
  .leader__points li { text-align: start; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  /* Keep the header controls (X button, language switcher) above the open
     drawer so the close button is always tappable. */
  .header-cta { position: relative; z-index: 1001; }

  /* When the drawer is open, hide the top navbar bar entirely — leaving only
     the full-screen menu (which carries its own logo + close button). */
  body.menu-open .header-inner > .brand,
  body.menu-open .header-cta { opacity: 0; visibility: hidden; pointer-events: none; }
  body.menu-open .site-header { background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; }

  /* Dim backdrop behind the drawer */
  .nav-backdrop {
    display: block; position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    z-index: 998;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }

  /* Full-screen slide-in menu.
     Closed = display:none → no layout box at all → CANNOT cause horizontal
     overflow or push the header controls off-screen, on any browser. */
  .nav {
    display: none; position: fixed; inset: 0;
    width: 100vw; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: linear-gradient(180deg, var(--black-2), var(--black));
    padding: 0 18px 26px;
    overflow-y: auto; overscroll-behavior: contain;
    z-index: 1002;
  }
  .nav.open { display: flex; animation: navSlideIn 0.4s var(--ease); }
  @keyframes navSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

  /* Drawer top bar: logo (left) + close button (right) */
  .nav-drawer-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0 16px; margin-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
  .nav-close {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
  }
  .nav-close:hover, .nav-close:active {
    color: #fff; border-color: var(--red);
    background: rgba(224, 26, 43, 0.15);
    transform: rotate(90deg);
  }

  .nav a {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 14px;
    width: 100%; padding: 14px 16px; font-size: 1rem; font-weight: 500;
    color: var(--muted); border-radius: 14px;
    transition: background 0.25s, color 0.25s;
  }
  .nav a::after { display: none; }
  .nav a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
  .nav-ico { display: block; width: 22px; height: 22px; opacity: 0.8; transition: color 0.25s, opacity 0.25s; }

  /* Active page: red gradient fill + gold left bar + gold icon */
  .nav a.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(224, 26, 43, 0.30), rgba(224, 26, 43, 0.04));
  }
  .nav a.active::before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
    width: 4px; border-radius: 0 4px 4px 0; background: var(--gold);
  }
  .nav a.active .nav-ico { color: var(--gold); opacity: 1; }

  /* Mobile extras: booking CTA + contact icons pinned to the bottom */
  .nav-mobile-extra { display: flex; flex-direction: column; margin-top: auto; padding-top: 20px; }
  .nav-book { width: 100%; justify-content: center; margin: 6px 0 20px; }
  .nav-contact { border-top: 1px solid var(--line); padding-top: 18px; }
  .nav-contact-label {
    display: block; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 14px;
  }
  .nav-contact-icons { display: flex; justify-content: space-between; gap: 10px; }
  .nav-contact-icons a {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text); border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .nav-contact-icons a:hover {
    color: #fff; border-color: var(--red);
    background: rgba(224, 26, 43, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px var(--red-glow);
  }
  /* Keep icon SVGs at their intrinsic size — flex must never shrink them */
  .nav-contact-icons a svg, .nav-close svg { flex-shrink: 0; }
  .nav-contact-hours { margin-top: 14px; font-size: 0.8rem; color: var(--muted); }

  /* RTL: drawer slides in from the left instead */
  [dir="rtl"] .nav { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--line); }
  [dir="rtl"] .nav.open { animation-name: navSlideInRtl; }
  @keyframes navSlideInRtl { from { transform: translateX(-100%); } to { transform: translateX(0); } }
  [dir="rtl"] .nav a.active::before { left: auto; right: 0; border-radius: 4px 0 0 4px; }
  .section { padding: 70px 0; }
  .menu-panel.active { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .story-media .float { position: static; margin-top: 16px; max-width: none; }
  .contact-panel { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .specials-grid { grid-template-columns: 1fr; }
  .svc-grid, .pkg-grid, .reviews-grid, .wcu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.6rem; }
}

/* Reviews Slider for Tablet/Mobile (specifically iPad and smaller) */
@media (max-width: 1024px) {
  /* target homepage only by scoping reviews-grid in this media query */
  .site-home .reviews-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 540px;
    margin: 0 auto;
  }
  .site-home .reviews-grid .review-card {
    display: none !important;
    width: 100%;
  }
  .site-home .reviews-grid .review-card.active {
    display: flex !important;
    animation: sliderFadeIn 0.4s var(--ease);
  }

  /* Slider Navigation */
  .reviews-slider-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  .reviews-slider-nav .slider-btn {
    background: var(--black-3);
    border: 1px solid var(--line);
    color: var(--muted);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.3s;
  }
  .reviews-slider-nav .slider-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
  }
  .reviews-slider-nav .slider-dots {
    display: flex;
    gap: 10px;
  }
  .reviews-slider-nav .slider-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: 0.3s;
  }
  .reviews-slider-nav .slider-dots .dot.active {
    background: var(--red);
    transform: scale(1.2);
  }
}

@keyframes sliderFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1025px) {
  .reviews-slider-nav {
    display: none !important;
  }
}

/* =====================================================
   REVIEWS MARQUEE (Home Page Auto-Scrolling)
   ===================================================== */
.reviews-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 30px 0;
}

/* Gradient overlays for premium fade effect on sides */
.reviews-marquee::before,
.reviews-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}
.reviews-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--black-2) 0%, transparent 100%);
}
.reviews-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--black-2) 0%, transparent 100%);
}

.reviews-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviewsScroll 30s linear infinite;
}

/* Pause animation on hover */
.reviews-marquee:hover .reviews-marquee-track {
  animation-play-state: paused;
}

.reviews-marquee-track .review-card {
  width: 380px;
  flex-shrink: 0;
}

/* Scroll Animation */
@keyframes reviewsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Support RTL direction */
[dir="rtl"] .reviews-marquee-track {
  animation-direction: reverse;
}

@media (max-width: 768px) {
  .section-head {
    margin-bottom: 24px;
  }
  .reviews-marquee {
    padding: 20px 0;
  }
  .reviews-marquee::before,
  .reviews-marquee::after {
    width: 60px;
  }
  .reviews-marquee-track {
    gap: 16px;
  }
  .reviews-marquee-track .review-card {
    width: 300px;
    padding: 20px;
  }

.gallery-scroll-wrap {
  width: 100%;
  overflow: hidden;
}

  /* Gallery Auto-scrolling Marquee on mobile */
  #gallery .container {
    max-width: 100%;
    padding: 0;
  }
  #gallery .section-head {
    padding: 0 20px;
  }
  .gallery-grid {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: galleryScroll 110s linear infinite;
    grid-template-columns: none;
    grid-auto-rows: auto;
    padding: 10px 0; /* padding-left/right set to 0 for a seamless animation loop */
  }
  .gallery-grid:hover {
    animation-play-state: paused;
  }
  .gallery-item {
    width: 360px; /* larger image width */
    height: 270px; /* larger image height (exact 4:3) */
    flex-shrink: 0;
  }
  .gallery-item.tall, .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }
  /* Marquee already scrolls every image, so the toggle has nothing to collapse */
  .gallery-more, .gallery-more.is-ready { display: none; }
  @keyframes galleryScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Packages horizontal slider layout on mobile */
  .pkg-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin-top: 12px;
    scrollbar-width: none;
    padding: 25px 0 15px;
    align-items: stretch;
    grid-template-columns: none;
    grid-auto-rows: auto;
  }
  .pkg-grid::-webkit-scrollbar {
    display: none;
  }
  .pkg-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    transform: none !important;
  }
  .pkg-nav-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
  }
  .pkg-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--black-3);
    border: 1px solid var(--line);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
  }
  .pkg-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  .pkg-dots {
    display: flex;
    gap: 8px;
  }
  .pkg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted-2);
    cursor: pointer;
    transition: all 0.3s;
  }
  .pkg-dot.active {
    background: var(--red);
    transform: scale(1.3);
  }
}

/* =====================================================
   GALLERY LIGHTBOX MODAL
   ===================================================== */
.gallery-item {
  cursor: pointer;
}

/* Add zoom icon indicator on hover */
.gallery-item::before {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 1.8rem;
  color: #fff;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  pointer-events: none;
}
.gallery-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 11, 13, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: 850px;
  max-width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}
.lightbox.open .lightbox-content img {
  transform: scale(1);
}

.lightbox-caption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 15px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}
.lightbox-close:hover {
  color: var(--red);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10000;
  display: grid;
  place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev {
  left: 30px;
}
.lightbox-next {
  right: 30px;
}

/* Adjustments for Mobile screens */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
  }
}
