/* Экосфера — стили лендинга. Палитра: фирменный тёмно-зелёный, тёплый светлый фон, без градиентов и свечений. Шрифт Golos Text (свой, без внешних запросов). */
@font-face { font-family: "Golos Text"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(/assets/fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(/assets/fonts/golos-text-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }

:root {
  --accent: #1f5c3a;
  --accent-deep: #163f29;
  --accent-soft: #e4eee3;
  --accent-faint: #f2f6f0;
  --leaf: #3f9e2f;
  --ink: #1a1f1b;
  --ink-2: #3c443e;
  --muted: #6b726c;
  --line: #e6e2d9;
  --line-2: #d3cec2;
  --bg: #ffffff;
  --bg-tint: #f7f5f0;
  /* цвета мессенджеров чуть темнее фирменных: белый значок на них читается (контраст 3:1 и выше) */
  --wa: #1fa855;
  --tg: #1d8fd1;
  --danger: #c4321f;
  --radius-xl: 12px;
  --radius: 10px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(26, 31, 27, .05), 0 8px 24px -12px rgba(26, 31, 27, .18);
  --shadow-lg: 0 2px 4px rgba(26, 31, 27, .05), 0 24px 48px -24px rgba(26, 31, 27, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1180px;
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga";
}
::selection { background: var(--accent-soft); color: var(--accent-deep); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.012em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.2vw, 50px); }
h2 { font-size: clamp(27px, 3.5vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(31, 92, 58, .45); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section__head p { color: var(--ink-2); font-size: 18px; margin: 16px 0 0; text-wrap: pretty; }
.section__aside { font-size: 16px !important; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--accent-deep); }
.eyebrow { font-size: 15px; margin-bottom: 16px; }

/* Появление блоков при прокрутке */

/* Кнопки */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--radius-s); border: 2px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none !important; letter-spacing: -.005em;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  color: var(--ink); background: #fff; white-space: nowrap; -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn--primary { color: #fff; background: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--line-2); background: #fff; }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--outline { border-color: var(--accent); color: var(--accent); background: #fff; }
.btn--outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn--small { padding: 10px 16px; font-size: 14px; background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--small:hover { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; }
.btn--wa, .btn--tg { background: #fff; color: var(--ink); border-color: var(--line-2); }
/* кнопки мессенджеров белые с цветным значком: не спорят с зелёной основной кнопкой */
.btn--wa::before, .btn--tg::before, .float__btn--wa::before, .float__btn--tg::before { content: ""; width: 20px; height: 20px; flex: none; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.btn--wa, .float__btn--wa { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.6.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.3.6 2.8.5s1.5-.6 1.7-1.2.2-1.1.2-1.2-.3-.2-.5-.3z'/%3E%3C/svg%3E"); }
.btn--tg, .float__btn--tg { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.9 4.6L18.9 19c-.2 1-.8 1.3-1.7.8l-4.6-3.4-2.2 2.1c-.3.3-.5.5-.9.5l.3-4.7 8.5-7.7c.4-.3-.1-.5-.6-.2L7.2 13.1 2.7 11.7c-1-.3-1-1 .2-1.4l17.7-6.8c.8-.3 1.5.2 1.3 1.1z'/%3E%3C/svg%3E"); }
.btn--wa::before, .float__btn--wa::before { background: var(--wa); }
.btn--tg::before, .float__btn--tg::before { background: var(--tg); }
.btn--wa:hover { border-color: var(--wa); }
.btn--tg:hover { border-color: var(--tg); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(26, 31, 27, .35); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: #0f3d24; }
.logo:hover { text-decoration: none; }
.logo__icon { width: 46px; height: 46px; flex: none; }
.logo__text { display: grid; gap: 3px; }
.logo__name { font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: -.025em; }
.logo__eko { color: #3f9e2f; }
.logo__tag { font-size: 8.5px; font-weight: 500; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: #4b6356; white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 10px; white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header__contacts { display: flex; align-items: center; gap: 10px; }
.header__phone { font-weight: 700; color: var(--ink); font-size: 16px; white-space: nowrap; letter-spacing: -.01em; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; transition: filter .2s; }
.icon-btn:hover { filter: brightness(.95); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn--wa { background: var(--wa); }
.icon-btn--tg { background: var(--tg); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; margin-left: auto; border-radius: 12px; }
.burger:hover { background: var(--accent-faint); }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .25s var(--ease), opacity .2s;
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Первый экран */
.hero { background: #faf8f3; border-bottom: 1px solid var(--line); padding: clamp(32px, 4.6vw, 72px) 0; }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "text visual" "examples visual"; gap: 26px clamp(28px, 5vw, 76px); align-items: end; }
.hero__text { grid-area: text; min-width: 0; }
.hero__eyebrow { color: #525b50; font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #223c30; font-size: clamp(50px, 5.8vw, 85px); letter-spacing: -.044em; line-height: 1.02; }
.hero__lead { color: var(--ink-2); font-size: clamp(17px, 1.45vw, 20px); margin: 22px 0 24px; max-width: 465px; }
.hero__actions { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.hero__callback { font-size: 15px; min-height: 44px; }
.hero__examples { grid-area: examples; align-self: start; border-top: 1px solid #ccd2c4; padding-top: 16px; }
.hero__examples h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 12px; }
.hero__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero__prices a { display: grid; gap: 4px; color: var(--ink-2); font-size: 13px; line-height: 1.3; padding-bottom: 5px; }
.hero__prices a:hover { color: var(--accent); }
.hero__prices b { color: var(--accent-deep); font-size: clamp(18px, 1.7vw, 25px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero__prices a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hero__visual { grid-area: visual; width: 100%; align-self: center; min-width: 0; margin: 0; }
.compare.compare--hero { aspect-ratio: 1.27; border-radius: 4px; background: #d5d7c9; }
.hero__gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.hero__gallery-bar small { font-size: 12px; color: #575f54; }
.room-picker { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #c9cec2; border-radius: 100px; }
.room-picker button { padding: 6px 13px; border: 0; border-radius: 100px; color: var(--ink-2); font-size: 14px; background: transparent; }
.room-picker button[aria-pressed="true"] { background: var(--accent-deep); color: #fff; }
.hero__visual:has(.compare__range:focus-visible) .compare:not([hidden]) { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Карточки */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card--accent { border-color: var(--line); background: var(--bg-tint); }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Калькулятор */
.calc__grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 24px; align-items: start; }
.calc__grid > *, .calc__form fieldset { min-width: 0; }
.calc__form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.calc__form fieldset:last-child { margin-bottom: 0; }
legend { font-weight: 700; font-size: 17px; margin-bottom: 14px; padding: 0; letter-spacing: -.01em; }
legend output { color: var(--accent); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line-2); font-weight: 500; font-size: 15px; cursor: pointer;
  transition: all .2s var(--ease); background: #fff; box-shadow: none; user-select: none;
}
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(31, 92, 58, .4); outline-offset: 2px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; margin: 0; --pct: 10%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--pct), var(--line) var(--pct)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--accent);
  box-shadow: 0 1px 3px rgba(26, 31, 27, .25);
}
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(26, 31, 27, .25); }
.range:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(31, 92, 58, .12); }
.chip-btn { padding: 7px 12px; border-radius: var(--radius-s); border: 1.5px solid var(--line-2); background: #fff; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .2s var(--ease); }
.chip-btn:hover { border-color: var(--ink-2); }
.chip-btn.is-active { border-color: var(--accent); color: var(--accent); }
.chips--small { gap: 8px; margin-bottom: 10px; }
.area-input { display: flex; align-items: center; gap: 16px; }
.area-input .range { min-width: 0; flex: 1; }
.area-input__field { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.area-input__field input { width: 92px; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); font: inherit; font-weight: 700; font-size: 17px; color: var(--ink); text-align: right; }
.area-input__field input:focus { outline: 0; border-color: var(--accent); }
.calc__form fieldset[hidden] { display: none; }
.chip span b { font-weight: 700; }
.calc__breakdown li.is-discount span:last-child { color: var(--accent); }
.calc__send { font-size: 14px; color: var(--ink-2); margin: 18px 0 10px; }
.calc__messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc__messengers .btn { padding: 12px 10px; }
.range__marks { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 2px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.extra {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer; font-size: 15px; transition: all .2s var(--ease); background: #fff; user-select: none;
}
.extra:hover { border-color: var(--line-2); }
.extra:has(input:checked) { border-color: var(--accent); background: var(--accent-faint); }
.extra__name small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.extra__price { color: var(--accent); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.extra__qty { grid-column: 2 / 4; width: 78px; padding: 6px 10px; border: 2px solid var(--line); border-radius: 10px; display: none; font-weight: 600; }
.extra__qty:focus { outline: 0; border-color: var(--accent); }
.extra:has(input:checked) .extra__qty { display: block; }
/* кастомные чекбоксы */
.check, .extra input[type="checkbox"], .consent input, .option input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; border: 2px solid var(--line-2); border-radius: 4px; background: #fff; flex: none;
  display: grid; place-items: center; transition: all .15s var(--ease); cursor: pointer; position: relative;
}
.extra input[type="checkbox"]::after, .consent input::after, .option input[type="checkbox"]::after {
  content: ""; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0) translate(1px, -1px); transition: transform .15s var(--ease);
}
.extra input[type="checkbox"]:checked, .consent input:checked, .option input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.extra input[type="checkbox"]:checked::after, .consent input:checked::after, .option input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1) translate(1px, -1px); }
.calc__result { position: sticky; top: 92px; }
.calc__label { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.calc__price { font-size: 48px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.calc__price span { display: inline-block; transition: transform .2s var(--ease); }
.calc__price.is-bump span { transform: scale(1.04); }
.calc__meta { color: var(--ink-2); margin: 10px 0 16px; }
.calc__breakdown { border-top: 1px solid var(--line); margin-bottom: 20px; font-size: 14.5px; }
.calc__breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); animation: fadein .3s var(--ease); }
.calc__breakdown li span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { position: relative; display: flex; flex-direction: column; }
.service__title { font-size: 19px; margin-bottom: 8px; }
.service__short { color: var(--muted); font-size: 14.5px; min-height: 3.2em; }
.service__price { font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.service__from { font-size: 16px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.service__unit { font-size: 16px; font-weight: 500; color: var(--muted); }
.service__min { font-size: 13.5px; color: var(--muted); margin: 4px 0 18px; }
.service__tiers { margin: -8px 0 18px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--bg-tint); font-size: 13.5px; color: var(--ink-2); }
.service__tiers li + li { margin-top: 4px; }
.service__list { flex: 1; margin-bottom: 22px; font-size: 14.5px; color: var(--ink-2); }
.service__list li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.service__list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 9px; height: 2px; background: var(--leaf); }
.service__details { border-top: 1px solid var(--line); margin-bottom: 20px; }
.service__details summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 15px; padding: 12px 0; }
.service__details .service__tiers { margin-top: 0; }
.service__details .service__list { margin-bottom: 0; }
.service__btn { margin-top: auto; }

/* Договорённости перед приездом */
.visit { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px 7%; }
.visit h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(34px, 4vw, 54px); color: var(--accent-deep); }
.visit__text { max-width: 620px; font-size: clamp(17px, 1.5vw, 20px); }
.visit__text a { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }

.compare { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 12 / 7; user-select: none; }
.compare img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5c3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-4 5 4 5M16 7l4 5-4 5'/%3E%3C/svg%3E") center/26px no-repeat;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__label { position: absolute; top: 14px; padding: 4px 10px; border-radius: 4px; background: rgba(26, 31, 27, .75); color: #fff; font-weight: 600; font-size: 14px; pointer-events: none; }
.compare__label--l { left: 14px; }
.compare__label--r { right: 14px; }

/* Отзывы */

/* Зона */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.area__text p { color: var(--ink-2); margin-top: 14px; }
.area__map { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--accent-soft); }
.area__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.area__maplink { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; text-decoration: none !important; color: var(--accent-deep); background: var(--accent-faint); }
.area__maplink:hover span { text-decoration: underline; }
.area__maplink span { font-weight: 700; font-size: 20px; }
.area__maplink small { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
.faq-layout__head { position: sticky; top: 100px; }
.faq-layout__head p { color: var(--ink-2); font-size: 17px; margin: 16px 0 6px; }
.faq-layout__phone { display: inline-block; font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 52px 22px 0; font-weight: 600; font-size: 18px; position: relative; letter-spacing: -.01em; transition: color .2s;
}
.faq__item summary:hover { color: var(--accent); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  color: var(--accent); display: grid; place-items: center; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__content { overflow: hidden; }
.faq__content .link { margin: 0 0 18px; }
.faq__item p { color: var(--ink-2); padding-bottom: 22px; margin: 0; max-width: 700px; }

/* Заявка */
.section--cta { background: var(--accent-deep); color: #fff; }
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.cta__text h2 { color: #fff; }
.cta__text p { color: rgba(255, 255, 255, .85); font-size: 18px; margin-top: 16px; }
.cta__phone { display: inline-block; font-size: 32px; font-weight: 800; color: #fff; margin: 10px 0 18px; letter-spacing: -.02em; }
.cta__phone:hover { text-decoration: none; }
.cta__messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cta__text .muted { color: rgba(255, 255, 255, .7); }
.cta__text .muted a { color: #fff; }
.lead--final { border: 0; }

/* Формы */
.lead { color: var(--ink); }
.lead__title { font-size: 25px; margin-bottom: 6px; }
.lead__sub { color: var(--ink-2); font-size: 15.5px; margin-bottom: 20px; text-wrap: pretty; }
.lead__estimate { background: var(--accent-soft); color: var(--accent-deep); padding: 11px 14px; border-radius: var(--radius-s); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field i { color: var(--danger); font-style: normal; }
.field input {
  width: 100%; padding: 15px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); font-size: 17px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #a3aebc; }
.field input:hover { border-color: var(--ink-2); }
.field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 92, 58, .18); }
.field input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); animation: shake .35s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; cursor: pointer; line-height: 1.45; }
.consent input { margin-top: 1px; }
.consent.is-invalid { color: var(--danger); }
.consent.is-invalid input { border-color: var(--danger); }
.lead__error { color: var(--danger); font-size: 14px; margin: 12px 0 0; }
.lead__hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.lead--final .lead__title { margin-bottom: 20px; }
.via { display: flex; gap: 8px; margin-bottom: 16px; }
.via label { flex: 1; }
.via input { position: absolute; opacity: 0; width: 0; height: 0; }
.via span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.via span:hover { border-color: var(--ink-2); }
.via input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* Квиз */
.quiz__progress { height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 24px; overflow: hidden; }
.quiz__bar { display: block; height: 100%; background: var(--accent); transition: width .4s var(--ease); border-radius: 3px; }
.quiz__step { animation: stepin .35s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } }
.options { display: grid; gap: 10px; margin-bottom: 8px; }
.option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.option span { display: block; padding: 15px 18px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); cursor: pointer; transition: all .2s var(--ease); background: #fff; }
.option span b { display: block; font-size: 16px; }
.option span small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.option:hover span { border-color: var(--accent); }
.option input:checked + span { border-color: var(--accent); background: var(--accent-faint); }
.options--multi { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.options--multi .option { position: relative; }
.options--multi .option input[type="checkbox"] { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none; }
.options--multi .option span { padding-right: 48px; }
.quiz__back { background: none; border: 0; color: var(--muted); font-size: 14px; padding: 14px 0 0; transition: color .2s; }
.quiz__back:hover { color: var(--accent); }
.quiz__price { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }

/* Успех */
.done { text-align: center; padding-top: 6px; }
.done__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent-soft); color: var(--leaf); display: grid; place-items: center; animation: pop-in .5s var(--ease); }
.done__icon svg { width: 38px; height: 38px; }
@keyframes pop-in { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.done .cta__messengers { justify-content: center; }
.done .cta__phone { color: var(--ink); display: block; }

/* Модалка */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(26, 31, 27, .55); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal__dialog {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain;
  background: #fff; border-radius: var(--radius-xl); padding: 32px 30px 28px; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease);
}
@keyframes pop { from { transform: translateY(18px) scale(.97); opacity: 0; } }
.modal__handle { display: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: var(--bg-tint); font-size: 26px; line-height: 1; color: var(--muted); border-radius: 50%; transition: all .2s var(--ease); }
.modal__close:hover { background: var(--line); color: var(--ink); }
.modal__panel { display: none; }
.modal__panel.is-active { display: block; }
body.modal-open { overflow: hidden; }

/* Плавающие кнопки (только телефон) */
.float { display: none; }

/* Подвал */
.footer { background: #17201a; color: #c9cfc8; padding: 56px 0 28px; font-size: 15px; }
.footer a { color: #eef1ec; transition: color .2s; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .muted { color: #8e978f; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.logo--footer { color: #fff; margin-bottom: 10px; }
.logo--footer .logo__eko { color: #7fcf5a; }
.logo--footer .logo__tag { color: #8e978f; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__contacts { display: grid; gap: 8px; align-content: start; font-weight: 600; }
.footer__contacts .muted { font-weight: 400; margin: 0; }
.footer__legal { padding-top: 22px; font-size: 13px; }
.footer__legal p { margin: 0 0 6px; }

/* Адаптив */
/* шапка: сначала прячем слоган у логотипа, потом сворачиваем меню в бургер, чтобы пункты не переносились */
@media (max-width: 1240px) {
  .header .logo__tag { display: none; }
}
@media (max-width: 1180px) {
  .header__contacts .btn { display: none; }
  .burger { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 16px 16px; box-shadow: var(--shadow); margin: 0; border-radius: 0; animation: fadein .25s var(--ease);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; border-radius: 0; }
  .nav a:hover, .nav a.is-active { background: none; }
  .header__contacts { margin-left: auto; }
}
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .hero__in { grid-template-columns: 1fr; grid-template-areas: "text" "visual" "examples"; gap: 22px; }
  .compare.compare--hero { aspect-ratio: 1.6; }
  .calc__grid { grid-template-columns: minmax(0, 1fr); }
  .calc__result { position: static; }
  .area, .cta, .faq-layout, .visit { grid-template-columns: 1fr; gap: 28px; }
  .faq-layout__head { position: static; }
  .header__phone { display: none; }
  .float {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }
  .float__btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 6px; font-weight: 600; font-size: 14px; color: #fff; background: var(--accent); border-radius: var(--radius-s); }
  .float__btn svg { width: 18px; height: 18px; }
  .float__btn--wa, .float__btn--tg { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
  .float__btn:hover { text-decoration: none; }
}
@media (max-width: 600px) {
  .services, .grid--3, .extras, .options--multi { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px, 10.8vw, 58px); }
  .hero__actions .btn { min-height: 44px; padding: 11px 16px; font-size: 15px; }
  .hero__lead { margin: 16px 0 18px; }
  .card { padding: 22px; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { max-width: none; border-radius: var(--radius-xl) var(--radius-xl) 0 0; max-height: 92vh; padding: 14px 20px 24px; animation: sheet .35s var(--ease); }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
  .modal__handle { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 0 auto 18px; }
  .modal__close { top: 14px; }
  .calc__price { font-size: 40px; }
  .hero__prices { gap: 8px; }

  .chip-btn { padding: 7px 12px; font-size: 13.5px; }
  .cta__phone { font-size: 26px; }
  .footer__in { grid-template-columns: 1fr; gap: 24px; }
  .header .logo__icon { width: 38px; height: 38px; }
  .header .logo__name { font-size: 22px; }
  .header .logo__tag { display: none; }
  .via { flex-wrap: wrap; }
  .via label { flex: 1 1 30%; }
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.lead__draft { white-space: pre-line; overflow-wrap: anywhere; text-align: left; padding: 14px 16px; border-radius: var(--radius-s); background: var(--bg-tint); }
.calc__price:has(.price-range) { font-size: clamp(24px, 3vw, 38px); }

@media (max-width: 380px) {
  .header__in, .header__contacts { gap: 4px; }
  .burger { flex: 0 0 44px; }
  .extra { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; }
  .extra__price, .extra__qty { grid-column: 2; }
  .float { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .float__btn { padding-inline: 2px; }
  .float__btn svg, .float__btn::before { display: none; }
}

.hero__gallery-bar { flex-wrap: wrap; }
.room-picker { flex-wrap: wrap; border-radius: 14px; }
.room-picker button { min-height: 42px; }
.service__title a { text-decoration: underline; text-decoration-color: #9cafa1; text-underline-offset: 4px; }
.detail { padding-block: 30px 66px; }
.detail-phone { margin-left: auto; font-weight: 600; white-space: nowrap; }
.detail-crumb { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.detail-crumb a, .detail-related a, .detail-footer a { text-decoration: underline; text-underline-offset: 3px; }
.detail-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 5vw, 72px); align-items: center; }
.detail-intro h1 { font: 400 clamp(37px, 4.5vw, 67px)/1.06 Georgia, serif; letter-spacing: -.035em; color: var(--accent-deep); margin-bottom: 18px; }
.detail-intro p { max-width: 56ch; }
.detail-rate { font-size: 19px; }
.detail-rate span { color: var(--ink-2); font-size: 15px; }
.detail-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 0; }
.detail-pair div { position: relative; }
.detail-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.detail-pair span { position: absolute; left: 9px; bottom: 9px; padding: 2px 8px; border-radius: 4px; background: #27382eed; color: white; font-size: 13px; }
.detail-pair figcaption { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding-top: 6px; }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 7%; margin: 48px 0 32px; }
.detail-body section, .detail-related { padding-top: 22px; border-top: 1px solid var(--line-2); }
.detail-body h2, .detail-related h2 { font-size: 24px; margin-bottom: 16px; }
.detail-body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.detail-body li + li { margin-top: 4px; }
.detail-related a { display: inline-block; margin: 2px 20px 8px 0; }
.detail-footer { display: flex; flex-wrap: wrap; gap: 12px 26px; }
@media (max-width: 760px) {
  .detail-intro, .detail-body { grid-template-columns: 1fr; }
  .detail-pair img { aspect-ratio: 1; }
  .detail-intro .btn { white-space: normal; }
  .detail-phone { font-size: 15px; }
  .service-page { padding-bottom: 0; }
}
