/* Nha Khoa Tâm An - design system
   Ink + teal + brass + cream. Serif for voice, grotesk for facts. */

:root {
  --ink: #0a2a2b;
  --ink-2: #12383a;
  --teal: #0e4a4e;
  --teal-600: #146165;
  --teal-400: #2f8585;
  --mint: #dce9e2;
  --mint-2: #edf4ef;
  --cream: #faf6ee;
  --cream-2: #f4ecdd;
  --sand: #e9dcc6;
  --line: #e4dac8;
  --line-ink: rgba(255, 255, 255, .14);
  --gold: #c3a05c;
  --gold-2: #a9863f;
  --coral: #c9503b;
  --white: #fffdf9;
  --muted: #5f6b66;
  --muted-2: #8a938d;

  --serif: "Lora", "Times New Roman", Georgia, serif;
  --sans: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-arch: 220px 220px 26px 26px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 43, .05), 0 8px 24px -18px rgba(10, 42, 43, .3);
  --shadow: 0 2px 4px rgba(10, 42, 43, .04), 0 24px 60px -34px rgba(10, 42, 43, .38);
  --shadow-lg: 0 40px 90px -50px rgba(10, 42, 43, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(18px, 4vw, 42px);
}

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

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

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

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal-400); outline-offset: 3px; border-radius: 4px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-mint { background: linear-gradient(180deg, var(--mint-2), var(--cream)); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink h2, .section-ink h3 { color: var(--cream); }
.section-ink .lead { color: rgba(250, 246, 238, .72); }

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

h1, .h1 { font-size: clamp(2.35rem, 3.9vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.85rem, 3.1vw, 2.9rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.lead { font-size: clamp(1rem, 1.25vw, 1.13rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head .lead { margin-top: 14px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }

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

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--teal); --btn-fg: #fff; }
.btn-primary:hover { --btn-bg: var(--teal-600); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn-gold:hover { --btn-bg: #d2b276; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(10, 42, 43, .18); }
.btn-ghost:hover { --btn-bg: rgba(10, 42, 43, .04); }
.btn-light { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--cream); border-color: rgba(250, 246, 238, .35); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-arrow svg { transition: transform .3s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--teal); border-bottom: 1px solid rgba(14, 74, 78, .25);
  padding-bottom: 2px; transition: gap .25s var(--ease), color .2s;
}
.link-arrow:hover { gap: 11px; color: var(--teal-600); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; }
.topbar { background: var(--ink); color: rgba(250, 246, 238, .78); font-size: 12.5px; letter-spacing: .01em; }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item .icon { color: var(--gold); }
.topbar-sep { width: 1px; height: 14px; background: rgba(250, 246, 238, .2); }
.topbar-call { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--cream); }
.topbar-call:hover { color: var(--gold); }

.nav-shell {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 238, .92);
  border-bottom: 1px solid rgba(228, 218, 200, .9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow .3s var(--ease), background .3s;
}
.site-header.is-stuck .nav-shell { box-shadow: 0 10px 30px -24px rgba(10, 42, 43, .5); }
.nav-in { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { color: var(--teal); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-text strong { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand-text small { font-size: 9.5px; letter-spacing: .26em; color: var(--muted-2); margin-top: 4px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--ink); opacity: .78;
  transition: opacity .2s, background .2s;
}
.main-nav a:hover { opacity: 1; background: rgba(10, 42, 43, .04); }
.main-nav a.is-active { opacity: 1; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 10px; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span:not(.sr-only) { width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px var(--gutter) 18px; border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 13px 4px; font-weight: 500; border-bottom: 1px solid rgba(228, 218, 200, .6); }
.mobile-nav .btn { margin-top: 12px; border-bottom: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(47, 133, 133, .13), transparent 62%),
    radial-gradient(700px 420px at 4% 92%, rgba(195, 160, 92, .14), transparent 65%);
}
.hero-in {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 68px); align-items: center;
  padding-block: clamp(40px, 6vw, 78px) clamp(30px, 4vw, 46px);
}
.hero-copy { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--teal-600);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge b {
  background: var(--gold); color: var(--ink); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--teal-600); }
.hero .lead { max-width: 46ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 13.5px; color: var(--muted); }
.hero-trust .rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sand); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-arch); overflow: hidden;
  aspect-ratio: 4 / 4.35; background: var(--mint);
  box-shadow: var(--shadow);
  border: 1px solid rgba(195, 160, 92, .28);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 42, 43, .22));
}
.hero-float {
  position: absolute; left: -22px; bottom: 34px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow); z-index: 2;
}
.hero-float .num { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--teal-600); }
.hero-float small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.hero-offer {
  position: absolute; right: -8px; top: 26px; z-index: 2;
  background: var(--coral); color: #fff; border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 18px 40px -22px rgba(201, 80, 59, .8); transform: rotate(2deg);
  font-size: 12px; line-height: 1.35;
}
.hero-offer b { display: block; font-size: 17px; font-family: var(--serif); }

/* quick entries */
.quick { position: relative; z-index: 3; margin-top: -6px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-card {
  display: flex; align-items: center; gap: 13px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.quick-card:hover { transform: translateY(-3px); border-color: rgba(195, 160, 92, .55); box-shadow: var(--shadow); }
.quick-ic { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--mint-2); color: var(--teal); }
.quick-card b { display: block; font-size: 14.5px; font-weight: 600; }
.quick-card small { color: var(--muted); font-size: 12.5px; }

/* ---------- stat strip ---------- */
.stats { border-block: 1px solid var(--line); background: var(--white); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1; color: var(--teal-600); }
.stat span { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); }

/* ---------- offers / priced cards ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 26px 24px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(195, 160, 92, .15));
}
.offer-badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--coral); background: rgba(201, 80, 59, .09);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.offer-card h3 { font-size: 22px; margin-bottom: 6px; }
.offer-note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; min-height: 44px; }
.offer-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.offer-price .now { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--teal-600); }
.offer-price .old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.offer-price .unit { font-size: 12px; color: var(--muted); }
.offer-card .btn { margin-top: 18px; }
.offer-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- service grid ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
  display: flex; gap: 16px; padding: 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.service-card:hover { transform: translateY(-2px); border-color: rgba(14, 74, 78, .3); background: #fff; }
.service-ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--cream-2); color: var(--teal); }
.service-card h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.service-card p { font-size: 13px; color: var(--muted); margin: 5px 0 10px; }
.service-price { font-size: 13px; font-weight: 600; color: var(--teal-600); }
.service-price small { font-weight: 400; color: var(--muted-2); font-size: 11.5px; }

/* ---------- conditions ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cond {
  padding: 24px; border-radius: var(--r); border: 1px solid var(--line-ink);
  background: rgba(255, 255, 255, .035);
  transition: background .3s, transform .3s var(--ease);
}
.cond:hover { background: rgba(255, 255, 255, .06); transform: translateY(-3px); }
.cond .num { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.cond h3 { font-size: 19px; margin: 12px 0 8px; }
.cond p { font-size: 13.5px; color: rgba(250, 246, 238, .66); margin-bottom: 16px; }
.cond a { font-size: 13px; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.cond a:hover { gap: 10px; }

/* ---------- doctors ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.doc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc-photo { aspect-ratio: 4 / 4.7; overflow: hidden; background: var(--mint); position: relative; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.035); }
.doc-body { padding: 18px 18px 20px; }
.doc-body strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.doc-role { font-size: 12.5px; color: var(--teal-600); margin-top: 3px; }
.doc-meta { font-size: 12.5px; color: var(--muted); margin-top: 9px; }
.doc-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }

/* ---------- proof / reviews ---------- */
.proof-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
.proof-side { position: sticky; top: 104px; }
.big-rating { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 8px; }
.big-rating b { font-family: var(--serif); font-size: clamp(46px, 6vw, 64px); line-height: .9; letter-spacing: -.03em; }
.big-rating small { font-size: 13px; color: var(--muted); padding-bottom: 7px; }
.review-list { display: grid; gap: 12px; }
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--teal-600);
  font-family: var(--serif); font-size: 15px; font-weight: 600;
}
.review-head strong { display: block; font-size: 13.5px; }
.review-head small { color: var(--muted-2); font-size: 11.5px; }
.review-card p { font-size: 14px; color: #3a4744; line-height: 1.68; }
.review-card .stars { margin-left: auto; }

.proof-quote {
  background: var(--ink); color: var(--cream); border-radius: var(--r-lg);
  padding: 28px; position: relative; overflow: hidden;
}
.proof-quote::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -70px;
  border-radius: 50%; border: 1px solid rgba(195, 160, 92, .35);
}
.proof-quote .q-mark { color: var(--gold); margin-bottom: 12px; }
.proof-quote p { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--cream); }
.proof-quote small { display: block; margin-top: 16px; font-size: 12px; color: rgba(250, 246, 238, .6); }

/* comparison strip */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.logo-chip b { color: var(--ink); font-weight: 700; }

/* ---------- price table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table thead th {
  text-align: left; font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 16px 20px; background: var(--cream-2); border-bottom: 1px solid var(--line);
}
.price-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14.5px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background .2s; }
.price-table tbody tr:hover { background: #fdfaf3; }
.price-table .svc strong { display: block; font-weight: 600; }
.price-table .svc small { color: var(--muted); font-size: 12.5px; }
.price-table .price { text-align: right; font-family: var(--serif); font-size: 18px; color: var(--teal-600); white-space: nowrap; }
.price-table .price small { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--muted-2); }
.price-table .act { width: 120px; text-align: right; }
.badge-soft { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600); background: var(--mint-2); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 11px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 3px rgba(47, 133, 133, .14);
}
.field .hint { font-size: 11.5px; color: var(--muted-2); }
.field .error { font-size: 12px; color: var(--coral); }
.span-2 { grid-column: 1 / -1; }
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 11.5px; color: var(--muted-2); margin-top: 12px; text-align: center; }
.alert { border-radius: 12px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px; }
.alert-error { background: rgba(201, 80, 59, .09); color: #8f2f20; border: 1px solid rgba(201, 80, 59, .22); }
.alert-ok { background: var(--mint-2); color: var(--teal-600); border: 1px solid rgba(47, 133, 133, .28); }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--teal); color: var(--cream); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 62px); }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px;
  border-radius: 50%; border: 1px solid rgba(250, 246, 238, .18);
}
.cta-band::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; border: 1px solid rgba(195, 160, 92, .35);
}
.cta-band h2 { max-width: 18ch; }
.cta-band p { color: rgba(250, 246, 238, .74); max-width: 46ch; margin-top: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; position: relative; z-index: 1; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding-block: clamp(34px, 5vw, 64px); }
.page-hero .lead { margin-top: 14px; }
.breadcrumb { display: flex; gap: 8px; font-size: 12px; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(250, 246, 238, .72); padding-top: clamp(46px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 42px; }
.site-footer h4 { font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--cream); margin: 10px 0 8px; }
.footer-brand p { font-size: 13.5px; max-width: 34ch; color: rgba(250, 246, 238, .62); }
.footer-brand .brand-mark { color: var(--gold); }
.footer-rating { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 13px; color: rgba(250, 246, 238, .7); }
.footer-rating b { color: var(--cream); }
.footer-list { display: grid; gap: 9px; font-size: 13.5px; }
.footer-list a:hover { color: var(--gold); }
.footer-hours li { display: flex; justify-content: space-between; gap: 10px; color: rgba(250, 246, 238, .62); }
.footer-hours span { color: rgba(250, 246, 238, .82); text-align: right; }
.site-footer .btn { margin-top: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  border-top: 1px solid var(--line-ink); padding-block: 18px 26px;
  font-size: 11.5px; color: rgba(250, 246, 238, .48);
}
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: var(--gold); }
.demo-note { margin-left: auto; font-size: 10.5px; letter-spacing: .02em; color: rgba(250, 246, 238, .34); }

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

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-frame { aspect-ratio: 4 / 3.4; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 62px; }
  .doc-grid {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; padding: 2px var(--gutter) 12px;
    margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none;
  }
  .doc-grid::-webkit-scrollbar { display: none; }
  .doc { flex: 0 0 76%; scroll-snap-align: start; }
  .doc-photo { aspect-ratio: 4 / 4.1; }
  .topbar-item:nth-child(3), .topbar-sep { display: none; }
  .topbar-in { min-height: 34px; gap: 10px; font-size: 11.5px; }
  .nav-in { min-height: 64px; }
  .brand-text strong { font-size: 18px; }
  .hero-in { padding-top: 28px; gap: 26px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-float { left: 8px; bottom: 12px; padding: 10px 13px; }
  .hero-offer { right: 6px; top: 12px; }
  .hero-frame { aspect-ratio: 4 / 4.1; border-radius: 160px 160px 20px 20px; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick-card { padding: 12px; gap: 9px; }
  .quick-ic { width: 36px; height: 36px; }
  .quick-card b { font-size: 12.5px; }
  .quick-card small { display: none; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px; }
  .offer-grid, .service-grid, .doc-grid, .cond-grid { grid-template-columns: 1fr; }
  .section-head--row { align-items: flex-start; }
  .price-table { display: block; overflow-x: auto; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .price-table td { padding: 0; border: 0; }
  .price-table .svc { grid-column: 1; }
  .price-table .price { grid-column: 2; text-align: right; font-size: 16px; }
  .price-table .act { grid-column: 1 / -1; width: auto; text-align: left; padding-top: 10px; }
  .price-table .act .btn { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 18px; }
  .demo-note { margin-left: 0; }

  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(250, 246, 238, .97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px -22px rgba(10, 42, 43, .6);
  }
  .sticky-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; font-size: 10.5px; font-weight: 600; color: var(--ink); }
  .sticky-item .icon { color: var(--teal); }
  .sticky-book { background: var(--teal); color: #fff; border-radius: 10px; }
  .sticky-book .icon { color: var(--gold); }
}

@media (max-width: 380px) {
  .brand-text small { display: none; }
  .hero-float .num { font-size: 22px; }
}

/* ---------- booking page shell ---------- */
.booking-aside {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 940px; margin: 18px auto 0;
}
@media (max-width: 720px) {
  .booking-aside { grid-template-columns: 1fr; }
}

/* ---------- lead form (one field) ---------- */
.lead-form {
  display: flex; gap: 8px; margin-top: 22px; max-width: 480px;
  position: relative; z-index: 1;
}
.lead-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(250, 246, 238, .28);
  background: rgba(255, 255, 255, .08); color: var(--cream);
  font-family: var(--sans); font-size: 15px;
}
.lead-form input::placeholder { color: rgba(250, 246, 238, .5); }
.lead-form input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .12); }
.lead-form-note { font-size: 13px; margin-top: 12px; color: var(--gold); min-height: 20px; }
.lead-form-note.is-error { color: #ffb4a4; }

/* ---------- campaign page ---------- */
.campaign-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 82% 0%, rgba(195, 160, 92, .22), transparent 62%),
    linear-gradient(160deg, #0a2a2b 0%, #0e4a4e 70%);
  color: var(--cream);
  padding-block: clamp(46px, 7vw, 86px);
}
.campaign-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(250, 246, 238, .08) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.campaign-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.campaign-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.campaign-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
.campaign-hero h1 em { font-style: italic; color: var(--gold); }
.campaign-hero .lead { color: rgba(250, 246, 238, .74); margin-top: 16px; }
.campaign-hero .hero-actions { margin-top: 24px; margin-bottom: 0; }
.campaign-facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 30px; font-size: 13px; color: rgba(250, 246, 238, .66); }
.campaign-facts b { font-family: var(--serif); font-size: 22px; color: var(--gold); margin-right: 6px; }
.campaign-art { position: relative; }
.campaign-frame { border-radius: 180px 180px 22px 22px; overflow: hidden; border: 1px solid rgba(195, 160, 92, .4); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.campaign-frame img { width: 100%; height: 100%; object-fit: cover; }
.campaign-seal {
  position: absolute; left: -16px; bottom: 24px; background: var(--cream); color: var(--ink);
  border-radius: 12px; padding: 10px 16px; font-size: 11.5px; letter-spacing: .04em;
  box-shadow: var(--shadow); text-align: center; line-height: 1.4;
}
.campaign-seal b { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: 0; color: var(--teal-600); }

.deal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.deal {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.deal:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.deal h3 { font-size: 18px; margin-bottom: 6px; }
.deal-top p { font-size: 12.5px; color: var(--muted); min-height: 52px; }
.deal-price { margin: 14px 0 16px; }
.deal-price .now { display: block; font-family: var(--serif); font-size: 25px; color: var(--teal-600); line-height: 1.1; }
.deal-price .old { font-size: 12px; color: var(--muted-2); text-decoration: line-through; }
.deal-price .unit { font-size: 11.5px; color: var(--muted); }
.deal .btn { margin-top: auto; min-height: 42px; font-size: 13px; padding: 0 14px; }

.reason-list { display: grid; gap: 18px; margin-top: 26px; max-width: 520px; }
.reason-list li { display: grid; gap: 4px; padding-left: 18px; border-left: 1px solid rgba(195, 160, 92, .4); }
.reason-list b { font-size: 15px; color: var(--cream); }
.reason-list span { font-size: 13.5px; color: rgba(250, 246, 238, .62); }

.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.countdown div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px; text-align: center; }
.countdown b { display: block; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--teal-600); }
.countdown span { font-size: 11px; color: var(--muted); }

details summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; font-family: var(--sans); font-size: 20px; line-height: 1; color: var(--teal);
  transition: transform .2s;
}
details[open] summary::after { content: "-"; }

@media (max-width: 1080px) {
  .campaign-in { grid-template-columns: 1fr; }
  .campaign-art { max-width: 460px; }
  .campaign-frame { aspect-ratio: 4 / 3.6; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .lead-form { flex-direction: column; }
  .lead-form input, .lead-form .btn { min-height: 50px; width: 100%; }
  .deal-grid { grid-template-columns: 1fr; }
  .campaign-frame { aspect-ratio: 4 / 3.4; border-radius: 120px 120px 18px 18px; }
  .campaign-seal { left: 8px; bottom: 8px; }
  .page-reviews .review-list { grid-template-columns: 1fr !important; }
  .page-reviews .page-hero .wrap { grid-template-columns: 1fr !important; }
  .countdown b { font-size: 22px; }
}
