/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
  --green: #5bb462;
  --green-dark: #4a9e51;
  --graphite: #21282b;
  --graphite-2: #2c3539;
  --text: #21282b;
  --muted: #6b7680;
  --line: #e6e9eb;
  --bg-alt: #f5f7f8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(33,40,43,.10);
  --container: 1220px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 26px;
  border-radius: 40px; border: 2px solid transparent; cursor: pointer;
  transition: .2s ease; white-space: nowrap; font-family: inherit;
}
.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost-dark { background: transparent; color: var(--graphite); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--green); color: var(--green); }
.btn--outline { background: #fff; color: var(--graphite); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn--wa:hover { background: #1eb457; border-color: #1eb457; transform: translateY(-2px); }
.btn--wa svg { width: 19px; height: 19px; }

/* ===== ПОЛЯ ФОРМ ===== */
.field-label { display: block; font-size: 13px; font-weight: 700; color: var(--graphite); margin: 14px 0 6px; }
.qcalc__col > .field-label:first-child { margin-top: 0; }
.input, .select {
  width: 100%; padding: 13px 16px; border: 2px solid var(--line);
  border-radius: 30px; font-size: 15px; font-family: inherit; background: #fff; transition: .2s;
}
.input:focus, .select:focus { outline: none; border-color: var(--green); }
.input--big { font-size: 28px; font-weight: 800; text-align: center; width: 160px; border-radius: 16px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235bb462' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio { flex: 1 1 130px; }
.radio, .check { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; font-weight: 500; padding: 8px 0; }
.radio input, .check input { width: 18px; height: 18px; accent-color: var(--green); cursor: pointer; }
.radio { border: 2px solid var(--line); border-radius: 30px; padding: 9px 16px; flex: 1; justify-content: center; }
.radio:has(input:checked) { border-color: var(--green); background: rgba(91,180,98,.08); }

/* ===== ШАПКА ===== */
.header { position: sticky; top: 0; z-index: 50; background: var(--graphite); color: #fff; }
.header .container { max-width: 1400px; }
.header__inner { display: flex; align-items: center; gap: 16px; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__ic { width: 42px; height: 42px; flex: none; display: block; }
.logo__text { font-size: 20px; line-height: 1; font-weight: 800; letter-spacing: -.5px; color: #fff; text-transform: uppercase; display: inline-flex; align-items: center; }
.logo__tag { font-weight: 900; color: #fff; background: var(--green); border-radius: 6px; padding: 2px 6px; margin-left: 5px; font-size: 15px; letter-spacing: 0; }
.nav { display: flex; gap: 16px; margin-left: 8px; }
.nav__link { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); transition: .2s; white-space: nowrap; }
.nav__link:hover { color: var(--green); }
.header__contacts { margin-left: auto; text-align: right; display: flex; flex-direction: column; flex-shrink: 0; }
.header__phone { font-weight: 800; font-size: 18px; color: #fff; white-space: nowrap; }
.header__schedule { font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; }
.header__cta { flex: none; }
.header__call { display: none; width: 44px; height: 44px; flex: none; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.header__call svg { width: 22px; height: 22px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(120deg, rgba(20,26,28,.92) 0%, rgba(23,30,33,.74) 44%, rgba(28,42,40,.48) 100%),
    url('assets/img/hero.jpg') center/cover no-repeat;
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; padding: 56px 20px 64px; align-items: center; }
.hero__title { font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 900; margin-bottom: 28px; text-transform: uppercase; letter-spacing: -1.5px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero__title span { color: var(--green); }
.hero__usp { display: grid; gap: 14px; }
.hero__usp li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 20px; font-size: 16px; backdrop-filter: blur(4px); }
.hero__usp b { color: var(--green); }

/* ===== БЫСТРЫЙ КАЛЬКУЛЯТОР ===== */
.qcalc { background: #fff; color: var(--text); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.qcalc__title { font-size: 25px; font-weight: 900; margin-bottom: 22px; }
.qcalc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.qcalc__result { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--bg-alt); border-radius: 14px; padding: 16px 20px; margin: 22px 0 16px; }
.qcalc__result-label { font-weight: 600; color: var(--muted); }
.qcalc__result-value { font-size: 26px; font-weight: 900; color: var(--green-dark); }
.qcalc__note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ===== ЛЕНТА ===== */
.strip { background: var(--graphite); color: #fff; border-top: 3px solid var(--green); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 40px 20px; }
.strip__item { text-align: center; flex: 1; min-width: 130px; position: relative; }
.strip__item + .strip__item::before { content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 42px; background: rgba(255,255,255,.12); }
.strip__item b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; text-transform: uppercase; color: var(--green); line-height: 1; letter-spacing: -1px; }
.strip__item span { font-size: 13px; opacity: .8; display: block; margin-top: 8px; text-transform: uppercase; letter-spacing: .5px; }

/* ===== СЕКЦИИ ===== */
.section { padding: 110px 0; }
.section__eyebrow { display: block; text-align: center; color: var(--green); font-weight: 800; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(34px, 4.4vw, 56px); font-weight: 900; text-align: center; margin-bottom: 16px; line-height: 1.05; text-transform: uppercase; letter-spacing: -1px; }
.section__lead { text-align: center; color: var(--muted); font-size: 19px; max-width: 760px; margin: 0 auto 60px; }

/* ===== КВИЗ ===== */
.quiz { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 38px; position: relative; }
.quiz__head { margin-bottom: 30px; }
.quiz__step { display: block; text-align: center; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.quiz__bar { height: 8px; background: var(--line); border-radius: 10px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: var(--green); border-radius: 10px; transition: width .3s ease; }
.quiz__q { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 24px; }
.quiz__hint { text-align: center; color: var(--muted); margin-bottom: 20px; margin-top: -12px; }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.opt { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--graphite); padding: 24px 28px; border: 2px solid var(--line); background: #fff; border-radius: 16px; cursor: pointer; transition: .2s; min-width: 180px; }
.opt__ic { width: 38px; height: 38px; color: var(--muted); transition: .2s; stroke-linecap: round; stroke-linejoin: round; }
.opt:hover { border-color: var(--green); background: rgba(91,180,98,.06); transform: translateY(-3px); }
.opt:hover .opt__ic { color: var(--green); }
.quiz__area { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.quiz__form { display: grid; gap: 14px; max-width: 420px; margin: 0 auto; }
.quiz__step-body { text-align: center; }
.quiz__back { position: absolute; top: 30px; left: 30px; background: none; border: none; color: var(--muted); cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14px; }
.quiz__back:hover { color: var(--green); }

/* Результат квиза */
.quiz__result { text-align: center; }
.variants { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 26px 0; }
.variant { position: relative; border: 2px solid var(--line); border-radius: 16px; padding: 26px 18px; }
.variant--featured { border-color: var(--green); box-shadow: 0 10px 30px rgba(91,180,98,.2); }
.variant__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; }
.variant__name { display: block; font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.variant__price { display: block; font-size: 26px; font-weight: 900; color: var(--graphite); margin: 8px 0; }
.variant__desc { font-size: 13px; color: var(--muted); }
.quiz__success { color: var(--green-dark); font-weight: 700; margin-bottom: 18px; }

/* ===== ЦЕНЫ ===== */
.tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.tab { font-family: inherit; font-weight: 700; font-size: 15px; padding: 13px 30px; border: 2px solid var(--green); background: #fff; color: var(--graphite); border-radius: 40px; cursor: pointer; transition: .2s; }
.tab.is-active, .tab:hover { background: var(--green); color: #fff; }
.price-pane[hidden] { display: none; }
.price-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; border-top: 5px solid var(--green); }
.price-card__body { padding: 38px; }
.price-card__body h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.price-card__body p { color: var(--muted); margin-bottom: 18px; }
.price-card__body ul { display: grid; gap: 10px; margin-bottom: 22px; }
.price-card__body li { position: relative; padding-left: 28px; font-weight: 500; }
.price-card__body li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.price-card__price { font-size: 22px; margin-bottom: 18px; }
.price-card__price b { font-size: 36px; font-weight: 900; }

/* ===== ГОТОВЫЕ РЕШЕНИЯ ===== */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 300px; gap: 18px; grid-auto-flow: row dense; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.work--big { grid-column: span 2; grid-row: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover img { transform: scale(1.07); }
.work__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 22px; color: #fff; background: linear-gradient(to top, rgba(15,19,21,.85) 0%, rgba(15,19,21,.35) 42%, rgba(15,19,21,0) 70%); }
.work__tag { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: var(--green); padding: 4px 10px; border-radius: 20px; }
.work__overlay h3 { font-size: 22px; font-weight: 800; line-height: 1.1; }
.work--big .work__overlay h3 { font-size: 32px; }
.work__meta { font-size: 14px; color: rgba(255,255,255,.82); }
.work__btn { margin-top: 10px; opacity: 0; transform: translateY(10px); transition: .3s ease; }
.work:hover .work__btn { opacity: 1; transform: translateY(0); }
.gallery__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
.gallery__note a { color: var(--green-dark); font-weight: 700; }
/* На тач-устройствах кнопка «Хочу такой же» видна всегда */
@media (hover: none) { .work__btn { opacity: 1; transform: none; } }

/* ===== ШАГИ ===== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step__num { display: grid; place-items: center; width: 50px; height: 50px; background: var(--green); color: #fff; border-radius: 50%; font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.step__title { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.step__text { color: var(--muted); font-size: 15px; }

/* ===== ФОРМА ЗАЯВКИ ===== */
.lead { background: linear-gradient(120deg, var(--graphite), var(--graphite-2)); color: #fff; padding: 72px 0; }
.lead__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lead__title { font-size: 36px; font-weight: 900; margin-bottom: 14px; }
.lead__subtitle { font-size: 18px; color: rgba(255,255,255,.82); }
.lead__form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.lead__note { font-size: 12px; color: var(--muted); text-align: center; }
.lead__success { color: var(--green-dark); font-weight: 700; text-align: center; }

/* ===== ПОДВАЛ ===== */
.footer { background: var(--graphite); color: rgba(255,255,255,.78); padding-top: 58px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 46px; }
.footer__title { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.footer__about { font-size: 14px; margin: 14px 0; }
.footer__link { display: block; font-size: 15px; margin-bottom: 10px; transition: .2s; }
.footer__link:hover { color: var(--green); }
.footer__phone { font-size: 18px; font-weight: 800; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__credit { opacity: .55; font-size: 12px; width: 100%; }
.footer__legal { width: 100%; font-size: 13px; }
.footer__legal a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.quiz__consent { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.quiz__consent a, .lead__note a, .modal__consent a { color: var(--green-dark); }

/* ===== FAB ===== */
.fab { position: fixed; right: 24px; width: 50px; height: 50px; border-radius: 28%; display: grid; place-items: center; box-shadow: 0 5px 16px rgba(0,0,0,.2); z-index: 40; overflow: hidden; transition: transform .15s ease; }
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 23px; height: 23px; }
.fab__img { width: 100%; height: 100%; display: block; object-fit: cover; }
.fab__label { display: none; }
.fab--call { bottom: 22px; background: var(--green); color: #fff; box-shadow: 0 5px 16px rgba(91,180,98,.4); }
.fab--max { bottom: 80px; background: transparent; box-shadow: 0 5px 16px rgba(91,110,255,.35); }

/* ===== УСЛУГИ ===== */
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__ic { width: 44px; height: 44px; color: var(--green); margin-bottom: 16px; }
.service h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 15px; }
.service--accent { background: var(--graphite); border-color: var(--graphite); color: #fff; position: relative; overflow: hidden; }
.service--accent::after { content: "Наша фишка"; position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 40px; }
.service--accent .service__ic { color: var(--green); }
.service--accent p { color: rgba(255,255,255,.7); }

/* ===== САУНЫ (галерея реальных фото) ===== */
.sauna-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.sauna-item { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.sauna-item--tall { grid-row: span 2; }
.sauna-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sauna-item:hover img { transform: scale(1.06); }
.sauna-item__tag { position: absolute; left: 12px; bottom: 12px; background: rgba(20,25,27,.78); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 20px; backdrop-filter: blur(2px); }
.sauna-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; text-align: center; }
.sauna-cta span { font-size: 18px; font-weight: 700; }

/* ===== КАМЕННЫЕ ПОКРЫТИЯ ===== */
.section--dark { background: #14191b; }
.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: rgba(255,255,255,.72); }
.section--dark .stone__list li { color: #f2f4f5; }
.stone { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }
.stone__video { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); background:#000; }
.stone__video video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.stone__badge { position: absolute; top: 14px; left: 14px; background: var(--green); color:#fff; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 20px; pointer-events: none; z-index: 2; }
.stone__caption { position: absolute; left: 16px; top: 52px; z-index: 2; color: #fff; font-size: 14px; line-height: 1.35; text-shadow: 0 2px 10px rgba(0,0,0,.85); pointer-events: none; padding-left: 12px; border-left: 3px solid var(--green); }
.stone__caption b { font-size: 18px; font-weight: 800; }
.stone__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.stone__list li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.4; }
.stone__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.stone__list li b { font-weight: 700; }
.stone__cta { padding-left: 0 !important; margin-top: 8px; }
.stone__cta::before { content: none !important; }
.stone__gallery-title { color: #fff; font-size: 24px; font-weight: 800; text-align: center; margin: 44px 0 22px; }
.stone-gallery { grid-template-columns: repeat(3,1fr); }
.stone-gallery .sauna-item__tag { background: var(--green); }

/* ===== ДО / ПОСЛЕ (слайдер) ===== */
.section--tint { background: linear-gradient(180deg, #f4f7f4, #eef2ee); }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.ba { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; box-shadow: var(--shadow); user-select: none; margin: 0; background: #ddd; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__img--before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba__tag { position: absolute; top: 14px; z-index: 4; background: rgba(20,25,27,.82); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .3px; padding: 6px 14px; border-radius: 20px; pointer-events: none; }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 3; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 10px rgba(0,0,0,.35); }
.ba__handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--green); font-weight: 900; font-size: 15px; display: grid; place-items: center; box-shadow: 0 3px 12px rgba(0,0,0,.35); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.ba__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-weight: 700; text-align: center; pointer-events: none; }
.ba-cta { text-align: center; margin-top: 32px; }
@media (max-width: 700px) {
  .ba-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ===== ЮРИДИЧЕСКИЕ СТРАНИЦЫ ===== */
.legal { max-width: 820px; margin: 0 auto; padding: 36px 20px 64px; }
.legal__title { font-size: 30px; font-weight: 800; margin: 14px 0 20px; color: var(--graphite); }
.legal h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; color: var(--graphite); }
.legal p { margin: 0 0 12px; line-height: 1.65; color: #333; }
.legal__date { color: var(--muted); font-size: 14px; }
.legal__back { display: inline-block; color: var(--green-dark); font-weight: 700; text-decoration: none; margin: 8px 0 4px; }
.legal__back:hover { text-decoration: underline; }

/* ===== ПОД КЛЮЧ ДЛЯ ИНОГОРОДНИХ ===== */
.turnkey { background: var(--graphite); color: #fff; padding: 76px 0; }
.turnkey__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.turnkey__eyebrow { display: inline-block; color: var(--green); font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.turnkey__title { font-size: 40px; font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin-bottom: 18px; }
.turnkey__title span { color: var(--green); }
.turnkey__lead { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 22px; max-width: 620px; }
.turnkey__list { display: grid; gap: 12px; margin-bottom: 30px; }
.turnkey__list li { position: relative; padding-left: 34px; font-size: 16px; }
.turnkey__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.turnkey__card { background: var(--graphite-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; }
.turnkey__badge { display: inline-block; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; }
.turnkey__who { display: grid; gap: 14px; margin-bottom: 20px; }
.turnkey__who li { position: relative; padding-left: 26px; font-size: 16px; font-weight: 600; }
.turnkey__who li::before { content: "→"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.turnkey__note { color: rgba(255,255,255,.6); font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }

/* ===== АДАПТИВ ===== */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
  .services { grid-template-columns: repeat(2,1fr); }
  .sauna-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .stone { grid-template-columns: 1fr; gap: 26px; }
  .turnkey__inner { grid-template-columns: 1fr; gap: 30px; }
  .turnkey__title { font-size: 32px; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .price-card img { min-height: 220px; }
  .lead__inner { grid-template-columns: 1fr; }
}
/* Меню сворачивается в бургер, когда перестаёт помещаться */
@media (max-width: 1360px) {
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--graphite); padding: 16px 20px; gap: 4px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .nav__link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 16px; }
  .burger { display: flex; }
  .header__contacts { margin-left: auto; }
}
.cta-short { display: none; }
@media (max-width: 760px) {
  .header__contacts { display: none; }
  .header__call { display: grid; }
  .header__inner { gap: 8px; }
  .header__cta { padding: 10px 15px; font-size: 13px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .logo__text { font-size: 16px; }
  .logo__ic { width: 34px; height: 34px; }
  .logo__tag { font-size: 12px; padding: 1px 5px; margin-left: 4px; }
}
@media (max-width: 430px) {
  .logo__text, .logo__tag { display: none; }
}
@media (max-width: 600px) {
  .hero__left, .qcalc { min-width: 0; }
  .qcalc { padding: 22px 18px; }
  .qcalc__grid { grid-template-columns: 1fr; }
  .qcalc__grid > *, .qcalc__col { min-width: 0; }
  .services { grid-template-columns: 1fr; }
  .turnkey__title { font-size: 27px; }
  .gallery, .steps { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 240px; }
  .work--big { grid-column: span 1; grid-row: span 1; }
  .work--big .work__overlay h3 { font-size: 22px; }
  .variants { grid-template-columns: 1fr; }
  .hero__title { font-size: 32px; }
  .section { padding: 60px 0; }
  .section__title { font-size: 30px; }
  .quiz { padding: 26px 18px; }
  .quiz__opts { flex-direction: column; align-items: stretch; }
  .opt { min-width: 0; width: 100%; flex-direction: row; justify-content: center; gap: 12px; padding: 18px 20px; }
  .opt__ic { width: 26px; height: 26px; }
  .quiz__back { position: static; display: block; margin-bottom: 16px; }
}

/* ===== МОДАЛЬНОЕ ОКНО ЗАЯВКИ ===== */
.header__cta { padding: 11px 22px; font-size: 14px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,25,27,.6); backdrop-filter: blur(3px); animation: fade .25s ease; }
.modal__dialog {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr;
  width: 100%; max-width: 820px; background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: pop .3s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }

.modal__close {
  position: absolute; top: 14px; right: 16px; z-index: 5; width: 38px; height: 38px;
  border: none; background: rgba(0,0,0,.05); border-radius: 50%; font-size: 26px; line-height: 1;
  color: var(--muted); cursor: pointer; transition: .2s;
}
.modal__close:hover { background: var(--green); color: #fff; transform: rotate(90deg); }

.modal__form { padding: 44px 38px; display: flex; flex-direction: column; }
.modal__title { font-size: 34px; font-weight: 900; margin-bottom: 14px; }
.modal__subject { font-weight: 700; color: var(--green); margin-bottom: 8px; }
.modal__lead { font-size: 17px; color: var(--muted); margin-bottom: 22px; }
.modal__lead b { color: var(--text); }
.modal__form .input { margin-bottom: 14px; }
.modal__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 12.5px; color: var(--green); cursor: pointer; }
.modal__consent input { width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; margin-top: 1px; }
.modal__success { margin-top: 16px; color: var(--green-dark); font-weight: 700; }

/* Телефон-мокап */
.modal__phone { background: linear-gradient(135deg, #2c3539, #1a2023); display: grid; place-items: center; padding: 30px; }
.phone {
  position: relative; width: 210px; height: 410px; background: #0c0f10; border-radius: 38px;
  padding: 10px; box-shadow: 0 0 0 9px #1c2225, 0 24px 50px rgba(0,0,0,.5);
}
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0c0f10; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen {
  position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #2a3f36 0%, #1a2024 70%);
  display: flex; flex-direction: column; align-items: center; padding: 18px 14px;
}
.phone__status { width: 100%; display: flex; justify-content: space-between; font-size: 9px; opacity: .9; }
.phone__call { text-align: center; margin-top: 46px; }
.phone__name { font-size: 18px; font-weight: 700; white-space: nowrap; letter-spacing: -.3px; }
.phone__timer { font-size: 14px; opacity: .8; margin-top: 4px; }
.phone__keys { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; width: 100%; }
.phone__key { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; opacity: .92; }
.phone__key i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); font-style: normal; }
.phone__key i svg { width: 20px; height: 20px; }
.phone__hang { display: grid; place-items: center; width: 50px; height: 50px; margin-top: 14px; border-radius: 50%; background: #e5484d; transform: rotate(133deg); }
.phone__hang svg { width: 24px; height: 24px; }

@media (max-width: 720px) {
  .modal__dialog { grid-template-columns: 1fr; max-width: 420px; }
  .modal__phone { display: none; }
  .modal__form { padding: 40px 26px 30px; }
  .modal__title { font-size: 28px; }
}

/* ===== ЛАЙТБОКС (листалка фото) ===== */
.work--gallery { cursor: pointer; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(10,12,14,.92); }
.lightbox__stage { position: relative; z-index: 2; margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 92vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); object-fit: contain; }
.lightbox__counter { color: #fff; margin-top: 14px; font-size: 15px; opacity: .85; }
.lightbox__close { position: absolute; top: 20px; right: 24px; z-index: 3; width: 46px; height: 46px; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.28); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 56px; height: 56px; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; transition: .2s; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
@media (max-width: 600px) {
  .lightbox__nav { width: 46px; height: 46px; font-size: 26px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
}

/* ===== НАШИ РАБОТЫ: видео + галереи по помещениям ===== */
.works-video { position: relative; max-width: 820px; margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.works-video video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.works-video__badge { position: absolute; top: 12px; left: 12px; background: rgba(20,25,27,.8); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 20px; pointer-events: none; }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { margin: 0; background: #fff; border: 1px solid #e6e9e5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pcard__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: #eef1ee; }
.pcard__stage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.pcard__stage:hover img { transform: scale(1.04); }
.pcard__zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(20,25,27,.72); color: #fff; font-size: 20px; font-weight: 700; display: grid; place-items: center; pointer-events: none; }
.pcard__title { padding: 13px 15px 6px; font-size: 16px; font-weight: 800; color: var(--graphite, #1f262a); }
.pcard__thumbs { display: flex; gap: 8px; padding: 4px 13px 15px; overflow-x: auto; scrollbar-width: thin; }
.pcard__thumb { flex: 0 0 auto; width: 58px; height: 44px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; transition: border-color .15s; }
.pcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__thumb.is-active { border-color: var(--green, #5bb462); }
.pcard__thumb:hover { border-color: #b7c9b9; }
@media (max-width: 900px) {
  .pcards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
