@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600&family=Noto+Sans+Thai:wght@400;500;600&family=Noto+Serif+Thai:wght@500&display=swap');

:root {
  /* Neutral tonal scale */
  --tone-50: #F9F6F3;
  --tone-100: #F0EBE4;
  --tone-200: #E0D5C8;
  --tone-300: #D5C5B4;
  --tone-400: #B79980;
  --tone-500: #A88267;
  --tone-600: #9B715B;
  --tone-700: #815C4D;
  --tone-800: #6A4C42;
  --tone-900: #564038;
  --tone-950: #2E201C;

  --cream: var(--tone-50);
  --tan-lightest: var(--tone-300);
  --tan-light: var(--tone-400);
  --tan-mid: var(--tone-600);
  --brown-deep: var(--tone-700);
  --brown-darkest: var(--tone-900);
  --ink: var(--tone-950);
  --text-muted: var(--tone-800);
  --gold: #E4B04D;
  --white: #FFFFFF;

  --font-heading: 'DM Serif Display', 'Noto Serif Thai', serif;
  --font-body: 'Inter', 'Noto Sans Thai', sans-serif;

  --section-pad: clamp(48px, 8vw, 96px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Headings previously used Playfair, which defaults to old-style (bouncy) numbers; use even, lining figures */
body { font-variant-numeric: lining-nums; }


body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

.placeholder-note {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown-deep);
  background: var(--tan-lightest);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  font-family: var(--font-body);
  vertical-align: middle;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(46, 32, 19, 0.08);
  padding: 12px clamp(20px, 5vw, 56px);
}

.site-header .logo-mark {
  height: 40px;
  width: auto;
  transition: filter 0.3s ease;
}

.site-header .logo-link {
  display: inline-flex;
  line-height: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.site-nav a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.site-header.scrolled .site-nav a { color: var(--ink); }

.btn-book {
  background: var(--brown-darkest);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Mobile menu overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: clamp(20px, 5vw, 40px);
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav-book { padding: 12px 28px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--brown-darkest);
}

.hero--compact {
  height: 100vh;
  min-height: 700px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--white);
  opacity: 1;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  background: rgba(20, 14, 8, 0.45);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 18px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}

.hero--compact .hero-content p { margin-bottom: 22px; }

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Home hero: the poster photo sits behind the video as a plain background, so a
   photo always shows even if a phone (iPhone Safari, Low Power Mode, slow data)
   hasn't loaded the video yet. The video fades in on top once a frame is ready. */
#home.hero {
  background: var(--brown-darkest) url("assets/images/hero-poster.jpg") center / cover no-repeat;
}
#home.hero video { opacity: 0; transition: opacity .4s ease; }
#home.hero video.is-ready { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,32,19,0.35) 0%, rgba(46,32,19,0.15) 40%, rgba(46,32,19,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: var(--white);
}

.hero-content .logo-mark {
  height: 84px;
  width: auto;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  max-width: 30ch;
  white-space: nowrap;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 42ch;
  opacity: 0.92;
  margin-bottom: 34px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(228,176,77,0.35); }

.btn-outline {
  border: 1.5px solid var(--white);
  color: var(--white);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.6);
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: var(--white);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ---------- Section shell ---------- */
section { padding: var(--section-pad) clamp(20px, 6vw, 80px); }

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan-mid);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 14px;
}

.section-header p { color: var(--text-muted); }

/* ---------- Our Legacy ---------- */
.intro {
  background: var(--cream);
}

.intro .section-header { text-align: center; }

.intro p { color: var(--text-muted); font-size: 1.05rem; }

.legacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.legacy-photo-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(46, 32, 19, 0.16);
  aspect-ratio: 4 / 3;
}

.legacy-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.legacy-photo-frame.in-view .legacy-photo {
  transform: scale(1.07);
}

.legacy-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--white);
  background: rgba(46, 32, 19, 0.4);
  backdrop-filter: blur(3px);
  padding: 5px 14px;
  border-radius: 999px;
}

.legacy-text .intro-stats { justify-content: flex-start; }

.intro-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 64px);
  margin-top: 40px;
  flex-wrap: wrap;
}

.intro-stats div { text-align: center; }

@media (max-width: 760px) {
  .legacy-grid { grid-template-columns: 1fr; }
  .legacy-text .intro-stats { justify-content: center; }
  .hero-content h1 { white-space: normal; }
}

.intro-stats .num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--brown-darkest);
  display: block;
}

.intro-stats .label {
  font-size: 0.82rem;
  color: var(--tan-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Services ---------- */
.services { background: var(--cream); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(46,32,19,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(46,32,19,0.14); }

.service-card .thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.service-card .thumb.placeholder {
  background: linear-gradient(135deg, var(--tan-light), var(--brown-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}

.service-card .body { padding: 20px 22px 24px; }

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.service-card .price {
  color: var(--brown-darkest);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.service-card p.desc { font-size: 0.9rem; color: var(--text-muted); }

.services-cta { text-align: center; margin-top: 44px; }

/* ---------- Branch teaser ---------- */
.branches {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

.branches .eyebrow { color: var(--tan-mid); }
.branches h2 { color: var(--ink); }
.branches p.lead { color: var(--text-muted); max-width: 520px; margin: 0 auto 36px; }

.branch-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.branch-pill {
  border: 1px solid rgba(46,32,19,0.2);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--brown-darkest);
}

.branches .btn-outline {
  background: var(--brown-darkest);
  border-color: var(--brown-darkest);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(46, 32, 19, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.branches .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(46, 32, 19, 0.32);
}

/* ---------- Promotions ---------- */
.promotions { background: var(--cream); text-align: center; }

.promotions .btn-outline {
  background: var(--brown-darkest);
  border-color: var(--brown-darkest);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(46, 32, 19, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promotions .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(46, 32, 19, 0.32);
}

/* ---------- Book CTA ---------- */
.book-cta { background: var(--cream); }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.promo-card {
  background: var(--white);
  border: 1px solid var(--tan-lightest);
  border-radius: 14px;
  padding: 26px;
}

.promo-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--tan-lightest);
  color: var(--brown-darkest);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.promo-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.promo-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Inner page header (non-hero pages) ---------- */
.page-header {
  background: var(--cream);
  text-align: center;
  padding-top: calc(var(--section-pad) + 64px);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 10px 0 14px;
  color: var(--ink);
}

.page-header .lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
}

.page-header--slim { padding-bottom: 0; }

/* ---------- Map ---------- */
.map-section {
  background: var(--cream);
  padding-top: 0;
}

.map-frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(46, 32, 19, 0.16);
}

.map-frame iframe {
  width: 100%;
  height: clamp(360px, 55vw, 520px);
  border: 0;
  display: block;
}

.map-frame--compact {
  margin-bottom: 36px;
}

.map-frame--compact iframe {
  height: clamp(280px, 40vw, 380px);
}

/* ---------- Branch list ---------- */
.branch-list-section { background: var(--cream); }

.branch-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.branch-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 10px;
}

.branch-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(46, 32, 19, 0.12);
}

.branch-sidebar-links { display: flex; flex-direction: column; }

.branch-sidebar-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 7px 0 7px 12px;
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  line-height: 1.35;
}

.branch-sidebar-links a:hover { color: var(--ink); }

.branch-sidebar-links a.is-active {
  color: var(--ink);
  border-left-color: var(--gold);
  background: rgba(228, 176, 77, 0.12);
}

.branch-layout > * { min-width: 0; }

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}

.branch-card { scroll-margin-top: 110px; }

.branch-card-photo {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
}

.branch-card-photo--empty {
  background: var(--tone-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.branch-card-photo--empty span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tone-600);
}

.branch-card h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.branch-card .addr {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.branch-card .hours {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.branch-card .phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-darkest);
}

.branch-card .phone a { color: inherit; }

.branch-card .phone .phone-sep {
  color: var(--tan-mid);
  font-weight: 400;
  margin: 0 2px;
}

.branch-card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown-darkest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1000px) {
  .branch-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .branch-sidebar { position: static; max-height: none; overflow: visible; padding-right: 0; }
  .branch-sidebar-title { display: none; }
  .branch-sidebar-links {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .branch-sidebar-links a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 14px;
    border: 1px solid var(--tone-200);
    border-radius: 999px;
    background: var(--white);
  }
  .branch-sidebar-links a.is-active { border-color: var(--gold); }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .branch-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact / Head Office ---------- */
.contact-hq { background: var(--cream); padding-top: 0; }

.contact-hq-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.contact-hq-info h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  margin: 8px 0 18px;
}

.contact-hq-address {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.contact-hq-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.contact-hq-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-hq-line:hover { color: var(--brown-darkest); }

.contact-hq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tone-200);
  color: var(--brown-darkest);
  flex-shrink: 0;
}

.contact-hq-map {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(46, 32, 19, 0.16);
}

.contact-hq-map iframe {
  width: 100%;
  height: clamp(320px, 34vw, 440px);
  border: 0;
  display: block;
}

@media (max-width: 760px) {
  .contact-hq-grid { grid-template-columns: 1fr; }
}

/* ---------- Admin ---------- */
.admin-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 24px;
}

.admin-card {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(46, 32, 19, 0.16);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}

.admin-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 22px;
  filter: none;
}

.admin-card h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.admin-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.admin-label {
  display: block;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin: 14px 0 6px;
}

.admin-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--tone-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--tone-50);
}

.admin-input:focus {
  outline: none;
  border-color: var(--brown-deep);
}

.admin-error {
  color: #B3261E;
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: left;
}

.admin-submit {
  width: 100%;
  margin-top: 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.admin-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.admin-textarea { resize: vertical; font-family: var(--font-body); }

.admin-photo-picker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-photo-preview {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--tone-100);
  background-size: cover;
  background-position: center;
  border: 1.5px dashed var(--tone-300);
}

.admin-photo-preview.has-photo {
  border-style: solid;
  border-color: var(--tone-200);
}

.admin-photo-picker-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.admin-file-input {
  font-size: 0.85rem;
  color: var(--ink);
  max-width: 100%;
}

.admin-position-picker {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 150px;
  border-radius: 10px;
  background-color: var(--tone-100);
  background-repeat: no-repeat;
  border: 1.5px dashed var(--tone-300);
  overflow: hidden;
  margin-top: 8px;
  cursor: default;
  touch-action: none;
  user-select: none;
}

.admin-position-picker.has-photo {
  border-style: solid;
  border-color: var(--tone-200);
  cursor: grab;
}

.admin-position-picker.has-photo.dragging {
  cursor: grabbing;
}

.admin-position-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 12px;
}

.admin-zoom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  margin-top: 10px;
}

.admin-zoom-row input[type="range"] {
  flex: 1;
}

.admin-zoom-row .admin-optional {
  flex: 0 0 auto;
}

.admin-reset-position-btn {
  margin-top: 8px;
  width: auto;
  display: inline-block;
}

.admin-section-label {
  margin: 26px 0 4px;
  padding-top: 18px;
  border-top: 1px solid var(--tone-200);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tone-500, var(--text-muted));
}

.admin-form-card .admin-section-label:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.admin-price-row {
  display: grid;
  grid-template-columns: 74px 64px auto auto 100px 1fr 32px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.admin-price-row .admin-input {
  padding: 9px 10px;
  font-size: 0.88rem;
}

.admin-price-colon {
  font-weight: 600;
  color: var(--brown-deep);
  text-align: center;
}

.admin-price-baht {
  font-weight: 600;
  color: var(--brown-deep);
}

.admin-remove-price-btn {
  padding: 6px 0;
  width: 32px;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-muted);
}

.admin-remove-price-btn:hover { border-color: #B3261E; color: #B3261E; }

.admin-add-price-btn {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .admin-price-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "duration unit"
      "colonbaht colonbaht"
      "amount amount"
      "note note"
      "remove remove";
  }
  .admin-price-row .admin-price-duration { grid-area: duration; }
  .admin-price-row .admin-price-unit { grid-area: unit; }
  .admin-price-row .admin-price-colon { display: none; }
  .admin-price-row .admin-price-baht { display: none; }
  .admin-price-row .admin-price-amount { grid-area: amount; }
  .admin-price-row .admin-price-note { grid-area: note; }
  .admin-price-row .admin-remove-price-btn { grid-area: remove; width: 100%; }
}

/* ---------- Admin dashboard ---------- */
.admin-topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: var(--ink);
}

.admin-topbar .logo-mark { height: 36px; width: auto; }

.admin-topbar h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--white);
  flex: 1;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-whoami {
  color: var(--tan-light);
  font-size: 0.85rem;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: var(--white);
  border-bottom: 1px solid var(--tone-200);
}

.admin-tab {
  appearance: none;
  border: none;
  background: none;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
}

.admin-tab.active {
  color: var(--brown-darkest);
  border-bottom-color: var(--brown-darkest);
}

.admin-logout {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  padding: 8px 18px;
  font-size: 0.85rem;
  cursor: pointer;
}

.admin-main {
  background: var(--cream);
  min-height: 100vh;
  padding: clamp(20px, 4vw, 48px);
}

.admin-main-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-main-head .admin-sub { max-width: 520px; }

.admin-main-head button { cursor: pointer; border: none; white-space: nowrap; }

.admin-category-block { margin-bottom: 40px; }

.admin-category-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tone-200);
}

.admin-subgroup-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan-mid);
  margin: 18px 0 8px;
}

.admin-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(46, 32, 19, 0.06);
}

.admin-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: var(--tone-200);
  flex-shrink: 0;
}

.admin-item-info { flex: 1; min-width: 0; }

.admin-item-info h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.admin-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.admin-item-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brown-darkest);
  background: var(--tone-100);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.admin-item-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-deep);
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-small-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-color: var(--tone-300);
  color: var(--ink);
  cursor: pointer;
}

.admin-delete-btn:hover { border-color: #B3261E; color: #B3261E; }

@media (max-width: 640px) {
  .admin-item-row { flex-wrap: wrap; }
  .admin-item-actions { width: 100%; justify-content: flex-end; }
}

/* ---------- Admin add/edit overlay ---------- */
.admin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 32, 19, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.admin-overlay[hidden] { display: none; }
.admin-page[hidden] { display: none; }

.admin-form-card {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
}

.admin-form-card h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.admin-form-actions button {
  flex: 1;
  cursor: pointer;
  border: 1.5px solid var(--brown-darkest);
}

.admin-form-actions .btn-outline { color: var(--brown-darkest); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 56px clamp(20px, 6vw, 80px) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-grid .logo-mark { height: 44px; margin-bottom: 16px; }

.footer-grid p { font-size: 0.9rem; opacity: 0.75; max-width: 32ch; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tan-light);
  margin-bottom: 16px;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  opacity: 0.55;
  text-align: center;
}

/* ---------- Menu page ---------- */
.menu-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 8px;
}

.menu-jump a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brown-deep);
  background: var(--tone-100);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-jump a:hover { background: var(--brown-darkest); color: var(--white); }

.menu-jump-group { }
.menu-jump-group:last-child { margin-bottom: 0; }

.menu-jump-label {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan-mid);
  margin-bottom: 10px;
}

/* Quick-jump pills sitting inside the dark video hero (menu page) */
.menu-jump-wrap {
  margin-top: 10px;
  width: 100%;
  max-width: 900px;
}

.hero-content .menu-jump-label { color: rgba(255,255,255,0.7); }

.hero-content .menu-jump a {
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.hero-content .menu-jump a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.menu-big-divider {
  text-align: center;
  padding: 36px 0 32px;
  background: var(--white);
  border-top: 1px solid var(--tone-200);
  border-bottom: 1px solid var(--tone-200);
}

.menu-big-divider .eyebrow { display: block; margin-bottom: 8px; }

.menu-big-divider h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding: 0 28px;
}

.menu-big-divider h2::before,
.menu-big-divider h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: rgba(46, 32, 19, 0.2);
}

.menu-big-divider h2::before { left: -60px; }
.menu-big-divider h2::after { right: -60px; }

.menu-category {
  background: var(--cream);
  scroll-margin-top: 90px;
}

.menu-category:nth-child(even) { background: var(--tone-100); }

.menu-groups {
  max-width: 820px;
  margin: 0 auto;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(46, 32, 19, 0.08);
}

.menu-item:last-child { border-bottom: none; }

.menu-item .info h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.menu-item .info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 480px;
}

.menu-item .info .tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown-deep);
  background: var(--tone-200);
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 6px;
}

.menu-item .price {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--brown-darkest);
  white-space: nowrap;
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.5;
}

.menu-callout {
  max-width: 820px;
  margin: 40px auto 0;
  background: var(--brown-darkest);
  color: var(--white);
  border-radius: 18px;
  padding: 32px 36px;
  text-align: center;
}

.menu-callout h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.menu-callout p { color: rgba(255,255,255,0.8); font-size: 0.92rem; max-width: 480px; margin: 0 auto; }

.precaution-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--tone-100);
  border: 1px solid rgba(46,32,19,0.1);
  border-radius: 14px;
  padding: 28px 32px;
}

.precaution-box h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.precaution-box ul {
  list-style: none;
  margin-bottom: 14px;
}

.precaution-box li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.precaution-box li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--tan-mid);
}

.precaution-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.precaution-box p:last-child { margin-bottom: 0; }

/* ---------- Menu treatment cards ---------- */
.menu-card-grid {
  max-width: 1100px;
  margin: 0 auto 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 20px 0;
}

.menu-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(46, 32, 19, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(46,32,19,0.13); }

.menu-card .thumb {
  height: 150px;
  background-size: cover;
  background-position: center;
}

.menu-card .body { padding: 16px 18px 20px; }

.menu-card h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.menu-card p.desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  min-height: 34px;
}

.menu-card .tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brown-deep);
  background: var(--tone-200);
  padding: 2px 7px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.menu-card .price {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.menu-card .price-chip {
  font-size: 0.78rem;
  color: var(--brown-deep);
  background: var(--cream);
  border: 1px solid var(--tone-200);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}

.menu-card .price-chip b {
  font-weight: 600;
  color: var(--brown-darkest);
}

.menu-card-single {
  max-width: 300px;
  margin: 0 auto 8px;
}

.menu-card-wide {
  max-width: 480px;
  margin: 0 auto 8px;
}

.combo-photos {
  display: flex;
  align-items: stretch;
  height: 100px;
}

.combo-photo {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.combo-plus {
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--tan-mid);
  background: var(--white);
}

.combo-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(46, 32, 19, 0.12);
}

.combo-group-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--brown-deep);
  text-align: center;
  margin: 40px 0 18px;
}

.combo-group-title:first-of-type { margin-top: 8px; }

.menu-groups-secondary {
  max-width: 820px;
  margin: 36px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(46, 32, 19, 0.1);
}

.menu-groups-secondary .sub-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan-mid);
  margin-bottom: 4px;
}

/* ---------- News & Promotion: carousel ---------- */
.promo-section { background: var(--cream); }

.promo-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.promo-carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.promo-carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.promo-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.promo-carousel-slide > .app-card,
.promo-carousel-slide > .credit-card {
  min-width: 0;
  width: 100%;
}

.promo-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--tone-200);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(46, 32, 19, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.promo-arrow:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(46, 32, 19, 0.16);
}

.promo-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.promo-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--tone-200);
  cursor: pointer;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.promo-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--gold);
}

@media (max-width: 560px) {
  .promo-carousel { gap: 8px; }
  .promo-arrow { width: 36px; height: 36px; }
}

.app-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--tone-200);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 18px 44px rgba(46, 32, 19, 0.08);
}

.app-card-intro {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  margin-bottom: 28px;
}

.app-card-heading h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--ink);
  margin: 0 0 8px;
}

.app-card-heading .lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .app-card-intro {
    flex-direction: column;
    text-align: center;
  }
  .app-card-heading .lead { text-align: center; }
}

.app-features {
  list-style: none;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-features li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.app-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
}

.app-features li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 5px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.app-download-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.app-store-btn {
  display: block;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(46, 32, 19, 0.22);
}

.app-store-btn img {
  display: block;
  height: 42px;
  width: auto;
}

.app-store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(46,32,19,0.3); }

.app-web-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--tan-mid);
  text-decoration: none;
  font-weight: 600;
}

.app-web-link:hover { color: var(--brown-darkest); }

/* ---------- News & Promotion: Member Credit ---------- */
.credit-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--tone-200);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 18px 44px rgba(46, 32, 19, 0.08);
}

.credit-card .section-header { margin-bottom: 32px; }

.credit-tickets {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.credit-ticket {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px 10px;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  padding: 22px 20px;
  min-width: 220px;
  box-shadow: 0 16px 30px rgba(46, 32, 19, 0.3);
}

.credit-ticket-label {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan-lightest);
}

.credit-ticket-get {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.credit-ticket-amount {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.6rem;
}

.credit-ticket-arrow {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.credit-ticket-result {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--gold);
}

.credit-perks {
  list-style: none;
  max-width: 620px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  text-align: left;
}

.credit-perks li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.credit-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
}

.credit-perks li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 5px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.credit-footnote {
  text-align: center;
  color: var(--tan-light);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.credit-cta-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.credit-app-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--tan-mid);
  cursor: pointer;
  white-space: nowrap;
}

.credit-app-link:hover { color: var(--brown-darkest); }

@media (max-width: 560px) {
  .credit-perks { grid-template-columns: 1fr; }
  .credit-card { padding: 28px 18px; }
  .credit-ticket { min-width: 0; width: 100%; max-width: 320px; padding: 18px 14px; gap: 6px 8px; }
  .credit-ticket-amount, .credit-ticket-result { font-size: 1.3rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu-item { flex-direction: column; gap: 6px; }
  .menu-item .price { text-align: left; }
  .menu-card-grid { grid-template-columns: 1fr; }
  .menu-big-divider h2::before,
  .menu-big-divider h2::after { display: none; }
}

@media (max-width: 980px) and (min-width: 761px) {
  .menu-card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Branch reordering buttons (admin) */
.admin-order-pos {
  align-self: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tone-600);
  min-width: 34px;
  text-align: right;
  margin-right: 4px;
}

.admin-move-btn { min-width: 36px; padding-left: 0; padding-right: 0; }
@media (max-width: 640px) { .admin-item-actions { flex-wrap: wrap; } }
.admin-move-btn:disabled { opacity: 0.35; cursor: default; }

/* ================= Lek Academy ================= */
.academy-header { padding-bottom: 24px; }
.academy-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn-outline-dark { border: 1.5px solid var(--brown-darkest); color: var(--brown-darkest); }
.btn-outline-dark:hover { background: var(--brown-darkest); color: #fff; }
.academy-section { background: var(--cream); }
.academy-course-grid { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; }
.academy-card { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px rgba(46,32,19,0.08); }
.academy-card-media { position: relative; }
.academy-card-photo { height: 190px; background-size: cover; background-position: center; background-color: var(--tone-200); }
.academy-hours { position: absolute; left: 14px; bottom: 14px; background: rgba(46,32,28,0.85); color: #fff; font-size: 0.75rem; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 999px; }
.academy-card-body { padding: 20px 20px 22px; }
.academy-card h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.academy-th { font-size: 0.85rem; color: var(--tan-mid); margin: 2px 0 8px; }
.academy-schedule { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brown-deep); background: var(--tone-200); padding: 3px 8px; border-radius: 3px; margin-bottom: 10px; }
.academy-summary { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.academy-details { border-top: 1px solid var(--tone-200); padding-top: 10px; margin-bottom: 14px; }
.academy-details summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--brown-darkest); list-style: none; }
.academy-details summary::-webkit-details-marker { display: none; }
.academy-details summary::after { content: ' +'; }
.academy-details[open] summary::after { content: ' –'; }
.academy-details h5 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tan-mid); margin: 12px 0 4px; }
.academy-details p { font-size: 0.85rem; color: var(--text-muted); }
.academy-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--tone-200); padding-top: 14px; }
.academy-price span { font-size: 0.8rem; color: var(--text-muted); }
.academy-price b { font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; color: var(--brown-darkest); }
.academy-bundles-section { background: var(--tone-100); }
.academy-bundle-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.academy-bundle { background: var(--white); border-radius: 14px; overflow: hidden; padding: 0; box-shadow: 0 8px 20px rgba(46,32,19,0.08); text-align: center; }
.academy-bundle h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.2rem; margin-bottom: 8px; }
.academy-bundle-price { display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.academy-bundle-price b { font-family: var(--font-heading); font-weight: 400; font-size: 2rem; color: var(--brown-darkest); }
.academy-bundle-price s { color: var(--text-muted); font-size: 0.9rem; }
.academy-save { display: inline-block; margin: 8px 0 14px; font-size: 0.75rem; font-weight: 600; background: var(--gold); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.academy-bundle ul { list-style: none; border-top: 1px solid var(--tone-200); padding-top: 12px; }
.academy-bundle li { font-size: 0.88rem; color: var(--text-muted); padding: 3px 0; }
.academy-bundle li small { color: var(--tan-mid); }
.academy-work-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.academy-work h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.academy-work p { color: var(--text-muted); }
.academy-poster-thumb { position: relative; border: 0; background: none; cursor: zoom-in; padding: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(46,32,19,0.15); max-width: 260px; justify-self: center; }
.academy-poster-thumb img { width: 100%; height: auto; }
.academy-poster-thumb span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(46,32,28,0.8); color: #fff; font-size: 0.8rem; padding: 8px; }
.academy-cert-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.academy-cert-grid figure button, .academy-poster-grid button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(46,32,19,0.12); transition: transform 0.25s ease; }
.academy-cert-grid figure button:hover, .academy-poster-grid button:hover { transform: translateY(-3px); }
.academy-cert-grid img, .academy-poster-grid img { width: 100%; height: auto; }
.academy-cert-grid figcaption { text-align: center; font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }
.academy-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 18px; }
.academy-enrol { background: var(--brown-darkest); }
.academy-enrol-card { max-width: 860px; margin: 0 auto; text-align: center; color: #fff; }
.academy-enrol-card .eyebrow { color: var(--gold); }
.academy-enrol-card h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.academy-enrol-card > p { color: var(--tone-300); }
.academy-enrol-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; text-align: center; }
.academy-enrol-details h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 8px; }
.academy-enrol-details a, .academy-enrol-details span { color: #fff; font-size: 0.95rem; text-decoration: none; }
.academy-enrol-details a:hover { text-decoration: underline; }
.academy-poster-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 5000; background: rgba(20,12,10,0.88); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox-close { position: absolute; top: 14px; right: 20px; font-size: 2.4rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
@media (max-width: 1000px) {
  .academy-card { flex-basis: calc((100% - 24px) / 2); }
  .academy-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .academy-poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .academy-card { flex-basis: 100%; }
  .academy-bundle-grid, .academy-enrol-details { grid-template-columns: minmax(0, 1fr); }
  .academy-work-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .academy-poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Admin: academy tab */
.admin-group-title { font-family: var(--font-heading); font-weight: 400; font-size: 1.3rem; margin: 0 0 12px; }
.admin-checks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.admin-check { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; cursor: pointer; }
.admin-check input { width: 16px; height: 16px; }

/* Homepage: academy teaser */
.academy-teaser { background: var(--brown-darkest); text-align: center; color: #fff; }
.academy-teaser .eyebrow { color: var(--gold); }
.academy-teaser h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.academy-teaser .lead { max-width: 520px; margin: 0 auto 26px; color: var(--tone-300); }

/* Academy bundle photo collage */
.academy-bundle-body { padding: 24px 24px 26px; }
.academy-bundle-collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; height: 180px; }
.academy-bundle-collage span { background-size: cover; background-position: center; grid-column: span 2; }
.academy-bundle-collage.n1 span { grid-column: span 6; }
.academy-bundle-collage.n2 span, .academy-bundle-collage.n4 span { grid-column: span 3; }
.academy-bundle-collage.n4, .academy-bundle-collage.n5, .academy-bundle-collage.n6 { grid-template-rows: 1fr 1fr; }
.academy-bundle-collage.n5 span:nth-child(n+4) { grid-column: span 3; }

/* Page banner (hero image on inner pages) */
.page-banner { position: relative; background-size: cover; background-position: center 35%; padding-bottom: clamp(150px, 16vw, 210px); isolation: isolate; }
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,8,0.55) 0, rgba(20,12,8,0) 150px), linear-gradient(180deg, rgba(30,20,16,0.5) 0%, rgba(30,20,16,0.45) 45%, rgba(249,246,243,0.55) 78%, var(--cream) 100%); }
.page-banner .eyebrow { color: var(--gold); }
.page-banner h1 { color: #fff; }
.page-banner .lead { color: rgba(255,255,255,0.88); }
.page-banner + .map-section { padding-top: 0; }

.page-banner .btn-outline-dark { border-color: #fff; color: #fff; }
.page-banner .btn-outline-dark:hover { background: #fff; color: var(--brown-darkest); }
.academy-header.page-banner { padding-bottom: clamp(150px, 16vw, 210px); }

/* Academy hero: solid white secondary button */
.page-banner .academy-cta .btn-outline-dark { background: #fff; border-color: #fff; color: var(--brown-darkest); }
.page-banner .academy-cta .btn-outline-dark:hover { background: var(--cream); border-color: var(--cream); transform: translateY(-2px); }

.admin-position-picker--branch { height: auto; aspect-ratio: 4 / 3; }
.admin-position-empty[hidden] { display: none; }

/* Menu page: hero video fades into the page below, like the other page banners */
.hero--compact::after {
  background: linear-gradient(180deg, rgba(46,32,19,0.5) 0%, rgba(46,32,19,0.42) 45%, rgba(46,32,19,0.55) 68%, rgba(255,255,255,0.7) 90%, var(--white) 100%);
}
.hero--compact .hero-content { padding-bottom: clamp(70px, 10vh, 110px); }
.hero--compact + .menu-big-divider { border-top: 0; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 45%; }

/* Brighter photo (Academy): stronger tint at the top so the white menu text stays readable */
.academy-header.page-banner::before { background: linear-gradient(180deg, rgba(20,12,8,0.7) 0, rgba(20,12,8,0) 190px), linear-gradient(180deg, rgba(30,20,16,0.55) 0%, rgba(30,20,16,0.5) 45%, rgba(249,246,243,0.55) 78%, var(--cream) 100%); }

/* =================== BEAUTY PAGE =================== */
.beauty-jump { justify-content: center; margin-top: 18px; }
.beauty-avail { margin-top: 12px; font-size: .85rem; color: #fff; text-shadow: 0 1px 6px rgba(20,12,8,.55); }
.beauty-section { padding: 70px 24px; }
.beauty-sub { font-family: var(--font-heading); font-weight: 400; font-size: 1.35rem; color: var(--ink); text-align: center; margin: 44px auto 18px; }
.beauty-sub small { font-family: var(--font-body, Inter, sans-serif); font-size: .8rem; color: var(--text-muted); margin-left: 6px; }
.beauty-pkg-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.beauty-pkg .thumb { position: relative; height: 170px; }
.beauty-pkg-num { position: absolute; left: 12px; top: 10px; font-family: var(--font-heading); font-size: 1.6rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.beauty-pkg-badge { position: absolute; right: 10px; top: 10px; background: var(--gold); color: var(--ink); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; font-weight: 600; }
.beauty-pkg-price { font-family: var(--font-heading); font-size: 1.6rem; color: var(--brown-darkest); margin-top: 6px; }
.beauty-pkg-save { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.beauty-pkg-save b { color: #a23b3b; font-weight: 600; }
.menu-card-grid.beauty-grid-4 { grid-template-columns: repeat(4, 1fr); }
.menu-card-grid.beauty-grid-5 { grid-template-columns: repeat(5, 1fr); }
.beauty-grid-4 .thumb, .beauty-grid-5 .thumb { height: 130px; }
.beauty-two { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.beauty-panel { background: var(--white); border-radius: 14px; padding: 18px; box-shadow: 0 8px 20px rgba(46,32,19,.08); }
.beauty-img { width: 100%; height: 200px; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--tone-100); border-radius: 10px; margin-bottom: 12px; }
.beauty-photo-panel, .beauty-photo-pair, .beauty-photo-trio { position: relative; min-height: 240px; padding: 0; overflow: hidden; }
.beauty-photo-panel .beauty-img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; }
.beauty-photo-pair, .beauty-photo-trio { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.beauty-photo-trio { grid-template-columns: 1fr 1fr 1fr; }
.beauty-photo-pair .beauty-img, .beauty-photo-trio .beauty-img { height: 100%; min-height: 240px; margin: 0; border-radius: 0; }
.beauty-pkg-label { display: block; font-family: var(--font-body, Inter, sans-serif); font-size: .75rem; color: var(--text-muted); letter-spacing: .02em; }
.beauty-list { display: flex; flex-direction: column; gap: 9px; font-size: .9rem; }
.beauty-row { display: flex; align-items: baseline; gap: 8px; }
.beauty-row .dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--tone-300); }
.beauty-row b { color: var(--brown-darkest); white-space: nowrap; font-weight: 600; }
.beauty-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-bottom: 14px; }
.beauty-table th, .beauty-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--tone-200); }
.beauty-table thead th { font-weight: 500; color: var(--text-muted); font-size: .72rem; }
.beauty-table tbody th { text-align: left; font-weight: 500; }
.beauty-table td { color: var(--brown-darkest); font-weight: 600; }
.beauty-note { font-size: .88rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.beauty-center-note { text-align: center; color: var(--text-muted); font-size: .85rem; margin: 16px 0 0; }
/* Start the alternating colours on cream so the first section blends into the faded header */
.beauty-section.menu-category:nth-child(even) { background: transparent; }
.beauty-section.menu-category:nth-child(odd) { background: var(--tone-100); }
@media (max-width: 900px) {
  .menu-card-grid.beauty-grid-4, .menu-card-grid.beauty-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .beauty-two { grid-template-columns: 1fr; }
  .beauty-photo-panel { min-height: 240px; }
}
@media (max-width: 480px) {
  .beauty-section { padding: 50px 16px; }
  .beauty-photo-trio .beauty-img, .beauty-photo-pair .beauty-img { min-height: 170px; }
}
.admin-position-picker--course { height: auto; aspect-ratio: 16 / 9; }
.admin-position-picker--beauty { height: auto; aspect-ratio: 2 / 1; }
.admin-position-picker--combo { height: auto; aspect-ratio: 6 / 5; max-width: 200px; }
.admin-position-picker--site { height: auto; aspect-ratio: 2 / 1; }
.admin-bprice-row { display: grid; grid-template-columns: 96px 1fr 32px; align-items: center; gap: 6px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--tone-200); }
.admin-bprice-row .admin-input { padding: 9px 10px; font-size: 0.88rem; }
.admin-bprice-row .bp-names { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.admin-bprice-row .bp-price2 { display: none; }
.admin-input-th { background-color: #fbf8f2; }
@media (max-width: 640px) {
  .admin-bprice-row .bp-names { grid-template-columns: 1fr; }
}
/* Best-seller cards: equal height, price block pinned to the bottom so prices line up */
.beauty-pkg { display: flex; flex-direction: column; }
.beauty-pkg .body { flex: 1; display: flex; flex-direction: column; }
.beauty-pkg .desc { flex: 1; }
.beauty-pkg-foot { min-height: 82px; margin-top: 10px; }
.beauty-pkg-foot .beauty-pkg-price { margin-top: 0; line-height: 1.2; }
.beauty-pkg-opt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .85rem; color: var(--text-muted); padding: 4px 0; }
.beauty-pkg-opt + .beauty-pkg-opt { border-top: 1px solid var(--tone-200); }
.beauty-pkg-opt b { font-family: var(--font-heading); font-weight: 400; font-size: 1.25rem; color: var(--brown-darkest); }

/* =================== LANGUAGE (EN | TH) =================== */
/* Thai pages stay hidden for a split second until the Thai text is in, so English doesn't flash */
html.lang-th:not(.i18n-ready) body { opacity: 0; }
html.lang-th body { line-height: 1.7; }
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; color: var(--white); }
.lang-switch span { opacity: 0.5; }
.lang-switch button { background: none; border: 0; padding: 4px 2px; font: inherit; color: inherit; opacity: 0.6; cursor: pointer; letter-spacing: 0.04em; }
.lang-switch button.active { opacity: 1; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lang-switch button:hover { opacity: 1; }
.site-header.scrolled .lang-switch { color: var(--ink); }
.lang-switch--mobile { color: var(--ink); font-size: 1rem; gap: 8px; }
@media (max-width: 760px) { .site-header .lang-switch:not(.lang-switch--mobile) { display: none; } }
/* English name shown small under a Thai treatment name */
.name-en { display: block; font-family: var(--font-body); font-size: 0.76rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; margin-top: 2px; line-height: 1.3; text-transform: none; }
/* Thai letters (with vowel marks above/below) look broken when spaced out, so no letter-spacing in Thai */
html.lang-th body *:not(.lang-switch):not(.btn-book):not(.name-en):not([data-i18n-skip]) { letter-spacing: 0 !important; }
/* Thai home subtitle: one line on computers; on phones it wraps evenly */
html.lang-th #home .hero-content p { max-width: 900px; text-wrap: balance; }
/* Admin tabs on phones: 5 tabs don't fit, so let the row scroll sideways instead of widening the page */
@media (max-width: 640px) {
  .admin-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 12px; }
  .admin-tabs::-webkit-scrollbar { display: none; }
  .admin-tab { flex: 0 0 auto; padding: 14px 12px; white-space: nowrap; }
}

/* ---------- 404 "page not found" (404.html) ---------- */
.notfound { padding: clamp(48px, 7vw, 88px) 24px clamp(64px, 9vw, 110px); background: var(--cream); }
.notfound-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.notfound-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; background: var(--white); border: 1px solid rgba(46,32,19,0.1); border-radius: 14px; text-decoration: none; color: var(--brown-darkest); transition: transform .2s ease, border-color .2s ease; }
.notfound-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.notfound-title { font-family: var(--font-heading); font-size: 1.2rem; }
.notfound-sub { font-size: .9rem; opacity: .7; }
.notfound-actions { text-align: center; margin-top: 36px; }
@media (max-width: 820px) { .notfound-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .notfound-grid { grid-template-columns: 1fr; } }

/* Admin: branch opening hours (two time boxes side by side) */
.admin-hours-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-hours-preview { margin-top: 4px; }

/* ---------- FAQ page (faq.html) ---------- */
.faq-section { padding: clamp(48px, 7vw, 88px) 24px clamp(64px, 9vw, 110px); background: var(--cream); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid rgba(46,32,19,0.1); border-radius: 14px; transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; color: var(--brown-darkest); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 14px; }
.faq-q { font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.35; }
.faq-icon { flex: 0 0 auto; width: 14px; height: 14px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--gold); transition: transform .2s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 24px 22px; color: var(--text-muted); line-height: 1.7; }
.faq-a p { margin: 0; }
.faq-cta { max-width: 820px; margin: 48px auto 0; text-align: center; }
.faq-cta h2 { margin-bottom: 8px; }
.faq-cta p { color: var(--text-muted); margin-bottom: 20px; }
.faq-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .faq-item, .faq-icon::before, .faq-icon::after { transition: none; } }
.faq-cta h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2rem); color: var(--brown-darkest); }
.faq-cta .btn-outline { color: var(--brown-darkest); border-color: rgba(46,32,19,0.35); background: transparent; }
.faq-cta .btn-outline:hover { border-color: var(--brown-darkest); background: rgba(46,32,19,0.04); }

/* ---------- Branch pages (/branches/<name>.html) ---------- */
.branch-info { padding-top: clamp(48px, 7vw, 80px); }
.branch-info .contact-hq-info h2 { margin-top: 0; }
.branch-info .contact-hq-address { margin-bottom: 18px; }
.branch-meta {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.branch-meta strong { color: var(--ink); font-weight: 600; }
.branch-info .contact-hq-lines { margin: 22px 0 28px; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.branch-actions .btn-outline { color: var(--brown-darkest); border-color: rgba(46,32,19,0.35); background: transparent; }
.branch-actions .btn-outline:hover { border-color: var(--brown-darkest); background: rgba(46,32,19,0.04); }
.branch-about { background: var(--white); }
.branch-about-inner { max-width: 760px; margin: 0 auto; }
.branch-about h2,
.branch-nearby h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  margin-bottom: 16px;
}
.branch-about p { color: var(--text-muted); line-height: 1.8; font-size: 1.02rem; }
.branch-nearby { background: var(--cream); }
.branch-nearby-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.branch-nearby-card { display: block; color: var(--ink); text-decoration: none; }
.branch-nearby-photo {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--tone-200) center / cover no-repeat;
  margin-bottom: 12px;
  transition: opacity 0.2s ease;
}
.branch-nearby-card:hover .branch-nearby-photo { opacity: 0.88; }
.branch-nearby-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.branch-nearby-sub { display: block; font-size: 0.85rem; color: var(--text-muted); }
.branch-nearby-all { text-align: center; margin-top: 32px; }
.branch-card h4 a { color: inherit; text-decoration: none; }
.branch-card h4 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.branch-card-links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 760px) {
  .branch-nearby-grid { grid-template-columns: 1fr; gap: 28px; }
  .branch-nearby-photo { aspect-ratio: 16 / 9; }
}
.admin-subhead {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 28px 0 4px;
  padding-top: 20px;
  border-top: 1px solid var(--tone-200);
}
.admin-subhead .admin-optional { font-family: var(--font-body, inherit); font-size: 0.78rem; font-weight: 400; }
