:root {
  --ink: #10201f;
  --muted: #687977;
  --cream: #f6f0e6;
  --paper: #fffaf1;
  --gold: #cba35b;
  --gold-dark: #987235;
  --green: #143a37;
  --teal: #0d5855;
  --line: rgba(16, 32, 31, 0.12);
  --shadow: 0 24px 80px rgba(16, 32, 31, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-dark { background: radial-gradient(circle at 80% 10%, rgba(203, 163, 91, 0.28), transparent 34%), linear-gradient(135deg, #0b2524, #123d39 58%, #08201f); color: #fffaf1; }
.muted { background: #eee6d9; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.07em; margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 22px; }
h3 { font-size: 22px; line-height: 1.15; margin-bottom: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 250, 241, 0.88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--green), var(--gold)); }
.nav { display: flex; gap: 24px; color: #304744; font-size: 14px; font-weight: 700; }
.header-phone { padding: 12px 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; }

.hero { min-height: 760px; display: flex; align-items: center; padding: 72px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr); gap: 56px; align-items: center; }
.hero-lead { max-width: 680px; color: rgba(255, 250, 241, 0.82); font-size: clamp(18px, 2vw, 24px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; font: inherit; font-weight: 850; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: linear-gradient(135deg, #e6c479, var(--gold)); color: #152523; box-shadow: 0 14px 34px rgba(203, 163, 91, 0.28); }
.ghost { border: 1px solid rgba(255, 250, 241, 0.34); color: #fffaf1; }
.ghost-dark { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 680px; }
.hero-proof span { padding: 18px; border: 1px solid rgba(255, 250, 241, 0.16); border-radius: 22px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 250, 241, 0.78); }
.hero-proof b { display: block; color: #fff; font-size: 28px; }
.hero-card { position: relative; min-height: 520px; display: grid; place-items: center; }
.glass-card { position: relative; z-index: 2; width: min(420px, 100%); padding: 34px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 34px; background: rgba(255, 255, 255, 0.11); backdrop-filter: blur(20px); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28); }
.price-card h2 { font-size: 54px; margin: 10px 0 6px; color: #fff; }
.price-card ul { padding-left: 20px; color: rgba(255, 250, 241, 0.84); }
.chip, .price-tile span { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: rgba(203, 163, 91, 0.18); color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; font-weight: 900; }
.smile-orbit span { position: absolute; border-radius: 999px; background: rgba(203, 163, 91, 0.12); border: 1px solid rgba(203, 163, 91, 0.2); }
.smile-orbit span:nth-child(1) { width: 420px; height: 420px; right: -70px; top: 20px; }
.smile-orbit span:nth-child(2) { width: 260px; height: 260px; right: 160px; bottom: 20px; }
.smile-orbit span:nth-child(3) { width: 120px; height: 120px; right: 30px; bottom: 40px; background: var(--gold); opacity: 0.55; }

.trust-strip { background: #10201f; color: #fffaf1; padding: 20px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-grid div { padding: 18px 0; }
.trust-grid b, .trust-grid span { display: block; }
.trust-grid span { color: rgba(255, 250, 241, 0.64); font-size: 14px; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.split > div > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.steps article, .doctor-grid article, .price-tile, .quiz, .contact-card, .address-list, .faq-list details { border: 1px solid var(--line); border-radius: 28px; background: rgba(255, 250, 241, 0.75); box-shadow: 0 12px 40px rgba(16, 32, 31, 0.06); }
.steps article { padding: 24px; }
.steps span { color: var(--gold-dark); font-weight: 900; }
.steps p, .price-tile p, .doctor-grid p, .case-grid p { color: var(--muted); margin-bottom: 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.light h2 { color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-tile { padding: 26px; min-height: 270px; }
.price-tile.featured { background: var(--green); color: #fffaf1; transform: translateY(-10px); }
.price-tile.featured p { color: rgba(255, 250, 241, 0.72); }
.price { color: var(--gold-dark) !important; font-size: 30px; font-weight: 900; }
.featured .price { color: var(--gold) !important; }
.note { color: var(--muted); margin: 22px 0 0; }
.quiz-section { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 56px; align-items: center; }
.quiz-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.quiz { padding: 28px; }
.progress { height: 8px; border-radius: 999px; background: #e1d8c9; overflow: hidden; margin-bottom: 28px; }
.progress span { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: width 0.25s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: grid; gap: 12px; }
.quiz label { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; }
.quiz input[type="radio"] { accent-color: var(--green); }
.text-input { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; font: inherit; }
.privacy { color: var(--muted); font-size: 13px; }
.quiz-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-grid article { padding: 12px; border-radius: 32px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.case-grid b, .case-grid p { padding: 0 12px; }
.case-grid b { display: block; margin-top: 16px; color: #fff; }
.case-grid p { color: rgba(255, 250, 241, 0.72); padding-bottom: 12px; }
.case-art { height: 250px; border-radius: 24px; background: linear-gradient(135deg, #ead8bd, #f9f4ea); position: relative; overflow: hidden; }
.case-art::before, .case-art::after { content: ""; position: absolute; border-radius: 50%; background: #fff; box-shadow: 36px 0 #fff, 72px 0 #fff, 108px 0 #fff; width: 28px; height: 46px; left: 72px; top: 92px; }
.case-art::after { top: 142px; transform: scaleY(0.72); opacity: 0.82; }
.case-art.two { background: linear-gradient(135deg, #cfdedb, #fbf4df); }
.case-art.three { background: linear-gradient(135deg, #e8c4b6, #fff6e7); }
.inline-link { display: inline-flex; margin-top: 24px; color: var(--gold); font-weight: 900; }
.doctor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.doctor-grid article { padding: 26px; }
.doctor-grid span { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 20px; background: linear-gradient(135deg, var(--green), var(--gold)); color: #fff; font-weight: 900; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 44px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 20px 22px; }
.faq-list summary { font-weight: 900; cursor: pointer; }
.faq-list p { color: var(--muted); margin: 12px 0 0; }
.contacts { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.contact-card, .address-list { padding: 32px; }
.contact-card p { color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials a { padding: 12px 16px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 850; }
.address-list { display: grid; gap: 10px; }
.address-list p { margin: 0; padding: 18px; border-radius: 18px; background: #fff; font-weight: 800; }
.footer { background: #081918; color: rgba(255, 250, 241, 0.72); padding: 28px 0; font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer p { margin: 0; max-width: 680px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .split, .quiz-section, .faq-grid, .contacts { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { min-height: 420px; }
  .trust-grid, .pricing-grid, .doctor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .site-header { padding: 12px 14px; }
  .brand small, .header-phone { display: none; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  h1 { font-size: 45px; }
  h2 { font-size: 34px; }
  .hero { padding: 52px 0 64px; }
  .hero-grid { gap: 28px; }
  .hero-actions, .quiz-controls { flex-direction: column; }
  .button { width: 100%; }
  .hero-proof, .steps, .trust-grid, .pricing-grid, .case-grid, .doctor-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 360px; }
  .glass-card { padding: 24px; border-radius: 28px; }
  .price-card h2 { font-size: 40px; }
  .smile-orbit span:nth-child(1) { width: 300px; height: 300px; right: -60px; top: 40px; }
  .smile-orbit span:nth-child(2) { width: 180px; height: 180px; right: 120px; bottom: 30px; }
  .case-art { height: 210px; }
  .footer-grid { flex-direction: column; }
}
