:root {
  --paper: #faf8f3;
  --ink: #202722;
  --muted: #535d55;
  --line: #d8dbd2;
  --wash: var(--soft);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 system-ui, sans-serif; }
button, select { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.en, html[data-language="en"] .vi { display: none; }
html[data-language="en"] .en { display: inline; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.site-header { position: sticky; z-index: 5; top: 0; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; min-width: 0; gap: 9px; font-size: 17px; font-weight: 750; line-height: 1.2; text-decoration: none; }
.brand span:last-child { overflow-wrap: anywhere; }
.brand img, .brand-mark, .demo-logo { width: 38px; height: 38px; flex: none; object-fit: contain; }
.brand-mark { display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--accent); }
.nav, .header-actions, .language { display: flex; align-items: center; }
.nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: 13px; font-weight: 650; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.header-actions { gap: 7px; flex: none; }
.language { border: 1px solid var(--line); border-radius: 99px; padding: 3px; gap: 2px; }
.language button, .menu-toggle { color: inherit; border: 0; background: transparent; cursor: pointer; }
.language button { min-width: 31px; min-height: 32px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.language .active { background: var(--accent); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; }
.menu-icon { position: relative; display: grid; gap: 4px; width: 18px; }
.menu-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-6px) rotate(-45deg); }

.hero h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
.hero h1 { font-size: clamp(49px, 6.1vw, 95px); letter-spacing: -.07em; font-weight: 720; overflow-wrap: anywhere; }
.hero p { margin: 19px 0 0; max-width: 43ch; color: var(--muted); font-size: 18px; }
h2 { font-size: clamp(32px, 4.25vw, 59px); letter-spacing: -.065em; }
.eyebrow { display: block; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 780; color: var(--accent); }
.hero-split { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); gap: clamp(30px, 5vw, 76px); padding-block: clamp(38px, 6vw, 90px); }
.hero-split:has(.hero-copy:only-child) { grid-template-columns: minmax(0, 760px); }
.hero-photo img { width: 100%; height: clamp(330px, 42vw, 570px); object-fit: cover; border-radius: 11px; }
.type-spa .hero-photo img { border-radius: 48% 48% 10px 10px; }
.type-restaurant .hero-photo img { border-radius: 12px 12px 44% 12px; }
.type-salon .hero-photo img { border-radius: 40% 12px 12px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 7px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 750; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { filter: brightness(1.12); }
.button-light { border-color: var(--line); color: var(--ink); background: var(--paper); }
.text-link { font-weight: 650; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; border-block: 1px solid var(--line); padding-block: 12px; }
.proof .button { min-height: 32px; }

.section { padding-block: clamp(43px, 6vw, 88px); }
.section + .section { border-top: 1px solid var(--line); }
.service-group { margin-top: 24px; }
.group-name { margin-bottom: 12px; font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 243px), 1fr)); gap: 12px; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.service img { grid-column: 1/-1; width: 100%; aspect-ratio: 1.67; object-fit: cover; border-radius: 5px; }
.service h3 { font-size: clamp(15px, 2.2vw, 20px); }
.service p, .service strong { font-size: 13px; }
.service p { color: var(--muted); margin: 5px 0 0; }
.service strong { color: var(--accent); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 5vw, 60px); align-items: center; }
.story img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 10px; }
.story div:only-child { grid-column: 1/-1; }
.story p, .visit-guide p, .faq p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: .94; object-fit: cover; border-radius: 8px; }
.gallery figcaption { margin-top: 7px; color: var(--muted); font-size: .85rem; }
.visit { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 360px), 1fr)); }
.visit-info { padding: clamp(22px, 5vw, 56px); background: var(--wash); border-radius: 12px; }
.visit:has(.visit-photo) .visit-info { border-radius: 12px 0 0 12px; }
.visit-photo img { height: 100%; width: 100%; object-fit: cover; border-radius: 0 12px 12px 0; }
.visit dl { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.visit dt { font-size: 12px; font-weight: 750; color: var(--muted); }
.visit dd { margin: 0; }
.visit-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; gap: 18px; margin: 22px 0 0; }
.visit-guide li { border-top: 2px solid var(--accent); padding: 17px 0 0; }
.visit-guide p { margin-bottom: 0; }
.faq { display: grid; grid-template-columns: .82fr 1fr; gap: 28px; }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 680; }
.booking-section { padding-block: clamp(35px, 6vw, 82px); color: #fff; background: var(--dark); }
.booking-section .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.booking-section .hero-actions { margin: 0; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-block: 21px; font-size: 13px; }
.footer small { color: var(--muted); }

.layout-editorial { --paper: #faf5ed; --ink: var(--dark); --line: #d7cfc2; }
.layout-editorial .site-header { background: var(--dark); color: #fff; border-color: #ffffff36; }
.layout-editorial .hero-cover { isolation: isolate; position: relative; display: grid; min-height: clamp(540px, 72vw, 770px); align-items: end; color: white; background: var(--dark); }
.hero-cover > img, .hero-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-cover > img { z-index: -2; object-fit: cover; }
.hero-cover::after { z-index: -1; content: ""; background: linear-gradient(11deg, #100f0eea, #14141567 57%, #10101015); }
.hero-cover .cover-inner { padding-block: 56px; }
.layout-editorial .hero h1, .layout-editorial h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
.layout-editorial .hero h1 { max-width: 15ch; }
.layout-editorial .hero p, .layout-editorial .hero .eyebrow { color: #fff8e9; }
.layout-editorial .section { width: min(1020px, calc(100% - 80px)); }
.layout-editorial .story img { order: 2; border-radius: 0; }
.layout-editorial .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.layout-editorial .gallery img { aspect-ratio: 1.6; border-radius: 0; }
.layout-editorial .service-list { display: block; }
.layout-editorial .service { border: 0; border-block-end: 1px solid var(--line); border-radius: 0; padding: 14px 0; }
.layout-editorial .visit-info, .layout-editorial .visit-photo img { border-radius: 0; }

@media (max-width: 880px) {
  html { scroll-padding-top: 78px; }
  .wrap, .layout-editorial .section { width: min(640px, calc(100% - 36px)); }
  .topbar { min-height: 64px; gap: 8px; }
  .brand { font-size: 15px; }
  .brand img, .brand-mark, .demo-logo { width: 34px; height: 34px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; }
  .nav.is-open {
    display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); color: var(--ink); padding: 8px max(18px, calc((100vw - 640px)/2)) 14px;
    max-height: calc(100dvh - 64px); overflow: auto; box-shadow: 0 14px 25px #16161626;
  }
  .nav > a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
  .nav > a::after { content: "›"; font-size: 19px; line-height: 1; color: var(--muted); }
  .nav-book { display: block; margin-top: 12px; }
  .nav-book .button { width: 100%; }
  .hero-split { grid-template-columns: 1fr; padding-block: 36px; gap: 24px; }
  .hero h1 { font-size: clamp(38px, 9.4vw, 60px); }
  .hero p { font-size: 16px; }
  .hero-photo img { height: clamp(225px, 70vw, 420px); }
  .layout-editorial .hero-cover { min-height: clamp(510px, 80vh, 640px); }
  .hero-cover .cover-inner { padding-block: 33px; }
  .story, .faq, .visit { grid-template-columns: 1fr; }
  .story img { order: 2; }
  .visit:has(.visit-photo) .visit-info { border-radius: 10px 10px 0 0; }
  .visit-photo img { aspect-ratio: 1.65; border-radius: 0 0 10px 10px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-guide { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.layout-calm.type-spa { --paper: #f6f4ed; }
.layout-calm.type-restaurant { --paper: #fff6e8; --wash: #f1dfc7; }
.layout-calm.type-salon { --paper: #f8eff1; }
.layout-calm.type-dental { --paper: #f5faff; --wash: #e5effa; }
.type-restaurant .service h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 650; }
.type-salon .gallery img { object-position: 55% center; }
.type-dental .visit-guide { padding: 20px; border-radius: 10px; background: var(--wash); }
.type-dental .hero-cover > img { object-position: 60% center; }
.type-dental .hero-cover::after { background: linear-gradient(15deg, #07253aee 8%, #1029445c 70%, transparent); }
.layout-editorial .hero-cover .button-primary { background: #fff4dc; color: var(--dark); }
.layout-editorial .hero-cover .button-light { background: #17171750; color: #fff; border-color: #fff9; }
.demo-confirmation #demo-summary { display: block; }

.demo-logo {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--accent);
}
.demo-logo svg { width: 77%; height: 77%; }
.type-restaurant .demo-logo { border-radius: 8px; }
.type-salon .demo-logo { border-radius: 50% 50% 18% 18%; }
.type-dental .demo-logo { border-radius: 34%; }
.layout-editorial .demo-logo { color: #fff2d9; }
.menu-toggle:focus:not(:focus-visible) { outline: none; }
.nav-book { display: none; }
@media (max-width: 880px) {
  .nav-book { display: block; }
}
.service-meta { display: grid; justify-items: end; gap: 7px; text-align: right; }
.service-action {
  display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 4px 9px;
  border-radius: 6px; border: 1px solid var(--line); color: var(--accent); background: var(--paper);
  font-size: 12px; font-weight: 750; text-decoration: none; cursor: pointer;
}
.service-action:hover { border-color: var(--accent); }
.service .service-details { grid-column: 1 / -1; margin-top: 0; }
.menu-categories { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.menu-categories a { font-size: 13px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.menu-categories a:hover { border-color: var(--accent); }
.catalogue-reserve {
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 14px 16px; margin-top: 24px; border: 1px solid var(--line); border-radius: 8px;
}
.catalogue-reserve p { margin: 0; }
.demo-booking {
  width: min(490px, calc(100% - 24px));
  max-height: calc(100% - 28px);
  overscroll-behavior: contain;
  padding: clamp(16px, 4vw, 25px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
.demo-booking::backdrop { background: #10170fc7; }
.booking-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.booking-head h2 { font: 700 clamp(23px, 5vw, 31px)/1.15 system-ui, sans-serif; letter-spacing: -.035em; }
.booking-close {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.booking-mode { color: var(--muted); font-size: 13px; margin: 8px 0 16px; }
.demo-booking fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.demo-booking fieldset > label { display: grid; gap: 5px; margin-bottom: 13px; font-size: 13px; font-weight: 700; }
.demo-booking select {
  width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--paper); color: var(--ink); font: 400 16px system-ui, sans-serif;
}
.slot-title { font-size: 13px; font-weight: 700; }
.booking-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 6px; margin: 6px 0 18px; }
.booking-slots label { position: relative; }
.booking-slots input { position: absolute; left: 6px; top: 12px; width: 1px; height: 1px; opacity: 0; }
.booking-slots span {
  display: grid; place-items: center; min-height: 41px; border-radius: 7px;
  border: 1px solid var(--line); font-size: 13px; cursor: pointer;
}
.booking-slots input:checked + span { border-color: var(--accent); background: var(--wash); color: var(--dark); font-weight: 750; }
.booking-slots input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.booking-slots input:disabled + span { text-decoration: line-through; opacity: .5; cursor: default; }
.booking-recap dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; }
.booking-recap dt { font-weight: 700; font-size: 13px; }
.booking-recap dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; }
.demo-confirmation { padding: 14px; background: var(--wash); border-radius: 8px; color: var(--dark); }
.demo-confirmation p { font-size: 13px; margin-bottom: 0; }
button.button { cursor: pointer; }
