/* ============================================================
   9AM Hair Studio — 9AM Hair Studio
   Design system + responsive (desktop & mobile)
   ============================================================ */

:root {
  --cream:      #e8e2d4;   /* header / beige sections */
  --cream-2:    #e5dfd0;
  --paper:      #f4f2ec;   /* light content bg */
  --paper-2:    #efece4;
  --ink:        #1a1a18;   /* warm near-black text */
  --ink-soft:   #2a2a27;
  --dark:       #1b1b19;   /* dark sections / footer */
  --muted:      #6a675f;   /* secondary text */
  --muted-2:    #8b887f;
  --line:       #d9d3c4;   /* hairlines on cream */
  --red:        #b23a2c;   /* accent (announcement) */
  --white:      #ffffff;
  --on-dark:    #f3f1ea;
  --on-dark-mut:#a6a298;

  --font-display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-accent:  'Newsreader', Georgia, serif;

  --container: 1160px;
  --header-h: 86px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Khmer font swap when active ---- */
html[data-lang="kh"] {
  --font-display: 'Noto Sans Khmer', 'Jost', sans-serif;
  --font-body:    'Noto Sans Khmer', 'Manrope', sans-serif;
  --font-accent:  'Noto Sans Khmer', 'Newsreader', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ============================================================
   IMAGE SLOTS (placeholders)
   ============================================================ */
image-slot {
  --img-slot-bg: repeating-linear-gradient(135deg,#dcd6c7,#dcd6c7 10px,#d4cdbc 10px,#d4cdbc 20px);
  --img-slot-fg: #6a675f;
  --img-slot-border: 1px solid #cabfa9;
  --img-slot-font: 11px/1.4 'Jost', monospace;
  display: block;
  width: 100%;
  height: 100%;
}
.on-dark image-slot {
  --img-slot-bg: repeating-linear-gradient(135deg,#2a2a27,#2a2a27 10px,#242421 10px,#242421 20px);
  --img-slot-fg: #8b887f;
  --img-slot-border: 1px solid #3a3a35;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo img { height: 44px; width: auto; display: block; }
@media (max-width: 880px) { .logo img { height: 34px; } }
.logo { display: inline-flex; flex-direction: column; gap: 3px; line-height: 1; user-select: none; }
.logo-row { display: flex; align-items: center; gap: 9px; }
.logo-row span.txt { font-family: var(--font-display); font-weight: 500; letter-spacing: .18em; font-size: 15px; color: var(--ink); }
.logo-row .bar { width: 1px; height: 15px; background: var(--ink); display: inline-block; }
.logo-row:last-child span.txt { letter-spacing: .3em; }

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 6px 0; position: relative; white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }
.nav a.active::after { transform: scaleX(1); }

.header-right { display: flex; align-items: center; gap: 14px; }

/* Language dropdown */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(0,0,0,.14);
  border-radius: 4px; padding: 6px 9px; color: var(--ink);
}
.lang-btn .flag { font-size: 18px; line-height: 1; }
.lang-btn .caret { width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.lang.open .lang-btn .caret { transform: rotate(-135deg) translateY(-1px); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 6px; min-width: 168px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s var(--ease); z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: transparent; border: 0; padding: 9px 10px; border-radius: 6px; font-size: 14px; color: var(--ink);
}
.lang-menu button .flag { font-size: 17px; }
.lang-menu button:hover { background: var(--paper-2); }
.lang-menu button.sel { font-weight: 700; }
.lang-menu button .check { margin-left: auto; opacity: 0; }
.lang-menu button.sel .check { opacity: 1; }

/* Hamburger */
.burger { display: none; width: 30px; height: 22px; position: relative; background: transparent; border: 0; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: .25s var(--ease); }
.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 18px; }
body.menu-open .burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ============================================================
   PAGES
   ============================================================ */
.page { display: none; }
.page.active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero .hero-img { position: absolute; inset: 0; z-index: 0; }
.hero .hero-img image-slot { --img-slot-bg: repeating-linear-gradient(135deg,#3a372f,#3a372f 14px,#322f28 14px,#322f28 28px); --img-slot-fg:#9a9488; --img-slot-border:none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,18,15,.55), rgba(20,18,15,.35) 45%, rgba(20,18,15,.6)); pointer-events: none; }
.hero-kicker { position: absolute; top: 22px; left: clamp(20px,5vw,48px); z-index: 3; color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .22em; font-family: var(--font-display); }
.hero-watermark { position: absolute; top: 22px; right: clamp(20px,5vw,48px); z-index: 3; color: rgba(255,255,255,.28); font-size: 11px; letter-spacing: .3em; font-family: var(--font-display); text-align: right; line-height: 1.7; }
.hero-content { position: relative; z-index: 3; text-align: center; color: #fff; padding: 60px 24px; max-width: 880px; pointer-events: none; }
.hero-content .hero-tap { pointer-events: auto; }
.hero-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 4.2vw, 50px); letter-spacing: .04em; line-height: 1.18; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero-tap {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); color: var(--ink); border: 0;
  padding: 11px 22px; border-radius: 40px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; transition: transform .2s var(--ease), background .2s;
}
.hero-tap:hover { transform: translateY(-2px); background: #fff; }
.hero-meta { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; align-items: center; color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: .12em; font-family: var(--font-display); }

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section { padding: clamp(40px, 4.8vw, 64px) 0; }
.section.paper { background: var(--paper); }
.section.beige { background: var(--cream-2); }
.band-black { background: var(--ink); }
.band-label { background: var(--ink); color: var(--on-dark); text-align: center; padding: 20px 16px; font-family: var(--font-display); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; }
.band-spacer { background: var(--ink); height: 28px; }
/* a dark band-label acts as the header of the section beneath it: pull them together */
.band-label + .section { padding-top: clamp(32px, 3.6vw, 48px); }

.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.display-h { font-family: var(--font-display); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; }

/* ============================================================
   ANNOUNCEMENT (two columns)
   ============================================================ */
.announce { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.announce.single { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; text-align: center; }
.announce.single .col-label { letter-spacing: .22em; margin-bottom: 20px; }
.announce.single h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 28px; }
.announce.single p { margin-left: auto; margin-right: auto; max-width: 56ch; margin-bottom: 10px; line-height: 1.45; }
.announce.single .col-label + h2 { line-height: 1.1; }
.announce.single .hours { display: block; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); line-height: 2; }
.announce .hours .contact-line { display: block; margin-top: 16px; font-size: 13px; letter-spacing: 0; }
.announce .col-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; font-family: var(--font-display); }
.announce h2 { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--red); font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.announce h2.small-caps { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-style: normal; font-family: var(--font-display); margin-bottom: 6px; }
.announce p { font-size: 14px; color: var(--ink-soft); margin-bottom: 13px; max-width: 46ch; }
.announce strong { font-weight: 700; }
.announce .hours { margin-top: 22px; font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.announce .hours span { display: block; }
.intl-contact { color: var(--red); font-weight: 700; }
.qr { margin-top: 22px; width: 116px; height: 116px; }
.qr image-slot { --img-slot-font: 9px/1.3 'Jost', monospace; }

/* ============================================================
   CRAFTED WITH CARE
   ============================================================ */
.crafted { text-align: center; }
.crafted h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 4vw, 46px); letter-spacing: .06em; text-transform: uppercase; }
html[data-lang="kh"] .crafted h2 { letter-spacing: 0; text-transform: none; }
.crafted p { margin: 22px auto 0; max-width: 560px; color: var(--muted); font-size: 15px; }

/* ============================================================
   DỊCH VỤ intro (dark split)
   ============================================================ */
.dv { background: var(--dark); display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.dv .dv-img { position: relative; }
.dv .dv-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 70px); color: var(--on-dark); }
.dv .dv-kicker { font-size: 12px; color: var(--on-dark-mut); letter-spacing: .04em; margin-bottom: 18px; }
.dv .dv-t1 { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.dv .dv-t2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); letter-spacing: .02em; line-height: 1.1; }

/* ============================================================
   SERVICES rows
   ============================================================ */
.services { max-width: 1000px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; padding: clamp(34px,5vw,58px) 0; }
.svc-row .svc-img { aspect-ratio: 4 / 5; height: auto; }
.svc-row .svc-img.wide { aspect-ratio: 4 / 5; height: auto; }
.svc-row.flip .svc-text { order: -1; }
.svc-text h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .03em; text-transform: uppercase; margin-bottom: 16px; }
.svc-text p { color: var(--muted); font-size: 15px; max-width: 38ch; }
.svc-more { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; margin-top: 26px; color: var(--ink); }

/* ============================================================
   BRANDS
   ============================================================ */
.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: center; justify-content: center; max-width: 720px; margin-inline: auto; }
.brand-cell { aspect-ratio: 16/9; background: transparent; padding: 6px 10px; display: flex; align-items: center; justify-content: center; }
.brand-cell image-slot { --img-slot-font: 10px/1.3 'Jost', monospace; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.ig { text-align: center; }
.ig h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3vw,34px); }
.ig .ig-sub { color: var(--muted); margin-top: 8px; font-size: 14px; }
.ig-grid { margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 660px; }
.ig-grid .cell { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }

/* ============================================================
   ABOUT teaser
   ============================================================ */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.about-teaser h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px,4vw,46px); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.about-teaser p { color: var(--ink-soft); font-size: 15px; max-width: 50ch; }
.about-teaser .sign { margin-top: 22px; font-family: var(--font-accent); font-style: italic; }
.about-teaser .sign .name { font-weight: 600; font-size: 18px; color: var(--ink); }
.about-teaser .sign .role { font-size: 14px; color: var(--muted); }
.about-teaser .about-img { aspect-ratio: 3 / 4; height: auto; }

/* ============================================================
   QUOTE BAND (full bleed dark image)
   ============================================================ */
.quote-band { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.quote-band .qb-img { position: absolute; inset: 0; z-index: 0; }
.quote-band .qb-img image-slot { --img-slot-bg: repeating-linear-gradient(135deg,#252320,#252320 14px,#1f1d1a 14px,#1f1d1a 28px); --img-slot-fg:#7a7468; --img-slot-border:none; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15,14,12,.5); pointer-events: none; }
.quote-band .qb-text { position: relative; z-index: 2; text-align: center; color: rgba(255,255,255,.9); max-width: 720px; padding: 40px 24px; font-family: var(--font-display); font-weight: 300; letter-spacing: .04em; font-size: clamp(16px, 2vw, 22px); line-height: 1.7; pointer-events: none; }

/* ============================================================
   PAGE HEADERS (interior pages)
   ============================================================ */
.page-head { text-align: center; padding: clamp(48px,7vw,86px) 0 8px; }
.page-head h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 5vw, 56px); letter-spacing: .1em; text-transform: uppercase; }
.page-head .handle { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted-2); font-size: 12px; letter-spacing: .12em; }
.page-head .sub { color: var(--muted); margin-top: 12px; font-size: 15px; max-width: 560px; margin-inline: auto; }

/* ============================================================
   WARRANTY
   ============================================================ */
.warranty { max-width: 720px; margin-inline: auto; }
.warranty .block { margin-top: 38px; }
.warranty .block h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.warranty p, .warranty li { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.warranty strong { font-weight: 700; }
.warranty .check::before { content: "✓ "; color: var(--ink); font-weight: 700; }
.warranty .note { font-style: italic; }
.warranty ul { list-style: disc; padding-left: 22px; margin-top: 8px; }
.warranty ul li { font-style: italic; color: var(--muted); }

/* ============================================================
   BOOKING form
   ============================================================ */
.booking-wrap { max-width: 640px; margin-inline: auto; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(26px, 4vw, 44px); margin-top: 34px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px;
  transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,26,24,.08); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; border: 0; border-radius: 40px; padding: 14px 30px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; width: 100%; transition: transform .2s, opacity .2s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: .94; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; animation: fade .4s var(--ease); }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 26px; }
.form-success h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ============================================================
   BOOKING contact CTA
   ============================================================ */
.contact-cta { max-width: 460px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 14px; }
.cta-btn { display: flex; align-items: center; gap: 16px; padding: 15px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.09); }
.cta-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.cta-ic svg { width: 24px; height: 24px; fill: #fff; }
.cta-telegram .cta-ic { background: #229ED9; }
.cta-facebook .cta-ic { background: #0084FF; }
.cta-instagram .cta-ic { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.cta-tx { display: flex; flex-direction: column; line-height: 1.25; }
.cta-tx strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.cta-tx small { color: var(--muted); font-size: 13px; margin-top: 2px; }
.cta-arrow { margin-left: auto; color: var(--muted-2); font-size: 18px; transition: transform .2s; }
.cta-btn:hover .cta-arrow { transform: translateX(4px); }

/* ============================================================
   PRICING
   ============================================================ */
.price-groups { max-width: 760px; margin: 36px auto 0; display: grid; gap: 30px; }
.price-group h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pval-btn { background: transparent; border: 1px solid var(--ink); border-radius: 40px; padding: 7px 18px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), color .2s; }
.pval-btn:hover { background: var(--ink); color: #fff; }
.price-row .pname { font-size: 15px; }
.price-row .pname small { display: block; color: var(--muted); font-size: 12.5px; }
.price-row .pval { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.price-note { max-width: 760px; margin: 24px auto 0; color: var(--muted); font-size: 13px; font-style: italic; text-align: center; }

/* ============================================================
   HAIR CARE
   ============================================================ */
.care-grid { max-width: 900px; margin: 38px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.care-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.care-card .care-img { height: 180px; }
.care-card .care-body { padding: 22px 24px 26px; }
.care-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 10px; }
.care-card p { color: var(--muted); font-size: 14px; }

/* ============================================================
   BEFORE/AFTER · VIDEOS · FEEDBACK
   ============================================================ */
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto clamp(26px,4vw,42px); font-size: 15px; }
.ba-grid {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding-bottom: 6px; scrollbar-width: none;
}
.ba-grid.dragging { cursor: grabbing; }
.ba-grid::-webkit-scrollbar { display: none; }
.ba-cell {
  flex: 0 0 auto;
  width: clamp(300px, 38vw, 440px);
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(20,18,15,.08);
}
.vid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vid-card { position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: 10px; background: #0d0d0c; cursor: pointer; }
.vid-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-empty { background: repeating-linear-gradient(135deg,#dcd6c7,#dcd6c7 10px,#d4cdbc 10px,#d4cdbc 20px); cursor: default; }
.vid-empty .play { background: rgba(255,255,255,.82); }
.vid-tiktok { background: linear-gradient(160deg,#1a1a18,#2a2a27); cursor: pointer; }
.vid-tiktok .vid-hint { color: #cfc9bb; letter-spacing: .2em; text-transform: uppercase; }
.vid-card .vid-thumb { animation: fade .4s var(--ease); }
.vid-hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font: 11px/1.4 'Jost', monospace; color: #6a675f; }
.vid-card .play { position: absolute; left: 0; right: 0; bottom: 14%; top: auto; margin: 0 auto; width: 54px; height: 54px; background: rgba(255,255,255,.92); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.32); pointer-events: none; }
.vid-card .play::after { content: ""; width: 0; height: 0; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.fb-carousel { position: relative; }
.fb-grid {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.fb-grid::-webkit-scrollbar { display: none; }
.fb-grid.dragging { cursor: grabbing; }
.fb-cell {
  flex: 0 0 auto;
  width: clamp(170px, 15vw, 200px);
  aspect-ratio: 700 / 1516;
  scroll-snap-align: start;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(20,18,15,.08);
}
.fb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(20,18,15,.14);
  font-size: 26px; line-height: 1; color: var(--ink);
  display: grid; place-items: center; padding-bottom: 3px;
  transition: transform .18s var(--ease), opacity .18s;
}
.fb-arrow:hover { transform: translateY(-50%) scale(1.08); }
.fb-prev { left: -10px; }
.fb-next { right: -10px; }
.fb-arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 880px) {
  .vid-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ba-cell { width: 80vw; }
}
@media (max-width: 520px) {
  .fb-cell { width: 44vw; }
  .fb-prev { left: 2px; }
  .fb-next { right: 2px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: var(--on-dark); padding: clamp(40px,5vw,60px) 0 48px; }
.footer-logo { height: 42px; width: auto; margin-bottom: 16px; }
.site-footer h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 34px); letter-spacing: .01em; }
.footer-book { display: inline-block; margin-top: 18px; background: #fff; color: var(--ink); padding: 11px 30px; border-radius: 40px; font-size: 14px; font-weight: 600; transition: transform .2s; }
.footer-book:hover { transform: translateY(-2px); }
.footer-contact { margin-top: 26px; display: flex; gap: clamp(40px,8vw,80px); flex-wrap: wrap; }
.footer-contact h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.footer-contact a.tel { text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }
.footer-contact a.tel { text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }
.socials { display: flex; gap: 16px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; }
.socials svg { width: 24px; height: 24px; fill: var(--on-dark); transition: opacity .2s; }
.socials a:hover svg { opacity: .65; }
.footer-addr-label { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 26px 0 14px; }
.footer-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; align-items: end; }
.map-card a.map-label { color: var(--on-dark-mut); display: block; margin-bottom: 10px; font-size: 14px; line-height: 1.5; min-height: 44px; text-decoration: none; }
.map-card a.map-label:hover { text-decoration: underline; }
.map-card a.map-label strong { color: var(--on-dark); font-weight: 600; }
.map-card .map-label strong { color: var(--on-dark); font-weight: 600; }
.map-frame { width: 100%; height: 190px; border: 0; border-radius: 10px; display: block; filter: grayscale(.25); }
.footer-contact .tg { color: var(--on-dark-mut); font-size: 13px; text-decoration: none; }

/* ============================================================
   CONTACT POPUP MODAL
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(20,18,15,.55); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; animation: fade .25s var(--ease); }
.modal-card { background: var(--paper); border-radius: 18px; padding: clamp(28px,4vw,40px); max-width: 440px; width: 100%; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,.32); animation: modalpop .28s var(--ease); }
@keyframes modalpop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--muted); border-radius: 50%; transition: background .2s, color .2s; }
.modal-close:hover { background: var(--paper-2); color: var(--ink); }
.modal-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px,3vw,28px); text-align: center; }
.modal-sub { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
.modal-card .contact-cta { margin-top: 22px; }

/* ============================================================
   KH notice banner
   ============================================================ */
.kh-notice { display: none; background: #2a2a27; color: #e7e3da; text-align: center; font-size: 13px; padding: 9px 16px; letter-spacing: .02em; }
html[data-lang="kh"] .kh-notice { display: block; }

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 880px) {
  :root { --header-h: 66px; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 4px; padding: 22px clamp(20px,6vw,40px); z-index: 90;
    transform: translateX(100%); transition: transform .32s var(--ease); overflow-y: auto;
  }
  body.menu-open .nav { transform: translateX(0); }
  .nav a { font-size: 20px; font-family: var(--font-display); padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.active { font-weight: 600; }
  .burger { display: block; }

  .hero { min-height: 460px; }
  .hero-watermark { display: none; }

  .announce { grid-template-columns: 1fr; gap: 44px; }
  .dv { grid-template-columns: 1fr; }
  .dv .dv-img { min-height: 240px; }
  .svc-row, .svc-row.flip { grid-template-columns: 1fr; gap: 22px; }
  .svc-row.flip .svc-text { order: 0; }
  .svc-row .svc-img, .svc-row .svc-img.wide { aspect-ratio: 4 / 5; height: auto; }
  .svc-text p { max-width: none; }

  .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .about-teaser { display: block; gap: 0; }
  .about-teaser .about-img { float: left; width: 120px; aspect-ratio: 3 / 4; height: auto; max-width: none; margin: 4px 16px 8px 0; order: 0; }
  .about-teaser h2 { font-size: clamp(24px, 7vw, 32px); margin-bottom: 14px; }
  .about-teaser p { font-size: 14px; }
  .about-teaser .sign { clear: left; }
  .care-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-contact { gap: 40px; }
  .footer-maps { grid-template-columns: 1fr; }
}

/* ============================================================
   FLOATING CHAT BUTTONS (Telegram + Messenger)
   ============================================================ */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 12px; }
.chat-fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .2s var(--ease), box-shadow .2s; }
.chat-fab a:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 26px rgba(0,0,0,.34); }
.chat-fab a svg { width: 28px; height: 28px; }
.chat-fab .fab-telegram { background: #229ED9; }
.chat-fab .fab-messenger { background: #0084FF; }
.chat-fab a svg { fill: #fff; }
@media (max-width: 880px) {
  .chat-fab { right: 14px; bottom: 14px; gap: 10px; }
  .chat-fab a { width: 48px; height: 48px; }
  .chat-fab a svg { width: 25px; height: 25px; }
}

@media (max-width: 460px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-quote { font-size: 26px; }
}

/* ============================================================
   In-app browser banner (TikTok/IG/FB)
   ============================================================ */
.inapp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: #1b1b19; color: #f3f1ea;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  font-size: 13px; line-height: 1.45;
  box-shadow: 0 -6px 24px rgba(0,0,0,.28);
}
.inapp-bar .inapp-tx { flex: 1; }
.inapp-bar b { color: #fff; font-weight: 700; }
.inapp-bar .inapp-copy {
  flex: 0 0 auto; background: #fff; color: #1b1b19; border: 0;
  border-radius: 40px; padding: 9px 14px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.inapp-bar .inapp-x {
  flex: 0 0 auto; background: transparent; border: 0; color: #a6a298; font-size: 16px; padding: 4px 6px;
}
.has-inapp-bar .chat-fab { bottom: 84px; }
