/* Nha Khoa Aurora - bone, ink, cobalt. Grotesk for facts, italic serif for voice. */

:root {
  --bone: #ede8e0;
  --paper: #f8f5ef;
  --ink: #111111;
  --cobalt: #1f3bff;
  --cobalt-ink: #1226a8;
  --stone: #8c857b;
  --line: #d8d1c6;
  --black: #0d0d0d;
  --white: #f8f5ef;

  /* aliases kept for legacy inline styles and shared components */
  --cream: var(--bone);
  --cream-2: #e4ded4;
  --teal: var(--cobalt);
  --teal-400: var(--cobalt);
  --gold: var(--cobalt);
  --mint: #e3e6f7;
  --mint-2: #f0f0e9;
  --sand: #cfc7bb;
  --muted: #5f5a53;
  --muted-2: var(--stone);
  --ink-2: #1a1a1a;
  --coral: #a52a1c;

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --grotesk: "Space Grotesk", "Be Vietnam Pro", system-ui, sans-serif;
  --sans: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --r-sm: 0px;
  --r: 0px;
  --r-lg: 0px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bone);
  overflow-x: clip;
  -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(--grotesk);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1 em, h2 em, .serif-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}
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(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.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;
}
.icon { flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-cream { background: var(--bone); }
.section-white { background: var(--paper); }
.section-mint { background: var(--paper); }
.section-ink { background: var(--black); color: var(--paper); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink .lead { color: #a9a49d; }

/* ---------- micro labels, section heads ---------- */
.eyebrow, .micro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--grotesk);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--cobalt);
  flex: none;
}
.section-ink .eyebrow { color: #8f8a83; }

.section-head { max-width: 900px; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.section-head .lead {
  margin-top: 18px;
  max-width: 620px;
  font-size: clamp(15px, 1.4vw, 17.5px);
  color: var(--muted);
}
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.section-head--row > div { max-width: 760px; }

.lead { font-size: 17px; line-height: 1.62; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--grotesk);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn-accent, .btn-gold { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn-accent:hover, .btn-gold:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-outline-light { border-color: rgba(248, 245, 239, .5); color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 12.5px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-block + .btn-block { margin-top: 10px; }
.btn-arrow .icon { transition: transform .18s var(--ease); }
.btn-arrow:hover .icon { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  font-family: var(--grotesk);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .18s, border-color .18s;
}
.link-arrow:hover { color: var(--cobalt); border-color: var(--cobalt); }
.section-ink .link-arrow { border-color: rgba(248, 245, 239, .4); }
.section-ink .link-arrow:hover { color: #fff; border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bone);
  border-bottom: 1px solid var(--ink);
}
.site-header.is-stuck { background: rgba(237, 232, 224, .96); backdrop-filter: blur(8px); }

.head-meta { border-bottom: 1px solid var(--line); }
.site-header.is-stuck .head-meta { display: none; }
.head-meta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  font-family: var(--grotesk);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
}
.head-meta-in a:hover { color: var(--cobalt); }
.head-meta-mid { color: var(--ink); }

.head-main {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--grotesk);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
}
.wordmark-square {
  width: 11px;
  height: 11px;
  background: var(--cobalt);
  flex: none;
}
.wordmark-text { transform: translateY(1px); }
.wordmark-sub {
  font-family: var(--grotesk);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--stone);
  margin-left: 2px;
  transform: translateY(2px);
}

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.main-nav a {
  position: relative;
  font-family: var(--grotesk);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-block: 6px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--cobalt);
  transition: right .22s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--cobalt); }

.head-cta { display: flex; align-items: center; }
.arrow-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--cobalt);
  color: #fff;
  border: 1px solid var(--cobalt);
  transition: background .18s, transform .18s;
}
.arrow-btn:hover { background: var(--ink); border-color: var(--ink); transform: translate(2px, -2px); }
.arrow-btn .icon { stroke: currentColor; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0;
  place-items: center;
  gap: 5px;
  grid-auto-flow: row;
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-nav {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
  background: var(--bone);
  padding: 10px var(--gutter) 22px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--grotesk);
  font-size: 15px;
  letter-spacing: .02em;
}
.mobile-nav a.is-active { color: var(--cobalt); }
.mobile-nav .mobile-phone { color: var(--stone); font-size: 13px; letter-spacing: .12em; }
.mobile-nav .btn { margin-top: 16px; border-bottom: 0; }

/* ---------- hero ---------- */
.hero { padding-bottom: 0; background: var(--bone); }
.hero-top { padding-top: clamp(20px, 3vw, 34px); }
.hero-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--ink);
  flex-wrap: wrap;
}
.hero-tab {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 26px 12px 0;
  margin-right: 26px;
  font-family: var(--grotesk);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .18s, border-color .18s;
}
.hero-tab b { font-size: 10px; letter-spacing: .1em; color: var(--cobalt); }
.hero-tab:hover, .hero-tab.is-active { color: var(--ink); border-color: var(--ink); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-block: clamp(30px, 5vw, 60px) clamp(26px, 4vw, 44px);
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.045em;
  font-weight: 500;
}
.hero h1 em { font-size: 1.04em; line-height: .8; }
.hero h1 span { display: block; }
.hero-side {
  display: grid;
  gap: 20px;
  padding-bottom: 10px;
}
.hero-side p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-family: var(--grotesk);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero-facts b { color: var(--ink); font-weight: 600; }

.hero-figure {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.hero-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-caption {
  display: grid;
  grid-template-columns: 1.6fr 1fr .8fr;
  border-top: 1px solid var(--ink);
}
.hero-caption > div { padding: 14px 18px; border-right: 1px solid var(--line); }
.hero-caption > div:last-child { border-right: 0; }
.hero-caption .micro { display: block; margin-bottom: 7px; font-size: 9.5px; }
.hero-caption b { font-family: var(--grotesk); font-size: 14px; font-weight: 500; }
.hero-side-label {
  position: absolute;
  right: -1px;
  top: -1px;
  writing-mode: vertical-rl;
  padding: 14px 8px;
  background: var(--bone);
  border-left: 1px solid var(--ink);
  font-family: var(--grotesk);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
  border-top: 1px solid var(--black);
  padding-block: 13px;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee span {
  display: inline-block;
  padding-right: 26px;
  font-family: var(--grotesk);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.marquee i { color: var(--cobalt); font-style: normal; padding-right: 26px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { background: var(--black); color: var(--paper); padding-block: clamp(64px, 9vw, 130px); }
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.manifesto .eyebrow { color: #8f8a83; }
.manifesto-grid > .eyebrow::before { background: var(--cobalt); }
.manifesto-statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--paper);
  max-width: 1000px;
}
.manifesto-statement em { font-style: italic; color: var(--cobalt); }
.manifesto-facts {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(34px, 5vw, 62px);
  border-top: 1px solid #2a2a2a;
}
.manifesto-facts > div { padding: 22px 24px 0 0; border-right: 1px solid #2a2a2a; }
.manifesto-facts > div:last-child { border-right: 0; }
.manifesto-facts b {
  display: block;
  font-family: var(--grotesk);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--cobalt);
  margin-bottom: 12px;
}
.manifesto-facts strong {
  display: block;
  font-family: var(--grotesk);
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 6px;
}
.manifesto-facts span { font-size: 13.5px; line-height: 1.55; color: #8f8a83; }

/* ---------- services 01-09 ---------- */
.svc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.svc-list { border-top: 1px solid var(--ink); }
.svc-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.1fr) minmax(0, 1.1fr) auto 34px;
  align-items: center;
  gap: 16px;
  padding: 26px 6px 26px 0;
  border-bottom: 1px solid var(--line);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.svc-num {
  font-family: var(--grotesk);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--stone);
  transition: color .2s;
}
.svc-name { font-family: var(--grotesk); font-size: clamp(19px, 2.2vw, 27px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.svc-line { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.svc-price { font-family: var(--grotesk); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-price small { font-weight: 400; font-size: 11px; color: var(--stone); }
.svc-arrow { color: var(--stone); transition: color .2s, transform .25s var(--ease); }
.svc-row:hover, .svc-row:focus-visible { transform: translateX(8px); }
.svc-row:hover .svc-num, .svc-row:hover .svc-arrow { color: var(--cobalt); }
.svc-row:hover .svc-arrow { transform: translate(3px, -3px); }

.svc-preview {
  position: sticky;
  top: 130px;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--ink);
  overflow: hidden;
  background: var(--black);
}
.svc-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.svc-preview img:first-child { opacity: 1; }
.svc-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cobalt);
  mix-blend-mode: color;
  opacity: .22;
  pointer-events: none;
}
.svc-preview-tag {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  background: var(--bone);
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  padding: 9px 12px;
  font-family: var(--grotesk);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
/* CSS-only preview swap: no JS required */
.svc-block:has(.svc-row:nth-child(1):hover) .svc-preview img:nth-child(1),
.svc-block:has(.svc-row:nth-child(2):hover) .svc-preview img:nth-child(2),
.svc-block:has(.svc-row:nth-child(3):hover) .svc-preview img:nth-child(3),
.svc-block:has(.svc-row:nth-child(4):hover) .svc-preview img:nth-child(4),
.svc-block:has(.svc-row:nth-child(5):hover) .svc-preview img:nth-child(5),
.svc-block:has(.svc-row:nth-child(6):hover) .svc-preview img:nth-child(6),
.svc-block:has(.svc-row:nth-child(7):hover) .svc-preview img:nth-child(7),
.svc-block:has(.svc-row:nth-child(8):hover) .svc-preview img:nth-child(8),
.svc-block:has(.svc-row:nth-child(9):hover) .svc-preview img:nth-child(9) { opacity: 1; }

/* ---------- condition quick links ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.quick-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 22px 24px 0;
  border-right: 1px solid var(--line);
  transition: color .2s;
}
.quick-card:last-child { border-right: 0; }
.quick-card:hover { color: var(--cobalt); }
.quick-ic { color: var(--cobalt); display: grid; place-items: center; width: 30px; }
.quick-card b { display: block; font-family: var(--grotesk); font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; }
.quick-card small { display: block; margin-top: 4px; font-size: 12px; color: var(--stone); letter-spacing: .02em; }

.stats { border-block: 1px solid var(--ink); background: var(--paper); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px 26px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--grotesk); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ---------- doctors ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.doc-grid .doc:nth-child(2) { margin-top: clamp(30px, 7vw, 96px); }
.doc { border-top: 1px solid var(--ink); padding-top: 12px; }
.doc-photo { border: 1px solid var(--ink); overflow: hidden; }
.doc-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}
.doc:hover .doc-photo img { filter: grayscale(0); transform: scale(1.02); }
.doc-body { padding-top: 16px; }
.doc-num { font-family: var(--grotesk); font-size: 10.5px; letter-spacing: .14em; color: var(--stone); }
.doc-body strong { display: block; margin-top: 8px; font-family: var(--grotesk); font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -.01em; }
.doc-role { margin-top: 6px; font-family: var(--grotesk); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.doc-meta { margin-top: 10px; font-size: 13px; color: var(--stone); }
.doc-note { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 46ch; }

/* ---------- reviews rail ---------- */
.section-ink .review-rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.review-rail {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  scrollbar-width: thin;
  scrollbar-color: var(--cobalt) #1a1a1a;
}
.rail-card {
  flex: 0 0 clamp(300px, 34vw, 460px);
  scroll-snap-align: start;
  padding: 30px 30px 32px 0;
  margin-right: 30px;
  border-right: 1px solid #2a2a2a;
}
.rail-card:last-child { border-right: 0; }
.rail-quote {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.32;
  color: var(--paper);
  margin: 16px 0 22px;
}
.rail-meta { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #3a3a3a;
  font-family: var(--grotesk);
  font-size: 13px;
  color: var(--paper);
  flex: none;
}
.rail-meta b { display: block; font-family: var(--grotesk); font-size: 13px; font-weight: 500; color: var(--paper); }
.rail-meta small { display: block; font-size: 11.5px; color: #8f8a83; }
.rail-index { font-family: var(--grotesk); font-size: 10px; letter-spacing: .14em; color: #6f6a64; }
.rail-hint { margin-top: 14px; font-family: var(--grotesk); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6f6a64; }

.stars { display: inline-flex; gap: 2px; color: var(--cobalt); }
.stars .star { color: #3a3a3a; display: inline-flex; }
.stars .star.on { color: var(--cobalt); }
.section-ink .stars .star { color: #333; }
.section-ink .stars .star.on { color: var(--cobalt); }
.section-white .stars .star, .section-cream .stars .star { color: var(--line); }
.section-white .stars .star.on, .section-cream .stars .star.on { color: var(--cobalt); }

/* light review cards (danh-gia page) */
.review-list { display: grid; gap: 0; }
.review-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  box-shadow: none;
}
.review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.review-head .avatar { border-color: var(--ink); color: var(--ink); }
.review-head strong { display: block; font-family: var(--grotesk); font-size: 14px; font-weight: 500; }
.review-head small { display: block; font-size: 11.5px; color: var(--stone); }
.review-head .stars { margin-left: auto; }
.review-card > p { font-size: 15px; line-height: 1.62; color: var(--muted); max-width: 68ch; }

/* ---------- proof / cta band ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.proof-side { display: grid; gap: 0; }
.proof-quote {
  background: var(--black);
  color: var(--paper);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--black);
}
.proof-quote .q-mark { color: var(--cobalt); margin-bottom: 16px; }
.proof-quote p { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; }
.proof-quote small { display: block; margin-top: 18px; font-family: var(--grotesk); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8f8a83; }

.big-rating { display: flex; align-items: baseline; gap: 6px; }
.big-rating b { font-family: var(--grotesk); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.big-rating small { font-family: var(--grotesk); font-size: 12px; color: var(--stone); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(20px, 3vw, 30px);
}
.form-card h3 { font-size: 1.25rem; }

.cta-band {
  background: var(--black);
  color: var(--paper);
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--black);
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .98; letter-spacing: -.04em; max-width: 20ch; }
.cta-band p { margin-top: 16px; color: #a9a49d; max-width: 54ch; font-size: 15px; }
.cta-band .eyebrow { color: var(--cobalt); }
.cta-band .eyebrow::before { background: var(--cobalt); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.lead-form { display: flex; gap: 0; margin-top: 24px; max-width: 620px; flex-wrap: wrap; }
.lead-form input {
  flex: 1 1 260px;
  min-height: 54px;
  border: 1px solid rgba(248, 245, 239, .35);
  background: transparent;
  color: var(--paper);
  padding: 0 16px;
  font-family: var(--grotesk);
  font-size: 15px;
  border-radius: 0;
}
.lead-form input::placeholder { color: #8f8a83; }
.lead-form input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -1px; border-color: var(--cobalt); }
.lead-form .btn { min-height: 54px; }
.lead-form-note { margin-top: 12px; font-size: 13px; color: #cfc9c0; }
.lead-form-note.is-error { color: #ff9b8a; }

.countdown { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--ink); }
.countdown > div { padding: 14px 10px 14px 0; border-right: 1px solid var(--line); }
.countdown > div:last-child { border-right: 0; }
.countdown b { display: block; font-family: var(--grotesk); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 6px; font-family: var(--grotesk); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }

/* ---------- conditions ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.cond-grid > * { padding: 24px 24px 26px 0; border-right: 1px solid var(--line); }
.cond-grid > *:last-child { border-right: 0; }
.cond .num { display: block; font-family: var(--grotesk); font-size: 10.5px; letter-spacing: .14em; color: var(--cobalt); margin-bottom: 12px; }
.cond h3 { font-size: 18px; line-height: 1.15; letter-spacing: -.015em; margin-bottom: 10px; }
.cond p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
a.cond:hover h3 { color: var(--cobalt); }

/* ---------- page hero ---------- */
.page-hero { background: var(--bone); border-bottom: 1px solid var(--ink); padding-block: clamp(30px, 4vw, 46px) clamp(34px, 5vw, 58px); }
.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 44px);
  font-family: var(--grotesk);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.breadcrumb a:hover { color: var(--cobalt); }
.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: .92;
  letter-spacing: -.045em;
}
.page-hero .lead { margin-top: 20px; max-width: 620px; }
.page-hero .hero-actions { margin-top: 26px; }

/* ---------- price table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; text-align: left; }
.price-table thead th {
  padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--grotesk);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
.price-table tbody td {
  padding: 20px 14px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 13.5px;
  color: var(--muted);
}
.price-table tbody tr:hover td { color: var(--ink); }
.price-table .svc strong { display: block; font-family: var(--grotesk); font-size: 15.5px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.price-table .svc small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--stone); max-width: 46ch; }
.price-table td.price {
  font-family: var(--grotesk);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-table td.act { text-align: right; }
.price-table td.act .btn { white-space: nowrap; }

/* ---------- offers ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.offer-card {
  padding: 24px 26px 26px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.offer-card:last-child { border-right: 0; }
.offer-badge {
  display: inline-block;
  padding: 5px 9px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--grotesk);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.offer-card h3 { font-size: clamp(19px, 2vw, 24px); letter-spacing: -.02em; }
.offer-note { font-size: 13px; color: var(--muted); line-height: 1.55; }
.offer-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.offer-price .now { font-family: var(--grotesk); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.offer-price .old { font-size: 12.5px; color: var(--stone); text-decoration: line-through; }
.offer-price .unit { font-size: 11px; color: var(--stone); }
.offer-card .btn { margin-top: auto; }
.offer-foot { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--stone); }

.deal-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.deal {
  padding: 26px 30px 28px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.deal:nth-child(2n) { padding-right: 0; padding-left: 30px; border-right: 0; }
.deal-top h3 { margin: 12px 0 8px; font-size: clamp(21px, 2.4vw, 28px); }
.deal-top p { font-size: 13.5px; color: var(--muted); }
.deal-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.deal-price .now { font-family: var(--grotesk); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.deal-price .old { font-size: 13px; color: var(--stone); text-decoration: line-through; }
.deal-price .unit { font-size: 11.5px; color: var(--stone); }
.deal .btn { align-self: flex-start; }

.reason-list { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid #2a2a2a; }
.reason-list li { padding: 18px 0; border-bottom: 1px solid #2a2a2a; }
.reason-list b { display: block; font-family: var(--grotesk); font-size: 14.5px; font-weight: 500; color: var(--paper); }
.reason-list span { display: block; margin-top: 4px; font-size: 13px; color: #8f8a83; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.faq-grid details {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 20px 26px 20px 0;
}
.faq-grid details:nth-child(2n) { border-right: 0; padding-left: 26px; }
.faq-grid summary { cursor: pointer; font-family: var(--grotesk); font-size: 15px; font-weight: 500; }
.faq-grid p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--paper);
  padding-top: clamp(44px, 6vw, 72px);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 46px);
  padding-bottom: clamp(36px, 5vw, 58px);
}
.footer-brand .micro { color: #8f8a83; }
.footer-brand .micro::before { background: var(--cobalt); }
.footer-lede { margin-top: 16px; max-width: 40ch; font-size: 14.5px; line-height: 1.6; color: #a9a49d; }
.footer-phone {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--grotesk);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.02em;
  border-bottom: 1px solid #3a3a3a;
  padding-bottom: 4px;
}
.footer-phone:hover { color: var(--cobalt); border-color: var(--cobalt); }
.site-footer h4 {
  font-family: var(--grotesk);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8f8a83;
  margin-bottom: 16px;
}
.footer-list { display: grid; gap: 10px; font-size: 13.5px; color: #cfc9c0; }
.footer-list a:hover { color: var(--cobalt); }
.footer-hours li { display: flex; flex-direction: column; gap: 2px; }
.footer-hours span { font-size: 12px; color: #8f8a83; }
.footer-link-accent { display: inline-block; margin-top: 6px; font-family: var(--grotesk); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  border-top: 1px solid #2a2a2a;
  font-size: 11.5px;
  color: #8f8a83;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--cobalt); }
.demo-note { color: #6f6a64; }

.footer-wordmark {
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: clamp(96px, 26vw, 360px);
  line-height: .74;
  letter-spacing: -.06em;
  text-align: center;
  color: #171717;
  margin-bottom: -.12em;
  padding-top: 8px;
  user-select: none;
}

/* ---------- sticky mobile cta ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--bone);
  border-top: 1px solid var(--ink);
}
.sticky-item {
  flex: 1;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 9px 4px 10px;
  font-family: var(--grotesk);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}
.sticky-item:last-child { border-right: 0; }
.sticky-book { background: var(--cobalt); color: #fff; }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .wordmark-sub { display: none; }
  .svc-wrap { grid-template-columns: minmax(0, 1fr) minmax(220px, .4fr); }
}

@media (max-width: 960px) {
  .head-main { min-height: 68px; gap: 16px; }
  .main-nav, .head-cta { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { max-width: 520px; }
  .quick-grid, .stats-in, .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card:nth-child(2n), .stat:nth-child(2n), .cond-grid > *:nth-child(2n) { border-right: 0; }
  .quick-card:nth-child(-n+2), .stat:nth-child(-n+2), .cond-grid > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-wrap { grid-template-columns: 1fr; }
  .svc-preview { display: none; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-grid .doc:nth-child(2) { margin-top: 34px; }
  .proof-grid { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-facts { grid-column: 1; grid-template-columns: 1fr; }
  .manifesto-facts > div { border-right: 0; border-bottom: 1px solid #2a2a2a; padding: 18px 0; }
  .manifesto-facts > div:last-child { border-bottom: 0; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-card:nth-child(2n) { border-right: 0; }
  .offer-card { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .head-meta-mid { display: none; }
  .hero-tabs { gap: 0; }
  .hero-tab { padding-right: 16px; margin-right: 16px; font-size: 11px; }
  .hero-caption { grid-template-columns: 1fr 1fr; }
  .hero-caption > div:nth-child(2) { border-right: 0; }
  .hero-caption > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .svc-row { grid-template-columns: 38px minmax(0, 1fr) auto 26px; gap: 10px; }
  .svc-line { display: none; }
  .deal-grid { grid-template-columns: 1fr; }
  .deal, .deal:nth-child(2n) { padding: 24px 0; border-right: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid details, .faq-grid details:nth-child(2n) { padding: 18px 0; border-right: 0; }
  .price-table thead { display: none; }
  .price-table tbody td { padding: 14px 10px 14px 0; }
  .price-table--services th:nth-child(2), .price-table--services th:nth-child(3),
  .price-table--services td:nth-child(2), .price-table--services td:nth-child(3) { display: none; }
  .price-table--services td.price { font-size: 14px; }
  .footer-wordmark { font-size: clamp(84px, 30vw, 220px); }
  .sticky-cta { display: flex; }
  body { padding-bottom: 60px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.7rem, 12.5vw, 4rem); }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { border-right: 0; padding-right: 0; }
  .quick-grid, .stats-in, .cond-grid { grid-template-columns: 1fr; }
  .quick-card, .stat, .cond-grid > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .view-rail .rail-card { flex-basis: 84vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- material strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-block: 1px solid var(--ink);
}
.logo-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 20px 14px 0;
  margin-right: 20px;
  font-size: 12px;
  color: var(--stone);
  border-right: 1px solid var(--line);
}
.logo-chip:last-child { border-right: 0; }
.logo-chip b { font-family: var(--grotesk); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink); }

@media (max-width: 560px) {
  .logo-chip { padding: 10px 12px 10px 0; margin-right: 12px; }
}

/* ---------- responsive utility layouts ---------- */
.split-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  border-color: var(--ink);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
@media (max-width: 860px) {
  .split-card, .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
}
