.elementor-19981 .elementor-element.elementor-element-ab412ba{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:stretch;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS *//* ============================================================
   Domrey Mother & Child Clinic: Premium Hospital Site
   ============================================================ */

:root {
  /* Editorial (default) */
  --bg: #FAF8F4;
  --bg-soft: #F1ECE1;
  --bg-deep: #ECE6D7;
  --card: #FFFFFF;
  --ink: #0F1B2D;
  --ink-2: #2C3849;
  --ink-3: #5B6573;
  --subtle: #8C9099;
  --line: rgba(15, 27, 45, 0.08);
  --line-strong: rgba(15, 27, 45, 0.16);
  --accent: #D9542B;     /* logo orange */
  --accent-ink: #FFFFFF;
  --accent-2: #1D7A4D;   /* logo green */
  --accent-3: #0E2A47;   /* logo navy */
  --shadow-sm: 0 1px 2px rgba(15,27,45,.04), 0 2px 8px rgba(15,27,45,.04);
  --shadow-md: 0 2px 6px rgba(15,27,45,.06), 0 18px 40px -12px rgba(15,27,45,.10);

  /* type: display + body, EN + KM */
  --font-display: 'Cormorant Garamond', 'Noto Serif Khmer', serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Khmer', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --display-tracking: -0.015em;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  /* density (cozy default) */
  --space-step: 1;
  --section-y: calc(120px * var(--space-step));
  --section-y-sm: calc(72px * var(--space-step));
  --gap-card: calc(20px * var(--space-step));
  --pad-card: calc(28px * var(--space-step));
  --maxw: 1320px;
}

/* ===== direction: hearth ===== */
[data-direction="hearth"] {
  --bg: #F6EFE3;
  --bg-soft: #EFE5D2;
  --bg-deep: #E5D7BE;
  --card: #FBF7EE;
  --ink: #2A2118;
  --ink-2: #4A3F33;
  --ink-3: #6E6253;
  --subtle: #948672;
  --line: rgba(42, 33, 24, 0.10);
  --line-strong: rgba(42, 33, 24, 0.18);
  --accent: #B85A2A;
  --accent-2: #1D7A4D;
  --accent-3: #2A2118;
  --font-display: 'Newsreader', 'Noto Serif Khmer', serif;
  --font-body: 'DM Sans', 'Noto Sans Khmer', system-ui, sans-serif;
  --display-tracking: -0.02em;
}

/* ===== direction: atelier ===== */
[data-direction="atelier"] {
  --bg: #F2F1ED;
  --bg-soft: #E8E7E1;
  --bg-deep: #DCDAD0;
  --card: #FFFFFF;
  --ink: #0E2A47;
  --ink-2: #2A3D55;
  --ink-3: #54657A;
  --subtle: #8993A0;
  --line: rgba(14, 42, 71, 0.10);
  --line-strong: rgba(14, 42, 71, 0.20);
  --accent: #0E2A47;
  --accent-ink: #FFFFFF;
  --accent-2: #1D7A4D;
  --accent-3: #D9542B;
  --font-display: 'Manrope', 'Noto Sans Khmer', sans-serif;
  --font-body: 'Manrope', 'Noto Sans Khmer', sans-serif;
  --display-tracking: -0.035em;
}

/* ===== dark ===== */
[data-mode="dark"] {
  --bg: #0E141C;
  --bg-soft: #141B25;
  --bg-deep: #1A2330;
  --card: #161E2A;
  --ink: #F5F3EE;
  --ink-2: #D4D8DD;
  --ink-3: #9098A4;
  --subtle: #6A727F;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 2px 6px rgba(0,0,0,.35), 0 18px 40px -12px rgba(0,0,0,.5);
}
[data-mode="dark"][data-direction="hearth"] {
  --bg: #1A1410;
  --bg-soft: #221B14;
  --bg-deep: #2C231A;
  --card: #221B14;
  --accent: #E08555;
}
[data-mode="dark"][data-direction="atelier"] {
  --bg: #0A1422;
  --bg-soft: #0F1B2C;
  --bg-deep: #142339;
  --card: #11203A;
  --accent: #5DA5FF;
  --accent-ink: #0A1422;
}

/* ===== density ===== */
[data-density="compact"] { --space-step: 0.7; }
[data-density="airy"]    { --space-step: 1.3; }

/* ============ base ============ */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  /* !important keeps the Medicate theme (loaded after this file on the CPT
     detail pages) from overriding the base font/colour, which otherwise made
     the detail-page header render in Roboto instead of the site font. */
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* lang-aware: hide opposite language */
[data-lang="en"] .km { display: none !important; }
[data-lang="km"] .en { display: none !important; }
[data-lang="km"] body, [data-lang="km"] {
  font-family: 'Noto Sans Khmer', 'Plus Jakarta Sans', system-ui, sans-serif !important;
}
[data-lang="km"] h1, [data-lang="km"] h2, [data-lang="km"] h3,
[data-lang="km"] .display, [data-lang="km"] .display-xl, [data-lang="km"] .display-lg {
  font-family: 'Noto Serif Khmer', 'Cormorant Garamond', serif;
  letter-spacing: 0;
}

/* ============ type scale ============ */
.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--font-display);
  letter-spacing: var(--display-tracking);
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.display-xl { font-size: clamp(48px, 7.4vw, 108px); line-height: 0.98; }
.display-lg { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; }
.display-md { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; }
.display-sm { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }

[data-direction="atelier"] .display-xl,
[data-direction="atelier"] .display-lg,
[data-direction="atelier"] .display-md,
[data-direction="atelier"] .display-sm {
  font-weight: 600;
  line-height: 1.0;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
}
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.label { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; }

/* ============ layout ============ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
.section { padding: var(--section-y) 0; }
.section-sm { padding: var(--section-y-sm) 0; }
.divider { height: 1px; background: var(--line); }
.divider-thick { height: 1px; background: var(--line-strong); }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 18px 30px; font-size: 15px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-primary {
  background: #229ED9;
  color: #fff;
  border-color: #229ED9;
}
.btn-primary:hover { transform: translateY(-1px); background: #1b8cc2; border-color: #1b8cc2; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink); }
.btn-ink {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-ink:hover { transform: translateY(-1px); }

/* arrow */
.btn .arrow { width: 14px; height: 14px; }

/* ============ top bar ============ */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 20px; }
.topbar a { opacity: 0.75; transition: opacity .15s; }
.topbar a:hover { opacity: 1; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2); display: inline-block; }
@media (max-width: 720px) {
  .topbar-left .hide-mobile, .topbar-right .hide-mobile { display: none; }
}

/* lang toggle */
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  background: transparent; border: 0; color: inherit; opacity: 0.6;
  padding: 4px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
}
.lang-toggle button.active { background: var(--bg); color: var(--ink); opacity: 1; }

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .b1 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.brand-text .b2 { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
[data-lang="km"] .brand-text .b1 { font-family: 'Noto Serif Khmer', serif; font-size: 17px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links button {
  background: transparent; border: 0; color: var(--ink-2);
  font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links button:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links button.active { color: var(--ink); }
.nav-links button.active::after {
  content: ''; display: block; height: 2px; background: var(--accent);
  margin-top: 4px; border-radius: 2px;
}

.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1024px) {
  .nav-links { display: none; }
}

/* mobile menu trigger */
.menu-trigger { display: none; }
@media (max-width: 1024px) {
  .menu-trigger {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
  }
}

/* ============ hero ============ */
.hero { position: relative; padding: 56px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-headline { font-size: clamp(48px, 7.6vw, 112px); }
.hero-headline .underline { font-style: italic; color: var(--accent); }
[data-direction="atelier"] .hero-headline .underline { font-style: normal; color: var(--accent-3); }

.hero-meta { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .label { color: var(--ink-3); font-size: 11px; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4 / 5;
}
.hero-floating {
  position: absolute;
  inset: auto auto -28px -28px;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}
.hero-floating .av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.hero-floating .l1 { font-weight: 600; font-size: 13px; }
.hero-floating .l2 { font-size: 11.5px; color: var(--ink-3); }

.hero-stats {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat .num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); font-weight: 500; color: var(--ink); letter-spacing: var(--display-tracking); line-height: 1; }
[data-direction="atelier"] .hero-stat .num { font-weight: 700; }
.hero-stat .lab { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-bottom: 1px solid var(--line); }
  .hero-stat:nth-child(2) { border-right: 0; }
}

/* hero variant: overlay (full-bleed image) */
[data-hero="overlay"] .hero { padding: 0; }
[data-hero="overlay"] .hero-grid { grid-template-columns: 1fr; gap: 0; }
[data-hero="overlay"] .hero-image-wrap {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  margin: 0 -100vw;
  padding: 0 100vw;
  position: relative;
}
[data-hero="overlay"] .hero-overlay-content {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 80px 36px;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  color: #fff;
}
[data-hero="overlay"] .hero-overlay-content .display-xl,
[data-hero="overlay"] .hero-overlay-content .lede,
[data-hero="overlay"] .hero-overlay-content .label { color: #fff; }
[data-hero="overlay"] .hero-overlay-content .lede { color: rgba(255,255,255,0.85); }
[data-hero="overlay"] .hero-meta-overlay { max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
[data-hero="overlay"] .hero-floating, [data-hero="overlay"] .hero-stats { display: none; }

/* hero variant: centered */
[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; }
[data-hero="centered"] .hero-meta { align-items: center; }
[data-hero="centered"] .hero-meta .lede { margin: 0 auto; }
[data-hero="centered"] .hero-image-wrap { aspect-ratio: 21 / 9; max-width: 100%; }
[data-hero="centered"] .hero-floating { display: none; }

/* ============ image placeholder ============ */
.imgph {
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklab, var(--bg-deep) 96%, var(--ink)) 0 12px,
      var(--bg-deep) 12px 24px);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
}
.imgph::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--card);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* ============ services grid ============ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.svc-card {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: var(--pad-card);
  background: transparent;
  transition: background .25s, transform .25s;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 260px;
  position: relative;
  cursor: pointer;
}
.svc-card:nth-child(3n) { border-right: 0; }
.svc-card:hover { background: var(--card); }
.svc-card .num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.svc-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin: 0; color: var(--ink); letter-spacing: var(--display-tracking); }
[data-direction="atelier"] .svc-card h3 { font-weight: 600; }
.svc-card p { color: var(--ink-3); font-size: 14.5px; margin: 0; }
.svc-card .arrow-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 600; }
.svc-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--accent); }
.svc-icon svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc-card:nth-child(3n) { border-right: 1px solid var(--line); } .svc-card:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { border-right: 0 !important; } }

/* section header */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.sec-head .lede { max-width: 50ch; }
.sec-head-l { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
@media (max-width: 720px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* ============ doctors ============ */
.doc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-card); }
@media (max-width: 1024px) { .doc-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .doc-row { grid-template-columns: 1fr; } }

.doc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doc-photo { aspect-ratio: 4/5; background: var(--bg-deep); position: relative; overflow: hidden; }
.doc-photo .badge { position: absolute; top: 14px; left: 14px; background: var(--card); padding: 5px 10px; font-size: 11px; font-weight: 600; border-radius: 999px; letter-spacing: 0.04em; color: var(--ink); border: 1px solid var(--line); }
.doc-photo .lang-tag { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; }
.doc-photo .lang-tag span { background: rgba(0,0,0,0.6); color: white; font-size: 10px; padding: 3px 7px; border-radius: 4px; letter-spacing: 0.08em; font-weight: 600; }
.doc-info { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc-info .name { font-family: var(--font-display); font-size: 22px; line-height: 1.15; color: var(--ink); font-weight: 500; letter-spacing: var(--display-tracking); }
[data-direction="atelier"] .doc-info .name { font-weight: 600; }
.doc-info .spec { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.doc-info .meta { color: var(--ink-3); font-size: 13px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }

/* ============ promo banner ============ */
.promo-band {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: 56px 56px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.promo-band .display-lg { color: var(--bg); }
.promo-band .lede { color: rgba(245,243,238,0.7); }
.promo-band .promo-deco {
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}
.promo-band .promo-deco::before {
  content: ''; position: absolute; inset: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
@media (max-width: 720px) {
  .promo-band { grid-template-columns: 1fr; padding: 36px 28px; }
}

/* ============ rooms preview / gallery ============ */
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 560px; }
.gallery-grid > div { border-radius: var(--r-md); overflow: hidden; }
.gallery-grid > div:nth-child(1) { grid-row: span 2; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery-grid > div { aspect-ratio: 4/3; }
  .gallery-grid > div:nth-child(1) { grid-row: auto; }
}

/* ============ video block ============ */
.video-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.video-frame {
  aspect-ratio: 16/10;
  background: var(--ink);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
}
.video-frame .yt-thumb {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.04), transparent 60%),
    repeating-linear-gradient(135deg, #0c0c0c 0 14px, #161616 14px 28px);
}
.video-frame .play {
  position: absolute; inset: 0; display: grid; place-items: center; color: white;
}
.video-frame .play-circ { width: 78px; height: 78px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(217,84,43,0.4); transition: transform .2s; }
.video-frame:hover .play-circ { transform: scale(1.06); }
.video-frame .play-circ svg { width: 22px; height: 22px; margin-left: 4px; }
.video-frame .vlabel { position: absolute; left: 18px; bottom: 18px; color: white; font-size: 13px; opacity: 0.85; }
@media (max-width: 800px) { .video-block { grid-template-columns: 1fr; gap: 32px; } }

/* ============ reviews ============ */
.reviews-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
@media (max-width: 720px) { .reviews-head { grid-template-columns: 1fr; } }
.gscore { display: flex; gap: 28px; align-items: center; }
.gscore .big {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 110px);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: var(--display-tracking);
  font-weight: 500;
}
[data-direction="atelier"] .gscore .big { font-weight: 600; }
.gscore .stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.gscore .meta { color: var(--ink-3); font-size: 14px; margin-top: 6px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.review-card .stars { color: #f5a623; letter-spacing: 2px; }
.review-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.review-card .author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card .av { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.review-card .ai { font-size: 13px; }
.review-card .ai .nm { font-weight: 600; color: var(--ink); }
.review-card .ai .dt { color: var(--ink-3); font-size: 12px; }
.review-card .gicon {
  width: 22px; height: 22px; border-radius: 50%;
  background: white; display: grid; place-items: center;
  font-weight: 700; font-size: 11px; color: #4285F4;
  border: 1px solid var(--line);
  margin-left: auto;
}

/* ============ partners ============ */
.partners {
  display: flex; gap: 48px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  opacity: 0.7;
}

/* ============ contact / map ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { padding: 56px; display: flex; flex-direction: column; gap: 32px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.contact-row .lab { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.contact-row .val { font-size: 15px; color: var(--ink); margin-top: 2px; }

.map-frame {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0)) , 
    radial-gradient(circle at 40% 40%, var(--bg-soft), var(--bg-deep));
  position: relative;
  min-height: 460px;
  overflow: hidden;
}
.map-frame .roads {
  position: absolute; inset: 0;
}
.map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}
.map-pin svg { width: 44px; height: 44px; }
.map-card {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, 22px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* ============ footer ============ */
/* Warm cream footer (matches the "Footer" reference). !important guards
   against the Medicate theme's own `.footer` rule, whose stylesheet loads
   after ours and would otherwise repaint the background and text colour. */
.footer { background: var(--bg) !important; color: var(--ink-3) !important; border-top: 1px solid var(--line); padding-top: clamp(24px, 2.2vw, 34px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.5fr; gap: clamp(28px, 3.4vw, 56px); align-items: start; padding-bottom: clamp(16px, 1.8vw, 24px); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-visit { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* brand column */
.footer-brand-logo { height: 42px; width: auto; display: block; margin-bottom: 12px; }
.footer-tagline { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); max-width: 42ch; margin: 0 0 16px; }
.footer-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-tg { display: inline-flex; align-items: center; gap: 8px; background: #229ED9; color: #fff !important; font-size: 13.5px; font-weight: 600; padding: 10px 18px; border-radius: 10px; text-decoration: none; transition: transform .2s, background .2s; }
.footer-tg:hover { transform: translateY(-1px); background: #1b8cc2; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); text-decoration: none; transition: transform .2s, color .2s, border-color .2s; }
.footer-social a:hover { transform: translateY(-2px); color: var(--accent); border-color: var(--line-strong); }

/* explore column: two-column link grid to keep it short */
.footer-col-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--subtle); margin: 0 0 12px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.footer-nav a { color: var(--ink-2); font-size: 14px; line-height: 1.25; text-decoration: none; width: fit-content; padding: 0; transition: color .15s; }
.footer-nav a:hover { color: var(--accent); }

/* visit & reach us card */
.footer-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.footer-card-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.footer-addr-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.footer-addr { display: flex; gap: 9px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.footer-addr svg { flex: none; margin-top: 1px; color: var(--accent-3); }
.footer-dir { flex: none; color: var(--accent); font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer-dir:hover { text-decoration: underline; }
.footer-phones { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 13px; color: var(--ink); }
.footer-phones svg { flex: none; color: var(--accent-3); }
.footer-phones a { color: var(--ink); text-decoration: none; display: inline; padding: 0; }
.footer-phones a:hover { color: var(--accent); }
.footer-phones .sep { color: var(--subtle); display: inline; }
.footer-emerg { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 7px 12px; background: var(--accent); border-radius: 10px; text-decoration: none; }
.footer-emerg .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.2); display: grid; place-items: center; color: #fff; }
.footer-emerg-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.footer-emerg-num { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.01em; margin-left: auto; }

/* bottom bar: single row, copyright + legal */
.footer-bot { border-top: 1px solid var(--line); margin-top: clamp(14px, 1.6vw, 20px); padding: 14px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.footer-legal { display: flex; align-items: center; gap: 14px; font-size: 12.5px; }
.footer-legal a { color: var(--ink-2); text-decoration: none; font-size: 12.5px; padding: 0; }
.footer-legal a:hover { color: var(--accent); }
.footer-legal .div { color: var(--line-strong); }
.footer-copy { font-size: 12.5px; color: var(--subtle); }
@media (max-width: 560px) { .footer-bot { flex-direction: column; text-align: center; } }

/* ============ telegram float ============ */
.tg-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  background: #229ED9; color: white;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  box-shadow: 0 12px 40px rgba(34,158,217,0.45);
  font-size: 14px; font-weight: 600;
  border: 0; cursor: pointer;
  animation: floatBob 2.6s ease-in-out infinite;
}
.tg-float svg { width: 20px; height: 20px; }
@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ============ pages ============ */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero .display-lg { max-width: 18ch; }
.page-hero-meta { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.page-crumb { color: var(--ink-3); font-size: 13px; display: flex; gap: 8px; align-items: center; margin-bottom: 24px; }
.page-crumb .sep { opacity: 0.4; }
.page-crumb a:hover { color: var(--accent); }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0; }
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.filter-chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* services list (legacy list view, kept for fallback) */
.svc-list { display: flex; flex-direction: column; }

/* services card grid (new) */
.svc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .svc-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-card-grid { grid-template-columns: 1fr; } }

.svc-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc-tile-img { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--bg-deep); }
.svc-tile-img .imgph { position: absolute; inset: 0; }
/* The .ico-pill circle that used to sit bottom-left of the service photo was
   removed in v7.4.8: it rendered a generic heart / checkmark that had nothing
   to do with the service. Rule kept as a hard hide so any cached or hand-built
   markup still carrying the div does not show it. */
.svc-tile-img .ico-pill { display: none !important; }
.svc-tile-img .cat-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--card); color: var(--ink);
  padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  border: 1px solid var(--line);
  text-transform: uppercase;
}
.svc-tile-img .cat-tag.women { color: var(--accent); }
.svc-tile-img .cat-tag.children { color: var(--accent-2); }
.svc-tile-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-tile-body h3 {
  font-family: var(--font-display); font-size: 22px;
  margin: 0; font-weight: 500; color: var(--ink);
  letter-spacing: var(--display-tracking); line-height: 1.18;
}
[data-direction="atelier"] .svc-tile-body h3 { font-weight: 600; }
.svc-tile-body p { color: var(--ink-3); font-size: 14px; margin: 0; line-height: 1.55; }
.svc-tile-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.svc-tile-foot .more { color: var(--accent); display: inline-flex; gap: 8px; align-items: center; transition: gap .2s; }
.svc-tile:hover .svc-tile-foot .more { gap: 12px; }

/* service detail modal */
.svc-modal {
  background: var(--card);
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--r-lg);
  position: relative;
}
.svc-modal .svc-hero {
  aspect-ratio: 21/9;
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}
.svc-modal .svc-hero .imgph { position: absolute; inset: 0; }
.svc-modal .svc-hero .cat-tag {
  position: absolute; top: 24px; left: 24px;
  background: var(--card); color: var(--ink);
  padding: 6px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  border: 1px solid var(--line); text-transform: uppercase;
}
.svc-modal .svc-body { padding: 40px 48px 48px; }
.svc-modal .svc-body h3 {
  font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px);
  margin: 0 0 12px; font-weight: 500; letter-spacing: var(--display-tracking);
  line-height: 1.1; color: var(--ink);
}
[data-direction="atelier"] .svc-modal .svc-body h3 { font-weight: 600; }
.svc-modal .svc-body .lede { margin-bottom: 28px; }
.svc-modal .svc-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line);
}
@media (max-width: 700px) { .svc-modal .svc-cols { grid-template-columns: 1fr; } .svc-modal .svc-body { padding: 28px; } }
.svc-modal .svc-cols h5 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-3); margin: 0 0 14px;
}
.svc-modal .svc-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-modal .svc-cols li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.svc-modal .svc-cols li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 9px;
}
.svc-modal .svc-cta { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.svc-modal .close-x {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
}
.svc-row {
  display: grid; grid-template-columns: 60px 2fr 3fr 80px;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding-left .25s;
}
.svc-row:hover { padding-left: 14px; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .num { color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; }
.svc-row h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); margin: 0; font-weight: 500; color: var(--ink); letter-spacing: var(--display-tracking); }
[data-direction="atelier"] .svc-row h3 { font-weight: 600; }
.svc-row p { font-size: 14.5px; color: var(--ink-3); margin: 0; }
.svc-row .arrow-l { justify-self: end; color: var(--ink); }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 1fr; gap: 6px; }
  .svc-row .arrow-l, .svc-row .num { display: none; }
}

/* room cards */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .rooms-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rooms-grid { grid-template-columns: 1fr; } }
.room-card { display: flex; flex-direction: column; gap: 14px; }
.room-card .img { aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden; }
.room-card h4 { font-family: var(--font-display); font-size: 22px; margin: 0; font-weight: 500; color: var(--ink); letter-spacing: var(--display-tracking); }
[data-direction="atelier"] .room-card h4 { font-weight: 600; }
.room-card p { color: var(--ink-3); font-size: 14px; margin: 0; }

/* promo cards: horizontal package card (poster left, body right; wraps to
   a stacked vertical card when the track is too narrow, e.g. home 4-up). */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1180px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
.promo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-wrap: wrap;
  transition: transform .2s, box-shadow .2s;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* poster: image or tinted placeholder, with the price pill top-left */
.promo-card .promo-banner {
  position: relative; display: block;
  flex: 0 0 42%; max-width: 42%; align-self: stretch; min-height: 260px; overflow: hidden;
  background: repeating-linear-gradient(135deg,
    color-mix(in oklab, var(--accent) 20%, var(--card)) 0 14px,
    color-mix(in oklab, var(--accent) 30%, var(--card)) 14px 28px);
}
.promo-card .promo-banner:has(img) { background: #fff; }
.promo-card .promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; display: block; }
.promo-card .promo-poster-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--card); color: var(--accent);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.promo-card .promo-price-badge {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: var(--accent); color: var(--accent-ink, #fff);
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 8px 16px; border-radius: 999px; box-shadow: 0 4px 12px rgba(15,27,45,.18); white-space: nowrap;
}

/* body */
.promo-card .promo-body { flex: 0 0 58%; max-width: 58%; padding: 30px 32px; display: flex; flex-direction: column; }
@media (max-width: 640px) { .promo-card .promo-banner, .promo-card .promo-body { flex-basis: 100%; max-width: 100%; } .promo-card .promo-banner { min-height: 200px; } }
.promo-card .promo-body-main { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.promo-card .promo-badge {
  display: inline-block; background: color-mix(in oklab, var(--accent) 12%, var(--card));
  color: var(--accent); font-weight: 600; font-size: 12px; letter-spacing: 0.03em;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 14px;
}
.promo-card h3 { font-family: var(--font-display); font-size: 28px; margin: 0; font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: var(--display-tracking); }
[data-direction="atelier"] .promo-card h3 { font-weight: 600; }
.promo-card .promo-valid { font-family: var(--font-body); font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.promo-card .price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.promo-card .price { font-family: var(--font-body); font-size: 32px; color: var(--accent); font-weight: 700; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; }
.promo-card .price-was { color: var(--ink-3); text-decoration: line-through; font-size: 17px; font-variant-numeric: tabular-nums lining-nums; }
.promo-card .promo-save {
  background: color-mix(in oklab, var(--accent-2) 14%, var(--card));
  color: var(--accent-2); font-weight: 600; font-size: 13px;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}

/* actions: full-width Telegram button + centered "view full package" link */
.promo-card .promo-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.promo-card .promo-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 54px; border-radius: 14px;
  background: #229ED9; color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background .15s, transform .15s;
}
.promo-card .promo-cta:hover { background: #1b8cc2; transform: translateY(-1px); }
.promo-card .promo-cta svg { width: 18px; height: 18px; }
.promo-card .promo-viewlink { text-align: center; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }
.promo-card .promo-viewlink:hover { text-decoration: underline; }

/* events list */
.event-list { display: flex; flex-direction: column; gap: 0; }
.event-row {
  display: grid; grid-template-columns: 100px 200px 1fr 130px;
  gap: 24px; align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-row .date {
  font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--ink); font-weight: 500; letter-spacing: var(--display-tracking);
}
[data-direction="atelier"] .event-row .date { font-weight: 600; }
.event-row .date small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); margin-top: 6px; text-transform: uppercase; font-weight: 600; }
.event-row .img { aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; }
.event-row h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 6px; font-weight: 500; color: var(--ink); letter-spacing: var(--display-tracking); }
[data-direction="atelier"] .event-row h3 { font-weight: 600; }
.event-row p { color: var(--ink-3); font-size: 14px; margin: 0; }
@media (max-width: 800px) {
  .event-row { grid-template-columns: 1fr; gap: 12px; }
}

/* doctor detail modal */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,27,45,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadein .22s ease;
}
.modal {
  position: relative;
  background: var(--card);
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 340px 1fr;
}
@media (max-width: 720px) { .modal { grid-template-columns: 1fr; } }
.modal .photo { position: relative; background: var(--bg-deep); overflow: hidden; }
.modal .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.modal .photo .imgph { position: absolute; inset: 0; }
@media (max-width: 720px) { .modal .photo { aspect-ratio: 16/10; } }
.modal .body { padding: 44px 44px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.modal .body .eyebrow { color: var(--accent); }
.modal h3 { font-family: var(--font-display); font-size: 40px; line-height: 1.05; margin: 8px 0 4px; font-weight: 500; letter-spacing: var(--display-tracking); color: var(--ink); }
[data-direction="atelier"] .modal h3 { font-weight: 600; }
.modal .spec { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.modal .stat-row { display: flex; gap: 28px; margin: 26px 0 24px; }
.modal .stat-row .stat { display: flex; flex-direction: column; gap: 4px; padding-right: 28px; border-right: 1px solid var(--line); }
.modal .stat-row .stat:last-child { border-right: 0; padding-right: 0; }
.modal .stat-row .stat .v { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: var(--display-tracking); }
.modal .stat-row .stat .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.modal .bio { color: var(--ink-2); line-height: 1.65; font-size: 15px; margin: 0 0 26px; }
.modal .modal-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; width: 100%; padding-top: 24px; border-top: 1px solid var(--line); }
.modal .modal-actions .btn-tg { background: #229ED9; color: #fff; border: 0; border-radius: 12px; padding: 14px 26px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 10px 26px rgba(34,158,217,0.35); cursor: pointer; }
.modal .modal-actions .btn-tg:hover { background: #1b8cc2; }
.modal .modal-actions .btn-ghost { color: var(--ink); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; }
.modal .modal-actions .btn-ghost:hover { color: var(--accent); }
.modal .close-x {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center;
  cursor: pointer; color: var(--ink-3);
  z-index: 2;
}
.modal .close-x:hover { border-color: var(--line-strong); color: var(--ink); }

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* placeholder banner */
.ph-banner {
  background: color-mix(in oklab, var(--accent) 12%, var(--bg));
  border: 1px dashed var(--accent);
  border-radius: var(--r-md);
  padding: 14px 20px;
  font-size: 13px;
  color: var(--ink);
  display: flex; gap: 12px; align-items: center;
}
.ph-banner .dot-w { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* tabs */
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tabs button { background: transparent; border: 0; padding: 18px 0; font-size: 14px; font-weight: 600; color: var(--ink-3); position: relative; }
.tabs button.active { color: var(--ink); }
.tabs button.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent);
}

/* sortable section list (in tweaks) */
.sortable-list { display: flex; flex-direction: column; gap: 6px; }
.sortable-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.05);
  border-radius: 6px;
  font-size: 13px;
  cursor: grab;
  user-select: none;
}
.sortable-item.dragging { opacity: 0.4; }
.sortable-item .grip { color: var(--ink-3); font-size: 14px; line-height: 1; }
.sortable-item .name { flex: 1; }
.sortable-item .arrows { display: flex; gap: 4px; }
.sortable-item .arrows button { background: rgba(0,0,0,0.06); border: 0; border-radius: 4px; width: 22px; height: 22px; line-height: 1; padding: 0; }

/* utility */
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.spacer-lg { height: 80px; }
.spacer { height: 32px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  padding: 80px 36px 40px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu button {
  background: transparent; border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-menu .close-x {
  position: absolute; top: 24px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center;
  cursor: pointer;
}

/* ============================================================
   Phase 1: Medicate Theme Conflict Resolution
   ============================================================ */
.elementor-widget-html h1,
.elementor-widget-html h2,
.elementor-widget-html h3,
.elementor-widget-html h4,
.elementor-widget-html h5,
.elementor-widget-html h6 {
  font-family: 'Cormorant Garamond', 'Noto Serif Khmer', serif !important;
}
.elementor-widget-html p,
.elementor-widget-html div,
.elementor-widget-html span,
.elementor-widget-html a,
.elementor-widget-html li,
.elementor-widget-html button {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Khmer', system-ui, sans-serif;
}
.page-hero { padding-top: 100px !important; }
.elementor-widget-html .wrap { max-width: 1320px !important; }

/* Hide Medicate theme page title + breadcrumb bar on new design pages */
.pt-breadcrumb { display: none !important; }

/* ============================================================
   CPT detail pages (Services / Rooms / Promotions / Events)
   ============================================================ */
.domrey-detail-main { min-height: 60vh; }
.detail { padding: 48px 0 96px; }
.detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  margin-bottom: 28px; transition: color .15s, gap .2s;
}
.detail-back:hover { color: var(--accent); gap: 12px; }
.detail-head { max-width: 760px; margin-bottom: 40px; }
.detail-head .eyebrow { margin-bottom: 12px; display: inline-block; }
.detail-title { margin: 0 0 16px; }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 4px; }
.detail-price .price { font-family: var(--font-body); font-size: 38px; color: var(--accent); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; }
.detail-price .price-was { color: var(--ink-3); text-decoration: line-through; font-size: 18px; font-variant-numeric: tabular-nums lining-nums; }
.detail-valid, .detail-date { color: var(--ink-3); font-size: 14px; margin: 4px 0 0; }
.detail-head .lede { margin-top: 16px; }

/* gallery */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px; margin-bottom: 56px;
}
.detail-gallery .gallery-item {
  padding: 0; border: 1px solid var(--line); background: var(--bg-soft);
  border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3;
  cursor: zoom-in; transition: transform .2s, box-shadow .2s;
}
.detail-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Graceful layouts when only a few photos are uploaded, so a single image does
   not stretch oddly or leave half the row empty. The data-count attribute is
   set by domrey_render_detail(); pages cached before this attribute existed
   simply fall back to the even auto-fill grid above. */
.detail-gallery[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.detail-gallery[data-count="2"] { grid-template-columns: 1fr 1fr; }
.detail-gallery[data-count="1"] .gallery-item,
.detail-gallery[data-count="2"] .gallery-item { aspect-ratio: 16/10; }
@media (max-width: 640px) {
  .detail-gallery,
  .detail-gallery[data-count="2"] { grid-template-columns: 1fr; }
}

/* body + "what's included" sidebar */
.detail-body {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px;
  align-items: start; margin-bottom: 56px;
}
/* No main body text: collapse to one capped column so the booking card reads
   as an intentional call-to-action instead of floating beside an empty space. */
.detail-body--solo { grid-template-columns: minmax(0, 480px); }
.detail-body--solo .detail-main { display: none; }
.detail-main { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.detail-main h2, .detail-main h3 { font-family: var(--font-display); color: var(--ink); margin: 28px 0 12px; font-weight: 500; }
.detail-main p { margin: 0 0 16px; }
.detail-main ul, .detail-main ol { margin: 0 0 16px; padding-left: 20px; }
.detail-main img { border-radius: var(--r-md); margin: 12px 0; }
.detail-aside { position: sticky; top: 96px; }
.detail-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
}
.detail-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin: 0 0 16px; color: var(--ink); }
.tick-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tick-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; align-items: flex-start; }
.tick-list li svg { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.detail-book { width: 100%; justify-content: center; }
@media (max-width: 860px) {
  .detail-body { grid-template-columns: 1fr; gap: 28px; }
  .detail-aside { position: static; }
}

/* showcase video */
.detail-video { margin-bottom: 24px; }
.detail-video h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin: 0 0 18px; color: var(--ink); }
.detail-video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.detail-video-frame iframe,
.detail-video-frame video,
.detail-video-frame embed,
.detail-video-frame object {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0;
}

/* lightbox */
.dmrh-lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,14,20,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.dmrh-lb[hidden] { display: none; }
.dmrh-lb img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: var(--r-md); box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.dmrh-lb-x {
  position: absolute; top: 20px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: 0;
  font-size: 26px; line-height: 1; display: grid; place-items: center;
}
.dmrh-lb-x:hover { background: rgba(255,255,255,.22); }
/* lightbox prev/next + counter (multi-photo galleries) */
.dmrh-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: 0;
  font-size: 30px; line-height: 1; display: grid; place-items: center; cursor: pointer;
  transition: background .15s;
}
.dmrh-lb-nav:hover { background: rgba(255,255,255,.22); }
.dmrh-lb-prev { left: 24px; }
.dmrh-lb-next { right: 24px; }
.dmrh-lb-nav[hidden] { display: none; }
.dmrh-lb-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .03em;
}
@media (max-width: 640px) {
  .dmrh-lb-prev { left: 10px; } .dmrh-lb-next { right: 10px; }
  .dmrh-lb-nav { width: 42px; height: 42px; font-size: 24px; }
}

/* ── Room detail: Airbnb-style mosaic gallery ── */
.detail-gallery--mosaic {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px; aspect-ratio: 3/2; margin-bottom: 48px;
}
/* Room galleries (mosaic or a simple strip) fit within the first screen so the
   whole hero is visible without scrolling, whatever the window height. The
   reserve (~330px) leaves room for the sticky header + the room title above.
   Tiles drop their own aspect-ratio and fill the capped height (object-fit
   crops). Desktop only; on narrow screens the gallery stacks naturally. */
@media (min-width: 861px) {
  .detail-gallery--room {
    height: clamp(300px, calc(100vh - 330px), 680px);
    aspect-ratio: auto; margin-bottom: 48px;
  }
  .detail-gallery--room .gallery-item { aspect-ratio: auto; height: 100%; }
  /* Non-mosaic rooms (2-4 photos) once rendered as one tall row of equal columns,
     which looked like stretched portrait strips. Instead give each count a
     balanced layout: a large hero tile plus a stack of the rest, echoing the 5+
     mosaic. The gallery div carries data-count from domrey_render_detail(). */
  .detail-gallery--room:not(.detail-gallery--mosaic) {
    grid-auto-flow: row;
    max-width: none;
  }
  .detail-gallery--room:not(.detail-gallery--mosaic)[data-count="1"] {
    grid-template-columns: 1fr; grid-template-rows: 1fr;
  }
  .detail-gallery--room:not(.detail-gallery--mosaic)[data-count="2"] {
    grid-template-columns: 1fr 1fr; grid-template-rows: 1fr;
  }
  .detail-gallery--room:not(.detail-gallery--mosaic)[data-count="3"] {
    grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr;
  }
  .detail-gallery--room:not(.detail-gallery--mosaic)[data-count="3"] .gallery-item:first-child {
    grid-column: 1; grid-row: 1 / 3;
  }
  .detail-gallery--room:not(.detail-gallery--mosaic)[data-count="4"] {
    grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr 1fr;
  }
  .detail-gallery--room:not(.detail-gallery--mosaic)[data-count="4"] .gallery-item:first-child {
    grid-column: 1; grid-row: 1 / 4;
  }
}
.detail-gallery--mosaic .gallery-item {
  aspect-ratio: auto; height: 100%; position: relative; border-radius: 0;
}
.detail-gallery--mosaic .gallery-item:first-child { grid-column: 1 / 3; grid-row: 1 / 3;
  border-top-left-radius: var(--r-lg); border-bottom-left-radius: var(--r-lg); }
.detail-gallery--mosaic .gallery-item:nth-child(3) { border-top-right-radius: var(--r-lg); }
.detail-gallery--mosaic .gallery-item:nth-child(5) { border-bottom-right-radius: var(--r-lg); }
.detail-gallery--mosaic .gallery-item.is-extra { display: none; }
.gallery-more {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--ink); box-shadow: var(--shadow-md); pointer-events: none;
}
@media (max-width: 860px) { .detail-gallery--mosaic { aspect-ratio: 2/1; } }
@media (max-width: 640px) {
  .detail-gallery--mosaic {
    grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4/3;
  }
  .detail-gallery--mosaic .gallery-item:first-child { grid-column: 1 / 3; grid-row: 1; }
  .detail-gallery--mosaic .gallery-item:nth-child(n+4) { display: none; }
  .detail-gallery--mosaic .gallery-item { border-radius: var(--r-md) !important; }
}

/* ── Room detail: section titles + about ── */
.detail-section-title {
  font-family: var(--font-display); font-size: 30px; font-weight: 500;
  color: var(--ink); margin: 0 0 22px;
}
.room-about { max-width: 820px; margin-bottom: 56px; }
.room-about .detail-main { margin: 0; }

/* ── Room detail: categorized amenity grid ──
   Soft, near-borderless cards with airy spacing and light line icons, echoing
   the reference: depth comes from a faint shadow + tint, not a hard 1px line. */
.room-amenities { margin-bottom: 56px; }
.amenity-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.amenity-cat {
  background: var(--card); border: 1px solid rgba(15,27,45,.05);
  border-radius: var(--r-xl); padding: 32px 34px; box-shadow: var(--shadow-sm);
}
.amenity-cat h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
  letter-spacing: var(--display-tracking); color: var(--ink); margin: 0 0 24px;
}
.amenity-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.amenity-list li { display: flex; align-items: flex-start; gap: 15px; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.amenity-list li svg { width: 23px; height: 23px; color: var(--ink-2); stroke-width: 1.4; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 860px) { .amenity-cats { grid-template-columns: 1fr; gap: 16px; } .amenity-cat { padding: 26px 24px; } }
@media (max-width: 520px) { .amenity-list { grid-template-columns: 1fr; } }

/* ── Room detail: booking band ── */
.detail-book-band {
  text-align: center; padding: 48px 28px; margin-bottom: 24px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.detail-book-band h2 { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--ink); margin: 0 0 10px; }
.detail-book-band p { color: var(--ink-2); margin: 0 auto 22px; max-width: 460px; }
.detail-book-cta { display: inline-flex; align-items: center; gap: 8px; }

/* ── Room detail: dotted highlights row under the title ── */
.room-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin: 14px 0 0; font-size: 14.5px; color: var(--ink-3);
}
.room-meta .sep { color: var(--subtle); }
.detail-head .room-meta + .lede { margin-top: 14px; }

/* ── Room detail: two-column body + sticky booking card ──
   Left column carries "About" + the amenity grid; the right column is a
   white booking card (price / night, key facts, Telegram CTA) that stays
   in view while scrolling, boutique-hotel style. */
.room-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 4vw, 56px); align-items: start; margin-bottom: 40px;
}
.room-book-card {
  position: sticky; top: 96px;
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-md);
}
.room-book-title {
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
  color: var(--ink); margin: 0;
}
.room-price { display: flex; align-items: baseline; gap: 7px; }
.room-price b {
  font-family: var(--font-display); font-weight: 500; font-size: 38px;
  line-height: 1; color: var(--ink);
}
.room-price span { font-size: 15px; color: var(--ink-3); }
.room-card-divider { height: 1px; background: var(--line); margin: 18px 0; }
.room-facts { display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: var(--ink-3); }
.room-fact { display: flex; justify-content: space-between; gap: 14px; }
.room-fact b { color: var(--ink); font-weight: 500; text-align: right; }
.room-book-cta { width: 100%; justify-content: center; margin-top: 22px; }
.room-book-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
/* the amenity cards sit in a narrower column now; go single-column earlier */
.room-layout .amenity-cats { grid-template-columns: 1fr; }
@media (min-width: 1180px) { .room-layout .amenity-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .room-layout { grid-template-columns: 1fr; }
  .room-book-card { position: static; max-width: 440px; }
}

/* ============================================================
   Promotion detail: premium package layout (.promo-detail)
   Built by domrey_render_promo(). Full-bleed warm gradient hero
   (featured image faded on top when set) with a floating price
   card, full-bleed stats strip, then optional self-hiding
   sections: included cards, about, numbered steps, audience
   cards, category panel grid, video, FAQ accordion, closing
   CTA band. Matches "Clinic Detail Pages Final" reference.
   ============================================================ */

/* the hero band is full-bleed, so the article starts flush at the top */
.detail.promo-detail { padding-top: 0; }

/* hero band: warm cream-to-tan gradient, edge to edge */
.pd-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, var(--bg) 0%, #F5EEE3 55%, #E7DCCF 100%);
  padding: clamp(28px, 3.6vw, 48px) 0 clamp(36px, 4.6vw, 64px);
}
.pd-hero-wrap { position: relative; }
.pd-hero .detail-back { margin-bottom: clamp(30px, 4.4vw, 56px); }
.pd-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 370px;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.pd-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; }
.pd-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 7px 13px; border-radius: 999px;
}
.pd-eyebrow-label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
}
.pd-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(42px, 5.2vw, 68px); line-height: 1.02;
  letter-spacing: var(--display-tracking); color: var(--ink); margin: 0;
}
.pd-title em { font-style: italic; color: var(--accent); }
.pd-lede { margin: 24px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
/* no-price packages: single-column hero with the CTA inline under the lede */
.pd-hero-inner.pd-hero-solo { grid-template-columns: 1fr; max-width: 760px; }
.pd-hero-cta { margin-top: clamp(26px, 3vw, 34px); }
.pd-hero-cta .btn { display: inline-flex; }

/* floating price card */
.pd-price-card {
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-md);
}
.pd-price-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px;
}
.pd-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.pd-price {
  font-family: var(--font-body); font-weight: 700; letter-spacing: -.015em;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 50px; line-height: 1; color: var(--accent);
}
.pd-price-was {
  font-family: var(--font-body); font-size: 22px; font-variant-numeric: tabular-nums lining-nums;
  color: var(--subtle); text-decoration: line-through;
}
.pd-save {
  display: inline-block; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: var(--accent-2);
  background: rgba(29,122,77,.10); padding: 7px 11px; border-radius: var(--r-sm);
}
.pd-price-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.pd-reply { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--ink-3); }

/* stats band: full-bleed strip attached under the hero */
.pd-stats-band {
  background: var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pd-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 30px 0;
}
.pd-stat { display: flex; flex-direction: column; gap: 6px; }
.pd-stat b {
  font-family: var(--font-display); font-weight: 500;
  font-size: 34px; line-height: 1; color: var(--accent);
}
.pd-stat span { font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }

/* shared section rhythm */
.pd-section { margin-top: clamp(48px, 6vw, 68px); }
.pd-section > .eyebrow { display: inline-block; margin-bottom: 12px; }
.pd-h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3vw, 36px); line-height: 1.1;
  letter-spacing: var(--display-tracking); color: var(--ink); margin: 0 0 28px;
}
.pd-section-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 16px;
}
.pd-count { font-size: 13px; color: var(--subtle); white-space: nowrap; }
.pd-about .detail-main { max-width: 760px; }

/* what's included: 2-up check cards */
.pd-inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.pd-inc {
  display: flex; gap: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.pd-inc-check {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(217,84,43,.10); color: var(--accent);
  display: grid; place-items: center;
}
.pd-inc h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink); margin: 4px 0 0; }
.pd-inc p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* how it works: oversized light serif numerals */
.pd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pd-step-num {
  font-family: var(--font-display); font-size: 52px; line-height: 1;
  color: rgba(217,84,43,.30);
}
.pd-step h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--ink); margin: 16px 0 0; }
.pd-step p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* who it's for: tinted cards with an optional emoji icon tile */
.pd-aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pd-aud {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
}
.pd-aud-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(217,84,43,.08);
  font-size: 21px; line-height: 1;
  margin-bottom: 20px;
}
.pd-aud h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.pd-aud p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* the full panel: category cards with hairline-divided items */
.pd-panel-grid { columns: 3 260px; column-gap: 14px; }
.pd-panel-cat {
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); overflow: hidden;
  width: 100%; margin: 0 0 14px;
  -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid;
}
.pd-panel-cat header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(217,84,43,.08); padding: 12px 18px;
}
.pd-panel-cat header h3 {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin: 0;
}
.pd-panel-cat header span { font-size: 11px; font-weight: 600; color: var(--subtle); }
.pd-panel-cat ul { list-style: none; margin: 0; padding: 4px 18px 10px; }
.pd-panel-cat li {
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.35; color: var(--ink-2);
}
.pd-panel-cat li:last-child { border-bottom: 0; }

/* ============ service detail (editorial layout) ============ */
.svc-detail { padding: 8px 0 24px; }
.svc-detail-wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.svc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.svc-d-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 10px 0 0; color: var(--ink); }
.svc-photo { margin-top: 44px; aspect-ratio: 3/2; border-radius: 4px; background: var(--bg-deep); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-photo-ph { text-align: center; color: var(--ink-3); font-size: 13px; }
.svc-photo-ph svg { opacity: .5; display: block; margin: 0 auto 8px; }
.svc-cap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.svc-know { display: grid; grid-template-columns: 200px 1fr; gap: 32px; margin-top: 48px; }
.svc-know > h2 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 0; color: var(--ink); }
.svc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.svc-fact .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.svc-fact .v { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 56px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.svc-more:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 680px) { .svc-know { grid-template-columns: 1fr; gap: 20px; } .svc-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .svc-facts { grid-template-columns: 1fr; } }

/* faq accordion: serif questions, plus-to-x toggle */
.pd-faq-list { border-top: 1px solid var(--line); }
.pd-faq { border-bottom: 1px solid var(--line); }
.pd-faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px;
  font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink);
}
.pd-faq summary::-webkit-details-marker { display: none; }
.pd-faq .pl {
  flex: none; color: var(--accent);
  font-family: var(--font-body); font-size: 22px; line-height: 1;
  transition: transform .2s;
}
.pd-faq[open] summary .pl { transform: rotate(45deg); }
.pd-faq p { margin: 0 0 20px; padding-right: 40px; font-size: 15px; line-height: 1.65; color: var(--ink-3); }

/* closing CTA band */
.pd-cta {
  margin-top: clamp(48px, 6vw, 68px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 32px; background: var(--ink); border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px) clamp(26px, 3.4vw, 48px);
}
.pd-cta h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px); color: #fff; margin: 0 0 8px;
}
.pd-cta p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(250,248,244,.72); }

/* promo responsive */
@media (max-width: 960px) {
  .pd-hero-inner { grid-template-columns: 1fr; align-items: start; }
  .pd-price-card { max-width: 420px; }
  .pd-steps, .pd-aud-grid, .pd-panel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pd-hero .detail-back { margin-bottom: 26px; }
  .pd-stats { grid-template-columns: 1fr 1fr; gap: 20px 18px; padding: 24px 0; }
  .pd-stat b { font-size: 28px; }
  .pd-price { font-size: 46px; }
  .pd-inc-grid, .pd-steps, .pd-aud-grid, .pd-panel-grid { grid-template-columns: 1fr; }
  .pd-faq summary { font-size: 18px; }
  .pd-faq p { padding-right: 16px; }
}

/* ============================================================
   Event detail: "Warm Premium" single-event layout
   Full-bleed, self-contained design scoped entirely under
   .domrey-event so it never affects the rest of the site. Built
   by domrey_render_event(). Cream surfaces, terracotta accent,
   Lora headings + Manrope body (Khmer fallbacks kept in the
   stacks since event copy may be Khmer).
   ============================================================ */

/* The event template owns the full viewport width (the hero is full-bleed).
   .domrey-detail-main has no width cap, but reset margins/padding defensively
   so neither the theme nor a stray rule boxes it in. */
.domrey-detail-main:has(.domrey-event) { width: 100%; max-width: none; margin: 0; padding: 0; }

.domrey-event {
  --de-cream:   #F7F1E9;
  --de-surface: #FFFDF9;
  --de-ink:     #2A2018;
  --de-muted:   #5A4E42;
  --de-accent:  #C0763E;
  --de-line:    #EFE6D8;
  --de-head: 'Lora', 'Noto Serif Khmer', Georgia, serif;
  --de-body: 'Manrope', 'Noto Sans Khmer', system-ui, sans-serif;
  background: var(--de-cream);
  color: var(--de-muted);
  font-family: var(--de-body);
  width: 100%;
  /* the CTA banner used to be the last section and carried the bottom
     spacing; it was removed, so the wrapper provides it for whichever
     section (gallery, quote, body) now comes last */
  padding-bottom: 64px;
}
.domrey-event * { box-sizing: border-box; }

/* ── Hero: clean full-bleed image, no scrim or overlaid text; the
   "Type · Date" line and the title sit below it in .de-head ── */
.de-hero__img {
  display: block; width: 100%;
  height: clamp(300px, 46vw, 560px);
  object-fit: cover;
}

/* ── Event header under the hero image ── */
.de-head { max-width: 920px; margin: 0 auto; padding: 52px 24px 8px; text-align: center; }
.de-head__meta {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--de-accent); margin: 0 0 14px;
}
.de-title {
  font-family: var(--de-head); font-weight: 600; font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15; letter-spacing: -.01em; color: var(--de-ink); margin: 0;
}

/* ── Intro / body: full-bleed; the text column itself is 80% of .domrey-event ── */
.de-body { margin: 0 auto; padding: 40px 0 64px; }
.de-body > p { width: 80%; margin: 0 auto 18px; font-size: 15.5px; line-height: 1.8; color: var(--de-muted); }
/* keep headings/lists/images/quotes aligned to the same 80% column */
.de-body > h2, .de-body > h3, .de-body > ul, .de-body > ol, .de-body > blockquote, .de-body > img { width: 80%; margin-left: auto; margin-right: auto; }
.de-body > p:first-of-type {
  font-family: var(--de-head); font-size: 20px; line-height: 1.55; color: #3A2E22; font-weight: 500;
}
.de-body h2, .de-body h3 { font-family: var(--de-head); color: var(--de-ink); font-weight: 600; margin: 34px 0 13px; }
.de-body h2 { font-size: 25px; } .de-body h3 { font-size: 20px; }
.de-body ul, .de-body ol { font-size: 15.5px; line-height: 1.8; margin: 0 0 18px; padding-left: 22px; }
.de-body li { margin: 0 0 8px; }
.de-body img { max-width: 100%; height: auto; border-radius: 16px; margin: 24px 0; }
.de-body a { color: var(--de-accent); }

/* ── Benefits card (optional) ── */
.de-benefits {
  max-width: 1100px; margin: 0 auto 8px;
  background: var(--de-surface); border: 1px solid var(--de-line);
  border-radius: 20px; padding: 48px 56px;
  box-shadow: 0 8px 24px rgba(42,32,24,.10);
}
.de-benefits__head { text-align: center; margin-bottom: 34px; }
.de-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--de-accent); margin-bottom: 10px; }
.de-h2 { font-family: var(--de-head); font-size: 30px; font-weight: 600; color: var(--de-ink); margin: 0; }
.de-benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.de-benefit { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--de-line); }
.de-benefit__v { font-family: var(--de-head); font-size: 26px; font-weight: 600; color: var(--de-accent); min-width: 62px; text-align: right; }
.de-benefit__l { font-size: 15px; line-height: 1.45; color: #4A3F33; font-weight: 500; }

/* ── Pull-quote (optional) ── */
.de-quote { max-width: 780px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.de-quote blockquote { margin: 0; }
.de-quote p { font-family: var(--de-head); font-size: 28px; line-height: 1.5; font-style: italic; color: var(--de-ink); margin: 0 0 22px; }
.de-quote footer { font-size: 15px; color: #8A7D6E; font-weight: 600; }

/* ── Gallery: 2-col; container also carries .detail-gallery for the lightbox.
   These rules outspecify the default .detail-gallery grid/tile styling. ── */
.domrey-event .de-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  max-width: 1100px; margin: 32px auto 0; padding: 0 24px;
}
.domrey-event .de-gallery .gallery-item {
  padding: 0; border: 0; background: none; cursor: zoom-in;
  aspect-ratio: 3/2; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(42,32,24,.10); transition: transform .2s, box-shadow .2s;
}
.domrey-event .de-gallery .gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.domrey-event .de-gallery .gallery-item:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(42,32,24,.16); }

/* ── CTA banner ── */
.de-cta {
  max-width: 1100px; margin: 56px auto; padding: 52px 24px;
  background: var(--de-accent); border-radius: 24px; text-align: center;
}
.de-cta h3 { font-family: var(--de-head); font-size: 30px; font-weight: 600; color: #fff; margin: 0 0 10px; }
.de-cta p { font-size: 16px; color: rgba(255,255,255,.88); margin: 0 0 26px; }
.de-cta__btn {
  display: inline-block; font-size: 15px; font-weight: 700; color: #9A5A2C;
  background: #fff; padding: 15px 32px; border-radius: 999px; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.de-cta__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .de-head { padding: 36px 22px 4px; }
  .de-body { padding: 32px 22px 48px; }
  .de-body > p, .de-body > h2, .de-body > h3, .de-body > ul, .de-body > ol, .de-body > blockquote, .de-body > img { width: auto; }
  .de-body > p:first-of-type { font-size: 18px; }
  .de-quote p { font-size: 23px; }
  .de-benefits { padding: 32px 24px; }
  .de-benefits__grid { grid-template-columns: 1fr; gap: 0; }
  .domrey-event .de-gallery { grid-template-columns: 1fr; }
  .de-cta { margin: 40px 16px; padding: 40px 22px; }
}

/* clickable listing cards (cards are now <a> links) */
a.svc-tile, a.room-card { text-decoration: none; color: inherit; cursor: pointer; }
.promo-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.promo-more, .event-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent); transition: gap .2s;
}
.promo-more:hover, .event-more:hover { gap: 10px; }
.promo-title-link, .event-title-link { color: inherit; text-decoration: none; transition: color .15s; }
.promo-title-link:hover, .event-title-link:hover { color: var(--accent); }
.event-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ============================================================
   Mobile refinements (phone polish): surgical, max-width only
   ============================================================ */

/* 1. Promo cards: tighten body padding on phones */
@media (max-width: 560px) {
  .promo-card .promo-body { padding: 18px; }
}

/* 2. Contact panel: reclaim width lost to the 56px desktop padding */
@media (max-width: 600px) {
  .contact-info { padding: 32px 22px; gap: 24px; }
}

/* 3. Overlay hero: tighten padding + size the headline for narrow screens */
@media (max-width: 560px) {
  [data-hero="overlay"] .hero-overlay-content { padding: 48px 20px; }
  .hero-headline { font-size: clamp(34px, 9vw, 52px); }
}

/* 4. Header: keep EN/KH switch reachable on phones (was hidden < 600px);
      collapse the Book button to its icon so the single row still fits */
@media (max-width: 600px) {
  .dmrh-lang { display: inline-flex !important; }
}
@media (max-width: 460px) {
  .dmrh-book span { display: none; }
  .dmrh-book { padding: 10px 12px; }
}


/* ── Parity overrides ──────────────────────────────────────────────
   These rules exist in the custom_css of the other 7 pages but were
   absent here, because this page was given the raw design-system.css
   rather than the curated per-page copy the others accumulated.
   Without .eyebrow::before the section eyebrows rendered with a leading
   dash here and plain everywhere else. Copied verbatim from post 18892.
   ──────────────────────────────────────────────────────────────── */
.eyebrow::before { display: none !important; }
.footer-top .b1 { color: var(--bg); font-family: var(--font-display); font-size: 24px; }
.footer-top a { color: rgba(245,243,238,0.7); display: block; padding: 6px 0; font-size: 14px; }
.footer-top a:hover { color: var(--bg); }
.footer-top h4 { color: var(--bg); font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; margin: 0 0 16px; }
.promo-card p { color: var(--ink-3); font-size: 14px; margin: 0 0 14px; }
.promo-card .img { aspect-ratio: 1; border-radius: var(--r-md); }
.promo-card .tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }/* End custom CSS */