:root {
  --bg: #0c1220;
  --bg2: #111827;
  --card: #141c2e;
  --text: #f4f1ea;
  --muted: #a8b0c0;
  --accent: #e8a54b;
  --accent-ink: #1a1208;
  --line: #2a3548;
  --ok: #7dcea0;
  --radius: 14px;
  --max: 880px;
  --max-wide: 980px;
  --pad: clamp(16px, 4vw, 28px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, "Times New Roman", Times, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--pad); }
.ui { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12,18,32,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 0; max-width: var(--max-wide); margin: 0 auto;
  padding-left: var(--pad); padding-right: var(--pad);
}
.logo {
  font: 700 13px/1.2 system-ui, sans-serif;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.logo span { color: var(--accent); }
.top-nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.top-nav a {
  font: 600 12px/1 system-ui, sans-serif; color: var(--muted);
  text-decoration: none; letter-spacing: .04em; text-transform: uppercase;
}
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--text); }
.top-nav a[aria-current="page"] { color: var(--accent); }
.top-nav .btn-sm {
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 12px; border-radius: 8px;
}
.top-nav .btn-sm:hover { color: var(--accent-ink); filter: brightness(1.05); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font: 700 15px/1 system-ui, sans-serif;
  padding: 14px 20px; border-radius: 10px;
  border: 1px solid transparent;
  text-align: center;
}
.btn:hover { filter: brightness(1.05); }
.btn.ghost {
  background: transparent; color: var(--text);
  border-color: rgba(255,255,255,.28);
}
.btn.block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero {
  position: relative; min-height: min(72vh, 560px);
  display: flex; align-items: flex-end;
}
.hero.compact { min-height: min(48vh, 380px); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,18,32,.35) 0%, rgba(12,18,32,.55) 40%, rgba(12,18,32,.96) 100%),
    linear-gradient(90deg, rgba(12,18,32,.55), transparent 55%);
}
.hero-inner {
  position: relative; width: 100%; max-width: var(--max-wide);
  margin: 0 auto; padding: 56px var(--pad) 40px;
}
.kicker {
  font: 700 11px/1.2 system-ui, sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
h1 {
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 700; letter-spacing: -.02em;
  line-height: 1.12; margin-bottom: 12px;
  max-width: 16ch;
}
.lead {
  font-size: clamp(16px, 2.6vw, 19px);
  color: #e8e4dc; max-width: 36em; margin-bottom: 22px;
}

/* Sections */
section { padding: 40px 0; }
section + section { border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: -.01em; margin-bottom: 10px;
}
h3 { font-size: 18px; margin-bottom: 6px; }
p, li { font-size: clamp(15px, 2.4vw, 17px); color: #ddd8ce; }
.muted { color: var(--muted); }
.sub { color: var(--muted); margin-bottom: 20px; max-width: 40em; }

ul.check { list-style: none; margin-top: 8px; }
ul.check li {
  position: relative; padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
}
ul.check li:last-child { border-bottom: 0; }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(232,165,75,.18);
  box-shadow: inset 0 0 0 2px var(--accent);
}
ul.check li::after {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px; align-items: start; margin-top: 8px;
}
.about-photo {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--line);
}
.creds {
  list-style: none; margin-top: 14px;
  font-family: system-ui, sans-serif;
}
.creds li {
  font-size: 13px; color: var(--muted);
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.creds li strong { color: var(--text); font-weight: 600; }

/* Clinic visual */
.media {
  margin-top: 22px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.media-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px;
}
.media-pair .media { margin-top: 0; }

/* Offer cards (home) */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 18px;
}
.offer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.offer img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.offer-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.offer .label {
  font: 700 11px/1 system-ui, sans-serif;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.offer p { font-size: 14px; color: var(--muted); flex: 1; }
.offer h3 { font-size: 18px; margin: 0; }

/* Quote */
.quote-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 28px);
  margin-top: 8px;
}
.quote-block blockquote {
  font-size: clamp(18px, 3vw, 22px);
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
}
.quote-block cite {
  display: block; margin-top: 12px;
  font: 600 13px/1.3 system-ui, sans-serif;
  color: var(--muted); font-style: normal;
}

/* Tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 18px;
}
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.tier.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(232,165,75,.25);
}
.tier .label {
  font: 700 11px/1 system-ui, sans-serif;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.tier.featured .label { color: var(--accent); }
.tier .price {
  font-size: clamp(28px, 5vw, 36px); font-weight: 700; color: var(--accent);
  letter-spacing: -.02em; line-height: 1;
}
.tier .desc { font-size: 14px; color: var(--muted); flex: 1; }
.tier .note {
  font: 500 12px/1.35 system-ui, sans-serif; color: var(--muted);
}
.pay-note {
  margin-top: 16px;
  font: 400 13px/1.45 system-ui, sans-serif;
  color: var(--muted);
  background: var(--bg2);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.pay-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: var(--accent);
}

/* Booklet */
.booklet {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px; align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 12px;
}
.booklet img {
  width: 140px; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.booklet.large { grid-template-columns: 180px 1fr; }
.booklet.large img { width: 180px; }
.badge-soon {
  display: inline-block;
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(232,165,75,.15); color: var(--accent);
  border: 1px solid rgba(232,165,75,.35);
  padding: 5px 8px; border-radius: 999px; margin-bottom: 8px;
}

/* Contact */
.contact-box {
  background: linear-gradient(135deg, #1a2438, #141c2e);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 28px);
  margin-top: 8px;
}
.contact-box p { margin-bottom: 14px; }

/* Timeline (about) */
.timeline { list-style: none; margin-top: 18px; }
.timeline li {
  position: relative;
  padding: 0 0 28px 22px;
  border-left: 2px solid var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute; left: -6px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,165,75,.2);
}
.timeline .when {
  font: 700 11px/1 system-ui, sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin-bottom: 10px; }
.timeline .thumb {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
  max-width: 420px;
}
.timeline .thumb img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}

/* Feature grid for training */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 16px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font: 400 13px/1.5 system-ui, sans-serif;
  color: var(--muted);
}
footer strong { color: var(--text); font-weight: 600; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 12px 18px;
  margin: 12px 0 14px;
}
.footer-nav a {
  font: 600 12px/1 system-ui, sans-serif;
  color: var(--muted); text-decoration: none;
  letter-spacing: .04em; text-transform: uppercase;
}
.footer-nav a:hover { color: var(--accent); }
.placeholder-note {
  font: 400 12px/1.4 system-ui, sans-serif;
  color: var(--muted);
  opacity: .85;
}

/* 404 */
.err {
  padding: 80px 0 60px;
  text-align: center;
}
.err h1 { max-width: none; margin: 0 auto 12px; }

@media (max-width: 560px) {
  .tiers, .offers, .feature-grid, .media-pair { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 96px 1fr; gap: 14px; }
  .about-photo { width: 96px; height: 96px; }
  .booklet { grid-template-columns: 88px 1fr; gap: 14px; }
  .booklet img { width: 88px; }
  .booklet.large { grid-template-columns: 100px 1fr; }
  .booklet.large img { width: 100px; }
  .top-nav a:not(.btn-sm) { display: none; }
  .hero { min-height: 68vh; }
  .hero.compact { min-height: 46vh; }
  h1 { max-width: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}
@media (max-width: 360px) {
  :root { --pad: 12px; }
  .top-inner { padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 11px; letter-spacing: .06em; }
  .hero-inner { padding-top: 40px; padding-bottom: 28px; }
  h1 { font-size: 26px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: 120px; height: 120px; }
  .booklet, .booklet.large { grid-template-columns: 1fr; justify-items: start; }
}
@media (min-width: 561px) and (max-width: 840px) {
  .tiers, .offers { grid-template-columns: 1fr 1fr; }
  .tier:last-child, .offer:last-child { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
