/* Nha Khoa Minh Khai · Clinical Nordic
   Ink, azure, ice. Hairline thay cho bóng đổ. Bo góc 2-4px. Chỉ Be Vietnam Pro. */

:root {
  --ink: #0b1f33;
  --ink-2: #10263d;
  --teal: #1f6e8c;          /* azure, tên cũ giữ để booking/review dùng chung */
  --teal-600: #175a73;
  --teal-400: #4a93ae;
  --azure: var(--teal);
  --mint: #dceaf1;
  --mint-2: #eff6f9;
  --cream: #f4f8fa;
  --cream-2: #e8f0f4;
  --sand: #c9d9e1;
  --line: #d6e2e9;
  --line-ink: rgba(255, 255, 255, .14);
  --gold: #1f6e8c;          /* điểm nhấn phụ, đã thay vàng bằng azure */
  --gold-2: #175a73;
  --coral: #f26a4b;         /* chỉ dùng cho CTA */
  --coral-600: #dd5334;
  --white: #ffffff;
  --muted: #52677a;
  --muted-2: #7d90a0;

  --serif: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --r-sm: 2px;
  --r: 3px;
  --r-lg: 4px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(18px, 4vw, 44px);
  --hair: 1px solid var(--line);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  margin: 0; font-family: var(--sans); font-weight: 700;
  line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: var(--hair); margin: 0; }
b, strong, .num, .price, dd, .countdown b { font-variant-numeric: tabular-nums; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-400); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(54px, 7vw, 96px); position: relative; }
.section-tight { padding-block: clamp(34px, 5vw, 60px); }
.section-white { background: var(--white); }
.section-ice { background: var(--mint-2); }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .lead { color: rgba(255, 255, 255, .7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--teal); }
.section-ink .eyebrow { color: var(--sand); }
.section-ink .eyebrow::before { background: var(--sand); }

h1, .h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); }
h2, .h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.lead { font-size: clamp(1rem, 1.2vw, 1.09rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 700px; margin-bottom: clamp(26px, 3.6vw, 44px); }
.section-head .lead { margin-top: 14px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 620px; }
.section-link { margin-top: 24px; }

/* ---------- icon, sao ---------- */
.icon { flex: 0 0 auto; }
.gold { color: var(--teal); }
.stars { display: inline-flex; gap: 2px; color: var(--teal); }
.star { color: var(--sand); line-height: 0; }
.star.on { color: var(--teal); }
.stars .star.on svg { fill: currentColor; }

/* ---------- nút ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  transition: background .18s var(--ease), border-color .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--ink-2); }
.btn-primary { --btn-bg: var(--coral); --btn-fg: var(--ink); }
.btn-primary:hover { --btn-bg: var(--coral-600); }
.btn-accent { --btn-bg: var(--coral); --btn-fg: var(--ink); }
.btn-accent:hover { --btn-bg: var(--coral-600); }
.btn-gold { --btn-bg: var(--coral); --btn-fg: var(--ink); }
.btn-gold:hover { --btn-bg: var(--coral-600); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { --btn-bg: var(--mint-2); border-color: var(--teal-400); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); border-color: var(--line); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-arrow svg { transition: transform .2s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--teal);
  border-bottom: 1px solid rgba(31, 110, 140, .35);
  padding-bottom: 2px; transition: gap .2s var(--ease), color .18s;
}
.link-arrow:hover { gap: 11px; color: var(--teal-600); border-bottom-color: var(--teal-600); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; }
.topbar { background: var(--white); border-bottom: var(--hair); font-size: 11.5px; letter-spacing: .02em; color: var(--muted); }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item .icon { color: var(--teal); }
.topbar-call { margin-left: auto; font-weight: 600; color: var(--ink); white-space: nowrap; }
.topbar-call:hover { color: var(--teal); }

.nav-shell {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
}
.site-header.is-stuck .nav-shell { border-bottom-color: var(--ink); }
.nav-in { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { color: var(--teal); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brand-text small { font-size: 9px; letter-spacing: .22em; color: var(--muted-2); margin-top: 5px; }

.main-nav { display: flex; gap: clamp(4px, 1.4vw, 16px); }
.main-nav a {
  position: relative; padding: 10px 2px; font-size: 13.5px; font-weight: 500;
  color: var(--ink); opacity: .72; transition: opacity .18s;
}
.main-nav a:hover { opacity: 1; }
.main-nav a.is-active { opacity: 1; font-weight: 600; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--teal);
}
.nav-toggle {
  display: none; width: 42px; height: 42px; border: var(--hair);
  background: transparent; border-radius: var(--r);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span:not(.sr-only) { width: 17px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .18s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav {
  display: flex; flex-direction: column; padding: 4px var(--gutter) 18px;
  border-top: var(--hair); background: var(--white);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 14px 2px; font-weight: 500; border-bottom: var(--hair); }
.mobile-nav .btn { margin-top: 16px; border-bottom: 0; }

/* ---------- rail phải (desktop) ---------- */
.rail { display: none; }
@media (min-width: 1240px) {
  .rail {
    position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
    z-index: 70; display: flex; flex-direction: column; gap: 6px;
  }
  .rail-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 58px; height: 54px; background: var(--white); border: var(--hair);
    border-radius: var(--r); color: var(--ink); font-size: 9px; font-weight: 600;
    letter-spacing: 0; transition: background .18s, border-color .18s, color .18s;
  }
  .rail-item span { white-space: nowrap; }
  .rail-item .icon { color: var(--teal); }
  .rail-item:hover { background: var(--mint-2); border-color: var(--teal-400); }
  .rail-book, .rail-book:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }
  .rail-book .icon { color: var(--ink); }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--mint-2); border-bottom: var(--hair); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero-copy {
  padding-block: clamp(42px, 6vw, 86px) clamp(96px, 10vw, 132px);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-inline-end: clamp(24px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy .eyebrow { color: var(--teal-600); }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 40ch; margin-bottom: 28px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: var(--hair); padding-top: 20px; max-width: 460px; }
.hero-figures > div { padding-inline: 14px; border-left: var(--hair); }
.hero-figures > div:first-child { padding-left: 0; border-left: 0; }
.hero-figures dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.hero-figures dd { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

.hero-media { position: relative; min-height: 520px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }

.hero-facts {
  position: absolute; left: 50%; bottom: clamp(18px, 3vw, 34px);
  transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border: 1px solid var(--ink);
  width: min(464px, calc(100% - 32px));
}
.hero-facts > div { padding: 12px 14px; border-left: var(--hair); }
.hero-facts > div:first-child { border-left: 0; }
.hero-facts b { display: block; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.hero-facts span { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- danh sách dịch vụ ---------- */
.svc-list { border-top: 1px solid var(--ink); }
.svc-row { border-bottom: var(--hair); }
.svc-link {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) 92px 158px 22px;
  align-items: center; gap: 14px; padding: 18px 10px;
  transition: background .18s var(--ease);
}
.svc-link:hover { background: var(--mint-2); }
.svc-num { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted-2); }
.svc-body { min-width: 0; }
.svc-body strong { display: block; font-size: 16.5px; font-weight: 600; }
.svc-body small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.svc-time { font-size: 12px; color: var(--muted-2); letter-spacing: .02em; }
.svc-price { font-size: 17px; font-weight: 700; color: var(--teal-600); text-align: right; white-space: nowrap; letter-spacing: -.01em; }
.svc-price small { font-size: 11px; font-weight: 500; color: var(--muted-2); }
.svc-arrow { color: var(--teal); transition: transform .2s var(--ease); }
.svc-link:hover .svc-arrow { transform: translateX(4px); }

/* ---------- bảng giá ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: var(--hair); }
.price-table thead th {
  text-align: left; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 12px 16px; background: var(--mint-2); border-bottom: 1px solid var(--ink);
}
.price-table td { padding: 16px; border-bottom: var(--hair); vertical-align: middle; font-size: 14px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background .15s; }
.price-table tbody tr:hover { background: var(--mint-2); }
.price-table .svc strong { display: block; font-weight: 600; font-size: 15px; }
.price-table .svc small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.price-table .price, .price-table .price-col { text-align: right; }
.price-table .price { font-size: 17px; font-weight: 700; color: var(--teal-600); white-space: nowrap; }
.price-table .act, .price-table .act-col { width: 120px; text-align: right; }
.table-note { font-size: 12px; color: var(--muted-2); margin-top: 12px; }
.badge-soft {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-600); background: var(--mint); padding: 2px 7px; border-radius: var(--r-sm); margin-left: 8px; vertical-align: 2px;
}

/* ---------- bác sĩ ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
.doc { border-top: 1px solid var(--ink); padding-top: 14px; }
.doc-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--mint); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .7s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.03); }
.doc-body { padding-top: 16px; }
.doc-body strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.doc-role { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-top: 6px; }
.doc-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.doc-body p { font-size: 13px; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: var(--hair); }

/* ---------- ưu đãi ---------- */
.offer-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.offer-cell { padding: 26px clamp(16px, 2.6vw, 36px) 8px; border-left: var(--hair); }
.offer-cell:first-child { border-left: 0; padding-left: 0; }
.offer-tag { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); border: 1px solid var(--teal-400); padding: 3px 8px; border-radius: var(--r-sm); }
.offer-cell h3 { margin: 14px 0 6px; font-size: 18px; }
.offer-cell p { font-size: 13px; color: var(--muted); min-height: 42px; }
.offer-price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 16px; }
.offer-price .now { font-size: 27px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.offer-price .old { font-size: 12.5px; color: var(--muted-2); text-decoration: line-through; }

/* ---------- đánh giá ---------- */
.score { text-align: right; }
.score b { display: block; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.score span { font-size: 12px; color: var(--muted); }
.review-list { display: grid; gap: 12px; }
.review-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.review-card { background: var(--white); border: var(--hair); border-radius: var(--r); padding: 20px 22px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar {
  width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--mint); color: var(--teal-600); font-size: 14px; font-weight: 600;
}
.review-head strong { display: block; font-size: 13px; font-weight: 600; }
.review-head small { display: block; color: var(--muted-2); font-size: 11px; }
.review-card p { font-size: 13.5px; color: #33475a; line-height: 1.65; }
.review-card .stars { margin-left: auto; }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px;
  background: var(--white); border: var(--hair); border-radius: var(--r-sm);
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  transition: border-color .18s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-400); }
.field .hint, .field .hint { font-size: 11.5px; color: var(--muted-2); }
.field .error { font-size: 12px; color: var(--coral); }
.span-2 { grid-column: 1 / -1; }
.form-card { background: var(--white); border: var(--hair); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 11.5px; color: var(--muted-2); margin-top: 12px; }
.alert { border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px; border: 1px solid; }
.alert-error { background: rgba(242, 106, 75, .06); color: #a63b21; border-color: rgba(242, 106, 75, .4); }
.alert-ok { background: var(--mint-2); color: var(--teal-600); border-color: var(--teal-400); }

/* ---------- cta ---------- */
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 48ch; margin-top: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lead-form { display: flex; gap: 8px; margin-top: 24px; max-width: 470px; }
.lead-form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 14px;
  border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06); color: #fff;
  font-family: var(--sans); font-size: 15px;
}
.lead-form input::placeholder { color: rgba(255, 255, 255, .45); }
.lead-form input:focus { outline: none; border-color: #fff; }
.lead-form-note { font-size: 12.5px; margin-top: 12px; color: var(--sand); min-height: 18px; }
.lead-form-note.is-error { color: #ffb4a4; }
.lead-form .btn { border-radius: var(--r); }

/* ---------- page hero ---------- */
.page-hero { background: var(--mint-2); border-bottom: 1px solid var(--ink); padding-block: clamp(32px, 4.6vw, 58px); }
.page-hero .lead { margin-top: 14px; }
.page-hero h1 { letter-spacing: -.025em; }
.breadcrumb { display: flex; gap: 8px; font-size: 11px; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 18px; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--teal); }
.page-hero .hero-actions { margin: 22px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding-top: clamp(40px, 5vw, 64px); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: clamp(24px, 4vw, 52px); padding-bottom: 36px; }
.footer-brand strong { display: block; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.footer-latin { display: block; font-size: 9px; letter-spacing: .24em; color: rgba(255, 255, 255, .4); margin-top: 6px; }
.footer-brand p { margin-top: 14px; max-width: 38ch; color: rgba(255, 255, 255, .58); }
.footer-rating { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-ink); color: rgba(255, 255, 255, .6); }
.footer-rating b { color: #fff; font-size: 15px; }
.site-footer h4 {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line-ink);
}
.footer-list { display: grid; font-size: 13px; }
.footer-list li { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.footer-list a { color: rgba(255, 255, 255, .72); }
.footer-list a:hover { color: #fff; }
.footer-hours li, .footer-links li { display: flex; justify-content: space-between; gap: 10px; }
.footer-links li a { color: rgba(255, 255, 255, .66); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  border-top: 1px solid var(--line-ink); padding-block: 16px 24px;
  font-size: 11px; color: rgba(255, 255, 255, .42);
}
.demo-note { margin-left: auto; font-size: 10.5px; color: rgba(255, 255, 255, .5); }

/* ---------- sticky mobile ---------- */
.sticky-cta { display: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-media { min-height: 440px; }
  .doc-grid { gap: 20px; }
  .review-list--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy {
    padding-inline: var(--gutter);
    padding-block: 40px 26px;
  }
  .hero-facts { position: static; transform: none; width: 100%; border-left: 0; border-right: 0; border-bottom: 0; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .hero-figures { display: none; }
  .hero { display: flex; flex-direction: column; }
  .hero-grid { order: 2; }
  .hero-facts { order: 3; }
  .svc-link { grid-template-columns: 42px minmax(0, 1fr) 130px 20px; }
  .svc-time { display: none; }
  .offer-strip { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
  .offer-cell { border-left: 0; border-bottom: var(--hair); padding: 22px 0; }
  .offer-cell p { min-height: 0; }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar-item:nth-child(2) { display: none; }
  .topbar-in { min-height: 32px; }
  .nav-in { min-height: 62px; }
  .brand-text strong { font-size: 15.5px; }
  .brand-text small { display: none; }
  .hero-copy { padding-block: 30px 8px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-figures { padding-top: 16px; margin-bottom: 4px; }
  .hero-figures dd { font-size: 17px; }
  .hero-facts > div { padding: 10px 12px; }
  .hero-facts b { font-size: 20px; }
  .hero-facts span { font-size: 9.5px; letter-spacing: .06em; }
  .section-head--row { align-items: flex-start; }
  .score { text-align: left; }
  .svc-link { grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; padding: 15px 4px; }
  .svc-num { grid-row: 1 / span 2; }
  .svc-body strong { font-size: 15px; }
  .svc-body small { font-size: 12.5px; }
  .svc-price { grid-column: 2; font-size: 15px; text-align: left; }
  .svc-arrow { display: none; }
  .svc-arrow { display: none; }
  .price-table { display: block; overflow-x: auto; }
  .price-table thead { display: none; }
  .price-table tbody, .price-table tr { display: block; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px; border-bottom: var(--hair); }
  .price-table td { padding: 0; border: 0; font-size: 12.5px; color: var(--muted); }
  .price-table .svc { grid-column: 1; }
  .price-table .price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 16px; }
  .price-table td:nth-child(2), .price-table td:nth-child(3) { display: none; }
  .price-table .act { grid-column: 1 / -1; width: auto; text-align: left; padding-top: 10px; }
  .doc-grid { grid-template-columns: 1fr; gap: 26px; }
  .doc-photo { aspect-ratio: 4 / 3.4; }
  .review-list--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .demo-note { margin-left: 0; }
  .lead-form { flex-direction: column; max-width: none; }
  .lead-form input, .lead-form .btn { min-height: 48px; width: 100%; }

  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
  }
  .sticky-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 7px 2px; font-size: 10px; font-weight: 600; letter-spacing: .02em;
    color: var(--ink); border-radius: var(--r-sm);
  }
  .sticky-item .icon { color: var(--teal); }
  .sticky-book, .sticky-book .icon { background: var(--coral); color: var(--ink); }
}

/* ---------- trang đặt lịch ---------- */
.booking-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 960px; margin: 18px auto 0; }
.booking-aside .form-card { padding: 24px; }
@media (max-width: 720px) { .booking-aside { grid-template-columns: 1fr; } }

/* ---------- trang bảng giá ---------- */
.price-groups .section-head { margin-bottom: 18px; }
.price-groups .price-table { margin-bottom: 34px; }
.price-groups .price-table:last-child { margin-bottom: 0; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px;
  border: var(--hair); border-radius: var(--r-sm); background: var(--white);
  font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.logo-chip b { color: var(--ink); font-weight: 700; }
.notes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.notes-grid > div { padding: 22px 22px; border-right: var(--hair); }
.notes-grid > div:first-child { padding-left: 0; }
.notes-grid > div:last-child { border-right: 0; }
.notes-grid h3 { font-size: 14px; margin-bottom: 8px; }
.notes-grid p { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .split-2 { grid-template-columns: 1fr !important; }
  .notes-grid > div { border-bottom: var(--hair); }
  .notes-grid > div:nth-child(even) { border-right: 0; padding-left: 20px; }
  .notes-grid > div:first-child { padding-left: 22px; }
}
@media (max-width: 560px) {
  .notes-grid { grid-template-columns: 1fr; }
  .notes-grid > div { border-right: 0; padding-right: 0; padding-left: 0 !important; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: var(--hair); }
.faq summary { padding: 16px 0; cursor: pointer; }
.faq p { padding-bottom: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }
details summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 600; font-size: 14.5px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--teal); }
details[open] summary::after { content: "-"; }

/* ---------- trang ưu đãi ---------- */
.split-2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(22px, 4vw, 56px); align-items: start; }
.deal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.deal { display: flex; flex-direction: column; padding: 24px clamp(16px, 2.4vw, 30px) 20px; border-left: var(--hair); }
.deal:first-child { border-left: 0; padding-left: 0; }
.deal h3 { font-size: 18px; margin: 12px 0 6px; }
.deal p { font-size: 13px; color: var(--muted); }
.deal-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 16px 0 18px; }
.deal-price .now { font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.deal-price .old { font-size: 12.5px; color: var(--muted-2); text-decoration: line-through; }
.deal-price .unit { font-size: 11.5px; color: var(--muted-2); }
.deal .btn { margin-top: auto; align-self: flex-start; }
.reason-list { display: grid; gap: 0; margin-top: 22px; max-width: 540px; border-top: var(--hair); }
.reason-list li { display: grid; gap: 3px; padding: 14px 0; border: 0; border-bottom: var(--hair); }
.reason-list b { font-size: 14.5px; }
.reason-list span { font-size: 13px; color: var(--muted); }
.section-ink .reason-list { border-color: var(--line-ink); }
.section-ink .reason-list li { border-color: var(--line-ink); }
.section-ink .reason-list span { color: rgba(255, 255, 255, .6); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.countdown div { padding: 14px 8px; text-align: center; border-left: var(--hair); }
.countdown div:first-child { border-left: 0; }
.countdown b { display: block; font-size: 26px; font-weight: 700; line-height: 1; }
.countdown span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kv-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.kv-table th { width: 210px; text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 15px 14px 15px 0; border-bottom: var(--hair); vertical-align: top; }
.kv-table td { padding: 15px 0; border-bottom: var(--hair); font-size: 13.5px; color: #33475a; }
@media (max-width: 900px) {
  .deal-grid { grid-template-columns: 1fr; }
  .deal { border-left: 0; padding: 20px 0; border-bottom: var(--hair); }
  .kv-table th { width: 140px; }
}
@media (max-width: 560px) {
  .kv-table th, .kv-table td { display: block; width: auto; }
  .kv-table th { border-bottom: 0; padding-bottom: 2px; }
  .kv-table td { padding-top: 4px; }
}

/* ---------- trang đánh giá ---------- */
.review-page-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.review-score-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.review-score-card .rv-summary { border: 0; padding: 0; background: transparent; }
@media (max-width: 900px) { .review-page-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.page-404 .empty { min-height: 52vh; display: grid; place-items: center; text-align: center; }
