/* ============ Болотоход «Зверь» ============ */
:root {
  --green: #4e5f38;
  --green-dark: #3d4b2c;
  --green-light: #6d7f52;
  --bg: #f5f5f2;
  --bg-gray: #ecece7;
  --text: #1d1d1b;
  --muted: #6b6b66;
  --border: #d9d9d2;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(29, 29, 27, .08);
  --font-head: 'Oswald', sans-serif;
  --font-body: 'PT Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, .btn, .logo-text {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============ Кнопки ============ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  background: none;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn--outline { color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--green-dark); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--block { display: block; width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 13px; }

/* ============ Шапка ============ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.header__logo img { max-height: 52px; }
.logo-text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  display: inline-block;
}
.logo-text em { font-style: normal; color: var(--green); letter-spacing: .12em; }
.logo-text--light { color: var(--white); }

.header__nav { display: flex; gap: 26px; }
.header__nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.header__nav a:hover { color: var(--green); border-color: var(--green); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 700; color: var(--text); white-space: nowrap; }
.header__fav { position: relative; color: var(--text); display: flex; }
.header__fav:hover { color: var(--green); }
.fav-count {
  position: absolute; top: -7px; right: -9px;
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700;
  min-width: 17px; height: 17px; line-height: 17px;
  border-radius: 9px; text-align: center; padding: 0 3px;
}

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }

/* ============ Hero ============ */
.hero { position: relative; background: #2e3627; overflow: hidden; }
.hero__slide {
  display: none;
  min-height: 480px;
  background: linear-gradient(100deg, rgba(24, 28, 18, .82) 25%, rgba(24, 28, 18, .25) 70%),
              url('../img/hero-bg.svg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
}
.hero__slide.is-active { display: flex; align-items: center; }
.hero__content { padding: 70px 20px; color: var(--white); }
.hero__title {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  max-width: 640px;
}
.hero__subtitle { font-size: clamp(17px, 2.5vw, 24px); margin-top: 14px; max-width: 520px; }
.hero__badge {
  display: inline-block;
  margin-top: 22px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 8px 18px;
  transform: skewX(-8deg);
}
.hero__btn { display: block; width: max-content; margin-top: 28px; }
.hero__dots {
  position: absolute; bottom: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
}
.hero__dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .45); cursor: pointer;
}
.hero__dots button.is-active { background: var(--white); }

/* ============ Преимущества ============ */
.features { background: var(--white); border-bottom: 1px solid var(--border); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 20px;
}
.feature { display: flex; align-items: center; gap: 14px; }
.feature__icon {
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--green); border-radius: 50%;
  color: var(--green); font-size: 20px;
}
.feature b { font-family: var(--font-head); text-transform: uppercase; font-size: 14px; letter-spacing: .05em; }
.feature p { color: var(--muted); font-size: 13.5px; }

/* ============ Секции ============ */
.section { padding: 64px 0; }
.section--gray { background: var(--bg-gray); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__title { font-size: clamp(26px, 4vw, 38px); font-weight: 600; margin-bottom: 10px; }
.section__subtitle { color: var(--muted); margin-bottom: 30px; }
.section__link { font-family: var(--font-head); font-size: 14px; text-transform: uppercase; font-weight: 500; }

/* ============ Карточки моделей ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(29, 29, 27, .14); }
.card__img { position: relative; aspect-ratio: 4/3; background: var(--bg-gray); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--green); color: var(--white);
  font-family: var(--font-head); font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 10px; border-radius: 4px;
}
.card__badge--inline { position: static; display: inline-block; margin-bottom: 10px; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 19px; font-weight: 600; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--green); }
.card__meta { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.card__price { font-family: var(--font-head); font-size: 23px; font-weight: 700; margin: 12px 0 16px; color: var(--text); }
.card__actions { margin-top: auto; display: flex; align-items: center; gap: 10px; }

.fav-btn {
  background: none; border: 2px solid var(--border); border-radius: 6px;
  padding: 8px 10px; cursor: pointer; color: var(--muted);
  display: flex; transition: .2s;
}
.fav-btn:hover { border-color: var(--green); color: var(--green); }
.fav-btn.is-active { border-color: var(--green); color: var(--green); }
.fav-btn.is-active svg { fill: var(--green); }
.fav-btn--big { padding: 11px 14px; }

.empty-note { color: var(--muted); padding: 20px 0; }
.catalog-count { color: var(--muted); }

/* ============ Конструктор ============ */
.constructor {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 26px;
  margin-top: 30px;
  align-items: start;
}
.constructor__panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.constructor__field { margin-bottom: 20px; }
.constructor__label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  color: var(--muted);
}
.constructor__select {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-body); font-size: 15px;
  background: var(--white);
}
.constructor__options { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding-right: 4px; }

.constructor__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  min-width: 58px;
}
.color-swatch input { display: none; }
.color-swatch__dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.color-swatch input:checked + .color-swatch__dot {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(78, 95, 56, .35);
  transform: scale(1.08);
}
.color-swatch__name {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.color-swatch input:checked ~ .color-swatch__name { color: var(--green-dark); font-weight: 700; }
.constructor__colors-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14.5px; }
.checkbox[hidden] { display: none !important; }
.checkbox input { display: none; }
.checkbox__box {
  width: 19px; height: 19px; flex: none; margin-top: 2px;
  border: 2px solid var(--border); border-radius: 4px;
  position: relative; transition: .15s;
}
.checkbox input:checked + .checkbox__box { background: var(--green); border-color: var(--green); }
.checkbox input:checked + .checkbox__box::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid var(--white); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox__text em { font-style: normal; color: var(--green); font-weight: 700; white-space: nowrap; }

.constructor__main { display: flex; flex-direction: column; gap: 20px; }
.constructor__img {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
  padding: 20px;
}
.constructor__img img { max-height: 420px; object-fit: contain; border-radius: 6px; transition: opacity .16s ease, transform .16s ease; }
.constructor__img img.is-fading { opacity: .25; transform: scale(.98); }
.constructor__img.is-updating { box-shadow: 0 0 0 2px rgba(78, 95, 56, .35); border-radius: 10px; transition: box-shadow .16s ease; }
.constructor__summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.constructor__total span { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; font-family: var(--font-head); letter-spacing: .06em; }
.constructor__total b { font-family: var(--font-head); font-size: 30px; color: var(--green-dark); }
.constructor__config { font-size: 13.5px; color: var(--muted); }
.constructor__actions { display: flex; flex-direction: column; gap: 10px; }
.constructor__specs {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.constructor__specs-title {
  font-family: var(--font-head);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: var(--green-dark);
}
.constructor__specs-table { width: 100%; border-collapse: collapse; }
.constructor__specs-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}
.constructor__specs-table td:first-child { color: var(--muted); width: 52%; }
.constructor__specs-table td:last-child { font-weight: 700; }

.about-page--center .detail__text {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 28px 0 36px;
}
.about-gallery__item {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about-gallery__item img,
.about-gallery__item video {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}
.about-gallery__item figcaption {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--muted);
}

.modal__hint { font-weight: 400; color: var(--muted); font-size: 12px; }

.model-specs-block { margin-top: 48px; }
.model-specs-block__title {
  font-family: var(--font-head);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.model-specs-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 20px;
}
.model-specs-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--green-dark); }

/* ============ Блок Сравнения ============ */
.comparison-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.comparison-block__img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.comparison-block__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/3; }

/* ============ Блок «О компании» ============ */
.about-block { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.about-block__text p { margin-bottom: 22px; color: #3c3c38; }
.about-block__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-block__stats--row { grid-template-columns: repeat(4, 1fr); margin-top: 34px; }
.stat {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; text-align: center;
  border: 2px solid var(--border);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
}
.about-block__stats .stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 32px rgba(78, 95, 56, .15);
  border-color: var(--green);
}
.stat b { display: block; font-family: var(--font-head); font-size: 27px; color: var(--green); }
.stat span { color: var(--muted); font-size: 13.5px; }

/* ============ Отзывы ============ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 28px; }
.review {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.review__stars { color: var(--border); font-size: 17px; margin-bottom: 10px; letter-spacing: 2px; }
.review__stars--lg { font-size: 22px; margin-bottom: 16px; }
.review__stars .on { color: #d9a614; }
.review__text { color: #3c3c38; line-height: 1.6; }
.review__author { font-weight: 700; font-size: 14px; margin: 0; }
.review__city { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.review__img { border-radius: 6px; margin-bottom: 12px; max-height: 220px; object-fit: cover; }
.review__video { border-radius: 6px; margin-bottom: 12px; max-height: 300px; width: 100%; object-fit: cover; background: #000; }

/* Главный видеоотзыв */
.review-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 8px 32px rgba(29, 29, 27, .12);
  padding: 32px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
}
.review-featured--compact { margin-bottom: 32px; padding: 24px; gap: 28px; }
.review-featured__media { position: relative; }
.review-featured__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--green); color: var(--white);
  font-family: var(--font-head); font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 12px; border-radius: 4px;
}
.review-featured__video {
  width: 100%;
  max-height: 420px;
  border-radius: 10px;
  background: #000;
  display: block;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.review-featured--compact .review-featured__video { max-height: 280px; }
.review-featured__text {
  font-size: 17px;
  line-height: 1.65;
  color: #3c3c38;
  margin-bottom: 20px;
}
.review-featured__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.review-featured__meta b { font-family: var(--font-head); font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.review-featured__meta span,
.review-featured__meta time { color: var(--muted); font-size: 14px; }

/* Текстовые карточки отзывов */
.review--card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 22px 22px;
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.review--card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(29, 29, 27, .12);
  border-color: var(--green-light);
}
.review__quote {
  position: absolute; top: 8px; right: 18px;
  font-family: var(--font-head); font-size: 64px; line-height: 1;
  color: rgba(78, 95, 56, .12); pointer-events: none;
}
.review__footer { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); }

.reviews-page { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.reviews-page__subtitle {
  font-family: var(--font-head);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 22px;
  color: var(--text);
}
.reviews-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reviews-page__grid--home {
  margin-top: 0;
  grid-template-columns: repeat(4, 1fr);
}
.reviews-page__form {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
  position: sticky; top: 92px;
  border: 1px solid var(--border);
}
.reviews-page__form h3 { font-size: 20px; margin-bottom: 16px; }

/* ============ Формы ============ */
form label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
form input, form textarea, form select {
  width: 100%; margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-body); font-size: 15px;
  background: var(--white);
}
form input:focus, form textarea:focus, form select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(78, 95, 56, .15);
}

.alert { padding: 14px 18px; border-radius: 8px; margin: 18px 0; }
.alert--success { background: #e4eeda; color: #33501c; }
.alert--error { background: #f3dede; color: #7a2222; }

/* ============ CTA ============ */
.cta { background: linear-gradient(115deg, var(--green-dark), var(--green)); color: var(--white); padding: 60px 0; }
.cta__inner { text-align: center; }
.cta h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 10px; }
.cta p { margin-bottom: 24px; opacity: .9; }
.cta a { color: var(--white); text-decoration: underline; }

/* ============ Страницы ============ */
.page-head { background: var(--white); border-bottom: 1px solid var(--border); padding: 26px 0 30px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.page-title { font-size: clamp(28px, 4.5vw, 42px); font-weight: 600; }
.page-subtitle { color: var(--muted); margin-top: 6px; }

/* ============ Карточка модели ============ */
.detail__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.detail__main-img {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.detail__main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.detail__thumb {
  width: 84px; height: 64px; border-radius: 6px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--bg-gray);
}
.detail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumb.is-active { border-color: var(--green); }
.detail__title { font-size: clamp(26px, 4vw, 38px); font-weight: 600; }
.detail__meta { color: var(--muted); margin-top: 6px; }
.detail__desc { margin-top: 14px; color: #3c3c38; }
.detail__price { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: var(--green-dark); margin: 18px 0; }
.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.detail__perks { margin-top: 24px; padding-left: 0; list-style: none; }
.detail__perks li { padding: 7px 0 7px 28px; position: relative; color: #3c3c38; }
.detail__perks li::before {
  content: ''; position: absolute; left: 4px; top: 13px;
  width: 6px; height: 11px;
  border: solid var(--green); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.detail__text { max-width: 820px; color: #3c3c38; }
.detail__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.specs-table td { padding: 11px 6px; border-bottom: 1px solid var(--border); font-size: 15px; }
.specs-table td:first-child { color: var(--muted); width: 55%; }
.specs-table td:last-child { font-weight: 700; }

.features-list { list-style: none; margin-top: 18px; }
.features-list li {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 16px; margin-bottom: 9px; font-size: 15px;
}
.features-list--interactive li {
  border: 2px solid var(--border);
  padding: 16px 18px;
  cursor: default;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
}
.features-list--interactive li:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(78, 95, 56, .14);
  border-color: var(--green);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
  padding: 12px 2px 16px;
  overflow: visible;
}
.option-card-wrap {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), filter .28s ease;
  will-change: transform;
}
.option-card-wrap:hover,
.option-card-wrap:focus-within {
  transform: translateY(-14px);
  filter: drop-shadow(0 22px 28px rgba(29, 29, 27, .22));
  z-index: 3;
  position: relative;
}
.option-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.option-card-wrap:hover .option-card,
.option-card-wrap:focus-within .option-card {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(78, 95, 56, .18);
}
.option-card-wrap:active {
  transform: translateY(-6px);
  transition-duration: .1s;
}
.option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.option-card-wrap:hover .option-card::before,
.option-card-wrap:focus-within .option-card::before {
  transform: scaleX(1);
}
.option-card img {
  border-radius: 6px;
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  margin-bottom: 4px;
  transition: transform .35s ease;
}
.option-card-wrap:hover .option-card img,
.option-card-wrap:focus-within .option-card img {
  transform: scale(1.04);
}
.option-card b { font-size: 14px; transition: color .2s; }
.option-card-wrap:hover .option-card b,
.option-card-wrap:focus-within .option-card b { color: var(--green-dark); }
.option-card p { color: var(--muted); font-size: 13.5px; }
.option-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  margin-top: auto;
  transition: transform .28s ease;
}
.option-card-wrap:hover .option-card__price,
.option-card-wrap:focus-within .option-card__price {
  transform: scale(1.05);
}
.option-card__hint {
  font-size: 12px;
  color: var(--green);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .35;
  transition: opacity .28s ease;
}
.option-card-wrap:hover .option-card__hint,
.option-card-wrap:focus-within .option-card__hint { opacity: 1; }

/* ============ Контакты ============ */
.contacts-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contacts-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item b { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.contact-item a { display: block; font-size: 17px; font-weight: 700; color: var(--text); }
.contact-item a:hover { color: var(--green); }
.contacts-map iframe { width: 100%; min-height: 420px; border: 0; border-radius: var(--radius); }
.map-placeholder {
  min-height: 420px; border-radius: var(--radius);
  background: var(--bg-gray); border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-align: center; padding: 20px;
}

/* ============ Футер ============ */
.footer { background: #23291c; color: #cfd2c8; margin-top: 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 50px 20px 34px;
}
.footer__col h4 { color: var(--white); font-size: 14px; letter-spacing: .08em; margin-bottom: 14px; }
.footer__col a { display: block; color: #cfd2c8; padding: 4px 0; font-size: 14.5px; }
.footer__col a:hover { color: var(--white); }
.footer__col p { font-size: 14.5px; padding: 4px 0; }
.footer__slogan { margin-top: 12px; font-size: 13.5px; opacity: .8; }
.footer__socials { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.footer__socials a { font-size: 13.5px; text-decoration: underline; }
.footer__socials--dark a { color: var(--green); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 20px; font-size: 13px; opacity: .7; }
.footer .btn--primary { margin-top: 6px; }

/* ============ Модалка ============ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 24, 14, .6); }
.modal__box {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  max-width: 440px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  padding: 30px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.modal__close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0; font-size: 30px; line-height: 1;
  color: var(--muted); cursor: pointer;
}
.modal__title { font-size: 21px; margin-bottom: 6px; padding-right: 24px; }
.modal__config { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.modal__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; font-weight: 400; }
.modal__success { text-align: center; padding: 20px 0; }
.modal__success p { font-size: 17px; font-weight: 700; margin-bottom: 20px; }

/* ============ Адаптив ============ */
@media (max-width: 1024px) {
  .constructor {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .constructor__main { display: contents; }
  .constructor__img { order: -2; min-height: 240px; }
  .constructor__panel { order: -1; }
  .constructor__summary {
    order: 0;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .constructor__specs { order: 1; }
  .comparison-block { grid-template-columns: 1fr; }
  .about-block { grid-template-columns: 1fr; }
  .detail__grid { grid-template-columns: 1fr; }
  .detail__columns { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .reviews-page { grid-template-columns: 1fr; }
  .reviews-page__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-page__grid--home { grid-template-columns: repeat(2, 1fr); }
  .review-featured { grid-template-columns: 1fr; }
  .reviews-page__form { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header__nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .header__nav.is-open { display: flex; }
  .header__nav a { padding: 14px 20px; border-bottom: 1px solid var(--bg-gray); }
  .burger { display: block; }
  .header__phone { display: none; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .about-block__stats--row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 44px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .about-block__stats { grid-template-columns: 1fr 1fr; }
  .reviews-page__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__slide { min-height: 420px; }
  .detail__actions .btn { flex: 1 1 100%; }
  .constructor__actions { width: 100%; }
}
