﻿/* СИБЕРИЯ — уникальный дизайн посадочного сайта модульных бань
   Не шаблон, не копия shallpav/m7. Композиция: блочная сетка + тёплый янтарь. */

:root {
  --bg: #151914;
  --bg-elev: #1c231e;
  --bg-soft: #232b24;
  --line: rgba(232, 226, 214, 0.14);
  --text: #f5f1e8;
  --muted: #b0aa9c;
  --amber: #c9a66b;
  --amber-hot: #e0bf86;
  --sage: #7d8f72;
  --cream: #ebe4d6;
  --danger: #c97868;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: calc(72px + var(--safe-b));
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px) saturate(1.1);
  background: rgba(14, 17, 15, 0.78);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 24px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__mark,
.logo__img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.logo__img {
  object-fit: cover;
  display: block;
  background: #0a0a0a;
}

.logo__text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo__text span {
  color: var(--amber);
}

.nav {
  display: none;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone {
  display: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.icon-btn:hover {
  border-color: var(--amber);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.burger {
  display: grid;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
  margin: 2px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 670;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--amber);
  color: #1a140c;
  box-shadow: 0 10px 30px rgba(201, 166, 107, 0.28);
}

.btn--primary:hover {
  background: var(--amber-hot);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--amber);
}

.btn--soft {
  background: var(--cream);
  color: #16130e;
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.header .btn--ghost {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

/* Mobile menu */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(14, 17, 15, 0.96);
  backdrop-filter: blur(12px);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  padding: 14px 4px;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__contacts {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding-top: 24px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(640px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: flex-end;
  padding: 28px 0 40px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 22, 18, 0.62) 0%, rgba(18, 22, 18, 0.38) 44%, rgba(18, 22, 18, 0.12) 74%, rgba(18, 22, 18, 0.28) 100%),
    linear-gradient(to top, rgba(18, 22, 18, 0.4) 0%, transparent 48%);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 58%;
  transform: none;
  filter: none;
}

@media (max-width: 767px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding: 0 0 28px;
  }

  .hero__bg {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 220px;
    max-height: 46svh;
  }

  .hero__photo {
    object-fit: cover;
    object-position: center center;
  }

  .hero__veil {
    background:
      linear-gradient(to top, rgba(18, 22, 18, 0.72) 0%, rgba(18, 22, 18, 0.25) 45%, rgba(18, 22, 18, 0.15) 100%);
  }

  .hero__content {
    width: min(1120px, calc(100% - 32px));
    margin: -56px auto 0;
    max-width: none;
  }

  .hero__trust {
    display: none;
  }
}

.hero__modules {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  max-width: 560px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero__trust {
  border-top-color: rgba(232, 226, 214, 0.18);
}

.hero .btn--ghost {
  background: rgba(14, 17, 15, 0.35);
  backdrop-filter: blur(8px);
  border-color: rgba(232, 226, 214, 0.28);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 7vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-hot);
}

.hero__lead {
  color: var(--muted);
  font-size: clamp(15px, 2.5vw, 18px);
  max-width: 42ch;
  margin-bottom: 28px;
}

.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 28px;
}

.hero__price-val {
  font-family: var(--display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
}

.hero__price-note {
  font-size: 13px;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.hero__trust strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

/* ——— Sections ——— */
.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-weight: 650;
  margin-bottom: 8px;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__sub {
  color: var(--muted);
  max-width: 42ch;
  margin-top: 10px;
  font-size: 15px;
}

/* Advantages */
.advantages {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}

/* Mood strip */
.mood {
  padding: 0;
  background: var(--bg);
}

.mood__grid {
  display: grid;
  gap: 0;
  align-items: stretch;
}

.mood__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  height: 100%;
}

.mood__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 0.7s ease;
  display: block;
}

.mood__item:hover img {
  transform: scale(1.03);
}

.mood__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.adv-grid {
  display: grid;
  gap: 12px;
}

.adv-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.adv-card__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(201, 166, 107, 0.12);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}

.adv-card h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 4px;
}

.adv-card p {
  font-size: 14px;
  color: var(--muted);
}

/* Catalog */
.catalog-note {
  display: none;
}

.review-note {
  display: none;
}

.catalog-grid {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(201, 166, 107, 0.45);
  transform: translateY(-2px);
}

.card__quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 1 / 1;
  background: #101510;
}

.card__shot {
  position: relative;
  overflow: hidden;
  background: #1a211c;
  min-height: 0;
}

.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__shot span {
  display: none;
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 1;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(10, 12, 10, 0.7);
  color: var(--cream);
  letter-spacing: 0.02em;
}

.card__shot--empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(201, 166, 107, 0.08), transparent 55%),
    #1a211c;
  border: 0;
}

.card__shot--empty span {
  position: static;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  padding: 8px;
}

.card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.card--product .card__badge {
  position: static;
  display: inline-flex;
}

.card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.card__visual {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(201, 166, 107, 0.12), transparent 60%),
    #1a211c;
  overflow: hidden;
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 17, 15, 0.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.card__badge--hit {
  background: rgba(201, 166, 107, 0.9);
  color: #1a140c;
  border-color: transparent;
}

.card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.card__price {
  font-size: 20px;
  font-weight: 700;
  margin-top: auto;
}

.card__price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Modular SVG visuals inside cards */
.mod-art {
  width: 100%;
  height: 100%;
}

/* Quiz */
.quiz {
  background:
    linear-gradient(135deg, rgba(201, 166, 107, 0.06), transparent 45%),
    var(--bg-elev);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.quiz-layout {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.quiz-main .section__title {
  margin-bottom: 8px;
}

.quiz-main .section__sub {
  margin-bottom: 20px;
}

.quiz-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 22px;
  width: 100%;
  max-width: none;
}

.quiz-visual {
  display: none;
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: #141a16;
}

.quiz-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  filter: saturate(0.92) contrast(1.04);
}

.quiz-visual img.is-on {
  opacity: 1;
}

.quiz-visual__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(10, 12, 10, 0.72);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
}

.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.quiz-progress span {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: var(--line);
}

.quiz-progress span.is-on {
  background: var(--amber);
}

.quiz-step h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 8px;
}

.quiz-step p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-opt {
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.quiz-opt:hover,
.quiz-opt.is-selected {
  border-color: var(--amber);
  background: rgba(201, 166, 107, 0.08);
}

.quiz-opt strong {
  display: block;
  margin-bottom: 2px;
}

.quiz-opt span {
  font-size: 13px;
  color: var(--muted);
}

.quiz-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.quiz-step[hidden] {
  display: none;
}

/* Gallery / objects */
.gallery-grid {
  display: grid;
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-size: 13px;
  font-weight: 600;
}

/* Turnkey / guarantees */
.split {
  display: grid;
  gap: 28px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list .tick {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(125, 143, 114, 0.2);
  color: var(--sage);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.guarantee-cards {
  display: grid;
  gap: 12px;
}

.g-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}

.g-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.g-card p {
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 20px 20px 20px 72px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  font-family: var(--display);
  font-size: 18px;
  color: var(--amber);
  font-weight: 600;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

.guarantee-cards--stack {
  grid-template-columns: 1fr !important;
  align-content: start;
}

.guarantee-cards--stack .g-card {
  height: auto;
  min-height: 0;
  align-self: start;
}

.split > .reveal {
  align-self: start;
}

/* About */
.about {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.about__text .section__title {
  margin: 0 0 14px;
}

.about__text > p {
  margin: 0 0 12px;
  color: var(--text);
}

.about__text > p + p {
  color: var(--muted);
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.about__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  height: 100%;
}

.about__photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.faq-main .section__title {
  margin-bottom: 20px;
}

.faq-list {
  display: grid;
  gap: 8px;
  max-width: none;
}

.faq-side {
  display: grid;
  gap: 12px;
}

.faq-side__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
}

.faq-side__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.faq-side__card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  gap: 12px;
}

.faq-side__card h3 {
  font-family: var(--display);
  font-size: 20px;
}

.faq-side__card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.stat {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  color: var(--amber);
  margin-bottom: 4px;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 18px;
  font-weight: 650;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-size: 20px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-a {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Reviews */
.reviews-track {
  display: grid;
  gap: 12px;
}

.review {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.review__stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
}

.review p {
  font-size: 15px;
  margin-bottom: 14px;
}

.review footer {
  font-size: 13px;
  color: var(--muted);
}

.review footer strong {
  color: var(--text);
}

/* Contacts */
.contacts-layout {
  display: grid;
  gap: 16px;
}

.contacts-top {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card h3 {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-form-lead {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.contact-rows {
  display: grid;
  gap: 16px;
  flex: 1;
  margin-top: 12px;
}

.contact-rows a,
.contact-rows span {
  display: block;
}

.contact-rows .label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-rows .value {
  font-weight: 650;
  font-size: 16px;
}

.messengers {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.messengers a {
  display: inline;
  color: var(--amber-hot);
}

.messengers a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card__foot {
  margin-top: 22px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
  background: var(--bg-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(0.25) contrast(1.04);
}

.contact-card.form > .btn,
.contact-card.form > .form__status {
  margin-top: 4px;
}

.contact-card.form > .btn {
  margin-top: auto;
}

.contact-card.form {
  gap: 12px;
}

/* Forms */
.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
}

.form textarea {
  min-height: 100px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--amber);
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.form__check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--amber);
  flex-shrink: 0;
}

.form__check a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__status {
  font-size: 13px;
  min-height: 1.2em;
}

.form__status.is-ok {
  color: var(--sage);
}

.form__status.is-err {
  color: var(--danger);
}

/* Footer */
.footer {
  padding: 40px 0 calc(24px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: #0a0c0a;
  font-size: 13px;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  gap: 24px;
}

.footer__brand {
  font-family: var(--display);
  color: var(--text);
  font-size: 16px;
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--amber);
}

.footer__legal {
  line-height: 1.7;
}

/* Sticky mobile bar — Telegram-like */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + var(--safe-b));
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(22, 27, 23, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.dock .btn {
  min-height: 46px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__panel {
  width: min(440px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 22px 22px 16px 16px;
  padding: 22px;
  transform: translateY(24px);
  transition: transform 0.25s ease;
}

.modal.is-open .modal__panel {
  transform: translateY(0);
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.modal__head h2 {
  font-family: var(--display);
  font-size: 20px;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

body.is-locked {
  overflow: hidden;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Desktop ——— */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .dock {
    display: none;
  }

  .nav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .header__phone {
    display: block;
  }

  .header .btn--ghost {
    display: inline-flex;
  }

  .adv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guarantee-cards {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-track {
    grid-template-columns: 1fr 1fr;
  }

  .contacts-top {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .map-wrap iframe {
    height: 380px;
  }

  .map-wrap {
    min-height: 380px;
  }

  .mood__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mood__item,
  .mood__item:last-child {
    aspect-ratio: 4 / 3;
  }

  .quiz-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
    gap: 28px;
    align-items: stretch;
  }

  .quiz-visual {
    display: block;
    min-height: 520px;
  }

  .faq-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
  }

  .guarantee-cards--stack {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    gap: 40px;
  }

  .about__photo img {
    min-height: 100%;
  }

  .hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: calc(100svh - var(--header-h));
    padding: 72px 0 88px;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: auto;
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
  }

  .hero__content {
    max-width: 540px;
    margin: 0;
    margin-left: max(16px, calc((100% - 1120px) / 2));
    margin-right: auto;
  }

  .hero__photo {
    object-position: center center;
  }

  .hero__trust {
    display: flex;
  }

  .modal {
    place-items: center;
  }

  .modal__panel {
    border-radius: 22px;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .adv-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .guarantee-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .guarantee-cards--stack {
    grid-template-columns: 1fr !important;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .map-wrap iframe {
    height: 420px;
  }

  .map-wrap {
    min-height: 420px;
  }

  .section {
    padding: 96px 0;
  }
}
