:root {
  --brand: #0e7c86;
  --brand-600: #0b6870;
  --brand-50: #e8f6f7;
  --accent: #ff7a59;
  --ink: #0f2a33;
  --ink-2: #48606a;
  --muted: #7a8f97;
  --line: #e3eced;
  --bg: #ffffff;
  --bg-tint: #f4f9f9;
  --gold: #c8931a;
  --diamond: #3b6fd8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 42, 51, .08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 51, .16);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; color: var(--muted); margin-top: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 89, .3); }
.btn--primary:hover { background: #f2633f; }
.btn--ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn--ghost:hover { background: var(--brand-50); }
.btn--white { background: #fff; color: var(--brand); }
.btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: 14px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--sm { padding: 8px 14px; font-size: .88rem; }
.link-btn { background: none; border: 0; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* Topbar & header */
.topbar { background: var(--ink); color: #cfe0e3; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .sep { opacity: .4; margin: 0 8px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.logo__mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #22b3a6); display: grid; place-items: center; }
.logo__mark svg { width: 22px; height: 22px; fill: #fff; }
.logo__text { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.logo__text b { color: var(--brand); font-weight: 800; }
.logo--light { color: #fff; }
.logo--light .logo__text b { color: #7fe0d6; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #d6f1ef 0%, transparent 60%), radial-gradient(800px 400px at -10% 110%, #fff0ea 0%, transparent 60%), var(--bg); padding: 64px 0 40px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hl { color: var(--brand); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .28em; background: rgba(255,122,89,.25); z-index: -1; border-radius: 4px; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 580px; }

.search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; background: #fff; padding: 8px; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin-top: 28px; }
.search__field { display: flex; flex-direction: column; padding: 6px 14px; border-radius: 14px; }
.search__field + .search__field { border-left: 1px solid var(--line); border-radius: 0; }
.search__field span { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.search__field select { border: 0; background: transparent; font-weight: 600; padding: 2px 0; outline: none; cursor: pointer; }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.hero__tags button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--ink-2); font-weight: 500; }
.hero__tags button:hover { border-color: var(--brand); color: var(--brand); }

.hero__visual { position: relative; width: min(420px, 100%); justify-self: center; padding: 44px 0 40px; }
.match-card { width: min(420px, 100%); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid var(--line); }
.match-card__head { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.match-card__req { background: var(--bg-tint); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.match-card__req small { color: var(--muted); font-weight: 600; }
.match-card__req p { margin: 2px 0 0; font-weight: 600; font-size: .92rem; }
.match-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.match-card__list li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.match-card__list b { font-size: .95rem; }
.match-card__list span { grid-row: 2; font-size: .82rem; color: var(--muted); }
.match-card__list em { grid-row: 1 / 3; grid-column: 2; align-self: center; }
.match-card__foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--ink-2); }
.match-card__foot b { color: var(--accent); letter-spacing: .04em; }
.float-badge { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; flex-direction: column; border: 1px solid var(--line); animation: float 5s ease-in-out infinite; }
.float-badge b { color: var(--brand); font-size: 1.2rem; }
.float-badge span { font-size: .78rem; color: var(--ink-2); }
.float-badge--a { top: -6px; right: -24px; }
.float-badge--b { bottom: -6px; left: -24px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--brand); }
.stat span { color: var(--ink-2); font-size: .92rem; }

/* Tier badges */
.tier { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tier--kimcuong { background: #e9f0ff; color: var(--diamond); }
.tier--kimcuong::before { content: "◆"; }
.tier--vang { background: #fff5dc; color: var(--gold); }
.tier--vang::before { content: "★"; }
.tier--xacthuc { background: #e7f7ee; color: #15803d; }
.tier--xacthuc::before { content: "✓"; }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__head p { color: var(--ink-2); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 24px; margin-bottom: 24px; }
.section__head--row h2 { margin: 0; }
.section__head .note { max-width: 420px; font-size: .9rem; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; gap: 6px; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin: 0; font-size: 1.05rem; }
.service p { color: var(--ink-2); font-size: .9rem; margin: 0; flex: 1; }
.service__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: .85rem; }
.service__meta span { color: var(--muted); }
.service__meta b { color: var(--ink); }
.service__count { color: var(--brand); font-weight: 700; font-size: .82rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; }
.step__no { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.flow { margin-top: 34px; display: flex; align-items: stretch; justify-content: center; gap: 10px; flex-wrap: wrap; }
.flow__node { background: #fff; border: 1px dashed #b6d6d9; border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; min-width: 190px; }
.flow__node b { font-size: .95rem; }
.flow__node span { font-size: .8rem; color: var(--muted); }
.flow__node--brand { background: var(--brand); border: 0; color: #fff; }
.flow__node--brand span { color: #c9ecec; }
.flow__arrow { align-self: center; color: var(--brand); font-weight: 800; font-size: 1.3rem; }

/* Map search */
.hero__tags .hero__near { border-color: var(--accent); color: #c2462a; font-weight: 600; }
.mapbox { display: grid; grid-template-columns: 340px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: 620px; }
.mapbox__panel { padding: 18px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); min-height: 0; }
.mapbox__map { min-height: 0; height: 100%; z-index: 1; }
.mapbox__map.is-drawing { cursor: crosshair; touch-action: none; }
.mapbox__map.is-drawing .leaflet-interactive { cursor: crosshair; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-tint); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 9px 6px; font-weight: 700; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(15,42,51,.1); }
.mapbox__ctl { display: grid; gap: 10px; }
.mapbox__row { display: flex; gap: 8px; }
.mapbox__row .btn { flex: 1; padding-inline: 12px; }
.mapbox__hint { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.mapbox__msg { font-size: .82rem; color: #b5452a; margin: 0; }
.mapbox__msg:empty { display: none; }
.range { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.range b { color: var(--accent); }
.range input { width: 100%; accent-color: var(--accent); }
.range__scale { display: flex; justify-content: space-between; color: var(--muted); font-weight: 500; }
.mapbox__field { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.mapbox__field select { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #fff; }
.mapbox__legend { display: flex; gap: 12px; font-size: .78rem; color: var(--ink-2); flex-wrap: wrap; }
.mapbox__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.mapbox__count { margin: 0; font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.mapbox__count b { color: var(--ink); }
.mapbox__results { list-style: none; padding: 0; margin: 0; overflow: auto; flex: 1; min-height: 0; display: grid; align-content: start; gap: 6px; }
.map-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.map-item:hover { border-color: var(--brand); background: var(--bg-tint); }
.map-item__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.map-item__body { flex: 1; min-width: 0; display: grid; }
.map-item__body b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-item__body small { color: var(--muted); font-size: .78rem; }
.map-item__dist { font-weight: 800; color: var(--accent); font-size: .85rem; white-space: nowrap; }
.map-pop { display: grid; gap: 3px; font-family: var(--font); }
.map-pop b { font-size: .95rem; }
.map-pop span { color: var(--ink-2); font-size: .82rem; }
.map-pop .map-pop__svc { color: var(--brand); font-weight: 600; }
.map-pop .btn { margin-top: 8px; color: #fff; }
.map-fallback { padding: 40px; text-align: center; color: var(--muted); }
@media (max-width: 960px) {
  .mapbox { grid-template-columns: 1fr; height: auto; }
  .mapbox__panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .mapbox__map { height: 440px; order: -1; }
  .mapbox__results { max-height: 300px; }
}

/* Region tabs & provinces */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.tab { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.provinces { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.province { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; }
.province:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.province b { display: block; font-size: .98rem; }
.province small { color: var(--muted); font-size: .8rem; }
.province__count { min-width: 30px; height: 30px; border-radius: 8px; background: var(--brand-50); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.province--empty .province__count { background: #f1f4f5; color: var(--muted); }

/* Filters */
.filters { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 10px; background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 80px; z-index: 5; }
.filters select, .filters input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; outline: none; }
.filters select:focus, .filters input:focus { border-color: var(--brand); }
.filters__search { position: relative; }
.filters__search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; }
.filters__search input { padding-left: 38px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 20px 2px 14px; color: var(--ink-2); font-size: .95rem; }
.results-bar b { color: var(--ink); }

/* Clinic cards */
.clinics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clinic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: box-shadow .2s, transform .2s; }
.clinic:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.clinic--kimcuong { border-color: #c9d8fb; box-shadow: inset 0 3px 0 var(--diamond); }
.clinic--vang { box-shadow: inset 0 3px 0 var(--gold); }
.clinic__top { display: flex; gap: 14px; align-items: flex-start; }
.clinic__avatar { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.05rem; }
.clinic__title { flex: 1; min-width: 0; }
.clinic__title h3 { margin: 0 0 2px; font-size: 1.05rem; }
.clinic__loc { font-size: .85rem; color: var(--muted); }
.clinic__rank { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 800; color: var(--accent); background: #fff4ef; border-radius: 6px; padding: 1px 8px; }
.clinic__rating { display: flex; align-items: center; gap: 8px; font-size: .88rem; flex-wrap: wrap; }
.stars { color: #f5a524; letter-spacing: 1px; }
.clinic__rating b { color: var(--ink); }
.clinic__rating span { color: var(--muted); }
.clinic__services { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); font-weight: 600; border: 1px solid var(--line); }
.chip--on { background: var(--brand-50); color: var(--brand); border-color: #bfe3e5; }
.clinic__facts { display: flex; gap: 16px; font-size: .84rem; color: var(--ink-2); }
.clinic__facts b { color: var(--ink); }
.clinic__offer { font-size: .85rem; background: #fff4ef; color: #b5452a; border-radius: 10px; padding: 8px 12px; font-weight: 600; }
.clinic__offer::before { content: "🎁 "; }
.clinic__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.clinic__actions .btn { flex: 1; }

.empty { text-align: center; background: #fff; border: 1px dashed #b6d6d9; border-radius: var(--radius); padding: 40px 20px; }
.empty p { color: var(--ink-2); }
#loadMore { margin-top: 28px; }

/* Partner tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: #fff; }
.tier-card h3 { margin: 14px 0 4px; font-size: 1.3rem; }
.tier-card__price { color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.tier-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier-card li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: .94rem; }
.tier-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.tier-card--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-8px); }

.criteria { margin-top: 48px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; }
.criteria p { color: #b8cdd2; }
.criteria__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.criteria__list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; font-size: .9rem; color: #cfe0e3; }
.criteria__list b { display: block; color: #7fe0d6; margin-bottom: 4px; font-size: 1rem; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.review blockquote { margin: 0; color: var(--ink-2); }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review figcaption b { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; background: #fff; }
.faq details[open] { border-color: #bfe3e5; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--brand), #14a39a); color: #fff; padding: 56px 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #d8f3f1; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer { background: #0b1f26; color: #9fb6bc; padding: 56px 0 24px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #cfe0e3; }
.footer .logo { margin-bottom: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }

/* Floating buttons */
.fab { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 40; }
.fab__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; box-shadow: var(--shadow-lg); text-decoration: none !important; }
.fab__btn--zalo { background: #0068ff; }
.fab__btn--call { background: var(--accent); animation: pulse 2s infinite; }
.fab__btn svg { width: 24px; height: 24px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,89,.5); } 70% { box-shadow: 0 0 0 16px rgba(255,122,89,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,89,0); } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 31, 38, .55); backdrop-filter: blur(3px); }
.modal__dialog { position: relative; background: #fff; border-radius: 22px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px; box-shadow: var(--shadow-lg); animation: pop .2s ease-out; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-tint); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.modal h3 { font-size: 1.4rem; margin-bottom: 4px; padding-right: 30px; }
.modal form { display: grid; gap: 14px; margin-top: 18px; }
.modal label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.modal input, .modal select, .modal textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fff; outline: none; font-weight: 500; color: var(--ink); }
.modal input:focus, .modal select:focus, .modal textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.modal .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.modal .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: #dc2626; font-size: .88rem; margin: 0; min-height: 1em; }
.invalid { border-color: #dc2626 !important; }
.chips-field { border: 0; padding: 0; margin: 0; }
.chips-field legend { font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.chips-field div { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-field label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-weight: 500; }
.chips-field input { width: auto; accent-color: var(--brand); }

.success { text-align: center; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: #e7f7ee; color: #16a34a; font-size: 2rem; font-weight: 800; display: grid; place-items: center; margin: 6px auto 16px; }
.success p { color: var(--ink-2); }
.code-box { background: var(--bg-tint); border: 1.5px dashed var(--brand); border-radius: 14px; padding: 16px; margin: 18px 0; display: grid; gap: 4px; }
.code-box b { font-size: 1.6rem; letter-spacing: .08em; color: var(--brand); }
.code-box small { color: var(--muted); }

/* Responsive */
.nav a { white-space: nowrap; }
@media (max-width: 1100px) {
  .filters { grid-template-columns: 1fr 1fr 1fr; position: static; }
  .filters__search { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header__inner { gap: 12px; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .clinics, .reviews { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .tier-card--featured { transform: none; }
  .criteria { grid-template-columns: 1fr; padding: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .flow__arrow { transform: rotate(90deg); }
  .flow { flex-direction: column; align-items: center; }
  .flow__node { width: min(360px, 100%); }
}
@media (max-width: 620px) {
  .topbar__right { display: none; }
  .header__cta .btn { display: none; }
  .search { grid-template-columns: 1fr; }
  .search__field + .search__field { border-left: 0; border-top: 1px solid var(--line); }
  .services, .steps, .clinics, .reviews, .criteria__list, .grid-2 { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .float-badge { display: none; }
  .modal__dialog { padding: 24px 20px; }
}
