/* ==========================================================================
   Nha khoa Quỳnh Thư - style.css (theo ảnh thiết kế đã chốt)
   Mục lục:
   0. Font (Be Vietnam Pro 400/500/700 + Dancing Script 600, tự host)
   1. Biến thiết kế (:root) - màu ĐÃ DUYỆT, không tự đổi (spec v2 mục 4)
   2. Reset nhẹ + nền tảng
   3. Bố cục chung, tiêu đề section, nút, chip, trạng thái
   4. Header
   5. Hero (nền xanh dương logo, vòng cung + sóng)
   6. Dịch vụ nổi bật
   7. Về Nha khoa Quỳnh Thư
   8. Nha khoa trẻ em
   9. Bảng giá
   10. Trước & sau
   10b. Đội ngũ bác sĩ
   10c. Trang thiết bị
   11. Hình ảnh hoạt động + thẻ đánh giá
   12. Khách hàng nói gì
   13. 2 cơ sở + bản đồ
   14. Hỏi đáp
   15. Footer (nền xanh dương logo, mép sóng)
   16. Thanh nút cố định + bảng chọn cơ sở
   16b. Chat Zalo (nút nổi, chỉ máy tính)
   17. Hiện dần khi cuộn + giảm chuyển động
   ========================================================================== */

/* ---------- 0. Font ---------- */
/* Be Vietnam Pro (OFL, xem fonts/OFL-be-vietnam-pro.txt). Chỉ gồm vietnamese, latin-ext, latin. */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/be-vietnam-pro-400-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/be-vietnam-pro-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/be-vietnam-pro-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/be-vietnam-pro-500-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/be-vietnam-pro-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/be-vietnam-pro-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/be-vietnam-pro-700-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/be-vietnam-pro-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/be-vietnam-pro-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Dancing Script (OFL, xem fonts/OFL-dancing-script.txt). CHỈ dùng cho dòng chữ viết tay ở footer. */
@font-face { font-family: "Dancing Script"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/dancing-script-600-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Dancing Script"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/dancing-script-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. Biến thiết kế (ĐÃ DUYỆT, không tự đổi) ---------- */
:root {
  /* Xanh dương theo logo (đổi 2026-11-07, đo từ banner phòng khám): Hero + Footer */
  --blue-900: #0B5C94;
  --blue-800: #0F68A0;
  --blue-600: #0F68A0;
  --blue-100: #DCEBF8;
  /* Xanh logo + xanh nhấn (hình tròn trên banner) */
  --brand:    #10689E;
  --brand-50: #E4EFFA;
  --accent:   #035AC3;
  /* Chữ */
  --ink:      #0E2F4F;
  --ink-2:    #3B5168;
  --ink-3:    #5B7086;
  /* Nền sáng */
  --bg:       #F4F8FC;
  --card:     #FFFFFF;
  --line:     #E1EAF4;
  /* Nút chính (vàng) */
  --cta:      #FFD047;
  --cta-600:  #F5BF1F;
  --on-cta:   #1E2A33;
  /* Điểm nhấn */
  --gold:     #F5B50F;
  --open:     #1F9D61;
  --pin-red:  #C0443A;

  /* Font */
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;

  /* Hình khối */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(10, 50, 100, .08);
  --container: 1200px;
  --gutter: 20px;
  --section-pad: 56px;
  --header-h: 68px;
  --action-bar-h: 68px;
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; --section-pad: 72px; --header-h: 84px; }
}

/* ---------- 2. Reset nhẹ + nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 4px); }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 1024px) { body { font-size: 16px; line-height: 1.65; } }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--blue-600); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.status, .rating, .price-table td:last-child { font-variant-numeric: tabular-nums; }

/* ---------- 3. Bố cục chung ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section-pad) 0; }
.section:last-of-type { padding-bottom: var(--section-pad); }
.section--first { padding-top: 8px; }
.section--tight { padding-top: 24px; }

h1, h2, h3 { color: var(--ink); font-weight: 700; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.01em; }
h2.h2-sm { font-size: 22px; line-height: 1.3; }
h3 { font-size: 18px; line-height: 1.35; }
@media (min-width: 1024px) {
  h2 { font-size: 36px; line-height: 1.2; }
  h2.h2-sm { font-size: 28px; }
}

.section-head { margin-bottom: 24px; }
.section-lead { margin-top: 10px; max-width: 52em; color: var(--ink-2); line-height: 1.65; }
.section-lead a { font-weight: 600; }
.section-head--center { text-align: center; }
.eyebrow { margin-bottom: 6px; color: var(--blue-600); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 1024px) { .eyebrow { font-size: 15px; } }
.eyebrow--lines { display: flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; }
.eyebrow--lines::before, .eyebrow--lines::after { content: ""; flex: 0 1 190px; min-width: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-600)); opacity: .45; }
.eyebrow--lines::after { transform: scaleX(-1); }
.small-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* Nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
@media (min-width: 1024px) { .btn--lg { min-height: 54px; padding: 14px 30px; font-size: 18px; } }
.btn--cta { background: var(--cta); border-color: var(--cta); color: var(--on-cta); box-shadow: 0 4px 14px rgba(245, 191, 31, .35); }
.btn--cta:hover { background: var(--cta-600); border-color: var(--cta-600); color: var(--on-cta); }
.btn--outline { background: transparent; border-color: var(--blue-600); color: var(--blue-600); }
.btn--outline:hover { background: var(--blue-100); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--blue { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(11, 92, 148, .35); }
.btn--blue:hover { background: var(--blue-900); border-color: var(--blue-900); color: #fff; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--zalo { width: 26px; height: 26px; stroke: none; }

.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-600); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.chip[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* Trạng thái mở/đóng: có chữ, không chỉ dựa vào màu */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; background: #8A97A3; }
.status.is-open::before { background: var(--open); box-shadow: 0 0 0 3px rgba(31, 157, 97, .2); }
.status:empty { display: none; }

/* ---------- 4. Header ---------- */
/* Header nổi cố định (fixed) + chừa sẵn chỗ cho trang. Không dùng sticky: khi header thu nhỏ,
   sticky làm trang co lại 12px, vị trí cuộn bị đẩy qua lại ngưỡng và header nháy liên tục. */
body { padding-top: var(--header-h); }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(250, 252, 253, .97); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(10, 50, 100, .08); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); transition: height .25s ease; }
.site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - 12px); }
.logo { display: block; flex: none; margin-right: auto; }
.logo img { height: 44px; width: auto; transition: height .25s ease; }
.site-nav__list a { display: block; padding: 10px 2px; color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { color: var(--blue-600); }
.site-nav__list a[aria-current="true"] { color: var(--blue-600); font-weight: 700; border-bottom-color: var(--blue-600); }
.header-call { display: none; min-height: 44px; padding: 10px 22px; font-size: 16px; }
/* Nút đổi ngôn ngữ VI/EN (thêm 2026-11-10): viên thuốc viền mảnh, cờ + mã của ngôn ngữ sẽ chuyển sang
   (trang Việt: cờ Anh + EN; trang Anh: cờ Việt Nam + VI). Cờ là SVG #flag-vn / #flag-gb trong bộ icon của trang. */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: border-color .2s, color .2s; }
.lang-switch__flag { display: block; flex: none; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(14, 47, 79, .14); }
.lang-switch__flag svg { display: block; width: 100%; height: 100%; }
.lang-switch:hover { border-color: var(--blue-600); color: var(--blue-600); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; }
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
.menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1023px) {
  /* Menu điện thoại: trượt xuống + mờ dần khi mở, ngược lại khi đóng.
     Luôn có trong trang nhưng visibility:hidden khi đóng (không bấm/Tab vào được). */
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(-10px); clip-path: inset(0 0 100% 0);
    transition: opacity .22s ease, transform .22s ease, clip-path .26s ease, visibility 0s linear .26s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; clip-path: inset(0 0 -40px 0); transition-delay: 0s; }
  .site-nav__list a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav__list > li { opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease; }
  .site-nav.is-open .site-nav__list > li { opacity: 1; transform: none; }
  .site-nav.is-open .site-nav__list > li:nth-child(1) { transition-delay: .05s; }
  .site-nav.is-open .site-nav__list > li:nth-child(2) { transition-delay: .09s; }
  .site-nav.is-open .site-nav__list > li:nth-child(3) { transition-delay: .13s; }
  .site-nav.is-open .site-nav__list > li:nth-child(4) { transition-delay: .17s; }
  .site-nav.is-open .site-nav__list > li:nth-child(5) { transition-delay: .21s; }
  .site-nav__list a[aria-current="true"] { border-bottom-color: var(--line); }
}
@media (min-width: 600px) { .header-call { display: inline-flex; } }
@media (min-width: 1024px) {
  .logo { margin-right: 0; }
  .logo img { height: 58px; }
  .site-header.is-scrolled .logo img { height: 48px; }
  .site-nav { margin-left: auto; margin-right: auto; }
  .site-nav__list { display: flex; gap: 40px; }
  .site-nav__list a { font-size: 16px; padding: 12px 2px 6px; }
  .menu-toggle { display: none; }
  .header-call { min-height: 52px; padding: 12px 30px; font-size: 18px; }
}

/* ---------- 5. Hero ---------- */
/* Hero KHÔNG mờ dần từ opacity 0 (để không chậm LCP). */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, #0B5C94 0%, #0F68A0 45%, #1A78BA 100%);
}
.hero::before { /* vệt sáng mờ phía sau chữ như thiết kế */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 30% 20%, rgba(255, 255, 255, .08), transparent 70%);
}
.hero__media { position: relative; height: 64vw; max-height: 380px; clip-path: ellipse(120% 100% at 50% 0%); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__inner { position: relative; z-index: 1; padding-block: 24px 72px; }
.hero__pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px 6px 8px; border-radius: 999px; background: rgba(228, 239, 250, .85); color: var(--blue-900); font-size: 14px; font-weight: 500; }
/* Icon huy hiệu vàng (ảnh SVG) trước chữ "Nha khoa uy tín": bật nhẹ 1 lần khi trang tải. Không mờ dần từ opacity 0 nên không ảnh hưởng LCP. */
.hero__pill-icon { flex: none; width: 24px; height: 24px; transform-origin: 50% 55%; animation: pill-pop .8s cubic-bezier(.3, 1.5, .5, 1) .2s both; }
@keyframes pill-pop { from { transform: scale(.55) rotate(-40deg); } to { transform: none; } }
/* H1 SEO (dòng nhỏ) + dòng lớn "Cả nhà an tâm" (p.hero__title, giữ kiểu cũ của h1) */
.hero__seo { margin-top: 14px; color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; text-wrap: balance; }
.hero__title { margin-top: 6px; color: #fff; font-size: 48px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.hero__sub { margin-top: 12px; color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 1.5; max-width: 30em; }
.hero__facts { display: flex; margin-top: 24px; }
.hero__facts li { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; max-width: 140px; text-align: center; font-weight: 500; font-size: 15px; line-height: 1.35; }
.hero__facts li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
.hero__facts .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__actions .icon { width: 22px; height: 22px; }
.hero__status { margin-top: 18px; color: rgba(255, 255, 255, .88); }
/* Giờ làm việc đầy đủ, dưới dòng trạng thái: điện thoại 2 dòng, máy tính 1 dòng */
.hero__hours { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.45; }
.hero__hours .icon { width: 16px; height: 16px; margin-top: 2px; opacity: .85; }
.hero__hours-row { display: block; }
.hero__hours strong { color: #fff; font-weight: 700; }
.hero__hours-sep { display: none; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; fill: var(--bg); z-index: 2; }

@media (min-width: 1024px) {
  .hero__media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 56%; height: auto; max-height: none;
    clip-path: ellipse(100% 112% at 100% 46%);
    background: rgba(255, 255, 255, .16);           /* vòng cung sáng mờ */
  }
  .hero__media img { position: absolute; top: 0; right: 0; bottom: 0; width: 93%; clip-path: ellipse(100% 112% at 100% 46%); object-position: 50% 40%; }
  .hero__inner { padding-block: 40px 66px; }
  .hero__text { max-width: 46%; }
  .hero__pill { padding: 8px 24px 8px 10px; gap: 10px; font-size: 17px; }
  .hero__pill-icon { width: 30px; height: 30px; }
  .hero__seo { margin-top: 16px; font-size: 18px; }
  .hero__title { margin-top: 6px; font-size: 76px; }
  .hero__sub { margin-top: 10px; font-size: 22px; max-width: 24em; }
  .hero__facts { margin-top: 22px; }
  .hero__facts li { max-width: 168px; font-size: 18px; }
  .hero__facts .icon { width: 38px; height: 38px; }
  .hero__actions { gap: 18px; margin-top: 22px; }
  .hero__status { margin-top: 10px; font-size: 13px; }
  .hero__hours { align-items: center; margin-top: 6px; font-size: 13px; }
  .hero__hours .icon { margin-top: 0; }
  .hero__hours-row { display: inline; }
  .hero__hours-sep { display: inline; }
  .hero__wave { height: 64px; }
}

/* ---------- 6. Dịch vụ nổi bật ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
  height: 100%; padding: 18px 10px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); text-align: center;
  color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.3; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
/* Hiệu ứng nâng thẻ (giữ như cũ) */
.service:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(10, 50, 100, .12); border-color: #BCD6F2; color: var(--ink); }
.service__label { display: block; }

/* Icon: ô bo tròn, ảnh do phòng khám cung cấp (assets/icons/*.webp) */
.service__icon { position: relative; display: block; width: 76px; height: 76px; overflow: hidden; border-radius: 22%; transform-origin: 50% 60%; }
.service__icon img { display: block; width: 100%; height: 100%; }
.service__icon::after { /* lớp sáng dùng cho hiệu ứng "shine" và "glow" */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: inherit;
}

/* Viền sáng chạy quanh thẻ 1 vòng khi hover / focus bàn phím */
@property --service-spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.service::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; padding: 2px; border-radius: inherit; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--service-spin), rgba(3, 90, 195, 0) 0deg, rgba(3, 90, 195, 0) 220deg, rgba(140, 192, 245, .85) 300deg, var(--accent) 356deg, rgba(3, 90, 195, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.service:is(:hover, :focus-visible)::before { animation: service-spin 1.2s cubic-bezier(.45, .1, .3, 1) 1 both; }
@keyframes service-spin {
  0%   { --service-spin: 0deg;   opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { --service-spin: 360deg; opacity: 0; }
}

/* Chuyển động riêng của từng icon (khi hover / focus bàn phím) */
.service--wiggle:is(:hover, :focus-visible) .service__icon  { animation: icon-wiggle .8s ease-in-out 1; }          /* bé: lắc lư vui */
.service--shine:is(:hover, :focus-visible) .service__icon   { animation: icon-float .9s ease-in-out 1; }           /* răng sứ: nhấc nhẹ + vệt sáng */
.service--shine:is(:hover, :focus-visible) .service__icon::after { background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); animation: icon-shine .9s ease-in-out 1; }
.service--search:is(:hover, :focus-visible) .service__icon  { animation: icon-search 2s ease-in-out infinite; }     /* kính lúp: lướt tìm */
.service--squeeze:is(:hover, :focus-visible) .service__icon { animation: icon-squeeze .6s ease-in-out 2; }         /* niềng: siết */
.service--glow:is(:hover, :focus-visible) .service__icon    { animation: icon-glow 1.6s ease-in-out infinite; }    /* tẩy trắng: sáng lên */
.service--glow:is(:hover, :focus-visible) .service__icon::after { background: radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 60%); animation: icon-glow-light 1.6s ease-in-out infinite; }
.service--pull:is(:hover, :focus-visible) .service__icon    { animation: icon-pull .85s cubic-bezier(.3, 1.4, .5, 1) 1; } /* nhổ: giật lên */
.service--screw:is(:hover, :focus-visible) .service__icon   { animation: icon-screw .9s ease-in-out 1; }           /* implant: vặn xuống (thêm 2026-11-10) */

@keyframes icon-wiggle  { 0%, 100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-8deg) scale(1.08); } 45% { transform: rotate(7deg) scale(1.08); } 70% { transform: rotate(-4deg) scale(1.05); } 88% { transform: rotate(2deg) scale(1.02); } }
@keyframes icon-float   { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-5px) scale(1.07); } }
@keyframes icon-shine   { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }
@keyframes icon-search  { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(5px, -4px) rotate(4deg); } 50% { transform: translate(0, -6px) rotate(0); } 75% { transform: translate(-5px, -4px) rotate(-4deg); } }
@keyframes icon-squeeze { 0%, 100% { transform: scale(1, 1); } 35% { transform: scale(1.1, .92); } 70% { transform: scale(.95, 1.07); } }
@keyframes icon-glow    { 0%, 100% { transform: scale(1); filter: brightness(1) saturate(1); } 50% { transform: scale(1.07); filter: brightness(1.07) saturate(1.25); } }
@keyframes icon-glow-light { 0%, 100% { opacity: 0; } 50% { opacity: .75; } }
@keyframes icon-screw   { 0% { transform: translateY(0) rotate(0); } 35% { transform: translateY(3px) rotate(-8deg); } 65% { transform: translateY(5px) rotate(6deg); } 100% { transform: translateY(0) rotate(0); } }
@keyframes icon-pull    { 0% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-9px) rotate(-5deg); } 55% { transform: translateY(2px) rotate(3deg); } 78% { transform: translateY(-3px) rotate(-1deg); } 100% { transform: translateY(0) rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  .service::before, .service__icon, .service__icon::after { animation: none !important; }
}
/* 7 dịch vụ (thêm Implant 2026-11-10): điện thoại 2 cột (thẻ lẻ cuối canh giữa), máy tính bảng 4 cột, máy tính 7 cột */
@media (max-width: 599px) { .services > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); } }
@media (min-width: 600px) { .services { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(7, 1fr); gap: 14px; }
  .service { padding: 18px 10px 18px; gap: 10px; font-size: 17px; }
  .service__icon { width: 88px; height: 88px; }
}

/* ---------- 7. Về Nha khoa Quỳnh Thư ---------- */
.about {
  display: grid; gap: 28px; padding: 28px 22px; border-radius: 22px;
  background: linear-gradient(120deg, #E4EFFA 0%, #EDF4FC 60%, #DCEAF8 100%);
}
.about__text p:not(.eyebrow) { margin: 14px 0 22px; color: var(--ink-2); }
.about__photos { position: relative; min-height: 0; aspect-ratio: 16 / 10; }
.about__photo { position: absolute; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(10, 50, 100, .16); object-fit: cover; }
.about__photo--1 { left: 0; top: 0; width: 70%; aspect-ratio: 760 / 481; transform: rotate(-2deg); }
.about__photo--2 { right: 2%; top: 22%; width: 52%; aspect-ratio: 4 / 3; transform: rotate(3deg); z-index: 1; }
.about__burst { position: absolute; right: -6px; top: -14px; width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; }
@media (min-width: 1024px) {
  .about { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; padding: 30px 40px; }
  .about__text p:not(.eyebrow) { margin: 12px 0 18px; font-size: 17px; max-width: 28em; }
  .about__photos { min-height: 262px; aspect-ratio: auto; }
  .about__burst { right: -26px; top: 4px; width: 52px; height: 52px; }
}

/* ---------- 8. Nha khoa trẻ em ---------- */
.kids { display: grid; gap: 28px; align-items: center; }
.kids__photo { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-inline: auto; }
.kids__text > p:not(.eyebrow) { margin-top: 12px; }
.steps { counter-reset: step; display: grid; gap: 12px; margin: 20px 0 24px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 500; }
.steps li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 700; }
@media (min-width: 1024px) { .kids { grid-template-columns: .8fr 1fr; gap: 56px; } }

/* ---------- 9. Bảng giá ---------- */
.price-card { max-width: 860px; margin-inline: auto; padding: 8px 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { padding: 16px 0 12px; text-align: left; color: var(--ink-3); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--line); }
.price-table td { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; vertical-align: top; }
.price-table th:last-child, .price-table td:last-child { text-align: right; padding-left: 16px; white-space: nowrap; }
.price-table td:last-child { color: var(--blue-600); font-weight: 700; }
.price-table td.price-table__ask { white-space: normal; color: var(--ink-3); font-weight: 500; font-size: 14px; }
/* Nhãn "Báo giá sau khi khám" thay cho số tiền */
.price-ask { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--blue-800); font-size: 13px; font-weight: 700; white-space: nowrap; }
.price-ask svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Ghi chú đơn vị dưới giá (/lần, /răng, có MTA...) */
.price-table td:last-child small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; font-weight: 500; white-space: normal; }
@media (max-width: 599px) {
  .price-table td { font-size: 14px; }
  .price-table td:first-child { padding-right: 4px; }
  .price-table td:last-child { white-space: normal; } /* số dài xuống dòng ở dấu "-", không tràn ngang */
}
/* Bảng giá 3 tab ở trang chủ (thêm 2026-11-10). Không có JS: thanh tab ẩn, 3 bảng hiện lần lượt, mỗi bảng có tiêu đề. */
.price-tabs__list { display: flex; gap: 4px; margin: 16px 0 4px; padding: 4px; border-radius: 999px; background: var(--blue-100); }
.price-tabs__tab { flex: 1; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--blue-800); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.price-tabs__tab:hover { color: var(--blue-900); }
.price-tabs__tab[aria-selected="true"] { background: #fff; color: var(--blue-600); box-shadow: 0 2px 8px rgba(10, 60, 90, .12); }
.price-tabs__tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.price-panel__title { margin-top: 20px; color: var(--ink); font-size: 17px; }
.price-tabs.is-tabs .price-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1024px) { .price-tabs__tab { min-height: 48px; font-size: 16px; } }
/* Thu gọn bảng giá (thêm 2026-11-19): JS gắn .is-collapsed lên .price-card, mỗi tab chỉ hiện 6 dòng đầu.
   Dòng thứ 6 mờ dần ở đáy để báo còn nữa. Đổi số dòng: sửa n+7 / nth-child(6) ở đây và PRICE_ROWS trong script.js. */
.price-card.is-collapsed .price-table tbody tr:nth-child(n+7) { display: none; }
.price-card.is-collapsed .price-panel:has(tbody tr:nth-child(7)) .price-table { -webkit-mask-image: linear-gradient(#000 calc(100% - 44px), rgba(0, 0, 0, .15)); mask-image: linear-gradient(#000 calc(100% - 44px), rgba(0, 0, 0, .15)); }
.price-more { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 14px auto 0; padding: 10px 22px; border: 1.5px solid var(--blue-600); border-radius: 999px; background: #fff; color: var(--blue-600); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.price-more[hidden] { display: none; }
.price-more:hover { background: var(--blue-100); }
.price-more:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.price-more .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); transition: transform .25s; }
.price-more[aria-expanded="false"] .icon { transform: none; }
.price-more[aria-expanded="true"] .price-more__open, .price-more[aria-expanded="false"] .price-more__close { display: none; }
@media (prefers-reduced-motion: reduce) { .price-more .icon { transition: none; } }
/* Lưu ý về giá: khung vàng nhạt + icon để khách chú ý (đổi 2026-11-10) */
.price-note { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid #F6DFA0; border-left: 4px solid var(--gold); border-radius: var(--radius-sm); background: #FFF8E6; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.price-note__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #fff; }
.price-note__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.price-note__body { min-width: 0; }
.price-note__title { margin: 4px 0 8px; color: #8A5A00; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
ul.price-note__list { display: grid; gap: 8px; }
.price-note__list li { display: flex; align-items: flex-start; gap: 8px; }
.price-note__list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: #B07A00; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price-note__list strong { color: var(--ink); }
@media (min-width: 1024px) { .price-note { padding: 16px 20px; font-size: 15px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--blue-100); color: var(--blue-800); font-size: 14px; font-weight: 600; }
@media (min-width: 1024px) { .price-card { padding: 8px 36px 32px; } }

/* ---------- 10. Trước & sau ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ba-grid figure { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.ba-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba-grid figcaption { padding: 12px 16px; color: var(--ink); font-weight: 600; }

/* ---------- 10b. Đội ngũ bác sĩ ---------- */
/* Phần 1: hồ sơ bác sĩ phụ trách chuyên môn */
.lead-doc { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.lead-doc__photo { position: relative; aspect-ratio: 4 / 5; max-height: 460px; background: var(--brand-50); }
.lead-doc__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lead-doc__badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink-2); font-size: 13px; font-weight: 500; box-shadow: 0 6px 18px rgba(10, 50, 100, .18); }
.lead-doc__badge strong { color: var(--blue-600); font-size: 22px; line-height: 1; }
.lead-doc__body { padding: 24px 20px 28px; }
.lead-doc__name { margin-top: 2px; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.lead-doc__title { color: var(--blue-600); }
.lead-doc__role { margin-top: 6px; color: var(--ink-3); font-size: 15px; font-weight: 500; }
.lead-doc__intro { margin-top: 14px; color: var(--ink-2); line-height: 1.65; max-width: 36em; }
.lead-doc__facts { display: grid; gap: 1px; margin: 20px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); }
.lead-doc__facts > div { display: grid; grid-template-columns: 132px 1fr; gap: 12px; padding: 12px 14px; background: var(--card); }
.lead-doc__facts dt { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; font-weight: 500; }
.lead-doc__facts dt .icon { width: 18px; height: 18px; color: var(--blue-600); }
.lead-doc__facts dd { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.45; }
.lead-doc__label { font-weight: 400; }
.lead-doc__subhead { margin: 22px 0 10px; color: var(--ink); font-size: 15px; font-weight: 700; }
.lead-doc__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-doc__skills li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-800); font-size: 14px; font-weight: 600; }
.lead-doc__skills .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.lead-doc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.lead-doc__actions .icon--zalo { width: 24px; height: 24px; }
@media (min-width: 600px) {
  .lead-doc__photo { max-height: 520px; }
  .lead-doc__body { padding: 28px 32px 32px; }
}
@media (min-width: 1024px) {
  .lead-doc { grid-template-columns: 400px 1fr; align-items: stretch; }
  .lead-doc__photo { aspect-ratio: auto; max-height: none; min-height: 100%; }
  .lead-doc__body { padding: 40px 48px; align-self: center; }
  .lead-doc__name { font-size: 34px; }
  .lead-doc__facts > div { grid-template-columns: 150px 1fr; }
}

/* Phần 2 (đổi 2026-11-10): "Đội ngũ bác sĩ & nhân viên tận tâm", 4 khung giá trị, không dùng ảnh người */
.team { margin-top: 48px; }
.team__head { margin-bottom: 24px; text-align: center; }
.team__head h3 { font-size: 22px; text-wrap: balance; }
.team__head p { margin: 8px auto 0; max-width: 40em; color: var(--ink-2); line-height: 1.6; text-wrap: balance; }
ul.values { display: grid; grid-template-columns: 1fr; gap: 14px; }
.value { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.value:hover { transform: translateY(-4px); border-color: #BCD6F2; box-shadow: 0 14px 32px rgba(10, 50, 100, .13); }
.value__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); transition: background-color .25s, color .25s; }
.value__icon .icon { width: 24px; height: 24px; }
.value:hover .value__icon { background: var(--blue-600); color: #fff; }
.value :is(h3, h4) { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.35; }
.value p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 599px) {
  /* Điện thoại: icon bên trái, tiêu đề + mô tả bên phải cho gọn */
  .value { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; }
  .value__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .value :is(h3, h4) { align-self: center; font-size: 16px; }
  .value p { font-size: 14px; }
}
@media (min-width: 600px) { ul.values { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) {
  .team { margin-top: 64px; }
  ul.values { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .value { padding: 26px 24px 28px; }
}

/* ---------- 10c. Trang thiết bị #thiet-bi (thêm 2026-11-13, làm nổi bật 2026-11-13) ----------
   Dải nền xanh nhạt riêng (--brand-50 → --blue-100, KHÔNG dùng --blue-900), mép trên/dưới lượn sóng, họa tiết vòng quét + lưới chấm.
   Thẻ lớn CBCT (ảnh + khối chữ trắng nền --ink) + 5 thẻ nhỏ. Mỗi thẻ: nhãn trên ảnh, 1 lợi ích có dấu tích, mô tả, "Dùng cho".
   Hiệu ứng (chỉ chạy khi mục đang trong màn hình, class .is-playing do script gắn): vệt quét trên ảnh CBCT, sóng lan trên RayFace,
   trâm nội nha + chấm chóp, hơi lò hấp. Điện thoại: thẻ CBCT trên, 5 thẻ còn lại vuốt ngang. Máy tính bảng: CBCT ngang + lưới 2 cột. Máy tính: CBCT ngang trên cùng, dưới 3 thẻ ảnh + 2 thẻ ngang. */
.section-head--center .section-lead { margin-inline: auto; }
.tech { position: relative; margin-top: var(--section-pad); padding-block: 64px 72px; overflow: hidden; background: linear-gradient(180deg, var(--brand-50) 0%, var(--blue-100) 100%); }
.tech__inner { position: relative; z-index: 1; }
.tech::before, .tech::after { content: ""; position: absolute; pointer-events: none; }
.tech::before { /* vòng quét đồng tâm góc trên phải */
  top: -160px; right: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(15, 104, 160, .10) 0 1.5px, transparent 1.5px 34px);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%);
}
.tech::after { /* lưới chấm góc dưới trái */
  left: -40px; bottom: 30px; width: 420px; height: 320px;
  background: radial-gradient(rgba(15, 104, 160, .22) 1.2px, transparent 1.6px) 0 0 / 20px 20px;
  -webkit-mask: radial-gradient(ellipse at 30% 60%, #000 20%, transparent 70%); mask: radial-gradient(ellipse at 30% 60%, #000 20%, transparent 70%);
}
.tech__wave { position: absolute; left: 0; width: 100%; height: 28px; fill: var(--bg); z-index: 1; }
.tech__wave--top { top: -1px; transform: rotate(180deg); }
.tech__wave--bottom { bottom: -1px; }

.equips { display: grid; gap: 16px; }
.equip { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--radius); background: var(--card); box-shadow: 0 10px 30px rgba(10, 50, 100, .10); transition: transform .3s, box-shadow .3s; }
.equip:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 50, 100, .16); }
.equip__media { position: relative; flex: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-50); }
.equip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.equip:hover .equip__media img { transform: scale(1.05); }
.equip__tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--blue-800); font-size: 12px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(10, 50, 100, .15); }
.equip__media--icon { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0 28%, transparent 29%), linear-gradient(140deg, var(--brand-50), var(--blue-100)); color: var(--blue-600); }
.equip__art { width: 64px; height: 64px; stroke-width: 1.4; overflow: visible; }
.equip__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.equip h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.equip__body > p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.equip__body > .equip__perk { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--blue-100); color: var(--blue-800); font-size: 13px; font-weight: 700; line-height: 1.4; }
.equip__perk .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.equip__body > .equip__for { margin-top: auto; padding-top: 4px; color: var(--ink-3); font-size: 13px; }
.equip__for span { font-weight: 600; }
.equip__for a { color: var(--blue-600); font-weight: 600; text-decoration: none; }
.equip__for a:hover { text-decoration: underline; }

/* Thẻ lớn CBCT: ảnh + khối chữ trắng trên nền --ink (có vòng quét mờ trang trí). Điện thoại: ảnh trên, chữ dưới. Từ 600px: ảnh trái, chữ phải */
.equip--feature { border: 0; background: var(--ink); }
.equip--feature .equip__body { position: relative; justify-content: center; gap: 10px; padding: 20px 20px 22px; overflow: hidden;
  background: radial-gradient(circle at 100% 0%, rgba(26, 120, 186, .55), transparent 55%), var(--ink); }
.equip--feature .equip__body::before { content: ""; position: absolute; top: -120px; right: -120px; width: 300px; height: 300px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .09) 0 1px, transparent 1px 26px); }
.equip--feature .equip__body > * { position: relative; }
.equip--feature h3 { color: #fff; font-size: 22px; }
.equip--feature .equip__body > p { color: rgba(255, 255, 255, .9); font-size: 15px; }
.equip--feature .equip__body > .equip__perk { border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .16); color: #fff; }
.equip--feature .equip__body > .equip__for { margin-top: 4px; color: rgba(255, 255, 255, .78); }
.equip--feature .equip__for a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Hiệu ứng: vệt quét CBCT */
.equip__media--scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 22%; opacity: 0; pointer-events: none; transform: translateY(-100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(150, 205, 250, .28) 80%, rgba(255, 255, 255, .95) 99%, rgba(3, 90, 195, .5) 100%); }
.tech.is-playing .equip__media--scan::after { animation: tech-scan 5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes tech-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  8% { opacity: 1; }
  62% { transform: translateY(360%); opacity: 1; }
  72%, 100% { transform: translateY(360%); opacity: 0; }
}
/* Hiệu ứng: sóng lan từ gương tròn (đầu quét) của máy RayFace; đổi ảnh thì chỉnh lại left/top (ảnh 2026-11-18: tâm gương ở 48% 37%) */
.equip__media--ripple::before, .equip__media--ripple::after { content: ""; position: absolute; left: 48%; top: 37%; z-index: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 2px solid rgba(3, 90, 195, .55); border-radius: 50%; opacity: 0; pointer-events: none; }
.tech.is-playing .equip__media--ripple::before { animation: tech-ripple 2.6s ease-out infinite; }
.tech.is-playing .equip__media--ripple::after { animation: tech-ripple 2.6s ease-out 1.3s infinite; }
@keyframes tech-ripple { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
/* Hiệu ứng: trâm nội nha đi xuống, chấm chóp sáng lên */
.endo-file { stroke-dasharray: 12; stroke-dashoffset: 0; }
.endo-dot { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; }
.tech.is-playing .endo-file { animation: tech-file 2.8s ease-in-out infinite; }
.tech.is-playing .endo-dot { animation: tech-dot 2.8s ease-in-out infinite; }
@keyframes tech-file { 0%, 10% { stroke-dashoffset: 12; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes tech-dot { 0%, 50% { opacity: .25; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.6); fill: var(--accent); } 80%, 100% { opacity: 1; transform: scale(1); } }
/* Hiệu ứng: hơi lò hấp bay lên */
.steam { transform-box: fill-box; }
.tech.is-playing .steam { animation: tech-steam 2.2s ease-in-out infinite; }
.tech.is-playing .steam:nth-of-type(2) { animation-delay: .35s; }
.tech.is-playing .steam:nth-of-type(3) { animation-delay: .7s; }
@keyframes tech-steam { 0% { transform: translateY(3px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-4px); opacity: 0; } }

.equips__hint { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink-3); font-size: 13px; }
.tech__cta { margin-top: 32px; text-align: center; }
.tech__cta > p { color: var(--ink); font-weight: 600; text-wrap: balance; }
.tech__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

/* Điện thoại: 5 thẻ nhỏ vuốt ngang, thẻ sau lộ một phần để báo còn nữa */
@media (max-width: 599px) {
  ul.equips__list { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .equips__list::-webkit-scrollbar { display: none; }
  .equips__list > .equip { flex: 0 0 80%; scroll-snap-align: start; }
  .equips__list:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
  .equips__hint { margin-top: -6px; }
  .tech__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 600px) {
  .tech { padding-block: 80px 88px; }
  .tech__wave { height: 44px; }
  .equips { gap: 20px; }
  .equips__hint { display: none; }
  ul.equips__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0; margin: 0; }
  .equip--wide { grid-column: 1 / -1; flex-direction: row; }
  .equip--wide .equip__media { width: 34%; aspect-ratio: auto; }
  .equip--feature { flex-direction: row; }
  .equip--feature .equip__media { width: 50%; aspect-ratio: auto; min-height: 340px; }
  .equip--feature .equip__body { padding: 28px 28px 30px; }
  .equip--feature h3 { font-size: 24px; }
}
@media (min-width: 1024px) {
  .tech { padding-block: 104px 112px; }
  .tech__wave { height: 64px; }
  .tech::before { width: 760px; height: 760px; top: -260px; right: -220px; }
  /* Thẻ CBCT ngang trên cùng; dưới: 3 thẻ ảnh (mỗi thẻ 2/6 cột) + 2 thẻ ngang (mỗi thẻ 3/6 cột) */
  .equip--feature .equip__media { width: 56%; min-height: 420px; }
  .equip--feature .equip__body { padding: 40px 44px; gap: 12px; }
  .equip--feature h3 { font-size: 30px; line-height: 1.25; }
  .equip--feature .equip__body > p { font-size: 16px; line-height: 1.65; }
  ul.equips__list { grid-template-columns: repeat(6, 1fr); }
  .equips__list > .equip { grid-column: span 2; }
  .equips__list > .equip:nth-child(n+4) { grid-column: span 3; flex-direction: row; }
  .equips__list > .equip:nth-child(n+4) .equip__media { width: 36%; aspect-ratio: auto; }
  .equip__body { padding: 18px 22px 20px; }
  .equip__body > p { font-size: 14.5px; }
  .tech__cta { margin-top: 44px; }
  .tech__cta > p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .equip__media--scan::after, .equip__media--ripple::before, .equip__media--ripple::after, .endo-file, .endo-dot, .steam { animation: none !important; }
}

/* ---------- 10d. Ca khó #ca-kho (thêm 2026-11-18) ----------
   Dải nền --ink (đậm, để nổi bật; KHÔNG dùng --blue-900, chỉ dành cho hero + footer), mép trên/dưới lượn sóng như #thiet-bi.
   Thẻ lớn ca mẹ bầu: ảnh dọc + 3 bước Tình trạng → Cách xử lý → Kết quả (hiện lần lượt khi cuộn tới). 3 thẻ ca khác, hàng "ca khác", nút đặt lịch.
   Điện thoại: thẻ lớn trên, 3 thẻ vuốt ngang. Máy tính bảng: 2 cột, thẻ thứ 3 nằm ngang. Máy tính: thẻ lớn ngang + 3 cột. */
.cases { position: relative; margin-top: var(--section-pad); padding-block: 64px 72px; overflow: hidden; color: rgba(255, 255, 255, .86);
  background: radial-gradient(circle at 88% 4%, rgba(26, 120, 186, .5), transparent 46%), radial-gradient(circle at 4% 96%, rgba(3, 90, 195, .32), transparent 42%), var(--ink); }
.cases::before { /* vòng đồng tâm mờ góc trên trái */
  content: ""; position: absolute; top: -180px; left: -180px; width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .06) 0 1.5px, transparent 1.5px 36px);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); }
.cases__inner { position: relative; z-index: 1; }
.cases__wave { position: absolute; left: 0; width: 100%; height: 28px; fill: var(--bg); z-index: 1; }
.cases__wave--top { top: -1px; transform: rotate(180deg); }
.cases__wave--bottom { bottom: -1px; }
.cases h2 { color: #fff; }
.cases .eyebrow { color: #9FD0F5; }
.cases .eyebrow--lines::before, .cases .eyebrow--lines::after { background: linear-gradient(90deg, transparent, #9FD0F5); }
.cases .section-lead { margin-inline: auto; color: rgba(255, 255, 255, .82); text-wrap: balance; }

.case { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--card); color: var(--ink-2); box-shadow: 0 18px 44px rgba(0, 12, 30, .35); transition: transform .3s, box-shadow .3s; }
.case:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(0, 12, 30, .45); }
.case__media { position: relative; flex: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-50); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case:hover .case__media img { transform: scale(1.04); }
.case__tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: var(--cta); color: var(--on-cta); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.case__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.case h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.case__body > p { font-size: 14px; line-height: 1.6; }
.case__kicker { color: var(--blue-600); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.case__body > .case__intro { color: var(--ink-2); font-size: 15px; }
.case__quote { margin: 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--gold); color: var(--ink); font-size: 14.5px; font-style: italic; line-height: 1.55; }
.case__body > .case__result { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--blue-100); color: var(--blue-800); font-size: 13px; font-weight: 700; line-height: 1.4; }
.case__result .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.case__body > .case__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 4px; }
.case__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-size: 14px; font-weight: 700; text-decoration: none; }
.case__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.case__links .icon { width: 16px; height: 16px; }

/* Thẻ lớn: 3 bước có số, nối bằng đường dọc */
.case__steps { display: grid; gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; counter-reset: case-step; }
.case__steps li { position: relative; padding-left: 42px; counter-increment: case-step; }
.case__steps li::before { content: counter(case-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-600); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 4px var(--blue-100); }
.case__steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 34px; bottom: -12px; width: 2px; border-radius: 2px; background: var(--blue-100); }
.case__step { display: block; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 28px; }
.case__steps p { margin-top: 2px; font-size: 14.5px; line-height: 1.6; }
.case__body > .case__note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.case__note .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--blue-600); }
.case--feature .case__media img { object-position: 50% 30%; }
.case--feature h3 { font-size: 22px; line-height: 1.3; }
.js .cases .case__steps li { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .5s ease; }
.js .cases.is-visible .case__steps li { opacity: 1; transform: none; }
.js .cases.is-visible .case__steps li:nth-child(1) { transition-delay: .35s; }
.js .cases.is-visible .case__steps li:nth-child(2) { transition-delay: .65s; }
.js .cases.is-visible .case__steps li:nth-child(3) { transition-delay: .95s; }

.cases__list { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.cases__hint { display: flex; align-items: center; justify-content: center; gap: 6px; color: rgba(255, 255, 255, .72); font-size: 13px; }
.cases__more { margin-top: 28px; text-align: center; }
.cases__more-title { color: #fff; font-weight: 600; }
.cases__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.cases__chips li { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 13.5px; line-height: 1.45; }
.cases__disclaimer { margin-top: 16px; color: rgba(255, 255, 255, .72); font-size: 13px; text-align: center; }
.cases__cta { margin-top: 28px; text-align: center; }
.cases__cta > p { max-width: 40em; margin-inline: auto; color: #fff; font-weight: 600; text-wrap: balance; }
.cases__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

@media (max-width: 599px) {
  ul.cases__list { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cases__list::-webkit-scrollbar { display: none; }
  .cases__list > .case { flex: 0 0 82%; scroll-snap-align: start; }
  .cases__list:focus-visible { outline: 2px solid #9FD0F5; outline-offset: -2px; }
  .cases__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 600px) {
  .cases { padding-block: 80px 88px; }
  .cases__wave { height: 44px; }
  .cases__hint { display: none; }
  ul.cases__list { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
  .cases__list > .case:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .cases__list > .case:last-child:nth-child(odd) .case__media { width: 42%; aspect-ratio: auto; }
  .case--feature { flex-direction: row; }
  .case--feature .case__media { width: 40%; aspect-ratio: auto; }
  .case--feature .case__body { padding: 26px 28px 28px; }
}
@media (min-width: 1024px) {
  .cases { padding-block: 104px 112px; }
  .cases__wave { height: 64px; }
  .cases::before { width: 760px; height: 760px; top: -260px; left: -240px; }
  .case--feature .case__media { width: 38%; }
  .case--feature .case__body { justify-content: center; gap: 12px; padding: 40px 48px; }
  .case--feature h3 { font-size: 30px; line-height: 1.25; }
  .case--feature .case__intro { font-size: 16.5px; }
  .case__steps { gap: 18px; }
  .case__steps p { font-size: 15.5px; }
  ul.cases__list { grid-template-columns: repeat(3, 1fr); }
  .cases__list > .case:last-child:nth-child(odd) { grid-column: auto; flex-direction: column; }
  .cases__list > .case:last-child:nth-child(odd) .case__media { width: auto; aspect-ratio: 4 / 3; }
  .case__body { padding: 18px 22px 20px; }
  .cases__more { margin-top: 40px; }
  .cases__cta { margin-top: 40px; }
  .cases__cta > p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .cases .case__steps li { opacity: 1; transform: none; transition: none; }
  .case, .case__media img { transition: none; }
}

/* Ô "Thiết bị hiện đại" ở hero: bấm để cuộn tới mục #thiet-bi */
.hero__fact-link { display: flex; flex-direction: column; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.hero__fact-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 11. Hình ảnh hoạt động + thẻ đánh giá ---------- */
.gallery { display: grid; gap: 16px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery__grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.quote-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 58px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.quote-card__mark { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); color: var(--accent); font: 700 64px/1 Georgia, "Times New Roman", serif; }
.quote-card blockquote { color: var(--ink); font-style: italic; font-size: 16px; line-height: 1.65; }
.stars { display: flex; gap: 4px; margin: 14px 0 12px; color: var(--gold); }
.stars svg { width: 22px; height: 22px; }
.quote-card figcaption { color: var(--ink); font-size: 14px; }
/* Giới thiệu Facebook dưới lưới ảnh (thêm 2026-11-13): icon + chữ + 2 nút ngang nhau. Màu theo bảng màu web, không dùng màu Facebook. */
.fb-cta { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.fb-cta__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); }
.fb-cta__icon .icon { width: 26px; height: 26px; }
.fb-cta__text { display: grid; gap: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.fb-cta__text strong { color: var(--ink); font-size: 16px; line-height: 1.35; }
.fb-cta__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 10px; } /* điện thoại: 2 nút chồng nhau cho khỏi tràn */
.fb-cta__actions .btn { padding-inline: 12px; font-size: 14px; }
.fb-cta__actions .icon { width: 18px; height: 18px; }
@media (min-width: 600px) {
  .fb-cta { padding: 20px 24px; }
  .fb-cta__text { font-size: 15px; }
  .fb-cta__text strong { font-size: 17px; }
  .fb-cta__actions { grid-template-columns: 1fr 1fr; max-width: 460px; }
}
@media (min-width: 1024px) {
  .fb-cta { grid-template-columns: 52px 1fr auto; gap: 18px; padding: 20px 28px; }
  .fb-cta__icon { width: 52px; height: 52px; }
  .fb-cta__actions { grid-column: auto; display: flex; max-width: none; }
  .fb-cta__actions .btn { padding-inline: 20px; font-size: 15px; }
}
@media (min-width: 600px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .gallery { grid-template-columns: 1fr 236px; gap: 20px; align-items: stretch; }
  .gallery__grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .gallery__grid img { aspect-ratio: auto; min-height: 112px; }
  .gallery__grid li:nth-child(n+7) img { aspect-ratio: 5 / 4; }
  .gallery__grid li:nth-child(-n+6) img { aspect-ratio: 4 / 3.1; }
}

/* ---------- 12. Khách hàng nói gì ---------- */
/* Điểm Google riêng từng cơ sở (đổi 2026-11-07) */
.rv-summary { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.rv-score { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, #fff 40%, var(--brand-50)); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.rv-score::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--cta-600)); }
.rv-score:hover { transform: translateY(-3px); border-color: #BCD6F2; box-shadow: 0 12px 28px rgba(10, 50, 100, .13); }
.rv-score__num { flex: none; min-width: 2.3ch; color: var(--ink); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rv-score__info { display: grid; gap: 4px; min-width: 0; }
.rv-score__branch { color: var(--blue-600); font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.rv-score__count { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.rv-score__go { margin-left: auto; color: var(--blue-600); transition: transform .25s; }
.rv-score:hover .rv-score__go { transform: translateX(4px); }
.rv-stars { position: relative; display: inline-block; line-height: 0; }
.rv-stars__base, .rv-stars__fill { display: flex; gap: 3px; }
.rv-stars__base { color: #D6E1EC; }
.rv-stars__fill { position: absolute; inset: 0 auto 0 0; width: var(--fill, 100%); overflow: hidden; color: var(--gold); transition: width 1.4s cubic-bezier(.25, .8, .25, 1) .2s; }
.rv-stars svg { flex: none; width: 20px; height: 20px; }
.rv-summary__note { margin-top: 12px; text-align: center; color: var(--ink-3); font-size: 13px; }
@media (min-width: 600px) { .rv-summary { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .rv-score { padding: 20px 24px; } .rv-score__num { font-size: 52px; } }
/* Trước khi cuộn tới: sao rỗng, chờ tô */
.js .reveal:not(.is-visible) .rv-stars__fill { width: 0; }

/* Thẻ đánh giá */
.reviews { display: grid; gap: 16px; width: min(100% - 2 * var(--gutter), var(--container)); margin: 28px auto 0; }
.review { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.review::after { /* dấu ngoặc kép lớn trang trí */
  content: "\201D"; position: absolute; right: 14px; top: -6px; color: var(--brand-50); font: 700 96px/1 Georgia, "Times New Roman", serif; pointer-events: none;
}
.review:hover { transform: translateY(-4px); border-color: #BCD6F2; box-shadow: 0 14px 32px rgba(10, 50, 100, .14); }
.review__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.review__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--av1, #1A78BA), var(--av2, #0B5C94)); color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.review:nth-child(6n+2) .review__avatar { --av1: #F5B50F; --av2: #E08A00; }
.review:nth-child(6n+3) .review__avatar { --av1: #23A27A; --av2: #137A5A; }
.review:nth-child(6n+4) .review__avatar { --av1: #035AC3; --av2: #0A3F8F; }
.review:nth-child(6n+5) .review__avatar { --av1: #E0617A; --av2: #B53E57; }
.review:nth-child(6n+6) .review__avatar { --av1: #7B6CD9; --av2: #5446B0; }
.review__by { display: grid; font-size: 14px; line-height: 1.35; }
.review__by strong { color: var(--ink); font-size: 16px; }
.review__by span { color: var(--ink-3); font-size: 13px; }
.review .stars { position: relative; z-index: 1; margin: 0; gap: 3px; }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { position: relative; z-index: 1; flex: 1; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (min-width: 600px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Sao trên thẻ bật lần lượt khi cuộn tới */
@keyframes star-pop { 0% { transform: scale(0) rotate(-45deg); } 70% { transform: scale(1.25) rotate(8deg); } 100% { transform: none; } }
.js .reveal .review .stars svg { transform: scale(0); }
.js .reveal.is-visible .review .stars svg { animation: star-pop .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.js .reveal.is-visible .review .stars svg:nth-child(1) { animation-delay: .35s; }
.js .reveal.is-visible .review .stars svg:nth-child(2) { animation-delay: .43s; }
.js .reveal.is-visible .review .stars svg:nth-child(3) { animation-delay: .51s; }
.js .reveal.is-visible .review .stars svg:nth-child(4) { animation-delay: .59s; }
.js .reveal.is-visible .review .stars svg:nth-child(5) { animation-delay: .67s; }

/* Chạy ngang liên tục (script thêm .is-marquee + nhân đôi thẻ). Dừng khi rê chuột / chạm / focus. */
@keyframes rv-scroll { to { transform: translateX(-50%); } }
.rv-marquee.is-marquee { overflow: hidden; padding-block: 8px 20px; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rv-marquee.is-marquee .reviews { display: flex; width: max-content; gap: 0; margin: 20px 0 0; animation: rv-scroll var(--rv-dur, 60s) linear infinite; }
.rv-marquee.is-marquee .review { flex: none; width: 300px; margin-right: 16px; }
.rv-marquee.is-marquee:is(:hover, :focus-within, :active) .reviews, .rv-marquee.is-paused .reviews { animation-play-state: paused; }
@media (min-width: 1024px) { .rv-marquee.is-marquee .review { width: 360px; margin-right: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal .review .stars svg { transform: none; animation: none !important; }
  .js .reveal:not(.is-visible) .rv-stars__fill { width: var(--fill, 100%); }
  .rv-marquee .reviews { animation: none !important; }
}

/* ---------- 13. 2 cơ sở + bản đồ ---------- */
.branches { display: grid; gap: 16px; }
.branch { display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
/* Cơ sở đang hiện trên bản đồ */
.branch.is-active { border-color: var(--blue-600); box-shadow: 0 0 0 1px var(--blue-600), var(--shadow); }
.branch__photo { width: 100%; height: 100%; min-height: 140px; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.branch h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; }
.branch h3 .icon { width: 24px; height: 24px; color: var(--blue-600); }
.branch__addr { margin-top: 6px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.rating { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; }
.rating__num { color: var(--gold); font-weight: 700; font-size: 16px; }
.rating svg { width: 18px; height: 18px; color: var(--gold); }
.rating a { color: var(--ink-2); text-decoration: none; }
.rating a:hover { text-decoration: underline; }
.branch__status { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.branch__actions { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.branch__actions button { padding: 0; border: 0; background: none; color: var(--blue-600); font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.branch__actions button:hover { color: var(--blue-900); }
.branch__actions .branch__fb { display: inline-flex; align-items: center; gap: 4px; } /* link Facebook từng cơ sở (thêm 2026-11-13) */
.branch__fb .icon { width: 16px; height: 16px; }
.map-card { position: relative; min-height: 340px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #F3EBDD url("assets/images/ban-do-nen.svg?v=ea6e0659") center / cover no-repeat; }
.map-card__frame { position: absolute; inset: 0; display: grid; place-items: center; }
.map-card__frame iframe { width: 100%; height: 100%; border: 0; }
.map-card__pin { position: absolute; left: 50%; top: 22%; width: 40px; height: 40px; transform: translateX(-50%); color: var(--pin-red); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .2)); }
.map-card .btn--blue { margin-top: 40px; }
/* Nút chọn cơ sở nằm giữa mép dưới bản đồ, không đè lên thẻ thông tin của Google ở góc trên bên trái */
.map-card__tabs { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 1; }
@media (min-width: 600px) { .map-card { min-height: 440px; } }
@media (min-width: 1024px) {
  /* Cột trái: 2 thẻ cơ sở xếp dọc. Cột phải: bản đồ to, cao bằng cả 2 thẻ. */
  .branches { grid-template-columns: minmax(340px, 400px) 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
  .branches > .branch { grid-column: 1; align-items: stretch; padding: 14px; gap: 18px; }
  .branch__body { align-self: center; }
  .branch__photo { min-height: 0; aspect-ratio: auto; }
  .map-card { grid-column: 2; grid-row: 1 / span 2; min-height: 580px; }
}

/* ---------- 14. Hỏi đáp ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 14px 20px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--blue-600); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; }
ul.faq__list { display: grid; gap: 8px; margin: 0; padding: 0 20px 12px 40px; list-style: disc; color: var(--ink-2); }
.faq__list li::marker { color: var(--blue-600); }
.faq__list strong { color: var(--ink); }

/* ---------- 15. Footer ---------- */
.site-footer { position: relative; margin-top: var(--section-pad); color: rgba(255, 255, 255, .9); }
.site-footer__wave { display: block; width: 100%; height: 40px; fill: var(--blue-900); margin-bottom: -1px; }
.site-footer__main { background: linear-gradient(180deg, var(--blue-900), #0B5790 60%, #0A5288); padding-bottom: 20px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__row { display: grid; gap: 22px; justify-items: start; padding-block: 16px 24px; }
.site-footer__logo { height: 56px; width: auto; }
/* Cột liên hệ sau logo: điện thoại, Zalo, email, Facebook CS1, Facebook CS2 xếp dọc */
.site-footer__contact { display: grid; gap: 12px; justify-items: start; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.site-footer__hours { display: flex; align-items: center; gap: 12px; }
.site-footer__hours .icon { width: 26px; height: 26px; }
.site-footer__hours p { display: grid; font-size: 15px; line-height: 1.4; }
.site-footer__hours small { font-size: 13px; color: rgba(255, 255, 255, .78); }
.site-footer__script {
  position: relative; padding-bottom: 8px; color: #fff; font-family: var(--font-script); font-weight: 600;
  font-size: 24px; line-height: 1.25; white-space: nowrap; transform: rotate(-7deg); transform-origin: left center;
}
.site-footer__script::after { content: ""; position: absolute; left: 30%; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .7); transform: rotate(-3deg); }
.site-footer__bottom { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); text-align: center; font-size: 13px; color: rgba(255, 255, 255, .82); }
@media (min-width: 1024px) {
  .site-footer__wave { height: 70px; }
  .site-footer__row { grid-template-columns: auto auto auto 1fr; align-items: center; gap: 0; padding-block: 18px 28px; }
  .site-footer__row > * + * { padding-left: 28px; }
  .site-footer__logo { height: 64px; padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .25); box-sizing: content-box; }
  .site-footer .site-footer__contact { gap: 10px; padding: 0 28px; } /* chọn kèm .site-footer để thắng luật reset ul[class] { padding: 0 } */
  .site-footer__hours { border-left: 1px solid rgba(255, 255, 255, .25); }
  .site-footer__contact a { font-size: 16px; }
  .site-footer__hours p { font-size: 16px; }
  .site-footer__script { justify-self: end; font-size: 28px; transform: rotate(-8deg); transform-origin: right center; }
  .site-footer__bottom { font-size: 15px; }
}
/* Laptop nhỏ (1024-1199px): thu gọn header và footer để không bị chật, chữ menu không xuống dòng */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header__inner { gap: 12px; }
  .site-nav__list { gap: 16px; }
  .site-nav__list a { white-space: nowrap; }
  .header-call { padding: 12px 16px; font-size: 16px; }
  .lang-switch { padding: 8px 10px; }
  .lang-switch__code { display: none; } /* khổ này chỉ hiện lá cờ để header không tràn (tên ngôn ngữ vẫn có trong aria-label) */
  .site-footer__row > * + * { padding-left: 20px; }
  .site-footer .site-footer__contact { padding: 0 20px; }
  .site-footer__logo { height: 56px; padding-right: 20px; }
  .site-footer__script { font-size: 24px; }
  .site-footer__main { padding-bottom: 76px; } /* chừa chỗ để nút Chat Zalo nổi không che dòng địa chỉ khi cuộn hết trang */
}

/* ---------- 16. Thanh nút cố định + bảng chọn cơ sở ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(10, 50, 100, .08); transition: transform .25s ease; }
.action-bar.is-hidden { transform: translateY(110%); }
.action-bar__item { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border: 2px solid var(--blue-600); border-radius: 999px; background: #fff; color: var(--blue-600); font-weight: 700; font-size: 15px; text-decoration: none; }
.action-bar__item .icon { width: 18px; height: 18px; }
.action-bar__item--cta { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
body { padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .action-bar { display: none; } body { padding-bottom: 0; } }

.sheet { width: 100%; max-width: 560px; margin: auto auto 0; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px 20px 0 0; background: #fff; color: var(--ink); }
@media (min-width: 600px) { .sheet { margin: auto; border-radius: 20px; padding: 24px; } }
.sheet::backdrop { background: rgba(5, 30, 60, .55); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sheet__title { font-size: 20px; }
.sheet__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); font-size: 26px; line-height: 1; }
.sheet__list { display: grid; gap: 12px; }
.sheet__branch { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.sheet__branch:hover { border-color: var(--blue-600); }
.sheet__branch strong { color: var(--blue-600); }
.sheet__branch span { font-size: 14px; color: var(--ink-2); }

/* ---------- 16b. Chat Zalo (nút nổi, CHỈ máy tính ≥ 1024px) ---------- */
/* Màu xanh Zalo #0068FF CHỈ dùng cho thành phần này (nhận diện thương hiệu Zalo). */
.zalo-chat { display: none; }
@media (min-width: 1024px) {
  .zalo-chat { --zalo: #0068FF; --zalo-600: #0052CC; position: fixed; right: 24px; bottom: 24px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
  .zalo-chat__toggle { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; }
  .zalo-chat__label { padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: var(--shadow); border: 1px solid var(--line); }
  .zalo-chat__bubble { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--zalo); box-shadow: 0 8px 22px rgba(0, 104, 255, .38); transition: transform .2s, background-color .2s; }
  .zalo-chat__bubble::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--zalo); opacity: .45; animation: zalo-pulse 2.4s ease-out infinite; z-index: -1; }
  .zalo-chat__bubble svg { width: 36px; height: 36px; }
  .zalo-chat__toggle:hover .zalo-chat__bubble { transform: scale(1.06); background: var(--zalo-600); }
  .zalo-chat__toggle[aria-expanded="true"] .zalo-chat__label { display: none; }
  .zalo-chat__toggle[aria-expanded="true"] .zalo-chat__bubble::before { animation: none; opacity: 0; }

  .zalo-chat__panel { width: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 16px 40px rgba(10, 50, 100, .18); transform-origin: bottom right; animation: zalo-in .2s ease-out; }
  .zalo-chat__panel:focus { outline: none; }
  .zalo-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--zalo); color: #fff; }
  .zalo-chat__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
  .zalo-chat__avatar img { width: 32px; height: 32px; }
  .zalo-chat__title { font-weight: 700; font-size: 16px; line-height: 1.3; }
  .zalo-chat__sub { font-size: 13px; opacity: .9; }
  .zalo-chat__close { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1; }
  .zalo-chat__close:hover { background: rgba(255, 255, 255, .28); }
  .zalo-chat__close:focus-visible { outline-color: #fff; }
  .zalo-chat__body { display: grid; gap: 12px; padding: 16px; }
  .zalo-chat__body .status { color: var(--ink-2); font-size: 13px; }
  .zalo-chat__text { color: var(--ink); font-size: 15px; }
  .zalo-chat__open { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 999px; background: var(--zalo); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .2s; }
  .zalo-chat__open:hover { background: var(--zalo-600); color: #fff; }
  .zalo-chat__call { text-align: center; font-size: 14px; color: var(--ink-3); }
  .zalo-chat__call a { font-weight: 700; }
}
@keyframes zalo-pulse { 0% { transform: scale(1); opacity: .45; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes zalo-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .zalo-chat__bubble::before, .zalo-chat__panel { animation: none !important; }
}

/* ---------- 16c. Trang dịch vụ (public/dich-vu/*.html) ---------- */
.site-nav__list a[aria-current="page"] { color: var(--blue-600); font-weight: 700; border-bottom-color: var(--blue-600); }
@media (max-width: 1023px) { .site-nav__list a[aria-current="page"] { border-bottom-color: var(--line); } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--ink-3); }
.breadcrumb a { color: var(--blue-600); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-2); }
.svc-hero { padding-block: 16px 8px; }
.svc-hero__grid {
  display: grid; gap: 24px; align-items: center; margin-top: 16px; padding: 24px 22px; border-radius: 22px;
  background: linear-gradient(120deg, #E4EFFA 0%, #EDF4FC 60%, #DCEAF8 100%);
}
.svc-hero h1 { font-size: 32px; line-height: 1.15; letter-spacing: -.01em; }
/* Phần khu vực trong H1 (SEO địa phương, thêm 2026-11-10): dòng nhỏ dưới tên dịch vụ */
.svc-hero__area { display: block; margin-top: 6px; color: var(--blue-600); font-size: .5em; font-weight: 600; letter-spacing: 0; }
.svc-hero__lead { margin-top: 12px; max-width: 36em; }
.svc-hero .chips { margin-top: 18px; }
.svc-hero .chips li { background: #fff; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.svc-hero .status { margin-top: 14px; color: var(--ink-3); }
.svc-hero__media { order: -1; display: grid; place-items: center; }
.svc-hero__icon { width: 128px; height: 128px; border-radius: 22%; background: #fff; box-shadow: 0 12px 32px rgba(10, 50, 100, .14); }
.svc-hero__list { display: grid; gap: 8px 20px; margin-top: 14px; max-width: 36em; }
.svc-hero__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.svc-hero__list .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--blue-600); }
.svc-hero__note { margin-top: 16px; }
.svc-signs { display: grid; gap: 12px; }
.svc-signs li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: var(--ink); font-weight: 500; }
.svc-signs .icon { width: 24px; height: 24px; color: var(--blue-600); }
/* Quy trình + Giá + Hỏi đáp chung 1 lưới (bố trí lại 2026-11-10).
   Điện thoại: Quy trình, Giá, Hỏi đáp (theo thứ tự HTML). Máy tính: cột trái Quy trình + Hỏi đáp, cột phải Giá. */
.svc-split { display: grid; gap: 40px; }
.svc-split .section-head { margin-bottom: 16px; }
.svc-split .steps { gap: 0; margin: 0; padding: 4px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.svc-split .steps li { padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.svc-split .steps li:last-child { border-bottom: 0; }
.svc-split .price-card { margin-inline: 0; }
.svc-more { margin-top: 16px; }
.svc-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.svc-more a:hover { text-decoration: underline; }
/* Trang tẩy trắng: đoạn giải thích dưới 4 khung công nghệ (thêm 2026-11-10) */
.svc-explain { margin-top: 24px; padding: 22px 22px 24px; border-left: 4px solid var(--blue-600); border-radius: var(--radius-sm); background: var(--brand-50); }
.svc-explain h3 { font-size: 18px; }
.svc-explain p { margin-top: 10px; color: var(--ink-2); line-height: 1.65; }
.svc-explain strong { color: var(--ink); }
@media (min-width: 1024px) { .svc-explain { margin-top: 32px; padding: 28px 36px 30px; } }
/* Ảnh thực tế ở trang dịch vụ: 4 ảnh/trang. Điện thoại 2 cột, máy tính 4 cột. */
.ba-grid--svc { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ba-grid--svc figure { height: 100%; transition: transform .25s, box-shadow .25s; }
.ba-grid--svc figure:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(10, 50, 100, .14); }
.ba-grid--svc figcaption { padding: 10px 12px; font-size: 14px; line-height: 1.4; }
@media (min-width: 1024px) {
  .ba-grid--svc { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .ba-grid--svc figcaption { padding: 12px 16px; font-size: 15px; }
}
.svc-cta { display: grid; gap: 20px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.svc-cta p { margin-top: 8px; }
/* Địa chỉ và giờ làm việc: mỗi dòng 1 icon + thông tin */
.svc-cta__info { display: grid; gap: 10px; margin-top: 12px; }
ul.svc-cta__info li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); line-height: 1.5; }
.svc-cta__info span { text-wrap: balance; }
.svc-cta__info .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--blue-600); }
.svc-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 600px) {
  .svc-signs { grid-template-columns: repeat(2, 1fr); }
  .svc-hero__list { grid-template-columns: repeat(2, auto); justify-content: start; }
  .services--others { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .services--others { grid-template-columns: repeat(6, 1fr); }
  .svc-hero { padding-top: 24px; }
  .svc-hero__grid { grid-template-columns: 1fr auto; gap: 48px; padding: 40px 48px; }
  .svc-hero h1 { font-size: 48px; }
  .svc-hero__lead { font-size: 17px; }
  .svc-hero__media { order: 0; padding-right: 24px; }
  .svc-hero__icon { width: 220px; height: 220px; }
  .svc-signs { grid-template-columns: repeat(3, 1fr); }
  .svc-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "steps price" "faq price"; grid-template-rows: auto 1fr; gap: 48px; align-items: start; }
  .svc-split__steps { grid-area: steps; }
  .svc-split__price { grid-area: price; }
  .svc-split__faq { grid-area: faq; }
  .svc-split .steps { padding: 4px 24px; }
  .svc-cta { grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 28px 36px; }
}

/* ---------- 16d. Menu con "Dịch vụ" ở header (thêm 2026-11-04) ---------- */
/* Máy tính: rê chuột / Tab vào là mở (hiện xuống + mờ dần, các mục hiện lần lượt).
   Điện thoại: nằm trong menu hamburger, bấm mũi tên để xổ xuống (accordion). */
.has-sub { position: relative; }
.sub-toggle { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.has-sub.is-open .sub-toggle svg, .has-sub:is(:hover, :focus-within):not(.is-esc) .sub-toggle svg { transform: rotate(180deg); }
.has-sub.is-open .sub-toggle { color: var(--blue-600); }
.sub-menu { margin: 0; padding: 0; list-style: none; }
.site-nav .sub-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; white-space: nowrap; transition: background-color .2s, color .2s, transform .2s; }
.site-nav .sub-menu a:hover { background: var(--brand-50); color: var(--blue-600); }
.site-nav .sub-menu a[aria-current="page"] { background: var(--blue-100); border: 0; color: var(--blue-600); font-weight: 700; }
.sub-menu img { display: block; flex: none; width: 40px; height: 40px; border-radius: 22%; transition: transform .25s ease; }
.sub-menu a:hover img { transform: scale(1.1) rotate(-4deg); }
.sub-menu > li { opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
.has-sub.is-open .sub-menu > li, .has-sub:is(:hover, :focus-within):not(.is-esc) .sub-menu > li { opacity: 1; transform: none; }
.sub-menu > li:nth-child(1) { transition-delay: .04s; }
.sub-menu > li:nth-child(2) { transition-delay: .08s; }
.sub-menu > li:nth-child(3) { transition-delay: .12s; }
.sub-menu > li:nth-child(4) { transition-delay: .16s; }
.sub-menu > li:nth-child(5) { transition-delay: .20s; }
.sub-menu > li:nth-child(6) { transition-delay: .24s; }

@media (max-width: 1023px) {
  .has-sub { display: grid; grid-template-columns: 1fr 48px; align-items: center; border-bottom: 1px solid var(--line); }
  .has-sub > a { border-bottom: 0 !important; }
  .sub-toggle { width: 44px; height: 44px; justify-self: end; }
  .sub-toggle svg { width: 20px; height: 20px; }
  .has-sub:is(:hover, :focus-within):not(.is-esc):not(.is-open) .sub-toggle svg { transform: none; }
  .has-sub:is(:hover, :focus-within):not(.is-esc):not(.is-open) .sub-menu > li { opacity: 0; transform: translateY(6px); }
  .sub-menu {
    grid-column: 1 / -1; overflow: hidden; max-height: 0; visibility: hidden; opacity: 0;
    transition: max-height .3s ease, opacity .22s ease, visibility 0s linear .3s;
  }
  .has-sub.is-open .sub-menu { max-height: 480px; visibility: visible; opacity: 1; transition-delay: 0s; padding-bottom: 8px; }
  .site-nav .sub-menu a { padding: 10px 4px 10px 8px; font-size: 15px; }
}
@media (min-width: 1024px) {
  .has-sub { display: flex; align-items: center; }
  .has-sub > a { padding-right: 0; }
  .has-sub::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 26px; } /* cầu nối để rê chuột xuống menu không bị tắt */
  .sub-menu {
    position: absolute; left: 50%; top: calc(100% + 22px); z-index: 5; width: 290px; padding: 8px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 44px rgba(10, 50, 100, .18);
    visibility: hidden; opacity: 0; transform: translate(-50%, 10px) scale(.97); transform-origin: top center;
    transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .24s;
  }
  .sub-menu::before { content: ""; position: absolute; left: 50%; top: -7px; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); border-left: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 3px 0 0 0; background: #fff; }
  .has-sub.is-open .sub-menu, .has-sub:is(:hover, :focus-within):not(.is-esc) .sub-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
  .has-sub:is(:hover, :focus-within):not(.is-esc) > a { color: var(--blue-600); }
}

/* ---------- 17. Hiện dần khi cuộn + giảm chuyển động ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: inline; } }
