/* НАСЛЕДИЕ — Архитектурно-строительная мастерская
   Общие стили (Gilroy — заголовки, Inter — текст) */

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f4f4;
  --white: #ffffff;
  --orange: #fd4d00;
  --orange-dark: #e04500;
  --orange-soft: #fff7f3;
  --orange-soft-2: #ffe2d5;
  --navy: #1c2440;
  --text: #1c274c;
  --gray: #5f626e;
  --gray-2: #8b8e99;
  --gray-3: #a6a8ae;
  --dark: #22242a;
  --dark-2: #262626;
  --dark-3: #353840;
  --blue-dark: #1b2236;
  /* синеватый тёмный для финального блока */
  --blue-dark-2: #232c45;
  --gold: #ffa600;
  --cyan: #2ab7e0;

  --radius-pill: 60px;
  --radius-xl: 40px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;

  --container: 1920px;

  /* Резиновая (fluid) шкала: интерполяция между ~901px и 1920px
     Значения подобраны так, чтобы на 1920px совпадать с макетом,
     а на узких десктопах/планшетах плавно уменьшаться. */
  --fs-hero: clamp(34px, 2.06vw + 15.4px, 55px);
  --fs-55: clamp(33px, 2.16vw + 13.5px, 55px);
  --fs-50: clamp(31px, 1.87vw + 14.1px, 50px);
  --fs-35: clamp(24px, 1.08vw + 14.3px, 35px);
  --fs-34: clamp(24px, 0.98vw + 15.2px, 34px);
  --fs-32: clamp(22px, 0.98vw + 13.2px, 32px);
  --fs-30: clamp(22px, 0.79vw + 14.9px, 30px);
  --fs-27: clamp(21px, 0.59vw + 15.7px, 27px);
  --fs-25: clamp(20px, 0.49vw + 15.6px, 25px);
  --fs-22: clamp(18px, 0.39vw + 14.5px, 22px);

  /* Резиновые отступы */
  --gutter: clamp(33px, 2.65vw, 51px);
  --section-gap: clamp(20px, 1.9vw, 36px);
  --card-pad: clamp(30px, 2.55vw, 49px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

body {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  margin-top: var(--section-gap);
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--card-pad);
}

/* нахлёст блоков: закруглённый тёмный блок лежит ПОВЕРХ белого каталога */
.attach-bottom {
  position: relative;
  z-index: 1;
  padding-bottom: 180px;
}

.attach-top {
  position: relative;
  z-index: 2;
}

/* Заголовки (Gilroy) */
.section-title {
  font-family: "Gilroy", sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-title b {
  font-weight: 700;
}

.section-title .muted {
  color: var(--gray-3);
  font-weight: 600;
}

/* Иконка в круге */
.ic-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ic-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Маркер «прозрачный круг 65 + оранжевый круг + белый плюс 19» */
.plus-mark {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(253, 77, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plus-mark::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 1v8M1 5h8' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center/10px 10px no-repeat;
}

/* Теги */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
}

.tag img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.tag--dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tag--dark img {
  filter: brightness(0) invert(1);
}

/* Кнопки */
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-pill);
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 34px;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 16px 34px rgba(253, 77, 0, 0.26);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(253, 77, 0, 0.4);
}

.btn-primary--sm {
  font-size: 15px;
  padding-left: 28px;
  gap: 14px;
}

.btn-primary--sm .btn-circle {
  width: 50px;
  height: 50px;
}

.btn-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-circle img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.btn-circle svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.btn-outline {
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius-pill);
  min-height: 62px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s;
}

.btn-outline:hover {
  background: var(--orange);
  color: #fff;
}

.btn-outline img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.btn-light {
  background: #fff;
  color: var(--orange);
  border-radius: var(--radius-pill);
  min-height: 78px;
  padding: 0 14px 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s;
}

.btn-light:hover {
  transform: translateY(-2px);
}

.btn-light .ar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-light .ar img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* стрелочная круглая кнопка (слайдеры) */
.nav-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.nav-arrow:hover {
  background: var(--orange-dark);
}

.nav-arrow img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ШАПКА */
.header {
  background: var(--white);
  border-radius: 24px;
  margin: 18px auto 0;
  max-width: var(--container);
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 44px;
  position: sticky;
  top: 12px;
  z-index: 90;
  transition:
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.35s ease;
}

.header.is-stuck {
  box-shadow: 0 14px 34px rgba(28, 36, 64, 0.14);
}

/* На планшете и телефоне у закреплённой шапки появляются внутренние боковые отступы */
@media (max-width: 900px) {
  .header.is-stuck {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 24px;
}

.nav__link {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--orange);
}

.nav__caret {
  width: 10px;
  height: 6px;
}

.header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.social:hover {
  transform: translateY(-2px);
}

.social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.header__phone {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  font-family: "Gilroy", sans-serif;
  text-decoration: none;
  transition: color 0.18s ease;
}

.header__phone:hover {
  color: var(--orange);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  align-items: center;
  justify-content: center;
}

.burger svg {
  width: 24px;
  height: 24px;
}

/* ГЛАВНЫЙ ЭКРАН */
.hero {
  display: grid;
  grid-template-columns: 1fr clamp(440px, 42vw, 800px);
  gap: 24px;
  margin-top: 24px;
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #cfd3d6;
  min-height: clamp(560px, 44vw, 846px);
}

.hero__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__card .tag {
  align-self: flex-start;
}

.hero__title {
  font-family: "Gilroy", sans-serif;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--navy);
  margin-top: 30px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  color: var(--gray);
  font-size: 18px;
  font-weight: 500;
  margin-top: 26px;
 // max-width: 450px;
}

.hero__cta {
  margin-top: 34px;
  max-width: 330px;
}

.hero__mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: auto;
  padding-top: 54px;
}

.mini-card {
  background: var(--orange-soft);
  border-radius: var(--radius-md);
  padding: 26px;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dots-pair {
  display: flex;
  align-items: center;
}

.dots-pair span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.dots-pair .dim {
  background: rgba(253, 77, 0, 0.32);
}

.dots-pair .solid {
  background: var(--orange);
  margin-left: -6px;
}

.mini-card__text {
  font-size: 18px;
  color: var(--navy);
  line-height: 1.3;
  font-family: "Gilroy", sans-serif;
}

.mini-card__text .light {
  font-weight: 500;
}

.mini-card__text .strong {
  font-weight: 800;
}

/* ГЛАВНЫЙ ЭКРАН — доп. элементы (рейтинг, слайдер, статы, CTA, оценка стоимости) */
.hero__image {
  position: relative;
}

.hero__rating {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(28, 36, 64, 0.35);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  color: #fff;
}

/* Тег «Индивидуальный подход» поверх картинки — только на планшете
   (601–900px), слева, на одной горизонтали с рейтингом справа.
   На десктопе живёт внутри .hero__card, на телефоне скрыт. */
.hero__image-tag {
  display: none;
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: #fff;
  border: 1.5px solid rgba(253, 77, 0, 0.4);
  box-shadow: 0 8px 22px rgba(28, 36, 64, 0.14);
}

.hero__rating-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
}

.hero__rating-score svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.hero__rating-count {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.hero__slidebar {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.hero__slide-counter {
  color: #fff;
  font-family: "Roboto", sans-serif;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hero__slide-counter b {
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
}

.hero__slide-counter i {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  opacity: 0.8;
}

.hero__slide-arrows {
  display: flex;
  gap: 10px;
}

.hero__slide-arrow {
  width: 59px;
  height: 59px;
  border-radius: 16px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero__slide-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.hero__slide-arrow img {
  width: 19px;
  height: 15px;
}

.hero__title .accent {
  color: var(--orange);
}

.hero__stats {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  column-gap: 40px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(28, 36, 64, 0.08);
  width: 100%;
}

.hero__stats::-webkit-scrollbar {
  display: none;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.hero__stat .ic-circle {
  margin-bottom: 16px;
}

.hero__stat .ic-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero__stat-value {
  font-family: "Gilroy", sans-serif;
  font-weight: 700;
  font-size: 23px;
  color: var(--navy);
  margin-bottom: 10px;
}

.hero__stat-label {
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.35;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  width: 100%;
}

.hero__cta-row .hero__cta {
  flex: 1 1 260px;
  max-width: none;
  margin-top: 0;
}

@media (min-width: 901px) {
  .hero__cta-row .hero__cta {
    white-space: nowrap;
  }
}

.hero__cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.hero__cta-sub {
  font-weight: 500;
  font-size: 12px;
  opacity: 0.85;
}

.btn-white {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid rgba(28, 36, 64, 0.12);
  border-radius: var(--radius-pill);
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 34px;
  font-weight: 700;
  font-size: 17px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
}

.btn-circle--dark {
  background: transparent;
}

.btn-circle--dark img {
  filter: brightness(0);
}

.hero__estimate {
  position: relative;
  margin-top: 28px;
  width: 100%;
  min-height: 148px;
  background: #f3f5f7;
  border-radius: var(--radius-md);
  padding: 26px calc(clamp(140px, 32%, 280px) + 30px) 26px 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__estimate-body {
  max-width: 100%;
}

.hero__estimate-title {
  font-family: "Gilroy", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.hero__estimate-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__estimate-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

.hero__estimate-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__estimate-check img {
  width: 11px;
  height: 11px;
}

.hero__estimate-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background-image: linear-gradient(to right, var(--orange) 50%, transparent 50%);
  background-size: 4px 1.5px;
  background-repeat: repeat-x;
  background-position: 0 100%;
  padding-bottom: 3px;
}

.hero__estimate-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(140px, 32%, 280px);
}

.hero__estimate-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ВЫБОР ДИЗАЙНА ДОМА */
.picker__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.picker__stats {
  display: flex;
  gap: 56px;
  padding-top: 8px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat__value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  font-family: "Gilroy", sans-serif;
}

.stat__label {
  font-size: 14px;
  color: var(--gray);
}

.tabs {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.tab {
  background: var(--orange-soft);
  color: var(--gray);
  font-weight: 600;
  font-size: 16px;
  min-height: 64px;
  padding: 0 40px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  transition:
    background 0.2s,
    color 0.2s;
}

.tab:hover:not(.is-active) {
  background: var(--orange-soft-2);
}

.tab.is-active {
  background: var(--orange);
  color: #fff;
}

/* поиск по каталогу (поле + кнопка «Фильтры») — закомментировано в разметке */
.picker__search {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 0 26px;
  min-height: 64px;
}

.search-field img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.search-field input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  color: var(--navy);
}

.search-field input::placeholder {
  color: var(--gray-2);
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ededed;
  color: var(--gray);
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius-pill);
  padding: 0 32px;
  min-height: 64px;
  transition: background 0.2s;
}

.filter-btn:hover {
  background: #e2e2e2;
}

.filter-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.project-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 560/360;
  background: #cfd3d6;
  position: relative;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-card__media img {
  transform: scale(1.05);
}

.project-card__price {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  border-radius: 30px;
  padding: 9px 16px 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.project-card__price .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
}

.project-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.project-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  font-family: "Gilroy", sans-serif;
}

.project-card__meta {
  display: flex;
  gap: 20px;
}

.project-card__meta span {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}

.project-card__meta img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.more-row {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--orange);
  padding: 0 42px;
  min-height: 62px;
  transition: background 0.2s;
}

.btn-more:hover {
  background: var(--orange-soft-2);
}

.btn-more img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ТЁМНЫЙ БЛОК КОНСУЛЬТАЦИИ */
.consult {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 64px 70px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

/* блок ипотеки заезжает вверх под белый каталог */
.consult.attach-top {
  margin-top: -120px;
}

.consult::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/ui/dots.png") center/cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.consult__deco {
  position: absolute;
  top: -40px;
  left: 36px;
  width: 280px;
  z-index: 1;
  pointer-events: none;
}

.consult__deco--corner {
  top: -34px;
  left: -34px;
  width: 250px;
}

.consult__left,
.consult__right {
  position: relative;
  z-index: 2;
}

.consult__title {
  font-family: "Gilroy", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.16;
  margin-top: 18px;
}

.consult__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 520px;
}

.consult__form-title {
  font-family: "Gilroy", sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
}

.form-field {
  background: var(--dark-3);
  border: none;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  color: #fff;
  font-size: 16px;
  width: 100%;
}

.consult--blue .form-field {
  background: rgba(255, 255, 255, 0.08);
}

.form-field::placeholder {
  color: #8b8e96;
}

textarea.form-field {
  resize: none;
  min-height: 118px;
}

select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b8e96' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
}

.form-stack .form-field {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-submit {
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-pill);
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 8px 8px 36px;
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

.btn-submit p {
  transform: translateX(-50%);
}

/* Стрелка-кружок всегда у правого края и не обрезается
   На узких экранах длинный текст раньше выталкивал кружок за пределы кнопки
   (overflow:hidden от блика обрезал его). Теперь кружок позиционируется
   абсолютно справа, а текст не залезает под него за счёт padding-right. */
.btn-primary > .btn-circle,
.btn-submit > .btn-circle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-primary {
  padding-right: 78px;
}

.btn-submit {
  padding-right: 78px;
}

.policy {
  font-size: 13px;
  color: #9a9da5;
  max-width: 240px;
}

.policy a {
  color: var(--orange);
  text-decoration: underline;
}

.form-consent {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #9a9da5;
  max-width: 300px;
  cursor: pointer;
}

.form-consent input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  float: left;
  margin: 2px 8px 0 0;
}

.form-consent a {
  color: var(--orange);
  text-decoration: underline;
}

/* ПОЧЕМУ НАМ ДОВЕРЯЮТ */
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust__list .section-title {
  margin-bottom: 24px;
}

.trust-item {
  display: flex;
  gap: 22px;
  padding: 16px 0;
  align-items: center;
}

.trust-item__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: "Gilroy", sans-serif;
}

.trust-item__text {
  color: var(--gray);
  font-size: 15px;
}

.trust__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.trust__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust__pill {
  position: absolute;
  top: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.trust__pill-text {
  line-height: 1.25;
}

.trust__pill .pic {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust__pill .pic img {
  width: 18px;
  height: 18px;
}

/* НАШИ УСЛУГИ */
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 532/481;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

.service-card__body {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
}

.service-card__title {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Gilroy", sans-serif;
  max-width: 75%;
}

.service-card__arrow {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.service-card__arrow img {
  position: static;
  inset: auto;
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ПОЧЕМУ ГАЗОБЕТОН */
.why-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 44px;
}

.why-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-top: 6px;
}

.why-note__text {
  color: var(--gray);
  font-size: 16px;
  font-weight: 400;
}

.why-note__text b {
  color: var(--navy);
  font-weight: 600;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 480px;
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 24%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.dots-row {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.dots-row span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(253, 77, 0, 0.35);
}

.dots-row span.on {
  background: var(--orange);
}

.feature-card__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 2;
}

.feature-card__title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
  font-family: "Gilroy", sans-serif;
}

.feature-card__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

/* ПРИМЕРЫ ГОТОВЫХ ДОМОВ */
.examples-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.examples-head__lead {
  color: var(--gray);
  font-size: 16px;
  font-weight: 500;
  max-width: 560px;
  margin-top: 8px;
}

.examples-stats {
  display: flex;
  gap: 38px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.examples-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.examples-stat__value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-family: "Gilroy", sans-serif;
}

.examples-stat__label {
  font-size: 13px;
  color: var(--gray);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.example-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 350px;
}

.example-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

.example-card__chips {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.chip .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.example-card__name {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  font-family: "Gilroy", sans-serif;
}

/* ИНДИВИДУАЛЬНОЕ ПРОЕКТИРОВАНИЕ */
.individual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.individual__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px 56px;
}

.individual__lead {
  color: var(--gray);
  font-size: 16px;
  font-weight: 500;
  margin: 26px 0 30px;
  line-height: 1.65;
}

.individual__lead b {
  color: var(--navy);
  font-weight: 600;
}

.plus-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plus-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
}

.plus-list__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.individual .btn-primary {
  margin-top: 40px;
}

.individual__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
}

.individual__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ЭТАПЫ СТРОИТЕЛЬСТВА (серые карточки, текст снизу, картинка справа) */
.steps-slider {
  position: relative;
  overflow: hidden;
}

.steps-grid {
  display: flex;
  gap: 35px;
  overflow-x: auto;
  scrollbar-width: none;
}

.steps-grid::-webkit-scrollbar {
  display: none;
}

.step-card {
  flex: 0 0 316px;
  height: 480px;
  position: relative;
  border-radius: var(--radius-md);
  padding: 28px 30px 34px;
  background: linear-gradient(180deg, #a2a3a6 0%, #5f626e 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.dots-row--dark span {
  background: rgba(253, 77, 0, 0.5);
}

.dots-row--dark span.on {
  background: var(--orange);
}

.step-card .dots-row {
  position: absolute;
  top: 26px;
  left: 30px;
  z-index: 2;
}

.step-card__icon {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.step-card__icon img {
  height: 100%;
  width: auto;
  display: block;
}

.step-card__title {
  font-family: "Gilroy", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.step-card__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.step-card__icon--cta {
  position: static;
  height: auto;
  width: 100%;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.step-card__icon--cta img {
  height: 150px;
  width: auto;
}

.step-card__cta-body {
  position: relative;
  z-index: 2;
}

.step-card__cta-btn {
  width: 100%;
  min-height: 56px;
  margin-top: 20px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.step-card__cta-btn:hover {
  background: var(--orange-dark);
}

/* ОСНОВАТЕЛЬ */
.founder {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  min-height: 890px;
}

.founder__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: 1;
}

.founder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      115deg,
      rgba(236, 236, 236, 1) 0%,
      rgba(25, 25, 25, 1) 100%
    )
    center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
}

.founder__content {
  padding: 54px 60px;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.founder__role {
  color: var(--orange);
  font-size: 32px;
  font-weight: 600;
}

.founder__name {
  font-family: "Gilroy", sans-serif;
  font-size: 50px;
  font-weight: 700;
  margin: 10px 0 22px;
}

.founder__text {
  font-size: 20px;
  line-height: 1.6;
  max-width: 686px;
}

.founder__text strong {
  font-weight: 600;
}

.founder__blog {
  font-family: "Gilroy", sans-serif;
  font-size: 21px;
  font-weight: 600;
  margin: 28px 0 16px;
  max-width: 280px;
  line-height: 1.3;
}

.founder__content .btn-light {
  align-self: flex-start;
}

.founder__photo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: start;
}

.founder__photo img {
  max-height: 890px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

/* ГЛАВНОЕ О ПОДХОДЕ */
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.approach__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 730px;
}

.approach__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.approach__stats {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  gap: 26px;
}

.approach__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 26px;
  flex: 1;
}

.approach__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.approach__stat:first-child {
  padding-left: 0;
}

.approach__stat:first-child::before {
  display: none;
}

.approach__stat-title {
  font-family: "Gilroy", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.approach__stat-text {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.8);
}

.approach__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
}

.approach__title {
  margin-bottom: 20px;
}

.approach__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.approach-item {
  display: flex;
  align-items: center;
  gap: 22px;
}

.approach-item__bullet {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(253, 77, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.approach-item__bullet::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 1v8M1 5h8' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center/10px 10px no-repeat;
}

.approach-item__title {
  font-family: "Gilroy", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.approach-item__text {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.5;
}

/* ПОЧЕМУ ВЫБИРАЮТ НАС */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}

/* на десктопе обёртка прозрачна — карточки остаются элементами grid */
.advantages-track {
  display: contents;
}

.adv-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(253, 77, 0, 0.3);
  background: linear-gradient(
    to top right,
    #ffffff 0%,
    rgba(255, 255, 255, 0.26) 44%,
    rgba(253, 77, 0, 0.13) 230%
  );
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 183px;
  cursor: pointer;
}

.adv-card__icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.adv-card__icon img {
  width: 22px;
  height: 22px;
  /* приводим иконки к белому, чтобы они читались на оранжевом круге */
  filter: brightness(0) invert(1);
}

.adv-card__title {
  font-family: "Gilroy", sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  position: relative;
  z-index: 2;
}

.adv-card__text {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 16px;
  position: relative;
  z-index: 2;
  max-width: 80%;
}

.adv-card__wm {
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  height: auto;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

/* на свёрнутых (закрытых) карточках водяной знак меньше */
.adv-card:not(.is-active) .adv-card__wm {
  width: 320px;
  height: auto;
}

/* ВОПРОСЫ (тёмный, без формы) */
.faq {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 64px 70px;
  color: #fff;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.faq__aside,
.faq__list {
  position: relative;
  z-index: 2;
}

.faq__aside {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faq__ask {
  margin-top: auto;
}

.faq__title {
  font-family: "Gilroy", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 26px;
  color: #fff;
}

.faq__ask {
  background: var(--dark-3);
  border-radius: var(--radius-md);
  padding: 32px;
}

.faq__ask-title {
  font-family: "Gilroy", sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq__ask-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.faq__ask .btn-submit {
  align-self: flex-start;
}

.faq__ask form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--dark-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  font-family: "Gilroy", sans-serif;
}

.faq-item__sign {
  color: var(--orange);
  font-size: 28px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.is-open .faq-item__sign {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.is-open .faq-item__a {
  max-height: 600px;
}

.faq-item__a-inner {
  padding: 0 30px 26px;
}

/* СТРОЙКА БЕЗ ФИЛЬТРОВ (слайдер с затуханием) */
.reels__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.reels__title {
  font-weight: 600;
}

.reels__nav {
  display: flex;
  gap: 14px;
}

.reels-slider {
  position: relative;
  overflow: hidden;
}

.reels-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.reels-track::-webkit-scrollbar {
  display: none;
}

.reel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 300/440;
  background: #222;
  flex: 0 0 calc((100% - 96px) / 5);
}

.reel img,
.reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel {
  cursor: pointer;
}

/* во время воспроизведения убираем затемнение и кнопку play */
.reel.is-playing::after {
  opacity: 0;
}

.reel.is-playing .reel__play {
  display: none;
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
}

.reel__play img {
  width: 100%;
  height: 100%;
}

/* Pop-up с видео */
.reel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 14, 18, 0.82);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}

.reel-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

.reel-lightbox__inner {
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.reel-lightbox.is-open .reel-lightbox__inner {
  transform: none;
}

.reel-lightbox__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.reel-lightbox__media video {
  display: block;
  width: auto;
  height: min(86vh, 780px);
  max-width: 90vw;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
}

.reel-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

@media (max-width: 640px) {
  .reel-lightbox {
    padding: 16px;
  }
  .reel-lightbox__media video {
    height: auto;
    width: 100%;
    max-height: 84vh;
  }
  .reel-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

/* ПОДВАЛ */
.footer {
  background: var(--dark);
  border-radius: 0;
  color: #fff;
  /* Фон тянем до краёв body (гасим его боковой padding), контент возвращаем
     по сетке тем же var(--gutter). Без vw — иначе ломается под zoom-хаком 1300–1920px. */
  padding: 64px var(--gutter) 40px;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
}

/* На экранах ≥1920px (zoom-хак уже не активен) фон футера тянем до краёв
   вьюпорта через vw, контент остаётся по сетке. */
@media (min-width: 1920px) {
  .footer {
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .hero__card {
    padding: 50px 48px;
  }
}

.footer::before {
  display: none;
}

.footer > * {
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col-title {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 0;
}

.footer__addr {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links a {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 15px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1.6fr 2fr 1.1fr;
  gap: 40px;
  padding-top: 40px;
  align-items: start;
}

.footer__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.footer__logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer__bottom-mid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__legal {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 15px;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--orange);
}

.footer__disclaimer {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: #808080;
  font-size: 15px;
  line-height: 1.5;
  max-width: 560px;
}

.footer__copy {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: #a2a3a6;
  font-size: 15px;
}

.footer__bottom-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.footer__socials {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.footer__socials .social {
  background: var(--white);
}

.footer__socials .social img {
  filter: none;
}

.footer__socials .social:hover {
  background: rgba(255, 255, 255, 0.85);
}

.footer__contacts-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  flex-shrink: 0;
}

.footer__contact {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: flex-start;
  white-space: nowrap;
}

.footer__contact span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.footer__contact a {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: "Gilroy", sans-serif;
  white-space: nowrap;
}

/* МОДАЛЬНОЕ ОКНО */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 22, 28, 0.6);
  backdrop-filter: blur(4px);
}

.modal.is-open {
  display: flex;
}

.modal__box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 520px;
  color: #fff;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.modal__title {
  font-family: "Gilroy", sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 26px;
}

.modal .form-field {
  margin-bottom: 16px;
}

/* АДАПТИВ */
@media (min-width: 601px) and (max-width: 1500px) {
  html:not(.zoomfit) .reel {
    flex-basis: calc((100% - 72px) / 4);
  }
}

@media (max-width: 1400px) {
  html:not(.zoomfit) .header {
    gap: 20px;
  }

  html:not(.zoomfit) .nav {
    gap: 20px;
  }

  html:not(.zoomfit) .nav__link {
    font-size: 15px;
  }

  html:not(.zoomfit) .header__right {
    gap: 14px;
  }

  html:not(.zoomfit) .header__phone {
    font-size: 17px;
  }

  html:not(.zoomfit) .btn-outline {
    padding: 0 18px;
    font-size: 12px;
  }

  html:not(.zoomfit) .socials {
    gap: 8px;
  }
}

/* Планшеты и узкие ноутбуки: меню прячется в «бургер», чтобы шапка
   гарантированно помещалась по ширине (раньше навигация переполняла экран). */
@media (max-width: 1300px) {
  .header {
    gap: 18px;
    padding: 0 44px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* второстепенная PDF-кнопка убирается, чтобы контакты помещались */
  .header__right .btn-outline {
    display: none;
  }

  /* выпадающее меню по клику на бургер */
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    background: var(--white);
    border-radius: 22px;
    padding: 12px 22px;
    box-shadow: 0 18px 44px rgba(28, 36, 64, 0.14);
    z-index: 50;
  }

  .nav.is-open .nav__link {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(28, 36, 64, 0.07);
  }

  .nav.is-open .nav__link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__image {
    min-height: 440px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ПОЧЕМУ ГАЗОБЕТОН: карточки в строку со скроллом уже на планшетах */
  .why-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .why-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 calc((100% - 32px) / 3);
    scroll-snap-align: start;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .reel {
    flex-basis: calc((100% - 48px) / 3);
  }
}

/* На планшетах главная картинка в hero растягивалась ровно по своим
   пропорциям (object-fit:cover ничего не обрезал) и показывала тёмный
   край исходника слева/снизу. Задаём боксу свои пропорции — тогда
   картинка обрезается с боков и тёмная кромка не видна. */
@media (min-width: 601px) and (max-width: 1200px) {
  .hero__image {
    min-height: 0;
    aspect-ratio: 1.14;
  }
}

@media (max-width: 900px) {
  .header {
    flex-wrap: wrap;
    min-height: auto;
    padding: 18px 22px;
    gap: 16px;
    border-radius: 28px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
    order: 3;
  }

  .header__right {
    margin-left: 0;
    gap: 14px;
    order: 2;
  }

  .header__phone {
    font-size: 16px;
  }

  .card {
    padding: 34px 0px;
  }

  .trust,
  .services,
  .individual,
  .consult,
  .examples-grid,
  .why-grid,
  .steps-grid,
  .advantages-grid,
  .faq,
  .founder,
  .projects-grid,
  .examples-head,
  .why-head {
    grid-template-columns: 1fr;
  }

  .advantages-grid .advantage:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .consult,
  .faq {
    padding: 40px 26px;
  }

  .hero__title {
    font-size: 34px;
  }

  .section-title,
  .consult__title,
  .faq__title {
    font-size: 30px;
  }

  .footer {
    padding: 40px 24px 30px;
  }

  /* порядок на мобильном: логотип + копирайт сверху, затем колонки, затем низ */
  .footer .container {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .footer__bottom {
    display: contents;
  }

  .footer__bottom-left {
    order: 1;
    gap: 14px;
  }

  .footer__top {
    order: 2;
    grid-template-columns: 1fr 1fr;
    gap: 26px 24px;
    padding-bottom: 0;
    border-bottom: none;
  }

  /* Застройщик и Компания — на всю ширину, Наши объекты | Способы покупки — в ряд */
  .footer__top .footer__col:first-child,
  .footer__top .footer__col:last-child {
    grid-column: 1 / -1;
  }

  .footer__bottom-mid {
    order: 3;
  }

  .footer__bottom-right {
    order: 4;
    justify-content: flex-start;
  }

  .footer__contacts-bottom {
    align-items: flex-start;
    text-align: left;
  }

  .footer__contact {
    justify-content: flex-start;
  }

  .tab {
    flex: none;
    width: 100%;
  }

  .reel {
    flex-basis: calc((100% - 24px) / 2);
  }
}

/* МОБИЛЬНАЯ ВЕРСИЯ — точное соответствие макету*/
@media (max-width: 900px) {
  /* единый белый фон */
  body {
    background: #fff;
    padding: 0 10px;
  }

  .section {
    margin-top: 20px;
  }

  /* блоки во всю ширину экрана (full-bleed): консультация, FAQ, основатель, подвал */
  .consult,
  .faq,
  .founder,
  .footer {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  /* последняя консультация и подвал сливаются в один тёмный блок */
  .consult--blue {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .footer {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  /* grid/flex-элементы должны уметь сжиматься уже своего контента */
  .hero__card,
  .trust__list,
  .trust__media,
  .consult__left,
  .consult__right,
  .individual__card,
  .individual__media,
  .founder__content,
  .founder__photo,
  .faq__aside,
  .faq__list,
  .adv-card,
  .examples-head > div,
  .why-head > * {
    min-width: 0;
  }

  /* убираем «нахлёст» блоков — всё стыкуется ровно */
  .attach-bottom {
    padding-bottom: 26px;
  }

  .consult.attach-top {
    margin-top: 20px;
  }

  /* ШАПКА: слева бургер (2 полоски), по центру лого, справа Max */
  .header {
    position: sticky;
    top: 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 70px;
    padding: 12px 0px;
    gap: 8px;
    border-radius: 26px;
  }

  .burger {
    display: flex;
    order: 0;
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: none;
    margin: 0;
    padding: 0;
  }

  .burger svg {
    width: 28px;
    height: 28px;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* увеличенная область нажатия + поверх соседних элементов шапки */
    z-index: 5;
    padding: 10px;
  }

  .logo img {
    height: 32px;
  }

  .nav {
    display: none;
  }

  .header__right {
    margin-left: auto;
    gap: 10px;
  }

  /* в шапке остаётся только Max (первый в списке — VK — скрыт) */
  .header .socials .social:first-child,
  .header__phone,
  .header .btn-outline {
    display: none;
  }

  /* выпадающее мобильное меню по клику на бургер */
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    background: var(--white);
    border-radius: 22px;
    padding: 12px 22px;
    box-shadow: 0 18px 44px rgba(28, 36, 64, 0.14);
    z-index: 50;
  }

  .nav.is-open .nav__link {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(28, 36, 64, 0.07);
  }

  .nav.is-open .nav__link:last-child {
    border-bottom: none;
  }

  /* HERO */
  .hero__card .tag {
    display: none;
  }

  .hero__title {
    margin-top: 0;
  }

  .hero__cta {
    max-width: none;
    width: 100%;
  }

  .hero__rating {
    top: 14px;
    right: 14px;
    padding: 8px 14px;
  }

  .hero__slidebar {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .hero__stats {
    column-gap: 28px;
    margin-top: 24px;
    padding-top: 22px;
  }

  .hero__stat {
    flex: 0 0 auto;
    align-items: center;
    text-align: center;
  }

  .hero__cta-row {
    flex-direction: column;
    margin-top: 24px;
  }

  .hero__cta-row .hero__cta {
    flex: 0 0 auto;
  }

  .hero__estimate {
    margin-top: 20px;
  }

  .hero__mini {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 30px;
  }

  .mini-card {
    background: transparent;
    padding: 18px;
    min-height: 150px;
  }

  .mini-card__text {
    font-size: 15px;
  }

  /* ПИКЕР */
  /* заголовок без принудительных переносов — сплошным текстом */
  .picker__head .section-title br {
    display: none;
  }

  .picker__head {
    gap: 22px;
  }

  /* статистика — в строчку */
  .picker__stats {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0px;
    width: 100%;
    padding-top: 0;
  }

  .stat {
    flex: 1;
    gap: 5px;
    align-items: flex-start;
  }

  .stat .ic-circle {
    width: 38px;
    height: 38px;
  }

  .stat .ic-circle img {
    width: 17px;
    height: 17px;
  }

  .stat__value {
    line-height: 1.2;
  }

  .stat__label {
    font-size: 11px;
  }

  /* вкладки — в строчку со скроллом */
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    margin-top: 26px;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 54px;
    padding: 0 26px;
    font-size: 15px;
  }

  /* поиск + фильтр — в строчку, у фильтра только иконка */
  .picker__search {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 14px;
  }

  .search-field {
    flex: 1;
    min-width: 0;
    min-height: 56px;
    padding: 0 18px;
  }

  .filter-btn {
    flex: 0 0 auto;
    width: 56px;
    min-height: 56px;
    padding: 0;
    gap: 0;
    justify-content: center;
  }

  .filter-btn__label {
    display: none;
  }

  /* карточки проектов — название слева, параметры справа в строку */
  .projects-grid {
    margin-top: 26px;
  }

  .project-card__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .project-card__meta {
    gap: 12px;
  }

  .project-card__meta span {
    font-size: 13px;
    gap: 5px;
    white-space: nowrap;
  }

  /* КОНСУЛЬТАЦИЯ */
  /* тег «Консультация» — справа */
  .consult__left .tag--dark {
    display: flex;
    width: max-content;
    margin-left: auto;
  }

  /* декор-картинка видна */
  .consult__deco {
    width: 150px;
    top: -16px;
    left: 10px;
  }

  .consult__deco--corner {
    width: 140px;
    top: -12px;
    left: -10px;
  }

  /* НАШИ УСЛУГИ: заголовок в строку, карточки ниже */
  .block-head {
    margin-bottom: 22px;
  }

  .services {
    gap: 14px;
  }

  .service-card {
    aspect-ratio: auto;
    height: 188px;
  }

  /* ПОЧЕМУ ГАЗОБЕТОН: карточки в строку со скроллом */
  .why-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .why-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 80%;
    min-height: 420px;
    scroll-snap-align: start;
  }

  /* ПРИМЕРЫ ГОТОВЫХ ДОМОВ */
  .examples-head {
    margin-bottom: 26px;
  }

  /* статистика без иконок, в строчку */
  .examples-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .examples-stat {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .examples-stat .ic-circle {
    display: none;
  }

  .examples-stat__value {
    font-size: 16px;
  }

  .examples-stat__label {
    font-size: 11px;
  }

  /* чипы в одну строку, без жирного */
  .example-card__chips {
    flex-wrap: nowrap;
    gap: 6px;
    left: 16px;
    right: 16px;
  }

  .chip {
    font-weight: 500;
    font-size: 11px;
    padding: 6px 10px;
    gap: 5px;
    white-space: nowrap;
  }

  /* ИНДИВИДУАЛЬНОЕ ПРОЕКТИРОВАНИЕ */
  .individual .btn-primary {
    width: 100%;
    min-height: 89px;
    white-space: nowrap;
    font-size: 13px;
    padding-left: 24px;
    gap: 10px;
  }

  .individual .btn-primary .btn-circle {
    width: 54px;
    height: 54px;
  }

  .individual__media {
    min-height: 280px;
  }

  /* СЛАЙДЕРЫ: докрутка к следующему, без стрелок */
  .reels__nav {
    display: none;
  }

  .steps-grid,
  .reels-track {
    scroll-snap-type: x mandatory;
  }

  .step-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    height: 406px;
  }

  .reel {
    flex-basis: 74%;
    scroll-snap-align: start;
  }

  /* ОСНОВАТЕЛЬ: текст слева, фото справа снизу */
  .founder {
    display: block;
    position: relative;
    min-height: auto;
    grid-template-columns: none;
  }

  .founder__content {
    position: relative;
    z-index: 2;
    padding: 34px 22px;
    padding-bottom: 183px;
  }

  .founder__role {
    font-size: 23px;
  }

  .founder__name {
    font-size: 38px;
    margin: 8px 0 18px;
  }

  .founder__text {
    font-size: 15px;
  }

  .founder__blog {
    font-size: 16px;
    max-width: 58%;
  }

  .founder__content .btn-light {
    position: relative;
    z-index: 3;
    min-height: 55px;
    font-size: 14px;
    padding: 0 8px 0 22px;
    gap: 10px;
  }

  .founder__content .btn-light .ar {
    width: 42px;
    height: 42px;
  }

  .founder__content .btn-light .ar img {
    width: 14px;
    height: 14px;
  }

  /* фото мужчины — абсолютно, в правом нижнем углу */
  .founder__photo {
    position: absolute;
    right: -40px;
    bottom: -20px;
    max-width: 312px;
    z-index: 1;
    display: block;
  }

  .founder__photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom right;
  }

  /* ГЛАВНОЕ О ПОДХОДЕ */
  /* порядок: сначала плюсы, затем картинка, затем подписи */
  .approach {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .approach__body {
    order: 1;
    min-width: 0;
    padding: 28px 0px;
  }

  .approach__media {
    order: 2;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: visible;
    border-radius: 0;
  }

  /* картинка в обычном потоке + подписи под ней */
  .approach__media img {
    position: static;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
  }

  .approach__media::after {
    display: none;
  }

  .approach__stats {
    position: static;
    flex-direction: column;
    left: auto;
    right: auto;
    bottom: auto;
    gap: 12px;
  }

  .approach__stat {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 7px;
    padding-left: 0;
  }

  .approach__stat::before {
    display: none;
  }

  .approach__stat:nth-child(1) .approach__stat-title::after,
  .approach__stat:nth-child(3) .approach__stat-title::after {
    content: ":";
  }

  .approach__stat-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
  }

  .approach__stat-text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--gray);
  }

  .approach__title {
    margin-bottom: 22px;
  }

  .approach__list {
    gap: 20px;
  }

  /* ПОЧЕМУ ВЫБИРАЮТ НАС: вертикальный аккордеон, тап раскрывает карточку */
  .advantages-grid {
    display: block;
    margin-top: 20px;
  }

  .advantages-track {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* общий вид карточки на мобильных */
  .adv-card,
  .adv-card.is-active {
    width: 100%;
    max-width: 100%;
    min-height: 86px;
  }

  /* свёрнутая карточка — «кирпичик» */
  .adv-card:not(.is-active) {
    height: 86px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
  }

  /* раскрытая карточка — иконка сверху, заголовок и текст */
  .adv-card.is-active {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 22px 18px;
  }

  /* убираем фоновые картинки на карточках */
  .adv-card__wm {
    display: none;
  }

  .adv-card__title {
    font-size: 16px;
  }

  .adv-card__icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .adv-card:not(.is-active) .adv-card__icon {
    margin-bottom: 0;
  }

  .adv-card.is-active .adv-card__icon {
    margin-bottom: 14px;
  }

  .adv-card__icon img {
    width: 18px;
    height: 18px;
  }

  .adv-card__text {
    display: none;
  }

  .adv-card.is-active .adv-card__text {
    display: block;
    margin-top: 10px;
    max-width: 100%;
  }

  /* FAQ: вопросы сверху, форма снизу без фона */
  .faq {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .faq__aside {
    display: contents;
  }

  .faq__title {
    order: 1;
  }

  .faq__list {
    order: 2;
  }

  .faq__ask {
    order: 3;
    background: none;
    padding: 0;
    margin-top: 0;
  }

  .faq__ask .btn-submit {
    width: 100%;
  }

  /* ФОРМЫ: кнопка на всю ширину, политика по центру */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .form-foot .btn-submit {
    width: 100%;
  }

  .form-foot .policy {
    max-width: none;
    text-align: center;
  }

  .hero__subtitle {
    max-width: none;
    font-size: 16px;
  }
}

/* ПЛАНШЕТ (601–900px): переработанный HERO и блок «этапов».
   Стоит ПОСЛЕ мобильных правил (max-width:900px), чтобы перебивать их
   в этом диапазоне (планшеты вроде iPad 768px). Телефон (≤600px)
   сохраняет свой мобильный вид, ширины выше 900px — прежнюю раскладку.
   - HERO: заголовок, подпись и кнопка сверху, картинка снизу,
   поверх неё — тег «Индивидуальный подход» и две карточки.
   - ЭТАПЫ: ровно две карточки на экран. */
@media (min-width: 601px) and (max-width: 900px) {
  /* HERO: картинка сверху, дальше карточка в своём естественном порядке
     (тег, заголовок, статы, кнопки, блок оценки стоимости) — как на телефоне.
     Тег «Индивидуальный подход» на этой ширине скрыт (см. .hero__card .tag
     в общем мобильном блоке) — вместо него показывается .hero__image-tag,
     наложенный на картинку слева, на одной линии с рейтингом справа. */
  .hero__title {
    margin-top: 0;
  }

  .hero__subtitle {
    margin-top: 18px;
    max-width: 560px;
  }

  .hero__stat-value {
    font-size: 20px;
  }

  .hero__stat-label {
    font-size: 15px;
  }

  .hero__estimate-title {
    font-size: 17px;
  }

  .hero__rating-score {
    font-size: 15px;
  }

  .hero__rating-count {
    font-size: 13px;
  }

  .hero__cta-row {
    flex-direction: column;
    margin-top: 24px;
    margin-bottom: 30px;
  }

  .hero__cta-row .hero__cta {
    flex: 0 0 auto;
    width: 100%;
    min-height: 64px;
    font-size: 15px;
    padding-left: 24px;
  }

  .hero__cta-row .hero__cta-sub {
    display: none;
  }

  .hero__cta-row .btn-circle {
    width: 46px;
    height: 46px;
  }

  .hero__image-tag {
    display: inline-flex;
  }

  /* рейтинг справа — на той же горизонтали (top/right 24px), что и тег слева */
  .hero__rating {
    top: 24px;
    right: 24px;
    padding: 10px 18px;
  }

  .hero__image {
    min-height: 0;
    aspect-ratio: 1.5;
  }

  .hero__estimate {
    margin-top: 24px;
  }

  /* две карточки заходят на нижний край картинки */
  .hero__mini {
    order: 6;
    margin-top: -120px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    gap: 18px;
  }

  /* возвращаем кремовый фон карточкам (на мобильном он прозрачный) */
  .mini-card {
    background: var(--orange-soft);
    padding: 26px;
    min-height: 178px;
    box-shadow: 0 18px 40px rgba(28, 36, 64, 0.16);
  }

  /* ЭТАПЫ СТРОИТЕЛЬСТВА */
  .steps-grid {
    gap: 24px;
  }

  .step-card {
    flex: 0 0 calc((100% - 24px) / 2);
    height: 420px;
  }

  /* КАТАЛОГ ДОМОВ: по две карточки в ряд */
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
  }
}

/* Блок «Узнайте стоимость вашего дома»: на ноутбуках и планшетах картинка
   остаётся боковой панелью (ширина резиновая — clamp 140–280px). Вниз,
   на всю ширину, она уезжает только на узких телефонах, где текста
   уже не хватает места и без того. */
@media (max-width: 480px) {
  .hero__estimate {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
    min-height: 0;
  }

  .hero__estimate-media {
    position: static;
    width: 100%;
    height: 160px;
    margin-top: 16px;
  }

  .hero__estimate-media img {
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 600px) {
  .card {
    padding: 26px 0px;
  }

  .stat__value {
    font-size: 12px;
  }

  /* Видео-ролики: один большой ролик в кадре + небольшой «выглядывающий»
     край следующего, шаг прокрутки — ровно одно видео */
  .reels-track {
    gap: 14px;
  }

  .reel {
    flex: 0 0 86%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hero__card {
    padding: 32px 0px;
  }

  .consult,
  .faq {
    padding: 34px 20px;
  }

  .individual__card {
    padding: 34px 20px;
  }

  .hero__image {
    min-height: 360px;
  }

  .hero__slide-counter b {
    font-size: 34px;
  }

  .hero__slide-counter i {
    font-size: 16px;
  }

  .hero__slide-arrow {
    width: 44px;
    height: 44px;
  }

  .hero__slide-arrow img {
    width: 14px;
    height: 11px;
  }

  .hero__stats {
    column-gap: 24px;
  }

  .hero__stat {
    flex: 0 0 auto;
    min-width: 130px;
  }

  .hero__stat-value {
    font-size: 19px;
  }

  .hero__stat-label {
    font-size: 14px;
  }

  .hero__rating {
    padding: 7px 14px;
    gap: 8px;
  }

  .hero__rating-score {
    font-size: 14px;
  }

  .hero__rating-count {
    font-size: 12px;
  }

  .hero__estimate {
    display: none;
  }

  .section-title,
  .consult__title,
  .faq__title {
    font-size: 27px;
  }

  .hero__title {
    font-size: 31px;
  }

  .consult__form-title {
    font-size: 20px;
  }

  /* УЗКИЕ ЭКРАНЫ: кнопки, карточки и модалка не «разъезжаются» */

  /* CTA-кнопки: длинный текст переносится и не залезает под кружок-стрелку */
  .btn-primary,
  .btn-submit {
    max-width: 100%;
    padding-left: 22px;
    padding-right: 64px;
    gap: 10px;
    font-size: 15px;
    white-space: normal;
    text-align: left;
  }

  .btn-primary--sm {
    padding-right: 60px;
  }

  /* кнопка «Обсудить ваш новый дом» — выше по специфичности, переопределяем явно */
  .individual .btn-primary {
    padding-left: 22px;
    white-space: normal;
  }

  .btn-circle {
    width: 50px;
    height: 50px;
  }

  .btn-primary--sm .btn-circle,
  .individual .btn-primary .btn-circle {
    width: 46px;
    height: 46px;
  }

  /* Карточки услуг: заголовок не перекрывает стрелку в углу */
  .service-card__title {
    font-size: 18px;
    max-width: calc(100% - 64px);
  }

  /* Модальное окно: компактные отступы, чтобы форма помещалась на 320px */
  .modal {
    padding: 16px;
  }

  .modal__box {
    padding: 32px 22px;
  }

  .modal__title {
    font-size: 23px;
  }
}

/* ТИПОГРАФИКА — ДЕСКТОП (размеры и начертания по макету)
   Gilroy / Inter; применяется только на десктопе (>900px) */
@media (min-width: 901px) {
  /* ШАПКА */
  .nav__link {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 18px;
  }

  .header__phone {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 18px;
  }

  .btn-outline {
    font-family: "Gilroy", sans-serif;
    font-weight: 700;
    font-size: 19px;
    text-transform: none;
    letter-spacing: 0;
  }

  /* HERO */
  .hero__card .tag {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
  }

  .hero__title {
    font-family: "Gilroy", sans-serif;
    font-weight: 700;
    font-size: var(--fs-hero);
  }

  .hero__subtitle {
    font-family: "Gilroy", sans-serif;
    font-weight: 500;
    font-size: 18px;
  }

  .hero__cta {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
  }

  .mini-card__text {
    font-family: "Gilroy", sans-serif;
    font-size: 18px;
  }

  .mini-card__text .light {
    font-weight: 400;
  }

  .mini-card__text .strong {
    font-weight: 700;
  }

  .stat__value {
    font-family: "Gilroy", sans-serif;
    font-size: 18px;
  }

  .stat__label {
    font-family: "Gilroy", sans-serif;
    font-size: 18px;
  }

  /* ПИКЕР */
  .section-title {
    font-weight: 500;
    font-size: var(--fs-50);
  }

  .tab {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: 20px;
  }

  .search-field input {
    font-family: "Inter", sans-serif;
    font-size: 18px;
  }

  .filter-btn {
    font-family: "Inter", sans-serif;
    font-size: 18px;
  }

  .project-card__name {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: var(--fs-30);
  }

  .btn-more {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
  }

  /* КОНСУЛЬТАЦИЯ (ипотека) */
  .consult:not(.consult--blue) .consult__title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-55);
  }

  .consult__text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: var(--fs-22);
  }

  .consult__form-title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-34);
  }

  .form-field {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
  }

  .btn-submit {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
  }

  .policy {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
  }

  /* ПОЧЕМУ НАМ ДОВЕРЯЮТ */
  .trust-item__title {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: 20px;
  }

  .trust-item__text {
    font-family: "Gilroy", sans-serif;
    font-weight: 400;
    font-size: 16px;
  }

  .trust__pill {
    font-family: "Gilroy", sans-serif;
    font-weight: 700;
    font-size: 18px;
  }

  .trust__pill-light {
    font-weight: 400;
  }

  /* НАШИ УСЛУГИ */
  .service-card__title {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: var(--fs-35);
  }

  /* ПОЧЕМУ ГАЗОБЕТОН */
  .why-note__text {
    font-family: "Gilroy", sans-serif;
    font-weight: 400;
    font-size: 18px;
  }

  .feature-card__title {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: var(--fs-25);
  }

  .feature-card__text {
    font-family: "Gilroy", sans-serif;
    font-weight: 500;
    font-size: 15px;
  }

  /* ПРИМЕРЫ ГОТОВЫХ ДОМОВ */
  .examples-head__lead {
    font-family: "Gilroy", sans-serif;
    font-weight: 400;
    font-size: 18px;
  }

  .examples-stat__value {
    font-family: "Gilroy", sans-serif;
    font-size: 18px;
  }

  .examples-stat__label {
    font-family: "Gilroy", sans-serif;
    font-weight: 400;
    font-size: 18px;
  }

  .chip {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: 18px;
  }

  .example-card__name {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-30);
  }

  /* ИНДИВИДУАЛЬНОЕ ПРОЕКТИРОВАНИЕ */
  .individual__lead {
    font-family: "Gilroy", sans-serif;
    font-weight: 500;
    font-size: 20px;
  }

  .plus-list li {
    font-family: "Gilroy", sans-serif;
    font-weight: 400;
    font-size: 20px;
  }

  /* ЭТАПЫ СТРОИТЕЛЬСТВА */
  .step-card__title {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: var(--fs-25);
  }

  .step-card__text {
    font-family: "Gilroy", sans-serif;
    font-weight: 500;
    font-size: 15px;
  }

  /* СОБСТВЕННИК И ОСНОВАТЕЛЬ */
  .founder__role {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-32);
  }

  .founder__name {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-50);
  }

  .founder__text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
  }

  .founder__blog {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 21px;
    color: #1a1a1a;
  }

  .founder__content .btn-light {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
  }

  /* ГЛАВНОЕ О ПОДХОДЕ */
  .approach__title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: var(--fs-50);
  }

  .approach-item__title {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
  }

  .approach-item__text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
  }

  .approach__stat-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 20px;
  }

  .approach__stat-text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
  }

  /* ПОЧЕМУ ВЫБИРАЮТ НАС */
  .advantages-title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-50);
  }

  .adv-card__title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-30);
  }

  .adv-card__text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
  }

  /* Аккордеон преимуществ: активная карточка справа, остальные свёрнуты слева */
  .adv-card.is-active {
    grid-column: 2;
    grid-row: 1 / 4;
    height: 100%;
    transition: background 0.3s ease;
  }

  .adv-card:not(.is-active) {
    grid-column: 1;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .adv-card:not(.is-active) .adv-card__icon {
    margin-bottom: 0;
  }

  .adv-card:not(.is-active) .adv-card__text {
    display: none;
  }

  .adv-card.is-active .adv-card__wm {
    top: auto;
    bottom: 0;
  }

  /* FAQ */
  .faq__title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: var(--fs-50);
  }

  .faq-item__q {
    font-family: "Gilroy", sans-serif;
    font-weight: 500;
    font-size: 22px;
  }

  .faq__ask-title {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: var(--fs-27);
  }

  .faq__ask-text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
  }

  /* СТРОЙКА БЕЗ ФИЛЬТРОВ */
  .reels__title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: var(--fs-50);
  }

  /* ФИНАЛЬНАЯ КОНСУЛЬТАЦИЯ */
  .consult--blue .consult__title {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: var(--fs-55);
  }

  .consult--blue .consult__text {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: var(--fs-34);
  }

  .consult--blue .btn-submit {
    font-family: "Gilroy", sans-serif;
    font-weight: 700;
    font-size: 16px;
  }
}

/* РЕЖИМ «КАК НА 1920, НО В МАСШТАБЕ» (эмуляция zoom браузера)
   Класс .zoomfit вешается скриптом для ширин 1301–1919px.
   Страница верстается ровно как на 1920px (все «резиновые» токены
   зафиксированы в значениях макета), а затем пропорционально
   ужимается через CSS-zoom — точно как Ctrl+«−» в браузере. */
html.zoomfit {
  --fs-hero: 55px;
  --fs-55: 55px;
  --fs-50: 50px;
  --fs-35: 35px;
  --fs-34: 34px;
  --fs-32: 32px;
  --fs-30: 30px;
  --fs-27: 27px;
  --fs-25: 25px;
  --fs-22: 22px;
  --gutter: 51px;
  --section-gap: 36px;
  --card-pad: 49px;
}

html.zoomfit body {
  width: 1920px;
  max-width: 1920px;
  margin: 0;
}

/* возвращаем фиксированные «макетные» значения там, где была vw-резина */
html.zoomfit .hero {
  grid-template-columns: 1fr 800px;
}

html.zoomfit .hero__image {
  min-height: 846px;
}

html.zoomfit .hero__card {
  padding: 50px 48px;
}

html.zoomfit .project-layout {
  grid-template-columns: 1fr 460px;
}

/* АНИМАЦИИ */

/* Блик, пробегающий по кнопкам */
.btn-primary,
.btn-submit,
.step-card__cta-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-submit::after,
.step-card__cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-220%) skewX(-20deg);
  animation: btn-shine 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes btn-shine {
  0% {
    transform: translateX(-220%) skewX(-20deg);
  }

  22% {
    transform: translateX(320%) skewX(-20deg);
  }

  100% {
    transform: translateX(320%) skewX(-20deg);
  }
}

/* 3D-наклон карточек при наведении (Наши услуги, Примеры) */
.service-card,
.example-card {
  transition:
    transform 0.18s ease-out,
    box-shadow 0.25s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card.is-tilting,
.example-card.is-tilting {
  box-shadow: 0 26px 50px rgba(28, 36, 64, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after,
  .btn-submit::after,
  .step-card__cta-btn::after {
    animation: none;
  }

  .service-card,
  .example-card {
    transition: none;
  }
}

/* ОПРОС (квиз) — плавающая кнопка + модальное окно */

/* Плавающая кнопка */
.quiz-fab {
  position: fixed;
  right: 0px;
  top: 58%;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--orange-soft);
  border: 1px solid var(--orange);
  border-radius: 14px 0 0 14px;
  padding: 13px 19px 13px 13px;
  box-shadow: 0 12px 28px rgba(28, 36, 64, 0.22);
  text-align: left;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.quiz-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(28, 36, 64, 0.32);
}

.quiz-fab__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-fab__icon svg {
  width: 21px;
  height: 21px;
}

.quiz-fab__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.quiz-fab__label {
  color: #000;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-fab__title {
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
}

/* крестик «скрыть опрос» — появляется при наведении, работает на всех экранах */
.quiz-fab__close {
  position: absolute;
  top: -9px;
  left: -9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--gray);
  border: 1px solid rgba(28, 36, 64, 0.12);
  box-shadow: 0 4px 10px rgba(28, 36, 64, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transform: scale(0.8);
  transition:
    opacity 0.18s,
    transform 0.18s,
    background 0.18s,
    color 0.18s;
  z-index: 2;
}

.quiz-fab:hover .quiz-fab__close,
.quiz-fab__close:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.quiz-fab__close:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* свёрнутый опрос — торчит только иконка (на любой ширине), клик возвращает */
.quiz-fab.is-collapsed {
  transform: translateX(calc(100% - 54px));
}

.quiz-fab.is-collapsed .quiz-fab__close {
  display: none;
}

/* Мобильная панель (опрос + мессенджеры) и кнопка «наверх»
   На ПК скрыты — там обычная плавающая кнопка «Опрос». Стили самой панели
   и её элементов лежат ниже, в медиа-запросе @media (max-width: 600px). */
.fab-row,
.fab-totop {
  display: none;
}

/* Оверлей и окно */
.quiz {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 22, 28, 0.6);
  backdrop-filter: blur(4px);
}

.quiz.is-open {
  display: flex;
}

.quiz__box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 40px;
  position: relative;
}

/* Прогресс */
.quiz__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 10px;
}

.quiz__pct {
  color: var(--navy);
}

.quiz__progress {
  height: 6px;
  border-radius: 6px;
  background: #ececec;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz__progress span {
  display: block;
  height: 100%;
  width: 17%;
  border-radius: 6px;
  background: var(--orange);
  transition: width 0.4s ease;
}

/* Панели */
.quiz-panel {
  display: none;
}

.quiz-panel.is-active {
  display: block;
  animation: quizFade 0.35s ease;
}

@keyframes quizFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.quiz-panel__q {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.25;
}

.quiz-panel__hint {
  font-size: 13px;
  color: var(--orange);
  margin-top: 8px;
}

/* Варианты ответов */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.quiz-options--grid {
  grid-template-columns: 1fr 1fr;
}

.quiz-opt {
  background: var(--orange-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.quiz-opt:hover {
  background: var(--orange-soft-2);
}

.quiz-opt.is-selected {
  background: #fff;
  border-color: var(--orange);
}

.quiz-options--shake {
  animation: quizShake 0.4s ease;
}

@keyframes quizShake {
  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-7px);
  }

  40%,
  80% {
    transform: translateX(7px);
  }
}

/* Кнопка «Далее» */
.quiz-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-pill);
  min-height: 54px;
  padding: 6px 6px 6px 28px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 14px 30px rgba(253, 77, 0, 0.26);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.quiz-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(253, 77, 0, 0.38);
}

.quiz-next .btn-circle {
  width: 44px;
  height: 44px;
}

/* Шаг контактов */
.quiz-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

/* Канал связи — выбор «один из двух»: невыбранный приглушён,
   выбранный подсвечивается фирменным цветом */
.quiz-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  min-height: 52px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  background: #fff;
  color: var(--gray-3);
  border: 2px solid #e4e6eb;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
}

/* иконка невыбранного канала слегка приглушена */
.quiz-channel:not(.is-selected) img {
  opacity: 0.55;
}

.quiz-channel img {
  width: 20px;
  height: 20px;
}

.quiz-channel-tg.is-selected {
  background: #eff8fb;
  color: #2796b8;
  border-color: var(--cyan);
}

.quiz-channel-max.is-selected {
  background: #f1f6ff;
  color: #0061fd;
  border-color: #0061fd;
}

.quiz-final {
  max-width: 1100px;
  margin: 0 auto;
}

.quiz-final__title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--navy);
  text-align: center;
}

.quiz-final__text {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.5;
  margin: 12px auto 26px;
  max-width: 800px;
}

.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quiz-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* строка может скрываться через атрибут hidden (поле ника при выборе МАКС) —
   класс с display:flex перебивал [hidden], поэтому возвращаем скрытие */
.quiz-form__row[hidden] {
  display: none;
}

.quiz-form__label {
  font-size: 13px;
  color: var(--gray);
}

/* Краткое уведомление после отправки заявки (перед переходом на главную) */
.quiz-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 1000;
  max-width: calc(100% - 32px);
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.quiz-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.quiz-form__label em {
  font-style: normal;
  color: var(--gray-3);
}

.quiz-field {
  border: none;
  border-bottom: 1px solid #d9d9de;
  background: transparent;
  padding: 10px 2px;
  font-size: 16px;
  color: var(--navy);
  width: 100%;
}

.quiz-field::placeholder {
  color: var(--gray-2);
}

.quiz-field:focus {
  outline: none;
  border-bottom-color: var(--orange);
}

.quiz-form .btn-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  padding-left: 50%;
}

.quiz-form .btn-submit .btn-circle {
  width: 44px;
  height: 44px;
}

.quiz-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
}

.quiz-consent input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.quiz-consent a {
  color: var(--orange);
  text-decoration: underline;
}

/* Адаптив опроса */
@media (max-width: 600px) {
  .quiz {
    padding: 0;
    align-items: stretch;
  }

  .quiz__box {
    border-radius: 0;
    max-width: none;
    max-height: 100vh;
    height: 100%;
    padding: 30px 20px;
  }

  .quiz-options--grid,
  .quiz-channels {
    grid-template-columns: 1fr;
  }

  .quiz-panel__q {
    font-size: 20px;
  }

  .quiz-final__title {
    font-size: 26px;
  }

  /* на мобайле обычная кнопка опроса скрыта — вместо неё тёмная панель снизу */
  .quiz-fab {
    display: none;
  }

  /* тёмная панель снизу: иконка опроса + мессенджеры + кнопка-призыв.
     Ширину ограничиваем, оставляя справа место под кнопку «наверх» (54px). */
  .fab-row {
    display: flex;
    position: fixed;
    left: 10px;
    bottom: 0px;
    z-index: 80;
    max-width: calc(100vw - 70px);
    align-items: center;
    gap: 6px;
    background: #20242e;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    transition:
      gap 0.28s ease,
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  /* скрытое состояние — панель и кнопка «наверх» растворены */
  .fab-row.is-hidden,
  .fab-totop.is-hidden {
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
  }

  .fab-row__quiz,
  .social-fab__btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
  }

  .fab-row__quiz {
    background: var(--orange);
    border: none;
    padding: 0;
    cursor: pointer;
  }

  /* сворачиваемая часть панели (мессенджеры + кнопка) */
  .fab-row__rest {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    max-width: 400px;
    transition:
      max-width 0.32s ease,
      opacity 0.25s ease;
  }

  /* свёрнутое состояние: остаётся только квадрат, остальное уезжает влево */
  .fab-row.is-collapsed {
    gap: 0;
  }

  .fab-row.is-collapsed .fab-row__rest {
    max-width: 0;
    opacity: 0;
    pointer-events: none;
  }

  .social-fab__btn {
    background: #fff;
  }

  .fab-row__quiz img,
  .social-fab__btn img {
    width: 22px;
    height: 22px;
  }

  /* контурная кнопка «рассчитать проект» — при нехватке места текст усекается */
  .fab-cta {
    min-width: 0;
    height: 38px;
    line-height: 36px;
    padding: 0 9px;
    border: 1px solid var(--orange);
    border-radius: 11px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* круглая кнопка «наверх» справа */
  .fab-totop {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 10px;
    bottom: 7px;
    z-index: 80;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .fab-totop svg {
    width: 21px;
    height: 21px;
  }
}
/* Квиз как отдельная страница (/quiz) */
.quiz-page {
  display: flex;
  justify-content: center;
  padding: 36px 0 64px;
}

.quiz-page .quiz__box {
  max-height: none;
  overflow: visible;
}

@media (max-width: 600px) {
  .quiz-page {
    padding: 16px 0 40px;
  }

  .quiz-page .quiz__box {
    background: transparent;
    border-radius: var(--radius-lg);
    height: auto;
    max-height: none;
    padding: 28px 0px;
  }
}

/* Окно «Спасибо за заявку» (после отправки любой формы-заявки) */
.lead-thanks {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 22, 28, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lead-thanks.is-open {
  opacity: 1;
}

.lead-thanks__box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.lead-thanks.is-open .lead-thanks__box {
  transform: none;
}

.lead-thanks__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.lead-thanks__ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.lead-thanks__ic svg {
  width: 30px;
  height: 30px;
}

.lead-thanks__title {
  font-family: "Gilroy", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
}

.lead-thanks__text {
  margin-top: 10px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.5;
}

/* Версия окна «Спасибо» с соцсетями */
.lead-thanks__box--social {
  max-width: 760px;
}

.lead-thanks__socials {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lt-soc {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.lt-soc:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 22, 28, 0.18);
}

.lt-soc__ic {
  position: absolute;
  left: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lt-soc__ic img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.lt-soc__label {
  flex: 1;
  text-align: center;
  font-family: "Gilroy", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 0 24px;
}

.lt-soc--site {
  background: #ff4d00;
}
.lt-soc--zen {
  background: #2b2b2b;
}
.lt-soc--vk {
  background: #0077ff;
}
.lt-soc--tg {
  background: #29a9eb;
}
.lt-soc--max {
  background: #0c4cff;
}
.lt-soc--inst {
  background: linear-gradient(90deg, #d6276e, #e1306c);
}

.lead-thanks__note {
  margin-top: 24px;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .lead-thanks__socials {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lead-thanks__box--social {
    padding: 36px 20px;
  }
}

/* Отдельная страница «Спасибо за заявку» */
.thanks-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 96px;
  min-height: 60vh;
}

.thanks {
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.thanks__title {
  font-family: "Gilroy", sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--navy);
}

.thanks__text {
  margin: 12px auto 0;
  max-width: 520px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.5;
}

.thanks__socials {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.thanks__note {
  margin-top: 36px;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .thanks-page {
    padding: 56px 18px 72px;
  }
  .thanks__title {
    font-size: 26px;
  }
  .thanks__socials {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Уведомление об использовании cookies */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  margin: 0 auto;
  max-width: 1080px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: var(--white);
  border: 1px solid var(--orange-soft-2);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(28, 36, 64, 0.16);
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray);
}

.cookie-banner__text a {
  color: var(--orange);
  text-decoration: underline;
}

.cookie-banner__btn {
  flex: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--white);
  font-family: "Gilroy", sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s ease;
}

.cookie-banner__btn:hover {
  background: var(--orange-dark);
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 20px;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* =========================================================
   HERO V2 — новый первый экран
   ========================================================= */
.hero-v2{position:relative;display:grid;grid-template-columns:minmax(470px,.86fr) minmax(620px,1.14fr);min-height:clamp(700px,calc(100vh - 116px),900px);margin-top:24px;overflow:hidden;border-radius:38px;background:#1b2236;box-shadow:0 28px 80px rgba(28,36,64,.16)}
.hero-v2__copy{position:relative;z-index:3;color:#fff;padding:clamp(38px,4vw,72px) clamp(34px,4vw,76px) 34px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#182036 0%,#222b45 58%,#252b3a 100%)}
.hero-v2__copy:before{content:"";position:absolute;left:0;top:18%;width:4px;height:190px;background:var(--orange);border-radius:0 4px 4px 0;box-shadow:0 0 30px rgba(253,77,0,.45)}
.hero-v2__topline{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.62)}
.hero-v2__eyebrow{display:flex;align-items:center;gap:9px;color:#fff;font-weight:700}.hero-v2__pulse{width:8px;height:8px;background:#62d69b;border-radius:50%;box-shadow:0 0 0 5px rgba(98,214,155,.1)}.hero-v2__since{white-space:nowrap}
.hero-v2__main{max-width:690px;margin:auto 0;padding:50px 0 40px}.hero-v2__kicker{font-size:12px;font-weight:800;letter-spacing:.15em;color:rgba(255,255,255,.5)}
.hero-v2 h1{font-family:Gilroy,sans-serif;font-size:clamp(52px,4.25vw,82px);line-height:.94;letter-spacing:-.045em;font-weight:700;margin:18px 0 28px;color:#fff}.hero-v2 h1 em{font-style:normal;color:var(--orange);position:relative;display:inline-block}.hero-v2 h1 em:after{content:"";position:absolute;left:0;right:5%;bottom:-5px;height:3px;background:rgba(253,77,0,.7);border-radius:4px}
.hero-v2__lead{max-width:650px;color:rgba(255,255,255,.72);font-size:clamp(16px,1vw,19px);line-height:1.5}
.hero-v2__price{display:flex;align-items:center;gap:22px;margin-top:30px;padding:16px 18px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.055);border-radius:18px;width:max-content;max-width:100%;backdrop-filter:blur(8px)}.hero-v2__price-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.48);margin-bottom:2px}.hero-v2__price strong{font:700 28px Gilroy,sans-serif}.hero-v2__price-note{font-size:12px;line-height:1.35;color:rgba(255,255,255,.5);padding-left:20px;border-left:1px solid rgba(255,255,255,.12)}
.hero-v2__actions{display:flex;gap:12px;margin-top:18px}.hero-v2__primary{min-height:72px;padding:8px 8px 8px 25px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-radius:16px;background:var(--orange);color:#fff;box-shadow:0 14px 35px rgba(253,77,0,.25);transition:.22s ease;flex:1}.hero-v2__primary:hover{background:#ff5d18;transform:translateY(-2px);box-shadow:0 18px 40px rgba(253,77,0,.34)}.hero-v2__primary span{display:flex;flex-direction:column;line-height:1.2}.hero-v2__primary b{font-size:16px}.hero-v2__primary small{font-size:11px;opacity:.8;margin-top:4px}.hero-v2__primary i{width:54px;height:54px;border-radius:13px;background:#fff;display:grid;place-items:center;flex:none}.hero-v2__primary i img{width:17px;filter:brightness(0)}
.hero-v2__secondary{min-height:72px;padding:0 18px;border:1px solid rgba(255,255,255,.18);border-radius:16px;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700;transition:.22s ease;min-width:170px}.hero-v2__secondary:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.4);transform:translateY(-2px)}.hero-v2__secondary b{color:var(--orange)}
.hero-v2__trust{display:flex;gap:0;margin-top:26px}.hero-v2__trust>div{padding:0 25px;border-left:1px solid rgba(255,255,255,.11);display:flex;flex-direction:column}.hero-v2__trust>div:first-child{padding-left:0;border-left:0}.hero-v2__trust b{font:700 23px Gilroy,sans-serif}.hero-v2__trust span{font-size:11px;color:rgba(255,255,255,.48);margin-top:2px}.hero-v2__bottom{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:rgba(255,255,255,.4);border-top:1px solid rgba(255,255,255,.1);padding-top:18px}
.hero-v2__visual{position:relative;min-width:0;overflow:hidden;background:#c9cdd0}.hero-v2__photo,.hero-v2__photo img{position:absolute;inset:0;width:100%;height:100%}.hero-v2__photo img{object-fit:cover;object-position:center}.hero-v2__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,27,44,.08),transparent 38%),linear-gradient(0deg,rgba(20,27,44,.48),transparent 34%)}
.hero-v2__visual-top{position:absolute;left:28px;right:28px;top:28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.hero-v2__tag,.hero-v2__rating{background:rgba(255,255,255,.94);color:var(--navy);backdrop-filter:blur(10px);border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.12)}.hero-v2__tag{padding:11px 16px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}.hero-v2__tag img{width:17px;height:17px}.hero-v2__rating{padding:9px 14px;display:flex;align-items:center;gap:7px}.hero-v2__rating strong{font-size:15px}.hero-v2__rating span{color:var(--orange);font-size:15px}.hero-v2__rating small{font-size:11px;color:#686b75}
.hero-v2__project-card{position:absolute;left:28px;bottom:28px;width:min(510px,calc(100% - 56px));background:rgba(255,255,255,.96);border-radius:22px;padding:22px;box-shadow:0 22px 55px rgba(20,27,44,.22);backdrop-filter:blur(12px)}.hero-v2__project-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid rgba(28,36,64,.1)}.hero-v2__project-head span{font-size:9px;letter-spacing:.13em;color:#9699a1;font-weight:800}.hero-v2__project-head b{font-size:13px}.hero-v2__project-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px 0}.hero-v2__project-meta span{display:flex;flex-direction:column}.hero-v2__project-meta b{font:700 16px Gilroy,sans-serif}.hero-v2__project-meta small{font-size:10px;color:#8a8d96;margin-top:2px}.hero-v2__project-card>a{display:flex;justify-content:space-between;align-items:center;color:var(--orange);font-size:12px;font-weight:800}.hero-v2__project-card>a i{font-size:18px;font-style:normal}
.hero-v2__slider{position:absolute;right:28px;bottom:34px;display:flex;align-items:center;gap:13px;color:#fff}.hero-v2__slider>span{display:flex;align-items:baseline;gap:3px}.hero-v2__slider b{font:700 34px Gilroy,sans-serif}.hero-v2__slider i{font-style:normal;font-size:15px;opacity:.65}.hero-v2__slider>div{display:flex;gap:7px}.hero-v2__slider button{width:45px;height:45px;border:1px solid rgba(255,255,255,.65);border-radius:12px;display:grid;place-items:center;background:rgba(20,27,44,.16);backdrop-filter:blur(6px);transition:.2s}.hero-v2__slider button:hover{background:rgba(255,255,255,.18)}.hero-v2__slider img{width:15px;height:auto}.hero-v2__scroll{position:absolute;right:28px;top:50%;writing-mode:vertical-rl;transform:translateY(-50%);color:rgba(255,255,255,.7);font-size:9px;letter-spacing:.16em;text-transform:uppercase;display:flex;align-items:center;gap:8px}.hero-v2__scroll span{height:55px;width:1px;background:rgba(255,255,255,.5)}
@media (max-width:1300px) and (min-width:901px){.hero-v2{grid-template-columns:46% 54%}.hero-v2__copy{padding:38px}.hero-v2 h1{font-size:clamp(48px,4.3vw,66px)}.hero-v2__topline{font-size:10px}.hero-v2__since{display:none}.hero-v2__trust>div{padding:0 14px}.hero-v2__primary{padding-left:18px}.hero-v2__secondary{min-width:145px}.hero-v2__project-card{width:min(430px,calc(100% - 44px));left:22px;bottom:22px}.hero-v2__visual-top{left:22px;right:22px;top:22px}.hero-v2__slider{right:22px;bottom:25px}}
@media (max-width:900px){.hero-v2{display:flex;flex-direction:column-reverse;min-height:0;margin-top:14px;border-radius:26px}.hero-v2__visual{height:clamp(430px,65vw,600px);flex:none}.hero-v2__copy{padding:30px 24px 22px}.hero-v2__topline{font-size:9px}.hero-v2__since{display:none}.hero-v2__main{padding:35px 0 25px}.hero-v2 h1{font-size:clamp(42px,8vw,62px);line-height:.95;margin:14px 0 20px}.hero-v2__lead{font-size:15px}.hero-v2__price{margin-top:22px}.hero-v2__actions{flex-direction:column}.hero-v2__secondary{min-height:58px}.hero-v2__primary{min-height:64px}.hero-v2__trust{justify-content:space-between}.hero-v2__trust>div{padding:0 12px}.hero-v2__trust b{font-size:18px}.hero-v2__trust span{font-size:9px}.hero-v2__bottom{font-size:9px;flex-direction:column;gap:5px}.hero-v2__project-card{left:16px;bottom:16px;width:calc(100% - 32px);padding:16px;border-radius:18px}.hero-v2__project-head b{font-size:11px}.hero-v2__project-meta b{font-size:14px}.hero-v2__visual-top{left:16px;right:16px;top:16px}.hero-v2__tag{font-size:10px;padding:9px 12px}.hero-v2__rating{padding:8px 11px}.hero-v2__slider{right:16px;bottom:18px}.hero-v2__slider>span{display:none}.hero-v2__scroll{display:none}}
@media (max-width:600px){.hero-v2__visual{height:440px}.hero-v2__copy{padding:26px 18px 18px}.hero-v2__main{padding-top:28px}.hero-v2 h1{font-size:42px}.hero-v2__kicker{font-size:9px}.hero-v2__lead{font-size:14px}.hero-v2__price{width:100%;justify-content:space-between;gap:10px}.hero-v2__price strong{font-size:24px}.hero-v2__price-note{font-size:10px}.hero-v2__trust>div{padding:0 7px}.hero-v2__trust b{font-size:16px}.hero-v2__trust span{font-size:8px}.hero-v2__project-meta{gap:7px}.hero-v2__project-meta b{font-size:12px}.hero-v2__project-meta small{font-size:8px}.hero-v2__project-card>a{font-size:10px}.hero-v2__tag{max-width:62%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-v2__rating small{display:none}}
@media (prefers-reduced-motion:no-preference){.hero-v2__copy>*{animation:heroIn .7s both}.hero-v2__main{animation-delay:.08s}.hero-v2__bottom{animation-delay:.16s}.hero-v2__project-card{animation:heroCardIn .8s .18s both}.hero-v2__tag{animation:heroCardIn .65s .05s both}.hero-v2__rating{animation:heroCardIn .65s .12s both}@keyframes heroIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes heroCardIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}}


/* ===== FINAL PREMIUM CONVERSION POLISH ===== */
body.modal-open{overflow:hidden}
.modal{background:rgba(10,14,20,.72);backdrop-filter:blur(14px);padding:18px;align-items:center}
.modal.is-open{animation:modalFade .25s ease both}
.modal__box--premium{max-width:1040px;padding:0;overflow:hidden;border-radius:30px;background:#fff;color:var(--navy);box-shadow:0 35px 100px rgba(0,0,0,.30)}
.modal__box--premium .modal__close{z-index:3;top:16px;right:16px;background:rgba(255,255,255,.88);color:#1e242a;box-shadow:0 8px 25px rgba(0,0,0,.12);width:42px;height:42px;font-size:24px}
.modal__grid{display:grid;grid-template-columns:42% 58%;min-height:590px}
.modal__visual{position:relative;overflow:hidden;background:#1e242a}
.modal__visual>img{width:100%;height:100%;object-fit:cover;display:block}
.modal__visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,15,20,.02) 25%,rgba(10,15,20,.75) 100%)}
.modal__visual-card{position:absolute;left:24px;right:24px;bottom:24px;z-index:1;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(20,25,31,.55);backdrop-filter:blur(12px);color:#fff}
.modal__visual-card b{display:block;font:700 22px Gilroy,sans-serif;margin-bottom:4px}.modal__visual-card span{font-size:12px;color:rgba(255,255,255,.65)}
.modal__content{padding:50px 50px 42px;display:flex;flex-direction:column;justify-content:center}
.modal__badge{position:absolute;z-index:2;top:22px;left:24px;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#fff;font-size:11px;font-weight:800;color:#1e242a;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.modal__badge span{width:7px;height:7px;border-radius:50%;background:#62d69b;box-shadow:0 0 0 4px rgba(98,214,155,.14)}
.modal__content .modal__title{font-size:42px;line-height:1;letter-spacing:-.04em;margin:0 0 12px}.modal__content .modal__text{color:#69727b;font-size:16px;line-height:1.55;margin:0 0 18px;max-width:510px}
.modal__mini-proof{font-size:12px;color:#535c64;display:flex;align-items:center;gap:8px;margin:6px 0}.modal__mini-proof span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eef8f2;color:#1a9b5c;font-weight:800}
.modal__content form{margin-top:22px}.modal__content .form-field{border:1px solid #e5e7ea;background:#f7f8f9;border-radius:14px;padding:16px 17px;font-size:15px;color:#1e242a;outline:none;transition:border .2s,background .2s,box-shadow .2s}.modal__content .form-field:focus{border-color:var(--orange);background:#fff;box-shadow:0 0 0 4px rgba(253,77,0,.08)}
.modal__submit{width:100%;min-height:62px;justify-content:space-between}.modal__content .form-consent{color:#91969d;font-size:11px;line-height:1.4;display:block;margin-top:12px}.modal__content .form-consent a{color:#626a72;text-decoration:underline}
@keyframes modalFade{from{opacity:0}to{opacity:1}}
.blog-preview{overflow:hidden}.blog-preview__lead{max-width:760px;color:#687078;line-height:1.5;margin:12px 0 24px}.blog-preview__all{display:inline-flex;gap:10px;align-items:center;color:var(--orange);font-weight:800}.blog-preview__grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:16px}.blog-card{display:flex;flex-direction:column;min-height:100%;border:1px solid rgba(30,36,42,.09);border-radius:24px;overflow:hidden;background:#fff;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.blog-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(30,36,42,.10);border-color:rgba(253,77,0,.24)}.blog-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.blog-card__cat{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#9398a0;font-weight:800;padding:18px 18px 0}.blog-card h3{font:700 24px/1.05 Gilroy,sans-serif;letter-spacing:-.025em;margin:8px 18px 10px;color:var(--navy)}.blog-card p{margin:0 18px;color:#6c747c;line-height:1.5;font-size:14px}.blog-card__read{margin:auto 18px 18px;padding-top:18px;color:var(--orange);font-weight:800;font-size:13px}.blog-card--featured h3{font-size:30px}
/* hide legacy hero project card on all screens; the visual reads cleaner without overlap */
.hero-v2__project-card{display:none!important}
/* mobile hero visual: keep the photo clean, CTA floating block compact and never cover controls */
@media (max-width:900px){.modal__grid{grid-template-columns:1fr;min-height:0}.modal__visual{display:none}.modal__content{padding:44px 24px 24px}.modal__badge{left:24px;top:16px}.modal__content .modal__title{font-size:34px}.blog-preview__grid{grid-template-columns:1fr}.blog-card--featured h3{font-size:26px}}
@media (max-width:600px){.modal{padding:10px}.modal__box--premium{border-radius:22px;max-height:calc(100svh - 20px);overflow:auto}.modal__content{padding:46px 18px 20px}.modal__badge{left:18px;font-size:10px}.modal__content .modal__title{font-size:30px}.modal__content .modal__text{font-size:14px}.modal__content .form-field{padding:15px;border-radius:13px}.modal__submit{min-height:58px}.blog-card{border-radius:18px}.blog-preview__all{font-size:13px}.quiz-fab{display:none!important}.quiz-fab__body{min-width:0}.quiz-fab__title{font-size:11px!important}.quiz-fab__label{font-size:9px!important}}


.modal__auto-grid{display:grid;grid-template-columns:.78fr 1.22fr;min-height:640px;background:#fff;border-radius:30px;overflow:hidden;position:relative}.modal__auto-visual{position:relative;overflow:hidden;background:#1d2530}.modal__auto-visual img{width:100%;height:100%;object-fit:cover}.modal__auto-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.55))}.modal__auto-caption{position:absolute;left:20px;right:20px;bottom:20px;z-index:2;padding:15px;border-radius:16px;background:rgba(10,14,18,.7);color:#fff}.modal__auto-caption b{display:block;font:700 21px Gilroy}.modal__auto-caption span{display:block;margin-top:4px;color:rgba(255,255,255,.66);font:500 12px Inter}.modal__auto-content{padding:48px;display:flex;flex-direction:column;justify-content:center;min-width:0}.modal__auto-content .modal__title{font-size:50px;line-height:1;margin:0 0 12px}.modal__auto-content .modal__text{font-size:17px;line-height:1.55;color:#727c85}.modal__auto-content form{display:grid;gap:10px}.modal__auto-content .modal__close,.modal__box .modal__close{position:absolute;top:15px;right:15px;z-index:4;width:52px;height:52px;border:1px solid rgba(30,36,42,.08);border-radius:50%;background:#fff;font-size:30px;color:#1f2a3e}@media(max-width:800px){.modal__auto-grid{grid-template-columns:1fr;min-height:0;max-height:92vh;overflow:auto;border-radius:22px}.modal__auto-visual{height:220px}.modal__auto-content{padding:24px 18px 20px}.modal__auto-content .modal__title{font-size:35px}}
.article-key-takeaway{margin:26px 0 4px;padding:18px;border:1px solid #ffd4c3;border-radius:17px;background:#fff7f2}.article-key-takeaway span{display:block;color:#ff5a16;font:800 10px Inter;letter-spacing:.1em;text-transform:uppercase}.article-key-takeaway b{display:block;margin-top:6px;color:#24304a;font:700 18px/1.28 Gilroy}

/* V5 redesign */
.blog-v5{background:#f4f5f6;color:#1e2a4a}.blog-wrap-v5{max-width:var(--container);width:100%;box-sizing:border-box;margin:0 auto;padding:24px 0 88px}.blog-hero-v5{display:grid;grid-template-columns:1.08fr .92fr;gap:16px}.blog-hero-v5__copy{background:#1b2430;color:#fff;border-radius:30px;padding:48px 52px;display:flex;flex-direction:column;justify-content:center}.eyebrow-v5{color:#ff8050;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.blog-hero-v5__line{display:flex;justify-content:space-between;gap:18px;margin-top:20px;font-size:10px;letter-spacing:.1em;color:rgba(255,255,255,.43)}.blog-hero-v5 h1{font:700 clamp(44px,5vw,78px)/.96 Gilroy,sans-serif;letter-spacing:-.055em;margin:18px 0}.blog-hero-v5__copy p{max-width:700px;font-size:18px;line-height:1.55;color:rgba(255,255,255,.7);margin:0}.blog-hero-v5__stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:28px}.blog-hero-v5__stats div{padding:13px 12px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.035)}.blog-hero-v5__stats b{display:block;font:800 17px Gilroy}.blog-hero-v5__stats span{display:block;margin-top:5px;font-size:10px;color:rgba(255,255,255,.55);line-height:1.25}.blog-hero-v5__art{position:relative;min-height:450px;border-radius:30px;overflow:hidden;background:#1d2530}.blog-hero-v5__art img{width:100%;height:100%;object-fit:cover;display:block}.blog-hero-v5__art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(8,12,16,.67))}.blog-hero-v5__quote{position:absolute;z-index:1;left:24px;right:24px;bottom:22px;color:#fff}.blog-hero-v5__quote span{font:700 28px/1.05 Gilroy}.blog-hero-v5__quote small{display:block;margin-top:8px;color:rgba(255,255,255,.58);font-size:11px}.blog-toolbar-v5{margin:16px 0;display:grid;gap:10px;background:#fff;border:1px solid rgba(30,36,42,.08);padding:14px;border-radius:22px}.blog-search-v5{display:flex;gap:10px;align-items:center}.blog-search-v5 input{flex:1;min-height:50px;border:1px solid #e6e8eb;background:#fafbfc;border-radius:15px;padding:0 14px;font:500 15px Inter}.blog-count-v5{font-size:11px;color:#9299a0;white-space:nowrap}.blog-chips-v5{display:flex;gap:7px;flex-wrap:wrap}.blog-chips-v5 span{padding:8px 11px;border-radius:999px;background:#f4f6f7;color:#646c75;font-size:11px;font-weight:800}.blog-grid-v5{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.blog-card-v5{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(30,36,42,.08);border-radius:22px;overflow:hidden;transition:.2s ease}.blog-card-v5:hover{transform:translateY(-3px);box-shadow:0 20px 50px rgba(20,25,30,.08)}.blog-card-v5__img{display:block;position:relative;aspect-ratio:1.53;overflow:hidden}.blog-card-v5__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}.blog-card-v5:hover .blog-card-v5__img img{transform:scale(1.03)}.blog-card-v5__num{position:absolute;right:11px;bottom:10px;color:#fff;font:800 10px Inter;letter-spacing:.08em}.blog-card-v5__body{display:flex;flex-direction:column;gap:8px;padding:15px 15px 16px;min-height:190px}.blog-card-v5__meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#979ea4}.blog-card-v5__meta span{color:#ff5a16;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.blog-card-v5 h2{margin:0;font:700 21px/1.05 Gilroy;color:#1d2b4c}.blog-card-v5 h2 a{color:inherit;text-decoration:none}.blog-card-v5 p{margin:0;color:#657079;font-size:12px;line-height:1.5}.blog-card-v5__footer{margin-top:auto;padding-top:8px;border-top:1px solid #eef0f2;display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#a0a7ad}.blog-card-v5__footer a{color:#ff5a16;font-weight:900;text-decoration:none}.blog-lead-card{grid-column:span 2;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:24px;border-radius:22px;background:#fff2eb;border:1px solid #ffd2bd}.blog-lead-card h2{font:700 28px/1.05 Gilroy;margin:7px 0}.blog-lead-card p{margin:0;color:#6d747b;line-height:1.5;font-size:13px}.blog-lead-eyebrow,.blog-bottom-lead>div>span{color:#ff5a16;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.blog-lead-card>a,.blog-bottom-lead>a{display:inline-flex;align-items:center;gap:14px;min-height:52px;padding:0 18px;border-radius:14px;background:#ff5a16;color:#fff;text-decoration:none;font-weight:900;white-space:nowrap}.pagination-v5{display:flex;justify-content:center;gap:7px;align-items:center;margin:26px 0;flex-wrap:wrap}.page-btn-v5,.page-arrow{min-width:42px;height:42px;padding:0 13px;border:1px solid #e0e4e8;background:#fff;border-radius:12px;display:grid;place-items:center;color:#4f5961;font:800 12px Inter;text-decoration:none}.page-btn-v5.is-current{background:#1e2a4a;color:#fff;border-color:#1e2a4a}.page-arrow{color:#ff5a16}.blog-bottom-lead{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;background:#1e2a4a;color:#fff;border-radius:24px;padding:26px}.blog-bottom-lead h2{margin:8px 0;font:700 30px/1.05 Gilroy}.blog-bottom-lead p{margin:0;color:rgba(255,255,255,.64);font-size:13px;line-height:1.5}.blog-bottom-lead>a{min-width:170px;justify-content:center}.modal__auto-grid{grid-template-columns:.86fr 1.14fr}.modal__auto-visual{min-height:680px}.modal__auto-content{padding:54px}.modal__auto-content .modal__title{font-size:52px}.modal__auto-content .form-field{min-height:60px}.modal__auto-content .modal__submit{min-height:62px}.quiz-v5{background:#eef1f3;min-height:100vh}.quiz5-wrap{max-width:1460px;margin:0 auto;padding:20px}.quiz5-card{display:grid;grid-template-columns:.9fr 1.1fr;min-height:780px;background:#fff;border-radius:34px;overflow:hidden;box-shadow:0 35px 110px rgba(20,28,40,.14)}.quiz5-visual{position:relative;overflow:hidden;background:#17202c}.quiz5-visual img{width:100%;height:100%;object-fit:cover}.quiz5-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.8))}.quiz5-copy{position:absolute;z-index:2;left:42px;right:42px;bottom:42px;color:#fff}.quiz5-copy__tag{display:inline-flex;padding:9px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.quiz5-copy h1{font:700 clamp(48px,5vw,80px)/.92 Gilroy;letter-spacing:-.055em;margin:18px 0}.quiz5-copy p{font-size:15px;line-height:1.6;color:rgba(255,255,255,.7);max-width:520px}.quiz5-proof{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.quiz5-proof span{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.09);font-size:11px;color:rgba(255,255,255,.75)}.quiz5-panel{padding:40px 46px;display:flex;flex-direction:column;min-width:0}.quiz5-panel__top{display:flex;justify-content:space-between;align-items:center;gap:12px;font:800 11px Inter;text-transform:uppercase;letter-spacing:.08em;color:#8b939a}.quiz5-progress{height:8px;border-radius:999px;background:#edf0f2;overflow:hidden;margin:10px 0 24px}.quiz5-progress span{display:block;height:100%;background:#ff5a16;border-radius:inherit;transition:width .35s}.quiz5-layout{display:grid;grid-template-columns:1fr 260px;gap:24px;align-items:start}.quiz5-main h2{font:700 clamp(34px,4vw,58px)/.98 Gilroy;margin:0;color:#1f2b47;letter-spacing:-.045em}.quiz5-hint{font-size:14px;line-height:1.55;color:#77818a;margin:10px 0 20px}.quiz5-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quiz5-option{border:1px solid #e2e7ea;background:#fbfcfd;border-radius:18px;padding:16px;text-align:left;cursor:pointer;min-height:92px;transition:.2s}.quiz5-option:hover{border-color:#ffad91;transform:translateY(-1px)}.quiz5-option.is-selected{border-color:#ff5a16;background:#fff2ec;box-shadow:0 0 0 3px rgba(255,90,22,.08)}.quiz5-option b{display:block;color:#24324e;font:700 17px Gilroy}.quiz5-option small{display:block;margin-top:6px;color:#7d858c;font-size:11px;line-height:1.35}.quiz5-side{position:sticky;top:22px;padding:18px;border-radius:22px;background:#f5f7f8;border:1px solid #e9ecee}.quiz5-side__title{font:800 10px Inter;letter-spacing:.1em;text-transform:uppercase;color:#91989f}.quiz5-side h3{font:700 24px/1.05 Gilroy;margin:8px 0}.quiz5-side p{font-size:11px;line-height:1.45;color:#727b83}.quiz5-meter{height:9px;background:#e6e9ec;border-radius:999px;overflow:hidden;margin:14px 0}.quiz5-meter span{display:block;height:100%;background:#ff5a16;border-radius:inherit;transition:width .35s}.quiz5-tags{display:flex;flex-wrap:wrap;gap:6px}.quiz5-tags span{padding:7px 9px;background:#fff;border:1px solid #e5e8eb;border-radius:999px;font-size:10px;color:#5c6670}.quiz5-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:auto;padding-top:24px}.quiz5-back{border:0;background:none;color:#8d959c;font:800 12px Inter;padding:0}.quiz5-next{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:60px;padding:0 9px 0 20px;border:0;border-radius:17px;background:#ff5a16;color:#fff;font:800 15px Inter}.quiz5-next span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:#ff5a16;font-size:22px}.quiz5-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.quiz5-summary div{background:#f5f7f8;border-radius:14px;padding:12px}.quiz5-summary b{display:block;font-size:9px;letter-spacing:.1em;color:#8c949c;text-transform:uppercase}.quiz5-summary span{display:block;margin-top:4px;font:700 14px Gilroy;color:#24324e}.quiz5-result__note{padding:12px 13px;border-radius:14px;background:#edf8f1;color:#3d715d;font-size:11px;line-height:1.45}.quiz5-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.quiz5-form input,.quiz5-form textarea{border:1px solid #e1e6e9;background:#fbfcfd;border-radius:14px;padding:14px 15px;font:500 14px Inter;outline:none}.quiz5-form textarea,.quiz5-submit,.quiz5-consent,.quiz5-error{grid-column:1/-1}.quiz5-submit{min-height:60px;border:0;border-radius:16px;background:#ff5a16;color:#fff;font:900 15px Inter}.quiz5-consent{font-size:10px;line-height:1.4;color:#9ba1a7}.quiz5-consent a{color:#616971}.quiz5-error{min-height:16px;color:#d84c25;font:700 11px Inter}.svc-v5{background:#f4f5f6;color:#1e2a4a}.svc-wrap-v5{max-width:1420px;margin:0 auto;padding:24px 22px 90px}.svc-hero-v5{display:grid;grid-template-columns:.95fr 1.05fr;border-radius:30px;overflow:hidden;min-height:580px;background:#1d2530;box-shadow:0 30px 90px rgba(20,28,40,.13)}.svc-hero-v5__copy{padding:54px;color:#fff;display:flex;flex-direction:column;justify-content:center}.svc-eyebrow{color:#ff8050;font:900 10px Inter;letter-spacing:.16em;text-transform:uppercase}.svc-hero-v5 h1{font:700 clamp(46px,5.5vw,82px)/.94 Gilroy;letter-spacing:-.055em;margin:16px 0}.svc-hero-v5 p{max-width:600px;color:rgba(255,255,255,.69);font-size:17px;line-height:1.55}.svc-hero-v5__bullets{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0}.svc-hero-v5__bullets div{padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:14px;color:rgba(255,255,255,.74);font-size:11px}.svc-hero-v5__cta{display:flex;gap:10px;flex-wrap:wrap}.svc-hero-v5__cta a{display:inline-flex;align-items:center;min-height:56px;padding:0 20px;border-radius:15px;text-decoration:none;font-weight:900}.svc-primary{background:#ff5a16;color:#fff}.svc-secondary{border:1px solid rgba(255,255,255,.18);color:#fff}.svc-hero-v5__media{position:relative;min-height:580px;overflow:hidden}.svc-hero-v5__media img{width:100%;height:100%;object-fit:cover}.svc-hero-v5__media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(29,37,48,.4),transparent 45%),linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.25))}.svc-strip-v5{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.svc-stat{background:#fff;border:1px solid rgba(30,36,42,.08);padding:16px;border-radius:18px}.svc-stat b{display:block;font:900 26px Gilroy}.svc-stat span{display:block;margin-top:5px;color:#8a9198;font-size:10px;line-height:1.3}.svc-section-v5{margin-top:22px;background:#fff;border-radius:24px;padding:30px;border:1px solid rgba(30,36,42,.08)}.svc-section-v5__head{display:flex;justify-content:space-between;gap:18px;align-items:end}.svc-section-v5 h2{font:700 38px/1 Gilroy;margin:0}.svc-section-v5 p.lead{max-width:680px;color:#6f7880;line-height:1.55;font-size:14px;margin:7px 0 0}.svc-grid-v5{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.svc-card-v5{padding:17px;border:1px solid #e8ebed;border-radius:17px;background:#fbfcfd}.svc-card-v5 b{display:block;font:700 18px Gilroy}.svc-card-v5 span{display:block;margin-top:7px;color:#7d858c;font-size:11px;line-height:1.4}.svc-steps-v5{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:18px}.svc-step-v5{padding:16px;border-radius:16px;background:#f5f7f8}.svc-step-v5 strong{display:block;color:#ff5a16;font:900 11px Inter}.svc-step-v5 b{display:block;margin-top:8px;font:700 16px Gilroy}.svc-step-v5 span{display:block;margin-top:7px;color:#7a838b;font-size:11px;line-height:1.4}.svc-lead-v5{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin-top:22px;padding:24px;border-radius:22px;background:#1e2a4a;color:#fff}.svc-lead-v5 h2{font:700 30px/1.03 Gilroy;margin:0 0 8px}.svc-lead-v5 p{margin:0;color:rgba(255,255,255,.65);font-size:13px;line-height:1.45}.svc-lead-v5 a{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 18px;border-radius:14px;background:#ff5a16;color:#fff;text-decoration:none;font-weight:900}.article-v5__lead{display:grid;grid-template-columns:1fr 340px;gap:18px;margin-top:28px;padding:18px;border-radius:20px;background:#fff6f1;border:1px solid #ffd7c5}.article-v5__lead-copy b{display:block;font:700 24px Gilroy;color:#1d2b4d}.article-v5__lead-copy p{margin:6px 0 0;color:#657079;font-size:13px;line-height:1.5}.article-v5__lead form{display:grid;grid-template-columns:1fr 1fr;gap:7px}.article-v5__lead input{min-height:48px;border:1px solid #e7e9eb;border-radius:12px;background:#fff;padding:0 12px;font:500 13px Inter}.article-v5__lead button{grid-column:1/-1;min-height:48px;border:0;border-radius:12px;background:#ff5a16;color:#fff;font:900 13px Inter}.article-v5__lead small{grid-column:1/-1;color:#9a9fa5;font-size:9px;line-height:1.35}.article-v5__trust{padding:18px;border-radius:18px;background:#1e2a4a;color:#fff}.article-v5__trust b{font:700 20px Gilroy}.article-v5__trust p{margin:8px 0 0;color:rgba(255,255,255,.64);font-size:11px;line-height:1.5}.article-v5__trust a{display:flex;justify-content:center;align-items:center;margin-top:12px;min-height:48px;border-radius:12px;background:#ff5a16;color:#fff;text-decoration:none;font-weight:900;font-size:12px}.article-v5__links{margin-top:10px;padding:15px;border:1px solid rgba(30,36,42,.08);border-radius:18px;background:#fff}.article-v5__links b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#949ba1;margin-bottom:7px}.article-v5__links a{display:block;padding:9px 0;border-top:1px solid #eef0f1;color:#39434b;text-decoration:none;font-size:12px;line-height:1.3}.article-v5__links a:first-of-type{border-top:0}
@media(max-width:1120px){.blog-grid-v5{grid-template-columns:repeat(3,1fr)}.quiz5-layout{grid-template-columns:1fr}.quiz5-side{position:static}.svc-grid-v5{grid-template-columns:repeat(2,1fr)}.svc-steps-v5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.blog-hero-v5{grid-template-columns:1fr}.blog-hero-v5__art{min-height:320px}.blog-grid-v5{grid-template-columns:repeat(2,1fr)}.quiz5-card{grid-template-columns:1fr}.quiz5-visual{min-height:360px}.quiz5-panel{padding:30px 24px}.modal__auto-grid{grid-template-columns:1fr}.modal__auto-visual{min-height:250px;max-height:280px}.modal__auto-content{padding:30px 24px}.svc-hero-v5{grid-template-columns:1fr}.svc-hero-v5__media{min-height:360px}.svc-strip-v5{grid-template-columns:repeat(2,1fr)}.article-v5__lead{grid-template-columns:1fr}}
@media(max-width:620px){.blog-wrap-v5{padding:12px 10px 65px}.blog-hero-v5__copy{padding:30px 22px;border-radius:22px}.blog-hero-v5 h1{font-size:40px}.blog-hero-v5__stats{grid-template-columns:1fr 1fr}.blog-hero-v5__art{min-height:250px;border-radius:22px}.blog-grid-v5{grid-template-columns:1fr}.blog-card-v5__body{min-height:0}.blog-lead-card{grid-column:auto;grid-template-columns:1fr;padding:20px}.blog-bottom-lead{grid-template-columns:1fr;padding:21px}.blog-bottom-lead h2{font-size:26px}.pagination-v5{gap:5px}.page-btn-v5,.page-arrow{min-width:38px;height:38px}.quiz5-wrap{padding:10px}.quiz5-card{border-radius:22px}.quiz5-visual{min-height:270px}.quiz5-copy{left:20px;right:20px;bottom:20px}.quiz5-copy h1{font-size:37px}.quiz5-panel{padding:20px 16px}.quiz5-options{grid-template-columns:1fr}.quiz5-actions{gap:8px}.quiz5-next{flex:1}.quiz5-summary{grid-template-columns:1fr}.quiz5-form{grid-template-columns:1fr}.quiz5-form input,.quiz5-form textarea,.quiz5-submit,.quiz5-consent,.quiz5-error{grid-column:auto}.svc-wrap-v5{padding:12px 10px 65px}.svc-hero-v5{border-radius:22px}.svc-hero-v5__copy{padding:30px 22px}.svc-hero-v5 h1{font-size:40px}.svc-hero-v5__media{min-height:250px}.svc-hero-v5__bullets{grid-template-columns:1fr}.svc-strip-v5{grid-template-columns:1fr 1fr}.svc-section-v5{padding:22px 18px}.svc-section-v5 h2{font-size:30px}.svc-grid-v5{grid-template-columns:1fr}.svc-steps-v5{grid-template-columns:1fr 1fr}.svc-lead-v5{grid-template-columns:1fr}.modal__auto-content .modal__title{font-size:33px}.article-v5__lead form{grid-template-columns:1fr}.article-v5__lead button,.article-v5__lead small{grid-column:auto}}
@media(max-width:680px){#v5-service-links{grid-template-columns:1fr!important;margin:18px 0!important}#v5-service-links h3{font-size:27px!important}.quiz5-copy p{font-size:14px}.quiz5-proof span{font-size:10px}.modal__auto-content form{gap:8px}.modal__auto-content .modal__submit{min-height:58px}}
.blog-page-form form input{background:#fff;color:#1e2a4a}.blog-page-form form button{cursor:pointer}@media(max-width:620px){.blog-page-form form{grid-template-columns:1fr!important}.blog-page-form form button{grid-column:auto!important}}


/* BLOG V6 — responsive polish / no overflow */
.blog-v5,.article-page{overflow-x:hidden}
.blog-wrap-v5{width:100%;box-sizing:border-box}
.blog-toolbar-v5{min-width:0}
.blog-search-v5{min-width:0}
.blog-search-v5 input{min-width:0}
.blog-grid-v5{align-items:stretch}
.blog-card-v5,.blog-lead-card{min-width:0}
.blog-card-v5__body{overflow:hidden}
.blog-card-v5 h2 a{overflow-wrap:anywhere}
.pagination-v5{padding-inline:4px}
.blog-bottom-lead{min-width:0}
.blog-bottom-lead>div{min-width:0}
.blog-page-form{grid-template-columns:1.1fr 1fr}
.blog-page-form form{min-width:0}

/* Article author: compact editorial signature instead of giant portrait */
.article-author{display:flex;align-items:center;gap:14px;margin-top:26px;padding:14px 16px;border:1px solid #e8ecee;border-radius:18px;background:#f7f8f9;min-width:0}
.article-author img{width:64px!important;height:64px!important;flex:0 0 64px;border-radius:50%;object-fit:cover;object-position:50% 18%;display:block;background:#e8ecee}
.article-author b{display:block;color:#1d2b4d;font:700 17px/1.15 Gilroy,sans-serif}
.article-author span{display:block;margin-top:4px;color:#78818a;font-size:11px;line-height:1.45}
.article-content{min-width:0;overflow-wrap:anywhere}
.article-content img{max-width:100%;height:auto}
.article-v5__lead{min-width:0}
.article-v5__lead form{min-width:0}
.article-v5__lead input,.article-v5__lead button{min-width:0;width:100%;box-sizing:border-box}
.article-aside{min-width:0}
.article-cta,.article-v5__trust,.article-v5__links{min-width:0}
.article-hero__copy,.article-hero__img{min-width:0}

@media (max-width:1120px){
  .blog-grid-v5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .blog-hero-v5{grid-template-columns:1fr 1fr}
  .blog-hero-v5__copy{padding:38px 36px}
  .blog-hero-v5 h1{font-size:clamp(40px,4.5vw,62px)}
  .article-body{grid-template-columns:minmax(0,1fr) 290px}
}
@media (max-width:900px){
  .blog-wrap-v5{padding-inline:16px}
  .blog-hero-v5{grid-template-columns:1fr}
  .blog-hero-v5__art{min-height:340px}
  .blog-search-v5{flex-wrap:wrap}
  .blog-search-v5 input{width:100%;order:1}
  .blog-count-v5{margin-left:auto}
  .blog-grid-v5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .blog-page-form{grid-template-columns:1fr}
  .blog-page-form form{grid-template-columns:1fr!important}
  .blog-page-form form > *{grid-column:auto!important}
  .article-body{grid-template-columns:1fr}
  .article-aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .article-aside .article-cta{grid-column:1/-1}
}
@media (max-width:620px){
  .blog-wrap-v5{padding-inline:10px}
  .blog-hero-v5__copy{padding:28px 20px}
  .blog-hero-v5 h1{font-size:38px}
  .blog-hero-v5__line{flex-direction:column;gap:7px}
  .blog-hero-v5__art{min-height:240px}
  .blog-toolbar-v5{padding:11px}
  .blog-chips-v5{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  .blog-chips-v5::-webkit-scrollbar{display:none}
  .blog-chips-v5 span{white-space:nowrap}
  .blog-grid-v5{grid-template-columns:1fr}
  .blog-lead-card{grid-template-columns:1fr;padding:18px}
  .blog-bottom-lead{padding:19px}
  .pagination-v5{gap:4px}
  .page-btn-v5,.page-arrow{min-width:36px;height:36px;padding-inline:10px}
  .page-arrow{font-size:11px}
  .article-top{flex-wrap:wrap}
  .article-hero__img{height:210px}
  .article-hero__copy{padding:23px 18px}
  .article-hero h1{font-size:32px}
  .article-content{padding:22px 17px}
  .article-aside{grid-template-columns:1fr}
  .article-aside .article-cta{grid-column:auto}
  .article-author{padding:12px}
  .article-author img{width:54px!important;height:54px!important;flex-basis:54px}
}

.page-arrow.is-disabled{opacity:.35;pointer-events:none}
.blog-no-results{display:none;grid-column:1/-1;padding:36px 20px;border:1px dashed #dfe4e7;border-radius:20px;background:#fff;text-align:center;color:#77818a}.blog-no-results b{display:block;color:#1e2a4a;font:700 24px Gilroy;margin-bottom:6px}

/* ===== QUIZ V7 — desktop polish ===== */
.quiz-v5{background:radial-gradient(circle at 20% 0%,#f8f9fa 0,#eef1f3 46%,#e8ecef 100%)}
.quiz5-wrap{max-width:1540px;padding:28px 26px 36px}
.quiz5-card{grid-template-columns:minmax(420px,.93fr) minmax(640px,1.47fr);min-height:760px;border-radius:36px;box-shadow:0 34px 100px rgba(20,28,40,.16)}
.quiz5-visual{min-height:760px}
.quiz5-copy{left:52px;right:52px;bottom:48px}
.quiz5-copy h1{max-width:670px}
.quiz5-panel{padding:34px 40px 30px;display:flex;flex-direction:column;justify-content:flex-start}
.quiz5-panel__top{font-size:10px}
.quiz5-progress{height:7px;margin:9px 0 28px}
.quiz5-layout{grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}
.quiz5-main{min-width:0}
.quiz5-main h2{max-width:700px}
.quiz5-hint{max-width:650px;margin:11px 0 22px}
.quiz5-options{gap:12px}
.quiz5-option{min-height:108px;padding:18px 18px 17px;border-radius:19px;display:flex;flex-direction:column;justify-content:center}
.quiz5-option b{font-size:18px;line-height:1.08}
.quiz5-option small{font-size:11px;margin-top:7px;max-width:260px}
.quiz5-side{position:relative;top:auto;align-self:start;padding:20px;border-radius:24px;background:linear-gradient(180deg,#f7f9fa,#f1f4f5);border:1px solid #e3e8ea;box-shadow:0 12px 30px rgba(20,28,40,.05)}
.quiz5-side:before{content:'1 / 3  •  ПАРАМЕТРЫ ДОМА';display:block;margin-bottom:10px;font:800 9px Inter;letter-spacing:.12em;color:#a1a8ae}
.quiz5-side__title{font-size:9px}
.quiz5-side h3{font-size:26px;line-height:1.02;margin:7px 0 10px}
.quiz5-side p{font-size:11px;line-height:1.5;margin:0 0 12px}
.quiz5-meter{height:8px;margin:12px 0 13px}
.quiz5-tags{max-height:150px;overflow:hidden}
.quiz5-tags span{background:#fff;padding:7px 8px;font-size:9px}
.quiz5-actions{margin-top:26px;padding-top:0;flex:0 0 auto}
.quiz5-next{min-width:158px}
.quiz5-back{padding:12px 4px}

/* Desktop result screen: less empty space, stronger lead flow */
.quiz5-summary{gap:9px;margin:16px 0}
.quiz5-summary div{padding:11px 12px}
.quiz5-form{margin-top:13px}

@media (min-width:1121px){
  .quiz5-layout{min-height:470px}
  .quiz5-main{padding-right:2px}
  .quiz5-side{margin-top:2px}
}

@media (min-width:1400px){
  .quiz5-card{grid-template-columns:44% 56%}
  .quiz5-panel{padding-left:48px;padding-right:48px}
}

/* tablet / phone remains intentionally single-column */
@media (max-width:1120px){
  .quiz5-card{min-height:0}
  .quiz5-visual{min-height:620px}
  .quiz5-panel{padding:30px}
}
@media (max-width:900px){
  .quiz5-visual{min-height:420px}
  .quiz5-panel{padding:28px 24px}
  .quiz5-layout{gap:18px}
  .quiz5-side{order:2}
}
@media (max-width:620px){
  .quiz5-wrap{padding:10px}
  .quiz5-card{border-radius:24px}
  .quiz5-visual{min-height:290px}
  .quiz5-copy{left:22px;right:22px;bottom:22px}
  .quiz5-panel{padding:20px 16px 18px}
  .quiz5-panel__top{font-size:9px}
  .quiz5-progress{height:6px;margin-bottom:20px}
  .quiz5-option{min-height:86px;padding:15px}
  .quiz5-side{padding:16px;border-radius:18px}
  .quiz5-actions{margin-top:18px}
}

/* ===== BLOG V6 — full site width / no clipping ===== */
.blog-wrap-v5,.article-wrap{max-width:var(--container);width:100%;box-sizing:border-box}
@media (min-width:901px){
  .blog-wrap-v5{padding-left:0;padding-right:0}
  .blog-grid-v5{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .blog-card-v5__body{padding:18px 18px 19px;min-height:196px}
  .blog-card-v5 h2{font-size:22px}
}
@media (min-width:1600px){
  .blog-hero-v5{grid-template-columns:1.12fr .88fr;gap:18px}
  .blog-hero-v5__copy{padding:56px 60px}
  .blog-hero-v5__art{min-height:510px}
}

/* UNIVERSAL NASLEDIE LEAD MODAL */
.sintez-modal[hidden]{display:none!important}
.sintez-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:22px;font-family:Inter,Arial,sans-serif}
.sintez-modal__overlay{position:absolute;inset:0;background:rgba(17,24,36,.68);backdrop-filter:blur(8px)}
.sintez-modal__box{position:relative;z-index:1;width:min(1120px,96vw);max-height:min(860px,92vh);display:grid;grid-template-columns:.92fr 1.08fr;overflow:hidden;background:#fff;border-radius:32px;box-shadow:0 35px 110px rgba(0,0,0,.28);color:#1e2a4a}
.sintez-modal__visual{position:relative;min-height:620px;background:#1e2a4a;overflow:hidden}
.sintez-modal__visual img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .25s ease,transform .45s ease}
.sintez-modal__visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,27,39,.05) 18%,rgba(10,15,23,.78) 100%)}
.sintez-modal__visual-copy{position:absolute;left:34px;right:34px;bottom:32px;color:#fff;display:grid;gap:8px}
.sintez-modal__eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.68)}
.sintez-modal__visual-copy strong{font:700 clamp(30px,3vw,48px)/1 Gilroy,Arial,sans-serif;letter-spacing:-.04em;max-width:560px}
.sintez-modal__visual-copy small{font-size:13px;color:rgba(255,255,255,.68)}
.sintez-modal__content{padding:54px 56px 46px;display:flex;flex-direction:column;overflow:auto}
.sintez-modal__close{position:absolute;z-index:3;top:16px;right:16px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#18213b;box-shadow:0 12px 28px rgba(0,0,0,.15);font-size:28px;line-height:1;cursor:pointer}
.sintez-modal__kicker{display:flex;align-items:center;gap:9px;color:#8a929b;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.sintez-modal__kicker span{width:8px;height:8px;border-radius:50%;background:#ff5a16;box-shadow:0 0 0 5px rgba(255,90,22,.1)}
.sintez-modal__title{margin:18px 0 10px;font:700 clamp(40px,4vw,62px)/.95 Gilroy,Arial,sans-serif;letter-spacing:-.055em;color:#1e2a4a}
.sintez-modal__title em{font-style:normal;color:#ff5a16}
.sintez-modal__subtitle{margin:0 0 18px;color:#6f7880;font-size:17px;line-height:1.55;max-width:650px}
.sintez-modal__proof{display:flex;align-items:center;gap:10px;color:#56616c;font-size:13px;margin:6px 0}
.sintez-modal__proof span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#edf8f1;color:#149b5d;font-weight:900}
.sintez-modal__form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.sintez-modal__form input,.sintez-modal__form textarea{width:100%;box-sizing:border-box;border:1px solid #dfe5e9;border-radius:16px;background:#fafbfc;padding:0 16px;color:#22304b;font:600 16px Inter,Arial,sans-serif;outline:none;transition:.2s}
.sintez-modal__form input{min-height:64px}.sintez-modal__form textarea{min-height:108px;padding-top:14px;resize:vertical;grid-column:1/-1}
.sintez-modal__form input:focus,.sintez-modal__form textarea:focus{border-color:#ff8a64;box-shadow:0 0 0 4px rgba(255,90,22,.10);background:#fff}
.sintez-modal__consent{grid-column:1/-1;display:flex;gap:8px;align-items:flex-start;color:#969da4;font-size:12px;line-height:1.4}
.sintez-modal__consent input{width:18px;height:18px;min-height:0;flex:0 0 18px;margin-top:1px;accent-color:#ff5a16}
.sintez-modal__consent a{color:#59626a;text-decoration:underline}
.sintez-modal__submit{grid-column:1/-1;min-height:64px;border:0;border-radius:17px;background:#ff5a16;color:#fff;font:900 16px Inter,Arial,sans-serif;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 22px;cursor:pointer;box-shadow:0 16px 28px rgba(255,90,22,.18);transition:.2s}
.sintez-modal__submit:hover{transform:translateY(-1px);box-shadow:0 20px 34px rgba(255,90,22,.24)}
.sintez-modal__submit span{width:46px;height:46px;border-radius:50%;background:#fff;color:#ff5a16;display:grid;place-items:center;font-size:24px}
.sintez-modal .sintez-lead-status,.sintez-modal .form-error{grid-column:1/-1;font-size:12px;line-height:1.4}
@media (max-width:900px){.sintez-modal__box{grid-template-columns:1fr}.sintez-modal__visual{min-height:260px}.sintez-modal__visual-copy{bottom:22px;left:24px;right:24px}.sintez-modal__content{padding:34px 26px 28px}.sintez-modal__title{font-size:40px}}
@media (max-width:620px){.sintez-modal{padding:10px}.sintez-modal__box{width:100%;max-height:calc(100svh - 20px);border-radius:22px}.sintez-modal__visual{min-height:190px}.sintez-modal__visual-copy strong{font-size:30px}.sintez-modal__content{padding:26px 18px 20px}.sintez-modal__close{top:10px;right:10px;width:42px;height:42px}.sintez-modal__form{grid-template-columns:1fr}.sintez-modal__form input{min-height:60px}.sintez-modal__title{font-size:34px}.sintez-modal__subtitle{font-size:14px}.sintez-modal__visual-copy small{font-size:12px}}

/* V29 — более мягкие анимации универсальных POP-UP окон */
.sintez-modal{opacity:0;transition:opacity .24s ease}
.sintez-modal:not([hidden]){opacity:1}
.sintez-modal:not([hidden]) .sintez-modal__overlay{animation:sin-overlay-in .24s ease both}
.sintez-modal:not([hidden]) .sintez-modal__box{animation:sin-modal-in .32s cubic-bezier(.2,.8,.2,1) both}
.sintez-modal.is-closing{opacity:0!important}
.sintez-modal.is-closing .sintez-modal__box{animation:sin-modal-out .22s ease both}
.sintez-modal.is-closing .sintez-modal__overlay{animation:sin-overlay-out .22s ease both}
.sintez-modal__close{transition:transform .18s ease,background .18s ease}
.sintez-modal__close:hover{transform:rotate(3deg) scale(1.04);background:#fff4ef}
@keyframes sin-overlay-in{from{opacity:0}to{opacity:1}}
@keyframes sin-overlay-out{from{opacity:1}to{opacity:0}}
@keyframes sin-modal-in{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes sin-modal-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(12px) scale(.99)}}
@media (prefers-reduced-motion:reduce){.sintez-modal,.sintez-modal:not([hidden]) .sintez-modal__overlay,.sintez-modal:not([hidden]) .sintez-modal__box,.sintez-modal.is-closing .sintez-modal__overlay,.sintez-modal.is-closing .sintez-modal__box{animation:none!important;transition:none!important}}
@media (max-width:620px){.sintez-modal:not([hidden]) .sintez-modal__box{animation-duration:.27s}.sintez-modal__close:hover{transform:none}}
