:root {
  --c-bg: #f5f7f3;
  --c-surface: #ffffff;
  --c-text: #232a25;
  --c-muted: #66706a;
  --c-green: #6ea551;
  --c-green-2: #7dbb5c;
  --c-green-dark: #4b7a38;
  --c-green-deep: #33502c;
  --c-green-soft: #e8f1e1;
  --c-warm: #f3e3c3;
  --c-line: #e1e7df;
  --c-dark: #1f2a24;
  --shadow: 0 10px 30px rgba(31, 50, 34, .10);
  --shadow-lg: 0 24px 60px rgba(31, 50, 34, .18);
  --shadow-btn: 0 14px 30px rgba(110, 165, 81, .40);
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--c-text); background: var(--c-bg); }
a { color: var(--c-green-dark); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.small, .note { color: var(--c-muted); font-size: 14px; }

/* ================= Шапка ================= */
.site-header { position: absolute; top: 14px; left: 0; right: 0; z-index: 20; }
.head-pill { display: flex; align-items: center; gap: 24px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); }
.logo svg { width: 38px; height: 38px; flex: none; }
.lg-line { fill: none; stroke: var(--c-dark); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.lg-post { fill: var(--c-green); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 19px; font-weight: 800; letter-spacing: .14em; }
.logo-text small { font-size: 11px; color: var(--c-muted); letter-spacing: .02em; margin-top: 3px; }
.main-nav { margin-right: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; }
.nav-group { position: relative; }
.nav-group summary { cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600; padding: 6px 0; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .45; }
.nav-group ul { position: absolute; z-index: 30; left: -12px; top: calc(100% + 10px); min-width: 260px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.nav-group li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--c-text); font-size: 15px; }
.nav-group li a:hover { background: var(--c-green-soft); color: var(--c-green-dark); }
.head-contacts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.phone { font-weight: 800; font-size: 18px; color: var(--c-text); text-decoration: none; white-space: nowrap; }
.callback { font-size: 13px; color: var(--c-green-dark); text-decoration: underline dotted; text-underline-offset: 3px; }

/* ================= Первый экран ================= */
.hero { position: relative; }
.hero-photo { min-height: 680px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #2d3a33; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,28,22,.82) 0%, rgba(18,28,22,.55) 45%, rgba(18,28,22,.10) 80%), linear-gradient(0deg, rgba(18,28,22,.55) 0%, rgba(18,28,22,0) 40%); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 32px; }
.hero h1 { max-width: 720px; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.15; font-weight: 800; margin: 0 0 16px; letter-spacing: -.015em; }
.hero-photo .accent { color: var(--c-green-2); }
.hero .lead { max-width: 600px; font-size: 16.5px; }
.hero-photo .lead { color: rgba(255,255,255,.88); }
.hero-photo .lead p { margin: 0; }
.hero-plain { background: linear-gradient(180deg, #dcebe0 0%, var(--c-bg) 100%); }
.hero-plain .hero-inner { padding-bottom: 8px; }
.hero-plain .accent { color: var(--c-green); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; opacity: .85; }
.breadcrumbs a { color: inherit; }
.hero-plain .breadcrumbs { color: var(--c-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); }
.feature h3 { margin: 0 0 3px; font-size: 15.5px; color: #fff; }
.feature p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.78); line-height: 1.45; }
.ico { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--c-green); stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 5px; }

/* ================= Кнопки ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--c-green); color: #fff; padding: 14px 24px; border-radius: var(--radius-sm);
  font: 700 14.5px/1.2 var(--font); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; border: 0; cursor: pointer; min-height: 52px;
  box-shadow: var(--shadow-btn); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--c-green-dark); transform: translateY(-1px); }
.btn-big { padding: 18px 32px; min-height: 58px; }
.btn-glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); box-shadow: none; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.btn-warm { background: var(--c-warm); color: var(--c-dark); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.btn-warm:hover { background: #fff; }

/* ================= Контент ================= */
.content { padding-top: 40px; padding-bottom: 64px; }
.content > section { max-width: 880px; }
.content > .cards-block, .content > .calc, .content > .related, .content > .gallery, .content > .steps,
.content > .team-block, .content > .posts-block, .content > .rubrics { max-width: none; }
h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; font-weight: 800; margin: 56px 0 16px; letter-spacing: -.015em; }
.content > :first-child, .content > :first-child h2 { margin-top: 0; }
h3 { font-size: 18px; margin: 24px 0 8px; }
.content ul, .content ol { padding-left: 22px; }
.content li { margin: 5px 0; }
.is-placeholder { background: linear-gradient(150deg, #b7cdb0, #8cad90 55%, #4f6b53); }

/* Каталог карточек с фото */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; color: var(--c-text);
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card-name { font-size: 17px; font-weight: 800; line-height: 1.25; }
.card-price { font-size: 15px; font-weight: 700; color: var(--c-green-dark); }
.card-price.muted { color: var(--c-muted); font-weight: 600; }
.card-more { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--c-green-dark); text-transform: uppercase; letter-spacing: .05em; }
.card-more::after { content: " →"; }

/* Карусель + лайтбокс */
.gallery { margin-top: 56px; }
.g-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.g-head h2 { margin: 0; }
.g-nav { display: flex; gap: 8px; }
.g-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 24px; line-height: 1; cursor: pointer; color: var(--c-text); }
.g-nav button:hover { background: var(--c-green); color: #fff; }
.g-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.g-track::-webkit-scrollbar { display: none; }
.g-item { scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.g-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.g-item:hover .g-img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(12,18,14,.92); padding: 40px 70px; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; cursor: pointer; }
.lightbox button:hover { background: var(--c-green); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; }

/* Этапы */
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); margin: 0; }
.steps li::after { content: ""; position: absolute; top: 38px; right: -14px; width: 14px; height: 2px; background: var(--c-green); }
.steps li:last-child::after { display: none; }
.step-n { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; background: var(--c-green); border-radius: 8px; padding: 3px 9px; }
.steps h3 { margin: 12px 0 6px; font-size: 16.5px; }
.steps p { margin: 0; font-size: 14px; color: var(--c-muted); line-height: 1.5; }

/* Таблицы */
.price-table { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 18px 12px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.price-table table { min-width: 420px; }
article section > table { display: block; overflow-x: auto; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 14px rgba(31,50,34,.06); }
caption { text-align: left; font-weight: 800; padding: 12px 0 8px; }
th, td { border-bottom: 1px solid var(--c-line); padding: 11px 12px; text-align: left; vertical-align: top; }
thead th { color: var(--c-muted); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; }
.price-table td { white-space: nowrap; font-weight: 700; }
.price-table tbody tr:hover { background: var(--c-green-soft); }

/* Калькулятор */
.calc { position: relative; background: linear-gradient(135deg, var(--c-green-deep), #26401f); color: #fff; border-radius: var(--radius); padding: 32px; margin-top: 56px; overflow: hidden; }
.calc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; background: rgba(125,187,92,.18); }
.calc h2 { margin-top: 0; position: relative; }
.calc p { color: rgba(255,255,255,.8); position: relative; }
.calc-form { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.calc-form label, .form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13.5px; }
select, input { font: 600 16px var(--font); padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); min-height: 50px; background: #fff; color: var(--c-text); }
select:focus, input:focus { outline: 2px solid var(--c-green-2); outline-offset: 1px; }
.calc-result { grid-column: 1 / -1; font-size: 22px; font-weight: 800; color: #fff; margin: 8px 0 0; }

/* Команда */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--c-text); transition: transform .2s ease; }
.person:hover { transform: translateY(-3px); }
.person .avatar { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person > span { display: flex; flex-direction: column; padding: 14px 18px 18px; }
.person b { font-size: 17px; }
.person small { color: var(--c-muted); font-size: 14px; }
.person .exp { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--c-green-dark); }
.person-sm { flex-direction: row; align-items: center; gap: 10px; background: none; box-shadow: none; }
.person-sm .avatar { width: 44px; height: 44px; border-radius: 50%; }
.person-sm > span { padding: 0; }
.person-sm b { font-size: 15px; }
.person-sm small { font-size: 13px; }

/* Блог: карточки и рубрики */
.rubrics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: 0 3px 10px rgba(31,50,34,.07); text-decoration: none; color: var(--c-text); font-weight: 700; font-size: 14.5px; }
.chip.on, .chip:hover { background: var(--c-green); color: #fff; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--c-text); transition: transform .2s ease; }
.post:hover { transform: translateY(-3px); }
.post-img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.post-rubric { align-self: flex-start; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--c-green-dark); background: var(--c-green-soft); padding: 4px 10px; border-radius: 999px; }
.post-title { font-size: 18px; font-weight: 800; line-height: 1.3; }
.post-meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--c-muted); }

/* Статья */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 28px; padding-bottom: 40px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.art-dates { font-size: 14px; color: var(--c-muted); }
.reviewed { font-size: 14px; color: var(--c-muted); margin: 12px 0; }
.art-cover { width: 100%; border-radius: var(--radius); margin: 18px 0 8px; aspect-ratio: 1200 / 630; object-fit: cover; }
.infographic { margin: 22px 0; }
.infographic img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid #e3e6eb; }
.infographic figcaption { font-size: 14px; color: #5b6475; margin-top: 8px; }
.summary { background: var(--c-green-soft); border-left: 4px solid var(--c-green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 20px 0; font-size: 16.5px; }
.summary p { margin: 0; }
.art-main h2 { scroll-margin-top: 24px; }
.art-side { position: relative; }
.toc { position: sticky; top: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.toc-title { margin: 0 0 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--c-muted); }
.toc ol { margin: 0; padding-left: 18px; font-size: 14.5px; }
.toc li { margin: 6px 0; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-green-dark); }
.side-cta { position: sticky; top: calc(20px + var(--toc-h, 0px)); margin-top: 16px; background: var(--c-dark); color: #fff; border-radius: var(--radius); padding: 18px 20px; }
.side-cta .btn { width: 100%; margin-top: 8px; }
.author-box { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-top: 40px; }
.author-box .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box h3 { margin: 0 0 2px; }
.author-box p { margin: 0; }

/* Эксперт */
.expert { padding-top: 28px; padding-bottom: 48px; }
.expert-head { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.avatar-xl { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.expert-name { margin: 0; }
.expert-role { color: var(--c-green-dark); font-weight: 700; margin: 4px 0 16px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.facts dt { color: var(--c-muted); }
.facts dd { margin: 0; font-weight: 600; }
.draft-note { background: #fff6e0; border: 1px solid #f0d79a; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; }

/* FAQ и перелинковка */
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 14px rgba(31,50,34,.06); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details[open] summary { color: var(--c-green-dark); margin-bottom: 6px; }
.related ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.related li a { display: inline-block; padding: 9px 16px; background: #fff; border-radius: 999px; text-decoration: none; box-shadow: 0 3px 10px rgba(31,50,34,.07); font-weight: 700; font-size: 14.5px; }
.related li a:hover { background: var(--c-green); color: #fff; }

/* Форма */
.lead-form { background: linear-gradient(135deg, var(--c-green-deep), #22381d); color: #fff; padding: 56px 0; }
.lead-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.lead-form h2 { margin-top: 0; }
.lead-form p { color: #d3e2cc; }
.lead-form a { color: #cfe8c2; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.form .btn { grid-column: span 1; }
.form .small { grid-column: 1 / -1; color: #b3c8ab; margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 13px; color: #b3c8ab; }
.form .consent input { margin-top: 2px; flex: none; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #cfe8c2; }
.form-status.is-err { color: #ffc9a8; }

/* Подвал */
.site-footer { background: var(--c-dark); color: #c3cdc6; padding: 48px 0 20px; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 28px; }
.footer-top p { margin: 0; }
.site-footer .logo { color: #fff; }
.site-footer .lg-line { stroke: #fff; }
.site-footer .logo-text small { color: #93a097; }
.site-footer .phone { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 5px 0; }
.footer-grid a, .site-footer a { color: #c3cdc6; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); color: #8f9b93; font-size: 14px; }

/* ================= Адаптив ================= */
@media (max-width: 1080px) {
  .steps ol { grid-template-columns: repeat(3, 1fr); }
  .steps li::after { display: none; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .art-side { order: -1; }
  .toc, .side-cta { position: static; }
  .side-cta { display: none; }
}
@media (max-width: 980px) {
  .site-header { position: relative; top: 0; padding-top: 10px; background: #2d3a33; padding-bottom: 0; }
  .t-service .site-header, .t-faq .site-header, .t-prices .site-header, .t-calculator .site-header, .t-info .site-header,
  .t-article .site-header, .t-expert .site-header, .t-rubric .site-header, .t-blog_index .site-header, .t-team .site-header { background: #dcebe0; }
  .head-pill { flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; }
  .main-nav { order: 3; width: 100%; margin: 0; border-top: 1px solid var(--c-line); padding-top: 6px; }
  .main-nav > ul { gap: 0 14px; }
  .head-contacts { margin-left: auto; }
  .hero-inner { padding-top: 40px; }
  .hero-photo { min-height: 0; }
  .hero-bg { object-position: 70% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(18,28,22,.55) 0%, rgba(18,28,22,.72) 45%, rgba(18,28,22,.88) 100%); }
  .features { grid-template-columns: 1fr; margin-top: 28px; }
  .lead-grid { grid-template-columns: 1fr; }
  .expert-head { grid-template-columns: 1fr; }
  .expert-head .avatar-xl { max-width: 280px; }
  .g-track { grid-auto-columns: calc((100% - 14px) / 2); }
}
@media (max-width: 640px) {
  .logo-text small { display: none; }
  .phone { font-size: 16px; }
  .callback { display: none; }
  .nav-group ul { position: static; box-shadow: none; padding: 2px 0 6px 6px; min-width: 0; }
  .nav-group summary { font-size: 14px; }
  .hero h1 { font-size: 26px; }
  .btn, .btn-big { width: 100%; }
  .feature { padding: 12px 14px; }
  .steps ol { grid-template-columns: 1fr; }
  .g-track { grid-auto-columns: 82%; }
  .g-nav { display: none; }
  .form { grid-template-columns: 1fr; }
  .calc { padding: 22px 18px; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .author-box { flex-direction: column; text-align: center; }
}

/* ================= Блоки v2.1: комплектации, «что входит», RAL, чек-лист, кейсы, отзывы, смета ================= */
.content > .packages, .content > .included, .content > .ral, .content > .checklist, .content > .cases, .content > .reviews { max-width: none; }
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pk { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; border: 2px solid transparent; }
.pk-on { border-color: var(--c-green); box-shadow: var(--shadow-lg); }
.pk-hit { position: absolute; top: -12px; left: 22px; background: var(--c-green); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.pk h3 { margin: 0; font-size: 20px; }
.pk-price { font-size: 30px; font-weight: 800; margin: 6px 0 12px; color: var(--c-green-dark); }
.pk-price small { font-size: 14px; color: var(--c-muted); font-weight: 600; }
.pk ul, .case ul, .smeta { list-style: none; padding: 0; margin: 0 0 18px; }
.pk li, .case li, .smeta li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--c-line); font-size: 14.5px; margin: 0; }
.pk li span, .case li span { color: var(--c-muted); }
.pk li b, .case li b { text-align: right; font-weight: 700; }
.pk .btn { margin-top: auto; }
.btn-ghost { background: var(--c-green-soft); color: var(--c-green-dark); box-shadow: none; }
.btn-ghost:hover { background: var(--c-green); color: #fff; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inc-grid > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; }
.inc-grid h3 { margin-top: 0; }
.inc-grid ul { list-style: none; padding: 0; margin: 0; }
.inc-grid li { position: relative; padding-left: 28px; margin: 9px 0; }
.inc-yes li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--c-green); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.inc-no li::before { content: "+"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--c-warm); color: var(--c-dark); font-size: 14px; font-weight: 800; display: grid; place-items: center; }
.ral-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.ral-list li { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 14px rgba(31,50,34,.06); padding: 10px; display: flex; flex-direction: column; margin: 0; }
.sw { height: 56px; border-radius: 8px; margin-bottom: 8px; border: 1px solid rgba(0,0,0,.08); }
.ral-list small { color: var(--c-muted); }
.checklist { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; margin-top: 56px; }
.checklist h2 { margin-top: 0; }
.checklist ol { counter-reset: q; list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checklist li { counter-increment: q; position: relative; padding-left: 42px; margin: 0; font-weight: 600; }
.checklist li::before { content: counter(q); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 9px; background: var(--c-green-soft); color: var(--c-green-dark); font-weight: 800; display: grid; place-items: center; }
.cases-grid, .rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.case, .review { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.case-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-body, .review { padding: 18px 20px; }
.case-sum { font-weight: 800; color: var(--c-green-dark); margin: 0; }
.stars { color: #e8a317; letter-spacing: 2px; margin: 0; }
.faq-sign { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.sources ol { font-size: 14.5px; color: var(--c-muted); }
.legal { font-size: 13px; }
.ya-badge { border: 0; margin: 6px 0; }
.calc-result { grid-column: 1 / -1; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 14px 18px; }
.calc .smeta li { border-bottom-color: rgba(255,255,255,.15); }
.calc .smeta span { color: rgba(255,255,255,.75); }
.smeta-total { font-size: 22px; font-weight: 800; margin: 4px 0 2px; color: #fff; }
.smeta-note { font-size: 13px; margin: 0; }
@media (max-width: 980px) {
  .pk-grid { grid-template-columns: 1fr; }
  .inc-grid, .checklist ol { grid-template-columns: 1fr; }
}

/* ================= Конструктор-визуализатор ================= */
.content > .viz { max-width: none; }
.viz { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-top: 56px; }
.t-visualizer .viz { margin-top: 0; }
.viz h2 { margin-top: 0; }
.viz-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.viz-stage { border-radius: var(--radius-sm); overflow: hidden; background: #eef5f0; aspect-ratio: 900 / 360; }
.viz-stage svg { width: 100%; height: 100%; display: block; }
.viz-label { margin: 14px 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.viz-label:first-child { margin-top: 0; }
.viz-row { display: flex; flex-wrap: wrap; gap: 8px; }
.viz-row button { border: 1.5px solid var(--c-line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--c-text); }
.viz-row button.on { border-color: var(--c-green); background: var(--c-green-soft); color: var(--c-green-dark); }
.viz-colors button.vc { width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--c-line); }
.viz-colors button.vc.on { box-shadow: 0 0 0 3px var(--c-green); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.viz-price { display: flex; flex-direction: column; gap: 2px; margin: 18px 0 12px; }
.viz-price b { font-size: 15px; }
.viz-price span { font-size: 24px; font-weight: 800; color: var(--c-green-dark); }
.viz-order { width: 100%; }
@media (max-width: 980px) { .viz-grid { grid-template-columns: minmax(0, 1fr); } .viz { padding: 18px; } }

/* меню v3: мегаменю «Заборы», ссылка на хаб внутри выпадашки, простые ссылки первого уровня */
.nav-link a { display: inline-block; font-size: 14.5px; font-weight: 600; padding: 6px 0; text-decoration: none; color: var(--c-text); }
.nav-link a:hover { color: var(--c-green-dark); }
.nav-group .drop, .nav-group .mega { position: absolute; z-index: 30; left: -12px; top: calc(100% + 10px); min-width: 260px; padding: 8px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.nav-group .drop ul, .nav-group .mega ul { position: static; box-shadow: none; padding: 0; min-width: 0; background: none; }
.nav-mega { position: static; }
.head-pill { position: relative; }
.nav-group .drop::before, .nav-group .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* мостик: курсор доходит до списка, не закрывая меню */
.nav-group .mega { left: 50%; transform: translateX(-50%); top: calc(100% + 8px); width: min(880px, calc(100vw - 40px)); padding: 14px 12px; }
.mega-cols { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 4px 12px; }
.mega-h { margin: 4px 12px 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted, #6b7a6e); }
.nav-group .mega li a { font-size: 14.5px; padding: 6px 12px; }
.nav-all { display: block; padding: 8px 12px; margin-bottom: 6px; border-radius: 8px; font-weight: 700; text-decoration: none; color: var(--c-green-dark); background: var(--c-green-soft); }
.geo-block { margin: 40px 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 980px) {
  .nav-group .drop, .nav-group .mega { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; padding: 2px 0 6px 6px; background: none; }
  .mega-cols { grid-template-columns: 1fr; }
  .nav-link a { font-size: 14px; }
}
@media (min-width: 981px) and (max-width: 1280px) {
  .main-nav > ul { gap: 2px 13px; }
  .nav-group summary, .nav-link a { font-size: 13.5px; }
}

/* карточка готового решения */
.product { margin: 8px 0 36px; }
.pr-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pr-gallery { margin: 0; }
.pr-side { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 22px 24px; }
.pr-price { font-size: 34px; font-weight: 800; margin: 0 0 4px; color: var(--c-green-dark); }
.pr-price small { font-size: 16px; font-weight: 600; color: var(--c-muted); }
.pr-muted { font-size: 26px; color: var(--c-text); }
.pr-spec { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15px; }
.pr-spec th, .pr-spec td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.pr-spec th { width: 42%; color: var(--c-muted); font-weight: 600; padding-right: 12px; }
@media (max-width: 980px) { .pr-grid { grid-template-columns: minmax(0, 1fr); } .pr-price { font-size: 28px; } }
.pr-gallery .g-track { grid-auto-columns: 100%; }
.pr-gallery .g-nav { justify-content: flex-end; margin-top: 10px; }

.byline { font-weight: 700; font-size: 14.5px; }
