/* =============================================================
   NADA THAI MASSAGE — Eindhoven
   Luxury dark + gold theme · Single-page site · EN / NL / TH
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #0A0A0A;
  --bg-soft:   #111111;
  --surface:   #141414;
  --surface-2: #1A1A1A;
  --gold:      #C9A961;
  --gold-bright: #E2C078;
  --gold-deep: #8A6F3E;
  --text:      #E8E4DC;
  --muted:     #9A9388;
  --line:      rgba(201, 169, 97, 0.2);
  --line-2:    rgba(201, 169, 97, 0.08);

  --maxw: 1240px;
  --pad:  clamp(1rem, 4vw, 2.5rem);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Inter", "Manrope", -apple-system, system-ui, sans-serif;

  /* Thai-specific font fallback chain */
  --serif-th: "Noto Serif Thai", "Cormorant Garamond", Georgia, serif;
  --sans-th:  "Noto Sans Thai", "Inter", system-ui, sans-serif;

  --t-fast: 0.25s cubic-bezier(.2,.7,.3,1);
  --t-mid:  0.55s cubic-bezier(.2,.7,.3,1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(15px, 0.95vw + 0.6rem, 17px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* When Thai is active, swap font family stack */
html[lang="th"] body { font-family: var(--sans-th); line-height: 1.8; }
html[lang="th"] .serif,
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { font-family: var(--serif-th); }
html[lang="th"] .h1-italic { font-style: normal; }
html[lang="th"] .testi blockquote { font-style: normal; font-family: var(--serif-th); }

img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--gold); text-decoration: none; transition: color var(--t-fast); }
a:hover, a:focus-visible { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }

/* ---------- Typography ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: 0.005em; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: 0.005em; }
h1 .h1-italic {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
  font-size: 0.78em;
  margin-top: 0.15em;
}
h2 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); letter-spacing: 0.005em; }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.45rem); letter-spacing: 0.01em; }
h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
}
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  font-family: var(--sans);
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 2.6rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform: translateY(-50%);
}
/* Thai eyebrow doesn't need uppercase */
html[lang="th"] .eyebrow { text-transform: none; letter-spacing: 0.12em; font-size: 0.78rem; }
html[lang="th"] h4 { text-transform: none; letter-spacing: 0.06em; }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .section-sub { color: var(--muted); font-size: 1.05em; margin-top: 0.5rem; }

.two-col { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 880px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(226, 192, 120, 0.18) 50%, transparent 100%);
  transform: translateX(-110%);
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(110%); }
.btn:hover, .btn:focus-visible {
  border-color: var(--gold-bright);
  color: var(--bg);
  background: var(--gold-bright);
  box-shadow: 0 10px 30px -10px rgba(226, 192, 120, 0.35);
}
.btn-gold { color: var(--gold); }
.btn-ghost { border-color: rgba(232, 228, 220, 0.3); color: var(--text); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-sm { --btn-pad-y: 0.65rem; --btn-pad-x: 1.4rem; font-size: 0.72rem; }
.btn-lg { --btn-pad-y: 1.15rem; --btn-pad-x: 2.6rem; font-size: 0.82rem; }
.btn-block { display: flex; width: 100%; }

html[lang="th"] .btn { text-transform: none; letter-spacing: 0.06em; font-size: 0.85rem; font-family: var(--sans-th); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.6rem 0;
  background: transparent;
  transition: background var(--t-mid), backdrop-filter var(--t-mid), padding var(--t-fast), border-color var(--t-mid);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.2rem 0;
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: clamp(40px, 5vw, 56px); width: auto; }

.primary-nav { display: none; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.2rem; }
.primary-nav a {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}
html[lang="th"] .primary-nav a { text-transform: none; letter-spacing: 0.04em; font-size: 0.92rem; font-family: var(--sans-th); }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: all var(--t-fast);
  transform: translateX(-50%);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { width: 100%; }

/* Header right side group */
.header-actions { display: flex; align-items: center; gap: 0.8rem; }

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  text-transform: uppercase;
  line-height: 1;
}
.lang-btn:hover, .lang-btn:focus-visible { color: var(--gold); background: rgba(201, 169, 97, 0.06); }
.lang-btn.is-active {
  color: var(--bg);
  background: var(--gold);
}
.lang-btn.is-active:hover { background: var(--gold-bright); }
.lang-sep { width: 1px; height: 12px; background: var(--line); }

/* On very small screens hide the EN/NL/TH labels but keep them clickable as small dots? — keep visible always actually */
@media (max-width: 480px) {
  .lang-toggle { padding: 0.25rem 0.4rem; }
  .lang-btn { font-size: 0.62rem; padding: 0.25rem 0.4rem; letter-spacing: 0.12em; }
}

/* Header CTA only visible on larger screens */
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

/* ---------- Mobile menu toggle ---------- */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  width: 16px; height: 1px;
  background: var(--gold);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile nav — full viewport, iOS-safe ---------- */
nav.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  /* dvh = dynamic viewport height — accounts for the URL bar showing/hiding on iOS */
  height: 100dvh !important;
  z-index: 1000 !important;
  background-color: #0A0A0A !important;
  background-image: radial-gradient(circle at 50% -10%, rgba(201, 169, 97, 0.10) 0%, transparent 45%) !important;
  padding: 0 !important;
  margin: 0 !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
nav.mobile-nav.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0s;
}

/* When menu is open we lock the body in place — this rule restores it after */
body.menu-open {
  position: fixed !important;
  width: 100% !important;
  overflow: hidden !important;
}

.mobile-nav-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 5.5rem 1.6rem 3rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-logo {
  position: absolute;
  top: 1rem;
  left: 1.6rem;
  display: flex;
  align-items: center;
}
.mobile-nav-logo img {
  height: 36px !important;
  width: auto !important;
  display: block;
}

/* Close X button */
.mobile-nav-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.mobile-nav-close:hover,
.mobile-nav-close:focus-visible {
  background: var(--gold);
  color: var(--bg);
}
.mobile-nav-close span { display: block; line-height: 1; }

/* Nav link list */
nav.mobile-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}
nav.mobile-nav li { display: block; margin: 0; padding: 0; }
nav.mobile-nav ul a {
  display: block !important;
  padding: 1.1rem 0 !important;
  font-family: var(--serif) !important;
  font-size: 1.55rem !important;
  color: var(--text) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(201, 169, 97, 0.12) !important;
  letter-spacing: 0.005em;
  transition: color 0.2s, padding-left 0.3s;
}
html[lang="th"] nav.mobile-nav ul a { font-family: var(--serif-th) !important; }
nav.mobile-nav ul a:hover,
nav.mobile-nav ul a:focus-visible {
  color: var(--gold) !important;
  padding-left: 0.6rem !important;
}

/* Solid gold Book Now CTA — dedicated class, no .btn collision */
.mobile-nav-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 2rem !important;
  padding: 1.2rem 1.6rem !important;
  background: var(--gold) !important;
  color: #0A0A0A !important;
  font-family: var(--sans) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: 1px solid var(--gold) !important;
  border-radius: 0;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 30px -6px rgba(226, 192, 120, 0.35);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
html[lang="th"] .mobile-nav-cta { text-transform: none !important; letter-spacing: 0.06em !important; font-family: var(--sans-th) !important; }
.mobile-nav-cta:hover,
.mobile-nav-cta:focus-visible {
  background: var(--gold-bright) !important;
  color: #0A0A0A !important;
  transform: translateY(-1px);
}

/* HARD GUARD: kill mobile nav and toggle on desktop */
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
  .menu-toggle { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 169, 97, 0.05) 0%, transparent 60%),
    var(--bg);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Soft cinematic dim so gold text reads cleanly */
  filter: brightness(0.55) saturate(1.05);
  /* Slow zoom like a Ken Burns effect */
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.10); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.25) 0%, rgba(10, 10, 10, 0.55) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10,10,10,0.25) 30%, rgba(10,10,10,0.4) 70%, rgba(10, 10, 10, 0.95) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  padding: 0 var(--pad);
}
.hero-content .lede {
  max-width: 580px;
  margin: 1.5rem auto 2.5rem;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: var(--text);
  opacity: 0.92;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.scroll-indicator {
  position: absolute;
  left: 50%; bottom: -3rem;
  transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.6;
}
.scroll-indicator span {
  width: 2px; height: 6px;
  background: var(--gold);
  border-radius: 1px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0);   opacity: 0; }
  30%  { opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- About ---------- */
.about { background: var(--bg); }
.about-text .signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 2rem;
  color: var(--gold);
}
html[lang="th"] .about-text .signature { font-style: normal; font-family: var(--serif-th); }
.about-visual { display: flex; justify-content: center; align-items: center; }
.about-photo {
  margin: 0;
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.3,1), filter 0.6s;
  filter: brightness(0.92) saturate(1.05);
}
.about-photo:hover img { transform: scale(1.04); filter: brightness(1) saturate(1.1); }
.about-photo .frame-deco {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(226, 192, 120, 0.45);
  pointer-events: none;
}
.about-photo::before, .about-photo::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--gold-bright);
  z-index: 2;
}
.about-photo::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.about-photo::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 640px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-2);
  padding: 2.2rem 1.8rem 1.8rem;
  transition: border-color var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity var(--t-mid);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); }
.service-card:hover::before { opacity: 0.6; }
.service-card.feature::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.service-card .badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 0.3rem 0.6rem;
  background: rgba(10, 10, 10, 0.5);
}
html[lang="th"] .service-card .badge { text-transform: none; letter-spacing: 0.06em; font-family: var(--sans-th); }
.service-icon {
  color: var(--gold);
  width: 56px; height: 56px;
  margin-bottom: 1.2rem;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1), color var(--t-fast);
}
.service-card:hover .service-icon { transform: scale(1.06) rotate(-2deg); color: var(--gold-bright); }
.service-card h3 { color: var(--text); margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }

.price-list {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.price-list li { display: flex; justify-content: space-between; align-items: baseline; }
.price-list span:first-child { color: var(--muted); letter-spacing: 0.04em; }
.price-list span:last-child { color: var(--gold); font-family: var(--serif); font-size: 1.1rem; }

.card-cta {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}
html[lang="th"] .card-cta { text-transform: none; letter-spacing: 0.06em; font-family: var(--sans-th); }
.card-cta:hover, .card-cta:focus-visible { color: var(--gold-bright); border-color: var(--gold-bright); transform: translateX(3px); }

.services-note { text-align: center; color: var(--muted); margin: 2.4rem auto 1.4rem; max-width: 720px; }
.services-note strong { color: var(--text); font-weight: 500; }

/* ---------- Why ---------- */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 3rem; }
@media (min-width: 640px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  text-align: center;
  padding: 2rem 1.4rem;
  border: 1px solid var(--line-2);
  background: var(--surface);
  transition: border-color var(--t-mid), transform var(--t-mid);
}
.why-card:hover { border-color: var(--line); transform: translateY(-3px); }
.why-icon { width: 48px; height: 48px; color: var(--gold); margin: 0 auto 1.4rem; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-soft); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
  }
}
.g-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  aspect-ratio: 4 / 3;
}
@media (min-width: 640px) {
  .g-item { aspect-ratio: auto; }
  .g-item.g-tall { grid-row: span 2; }
  .g-item.g-wide { grid-column: span 2; }
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.3,1), filter 0.6s;
  filter: brightness(0.85) saturate(1.05);
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.g-item:hover img { transform: scale(1.05); filter: brightness(1) saturate(1.1); }
.g-item:hover::after { opacity: 1; }
.g-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.5s;
  pointer-events: none;
  z-index: 1;
}
.g-item:hover::before { border-color: rgba(226, 192, 120, 0.5); }

.gallery-video { position: relative; max-width: 1080px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; }
.gallery-video video { width: 100%; height: 100%; object-fit: cover; }
.video-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  pointer-events: none;
  margin: 12px;
  box-shadow: 0 0 0 1px var(--line-2);
}
.video-frame::before, .video-frame::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold-bright);
}
.video-frame::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.video-frame::after  { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi {
  margin: 0;
  padding: 2.2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  position: relative;
  transition: border-color var(--t-mid), transform var(--t-mid);
}
.testi:hover { border-color: var(--line); transform: translateY(-3px); }
.testi::before {
  content: "“";
  position: absolute;
  top: 0.8rem; left: 1.2rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
}
.stars { color: var(--gold); letter-spacing: 0.3em; font-size: 0.9rem; margin-bottom: 1.2rem; }
.stars .star-empty { color: var(--line); }
.testi blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.testi figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line-2); padding: 0; }
.faq-list details:first-child { border-top: 1px solid var(--line-2); }
.faq-list summary {
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: color var(--t-fast);
}
html[lang="th"] .faq-list summary { font-family: var(--serif-th); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.chev { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.chev::before, .chev::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transition: transform var(--t-fast);
}
.chev::after { transform: rotate(90deg); }
.faq-list details[open] .chev::after { transform: rotate(0); }
.faq-body { padding: 0 0 1.5rem; color: var(--muted); max-width: 720px; }
.faq-body p { margin: 0; }

/* ---------- Trust badges — single centered "certificate" bar ---------- */
.trust { background: var(--bg); padding: clamp(3.5rem, 7vw, 6rem) 0; }

.trust-bar {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
/* Top hairline gold accent */
.trust-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* Bottom hairline gold accent */
.trust-bar::after {
  content: "";
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}

.trust-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 2.6rem 1.6rem;
  gap: 0.8rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.trust-mark:hover, .trust-mark:focus-visible {
  background: rgba(201, 169, 97, 0.04);
  transform: translateY(-2px);
}

.trust-mark-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 36px;
  margin-bottom: 0.2rem;
}
.trust-mark-logo img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition: opacity var(--t-fast);
}
.trust-mark:hover .trust-mark-logo img { opacity: 1; }

.trust-mark-logo .g-svg { width: 26px; height: 26px; flex-shrink: 0; }
.google-word {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.005em;
  line-height: 1;
}

/* Stars row — gold filled + half-star via background-clip */
.trust-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0;
}
.trust-stars .star.full { color: var(--gold); }
.trust-stars .star.half {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 50%, rgba(201, 169, 97, 0.22) 50%, rgba(201, 169, 97, 0.22) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.trust-stars .rating-num {
  margin-left: 0.55rem;
  padding-left: 0.55rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.02em;
  border-left: 1px solid var(--line);
  -webkit-text-fill-color: var(--text);
}

/* Label under stars */
.trust-label {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
}
html[lang="th"] .trust-label { text-transform: none; letter-spacing: 0.04em; font-size: 0.9rem; font-family: var(--sans-th); }
.verified-icon { flex-shrink: 0; display: block; }

/* Vertical gold divider between the two marks */
.trust-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0.5;
}

/* Mobile: stack vertically with horizontal divider */
@media (max-width: 640px) {
  .trust-bar {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1px 1fr;
    max-width: 480px;
  }
  .trust-divider {
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  }
  .trust-mark { padding: 2rem 1.2rem; }
}

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-list {
  list-style: none;
  margin: 1.4rem 0 2.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  display: grid;
  gap: 1rem;
}
.contact-list li { display: grid; grid-template-columns: 140px 1fr; align-items: baseline; gap: 1rem; }
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
html[lang="th"] .contact-label { text-transform: none; letter-spacing: 0.06em; font-size: 0.85rem; }
.contact-list a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }

.contact-map {
  width: 100%;
  height: 380px;
  min-height: 320px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.contact-map iframe { filter: invert(0.92) hue-rotate(180deg) brightness(0.85) contrast(0.95); width: 100%; height: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 4rem 0 1.6rem;
  position: relative;
  z-index: 1;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; max-width: 320px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { margin-bottom: 1rem; height: 48px; width: auto; }
.footer-brand p { max-width: 320px; font-size: 0.92rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.92rem; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--gold); }
.footer-col .muted { margin-top: 0.6rem; }

.footer-bottom {
  text-align: center;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line-2);
  font-size: 0.78rem;
}
.footer-bottom p { margin: 0.2rem 0; color: var(--muted); }

/* Developer credit — subtle, monochrome until hover */
.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 228, 220, 0.55);
  border: 0;
  text-decoration: none;
  transition: color var(--t-fast), transform var(--t-fast);
}
.dev-credit-text { color: rgba(232, 228, 220, 0.4); font-weight: 400; }
.dev-credit-name { color: #fff; font-weight: 500; letter-spacing: 0.22em; }
.dev-credit img {
  height: 14px;
  width: auto;
  display: inline-block;
  filter: grayscale(0.6) brightness(1.1);
  opacity: 0.85;
  transition: filter var(--t-fast), opacity var(--t-fast), transform var(--t-fast);
}
.dev-credit:hover, .dev-credit:focus-visible {
  color: rgba(232, 228, 220, 0.85);
  transform: translateY(-1px);
}
.dev-credit:hover img, .dev-credit:focus-visible img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}
.dev-credit:hover .dev-credit-text { color: rgba(232, 228, 220, 0.7); }
html[lang="th"] .dev-credit { text-transform: none; letter-spacing: 0.04em; font-family: var(--sans-th); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  box-shadow: 0 12px 30px -6px rgba(0,0,0,0.6), 0 0 0 1px rgba(226, 192, 120, 0.3);
}
html[lang="th"] .sticky-cta { text-transform: none; letter-spacing: 0.04em; font-family: var(--sans-th); }
.sticky-cta:hover, .sticky-cta:focus-visible { background: var(--gold-bright); color: var(--bg); }
@media (max-width: 1023px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 4rem; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.3,1), transform 0.9s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Cursor glow (desktop only) ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 320px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.10) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.active { opacity: 1; }
}

/* ---------- Selection ---------- */
::selection { background: var(--gold); color: var(--bg); }

/* ---------- Print ---------- */
@media print {
  .site-header, .sticky-cta, #lotusCanvas, .hero-veil, .scroll-indicator, .lang-toggle { display: none !important; }
  body { background: white; color: black; }
}
