:root {
  --bg: #ffffff;
  --alt: #f2f7f4;
  --ink: #11231b;
  --muted: #53645b;
  --line: #d9e5de;
  --brand: #0c4a36;
  --brand-2: #1f8a56;
  --mint: #e4f3e9;
  --wa: #128c4b;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-bottom: 72px;
}
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); letter-spacing: -.015em; margin-bottom: .8em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }

/* шапка */
.top { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; line-height: 1.15; }
.brand small { display: block; font-weight: 400; font-size: .78rem; opacity: .8; }
.drop { width: 22px; height: 28px; flex: none; background: #7fd6a4; border-radius: 60% 60% 60% 60% / 75% 75% 45% 45%; clip-path: polygon(50% 0, 100% 62%, 86% 92%, 50% 100%, 14% 92%, 0 62%); }
.top-right { display: flex; align-items: center; gap: 12px; }
.top-tel { color: inherit; text-decoration: none; font-weight: 700; white-space: nowrap; }
@media (max-width: 520px) { .top-tel { display: none; } }
.nav { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: inherit; text-decoration: none; white-space: nowrap; font-size: .93rem; padding: 6px 11px; border-radius: 8px; opacity: .88; }
.nav a:hover, .nav a[aria-current] { background: rgba(255,255,255,.16); opacity: 1; }

.crumbs { font-size: .86rem; color: var(--muted); padding-top: 14px; }
.crumbs a { color: var(--muted); }

/* первый экран */
.hero { background: linear-gradient(180deg, var(--mint), #fff); padding: 34px 0 30px; }
.hero-home { padding-top: 46px; }
.hero-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero-art .plan { width: 100%; height: auto; display: block; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand-2); margin-bottom: .6em; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 720px; }
.price { display: inline-block; margin: 6px 0 0; padding: 8px 14px; background: #fff; border: 1px solid #b7dcc5; border-radius: 10px; font-weight: 800; color: var(--brand); }
.note { color: var(--muted); font-size: .92rem; margin: 14px 0 0; }
.sub { color: var(--muted); margin-top: -.4em; }

/* кнопки */
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta.stack { flex-direction: column; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 20px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-main { background: var(--brand); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-tel { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-small { min-height: 38px; padding: 6px 14px; background: #7fd6a4; color: #06281c; font-size: .92rem; }
.btn:hover { filter: brightness(.94); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #f0a202; outline-offset: 2px; }

/* факты */
.facts { background: var(--brand); color: #fff; padding: 22px 0; }
.facts-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.facts b { display: block; font-size: 1.25rem; letter-spacing: -.01em; }
.facts span { opacity: .82; font-size: .93rem; }

/* секции */
.sec { padding: 46px 0; }
.alt { background: var(--alt); }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card.link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card.link:hover { border-color: var(--brand-2); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(12,74,54,.09); }
.more { margin-top: auto; padding-top: 14px; color: var(--brand-2); font-weight: 700; }
.why .card { border-top: 4px solid var(--brand-2); }
.all { margin: 18px 0 0; font-weight: 700; }

.season { display: grid; gap: 20px; align-items: center; background: var(--mint); border: 1px solid #b7dcc5; border-radius: var(--radius); padding: 26px; }
.season h2 { margin-bottom: .4em; }
.season p { margin: 0; color: var(--muted); }
.season-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .season { grid-template-columns: 1.6fr auto; } }

/* страница услуги */
.cols { display: grid; gap: 36px; padding-top: 34px; padding-bottom: 46px; }
@media (min-width: 960px) { .cols { grid-template-columns: minmax(0, 1fr) 330px; } .side { position: sticky; top: 120px; align-self: start; } }
.wrap.narrow > .main-col { padding: 26px 0 46px; }
.block { margin-bottom: 38px; }
.block p { max-width: 70ch; }
.block h3 { margin-top: 1.2em; }
.list { margin: 0 0 1em; padding: 0; list-style: none; }
.list li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--line); }
.list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2); }
.table-wrap { overflow-x: auto; margin-bottom: 1em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .96rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }
.callout { background: var(--mint); border: 1px solid #b7dcc5; border-radius: var(--radius); padding: 22px; }
.callout p { color: var(--muted); margin-bottom: 0; }
.callout .proof { margin-top: 16px; font-size: .9rem; }
.toc { background: var(--alt); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 30px; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc li { margin: .25em 0; }

.final { display: grid; gap: 18px; align-items: center; }
.final h2 { margin-bottom: .3em; }
.final p { margin: 0; color: var(--muted); }
.final .cta { margin-top: 0; }
@media (min-width: 900px) { .final { grid-template-columns: 1fr auto; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.steps li { counter-increment: s; border-top: 3px solid var(--brand-2); padding-top: 12px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--brand-2); font-weight: 800; font-size: .85rem; }
.steps strong { display: block; margin: 2px 0 4px; }
.steps span { color: var(--muted); font-size: .94rem; }

details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
details p { color: var(--muted); }

/* форма расчёта */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(12,74,54,.07); }
.quiz-bar { height: 6px; background: var(--alt); border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.quiz-bar span { display: block; height: 100%; background: var(--brand-2); transition: width .25s; }
.quiz-step { color: var(--muted); font-size: .88rem; margin-bottom: .3em; }
.quiz-q { font-size: 1.3rem; margin-bottom: .8em; }
.quiz-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.quiz-opt { font: inherit; font-weight: 600; text-align: left; padding: 14px 16px; min-height: 52px; background: var(--alt); color: var(--ink); border: 2px solid transparent; border-radius: 10px; cursor: pointer; }
.quiz-opt:hover { border-color: var(--brand-2); background: var(--mint); }
.quiz-back { font: inherit; background: none; border: 0; color: var(--muted); padding: 12px 0 0; cursor: pointer; }
.quiz-sum { list-style: none; padding: 0; margin: 0 0 18px; }
.quiz-sum li { padding: 6px 0; border-bottom: 1px solid var(--line); }

.contact-card { background: var(--mint); border-radius: var(--radius); padding: 24px; margin-bottom: 36px; }
.contact-card .big { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--brand); }

.foot { background: var(--ink); color: #c5d2cb; padding: 38px 0; font-size: .93rem; }
.foot strong { color: #fff; display: block; margin-bottom: 8px; }
.foot a { color: #c5d2cb; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.bar .btn { flex: 1; min-height: 48px; }
@media (min-width: 800px) { .bar { display: none; } body { padding-bottom: 0; } }
