:root {
  --bg: #f3f3f5;
  --text: #181a1f;
  --muted: #666a75;
  --accent: #ff4545;
  --accent-dark: #15171c;
  --card: #ffffff;
  --border: #e7e8ee;
  --soft: #fff1f1;
  --success: #12663c;
  --success-bg: #e9fff1;
  --shadow: 0 16px 44px rgba(16, 19, 27, .08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--compact {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2,
.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.section-head p,
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 22px;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 69, 69, .22);
}

.button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.button--dark {
  background: var(--accent-dark);
}

.button--dark:hover {
  box-shadow: 0 14px 28px rgba(21, 23, 28, .22);
}

.button--ghost {
  border: 1px solid rgba(21, 23, 28, .12);
  background: #fff;
  color: var(--text);
}

.button--wide {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 23, 28, .08);
  background: rgba(243, 243, 245, .88);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.logo-img {
  width: 116px;
  height: auto;
  object-fit: contain;
}

.logo-text {
  display: none;
}

.logo-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-size: 18px;
}

.logo small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.nav a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover,
.nav a.is-active {
  background: var(--accent-dark);
  color: #fff;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: grid;
  text-align: right;
}

.header-phone strong {
  font-size: 17px;
}

.header-phone span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  padding: 34px 0 80px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  max-width: 660px;
  min-height: 560px;
  margin: 40px 0 40px 40px;
  padding: 56px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 span {
  display: inline-block;
  color: var(--accent);
  white-space: nowrap;
}

.hero--windows .hero-content {
  max-width: 760px;
}

.hero--windows h1 {
  font-size: clamp(38px, 4.4vw, 48px);
}

.hero--windows h1 span {
  font-size: .66em;
  letter-spacing: -.025em;
  vertical-align: .12em;
}

.hero--balcony .hero-content {
  max-width: 760px;
}

.hero--balcony h1 {
  font-size: clamp(38px, 4.4vw, 48px);
}

.hero--balcony h1 span {
  font-size: .66em;
  letter-spacing: -.025em;
  vertical-align: .12em;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .button {
  min-width: 190px;
}

.hero-deal-inline {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 69, 69, .2);
  border-radius: 18px;
  background: var(--soft);
}

.hero-deal-inline strong {
  color: var(--accent);
  font-size: 16px;
}

.hero-deal-inline span {
  color: var(--muted);
  font-size: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.hero-stats .stat-card strong {
  font-size: clamp(18px, 1.8vw, 24px);
}

.deal-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 69, 69, .22);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #fff1f1 100%);
  box-shadow: var(--shadow);
}

.deal-banner strong {
  display: block;
  font-size: 18px;
  letter-spacing: -.03em;
}

.deal-banner span {
  color: var(--muted);
  font-size: 14px;
}

.deal-date {
  display: grid;
  min-width: 150px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.deal-date small {
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.stat-card,
.mini-card,
.service-card,
.feature-card,
.step-card,
.review-card,
.faq-item,
.calc-panel,
.form-card {
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: -.04em;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--border);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 24px;
  background: #fff;
}

.trust-strip--icons .trust-item {
  display: grid;
  align-content: start;
  gap: 8px;
}

.trust-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #fff1f1;
}

.trust-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card__body,
.feature-card,
.step-card,
.review-card {
  padding: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.feature-card--image {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: center;
}

.feature-card--image > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.feature-card--image h3,
.feature-card--image p,
.feature-card--image .service-meta,
.feature-card--image .feature-card__button {
  margin-left: 22px;
  margin-right: 22px;
}

.feature-card--image h3 {
  margin-top: 22px;
}

.feature-card--image .service-meta {
  justify-content: center;
}

.feature-card__button {
  width: calc(100% - 44px);
  margin-top: auto;
  margin-bottom: 22px;
}

.service-card h3,
.feature-card h3,
.step-card h3,
.review-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.service-card p,
.feature-card p,
.step-card p,
.review-card p {
  margin: 0;
  color: var(--muted);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-actions {
  margin-top: auto;
  padding-top: 20px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card__image {
  width: 100%;
  height: 180px;
  margin: -10px 0 18px;
  border-radius: 18px;
  object-fit: contain;
  background: #f7f7f9;
}

.price-grid--balcony .price-card__image {
  object-fit: cover;
}

.price-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 69, 69, .12);
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.price-value {
  display: block;
  margin: 18px 0 14px;
  color: var(--accent);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.price-old {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-decoration: line-through;
}

.price-card ul,
.proof-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li,
.proof-card li {
  color: var(--muted);
  font-size: 14px;
}

.price-card li::before,
.proof-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 900;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.proof-card {
  padding: 30px;
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.proof-card--accent {
  background: linear-gradient(135deg, #17191f 0%, #272b34 44%, #ff4545 100%);
  color: #fff;
}

.proof-card--accent p,
.proof-card--accent li {
  color: rgba(255, 255, 255, .78);
}

.proof-card h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ba-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.ba-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.ba-card--after .ba-label {
  background: var(--accent);
}

.ba-slider {
  display: none;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #fff;
}

.ba-slider__image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.ba-slider__after {
  position: absolute;
  inset: 0;
  width: 52%;
  overflow: hidden;
  border-right: 3px solid #fff;
  box-shadow: 10px 0 24px rgba(16, 19, 27, .16);
}

.ba-slider__after .ba-slider__image {
  width: calc(100vw - 32px);
  max-width: var(--container);
}

.ba-label {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(21, 23, 28, .86);
  color: #fff;
  font-weight: 900;
}

.ba-label--after {
  left: auto;
  right: 18px;
  background: var(--accent);
}

.ba-slider__range {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  width: calc(100% - 36px);
  accent-color: var(--accent);
}

.ba-cta {
  display: flex;
  width: fit-content;
  margin: 18px auto 0;
}

.objects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mobile-scroll {
  min-width: 0;
}

.object-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.object-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.object-card div {
  padding: 18px;
}

.object-card strong {
  display: block;
  margin-bottom: 6px;
}

.object-card span {
  color: var(--muted);
  font-size: 14px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-carousel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.video-review-card {
  overflow: hidden;
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.video-review-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f7f7f9;
  cursor: pointer;
}

.video-review-card__media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

video.video-review-card__media {
  height: 230px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 16px 30px rgba(255, 69, 69, .28);
}

.play-button::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 20px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #fff;
}

.video-review-card h3,
.video-review-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.video-review-card h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}

.video-review-card p {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.review-stars {
  margin-bottom: 16px;
  color: #ffcb3d;
  font-size: 18px;
  letter-spacing: 2px;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.review-person img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.review-person span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.review-button {
  margin-top: 20px;
}

.installment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, #17191f 0%, #272b34 45%, #ff4545 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.installment-card .eyebrow {
  background: #fff;
  color: var(--accent);
}

.installment-card .eyebrow::before {
  background: var(--accent);
}

.installment-card p {
  color: rgba(255, 255, 255, .75);
}

.installment-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.installment-bullets span {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
}

.pill {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill--accent {
  background: var(--soft);
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 24px;
  align-items: stretch;
}

.split-media {
  min-width: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.dark-cta {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #17191f 0%, #272b34 38%, #ff4545 100%);
  color: #fff;
}

.dark-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  padding: 44px;
}

.dark-cta--media .dark-cta__inner {
  grid-template-columns: minmax(0, .9fr) minmax(260px, 360px) minmax(280px, 360px);
}

.dark-cta__image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}

.dark-cta__image img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.dark-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.dark-cta p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .76);
}

.form-card {
  padding: 26px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: rgba(21, 23, 28, .72);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 69, 69, .72);
  box-shadow: 0 0 0 4px rgba(255, 69, 69, .12);
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 69, 69, .14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f9 100%);
  box-shadow: var(--shadow);
}

.lead-panel__content h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.lead-panel__content p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.lead-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.lead-benefits span {
  padding: 10px 14px;
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.lead-form {
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(21, 23, 28, .08);
}

body.modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lead-modal.is-open {
  display: flex;
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 28, .56);
  backdrop-filter: blur(8px);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 30px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.lead-modal__dialog h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.lead-modal__dialog > p:not(.eyebrow) {
  margin: 12px 0 20px;
  color: var(--muted);
}

.lead-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal .form-card {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.steps {
  counter-reset: steps;
}

.step-card {
  position: relative;
}

.step-card::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.portfolio {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 24px;
}

.portfolio img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.portfolio-list {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 20px;
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
}

.mini-card span {
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-question span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.calc-tabs {
  display: inline-flex;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px;
  border: 1px solid rgba(21, 23, 28, .08);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
}

.calc-tab {
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.calc-tab.is-active {
  background: var(--accent-dark);
  color: #fff;
}

.calc-workspace {
  display: none;
}

.calc-workspace.is-active {
  display: block;
}

.calc-panel {
  padding: 28px;
}

.calc-panel h2 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.calc-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 18px;
  background: #f7f7f9;
}

.calc-progress button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.calc-progress button.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(16, 19, 27, .07);
}

.calc-step-panel {
  display: none;
}

.calc-step-panel.is-active {
  display: block;
}

.calc-hint {
  margin: -8px 0 18px;
  color: var(--muted);
}

.calc-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.calc-nav .button {
  min-width: 132px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.range-wrap {
  padding: 18px;
  border-radius: 18px;
  background: #f7f7f9;
}

.range-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option-card {
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card span {
  display: block;
  min-height: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.option-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.option-card input:checked + span {
  border-color: rgba(255, 69, 69, .5);
  background: var(--soft);
  color: var(--text);
}

.option-card input:checked + span small {
  color: var(--accent);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.check-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.result-card {
  position: sticky;
  top: 102px;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #17191f 0%, #272b34 48%, #ff4545 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.result-card p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.result-price {
  display: block;
  margin: 14px 0 8px;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -.05em;
}

.result-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.site-footer {
  padding: 64px 0 100px;
  border-radius: 34px 34px 0 0;
  background: var(--accent-dark);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--accent);
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, .72);
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.floating-contacts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-contacts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(255, 69, 69, .24);
}

.floating-contacts a:first-child {
  background: var(--accent-dark);
  box-shadow: 0 16px 30px rgba(21, 23, 28, .22);
}

@media (max-width: 1024px) {
  .header-contacts .button,
  .header-phone {
    display: none;
  }

  .section-head,
  .split,
  .dark-cta__inner,
  .dark-cta--media .dark-cta__inner,
  .portfolio,
  .calc-layout,
  .proof-grid,
  .lead-panel,
  .installment-card {
    grid-template-columns: 1fr;
  }

  .grid--4,
  .trust-strip,
  .price-grid,
  .objects-grid,
  .reviews-grid,
  .video-carousel {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-card {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 72px;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    border-radius: 16px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-card,
  .hero-content {
    min-height: auto;
  }

  .hero-media {
    position: relative;
    height: 240px;
  }

  .hero-content {
    margin: -18px 12px 12px;
    padding: 24px 20px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero h1 span {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
    padding-right: 2px;
    font-size: .82em;
    line-height: 1.04;
    white-space: normal;
  }

  .hero-stats,
  .grid--3,
  .grid--4,
  .trust-strip,
  .calc-grid,
  .option-grid,
  .footer-grid,
  .price-grid,
  .before-after,
  .objects-grid,
  .reviews-grid,
  .installment-bullets,
  .deal-banner {
    grid-template-columns: 1fr;
  }

  .section {
    overflow: hidden;
  }

  .mobile-scroll,
  .price-grid,
  .objects-grid,
  .reviews-grid,
  .video-carousel,
  .grid--3.steps {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 16px 18px;
    margin-left: -16px;
    margin-right: -16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-scroll > *,
  .price-grid > *,
  .objects-grid > *,
  .reviews-grid > *,
  .video-carousel > *,
  .grid--3.steps > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid {
    gap: 14px;
  }

  .proof-card h3 {
    font-size: 28px;
  }

  .deal-banner {
    padding: 14px;
  }

  .deal-date {
    min-width: 0;
  }

  .site-footer {
    padding-bottom: 82px;
  }

  .section {
    padding: 64px 0;
  }

  .dark-cta__inner,
  .calc-panel,
  .form-card {
    padding: 24px;
  }

  .lead-panel {
    padding: 22px;
  }

  .lead-panel__content p {
    font-size: 16px;
  }

  .lead-benefits {
    display: grid;
  }

  .lead-modal__dialog {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .price-card__image {
    height: 150px;
  }

  .feature-card--image > img {
    aspect-ratio: 1 / 1;
  }

  .feature-card--image h3,
  .feature-card--image p,
  .feature-card--image .service-meta,
  .feature-card--image .feature-card__button {
    margin-left: 18px;
    margin-right: 18px;
  }

  .feature-card__button {
    width: calc(100% - 36px);
  }

  .ba-slider__image {
    height: 360px;
  }

  .before-after--desktop {
    display: none;
  }

  .ba-slider {
    display: block;
  }

  .split-media {
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
  }

  .split-media img {
    width: 100%;
    height: 260px;
    min-height: 0;
    object-fit: cover;
  }

  .video-review-card__media img {
    height: 190px;
  }

  .calc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 20px;
  }

  .calc-tab {
    border-radius: 16px;
    padding: 12px 10px;
    font-size: 13px;
  }

  .calc-layout {
    gap: 14px;
  }

  .calc-panel {
    border-radius: 24px;
  }

  .calc-progress {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 18px;
  }

  .calc-progress button {
    display: flex;
    justify-content: flex-start;
    padding: 0 14px;
  }

  .dimension-grid {
    grid-template-columns: 1fr;
  }

  .calc-nav {
    position: sticky;
    bottom: 10px;
    z-index: 5;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
  }

  .calc-nav .button {
    min-width: 0;
    flex: 1;
  }

  .result-card {
    border-radius: 24px;
  }

  .floating-contacts {
    right: 12px;
    bottom: 12px;
  }

  .floating-contacts a {
    min-width: 50px;
    min-height: 50px;
    padding: 0 14px;
  }
}
