﻿:root {
  --dark: #202020;
  --dark-soft: #303030;
  --text: #2f2f2f;
  --muted: #777;
  --orange: #e95e32;
  --yellow: #f59d23;
  --light: #f1f1ef;
  --card: #fff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
}

/* 2026-07-03: works photo gallery */
.works-gallery {
  margin-top: 42px;
}

.works-gallery__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.works-gallery__head h3,
.works-gallery__group h4 {
  margin: 0;
  color: #272727;
  font-family: Sora, Manrope, sans-serif;
  letter-spacing: 0;
}

.works-gallery__head h3 {
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.14;
}

.works-gallery__head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.works-gallery__group {
  margin-top: 34px;
}

.works-gallery__group h4 {
  margin-bottom: 16px;
  font-size: 22px;
}

.works-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-photo {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  padding: 0;
  color: #fff;
  background: #1f1f1f;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  cursor: zoom-in;
}

.work-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.work-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.58));
  opacity: .85;
  transition: opacity .2s ease;
}

.work-photo span {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.work-photo:hover img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.work-photo:hover::after {
  opacity: 1;
}

.gallery-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15,15,15,.88);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__inner {
  position: relative;
  width: min(1120px, 100%);
}

.gallery-lightbox img {
  width: 100%;
  max-height: calc(100vh - 120px);
  display: block;
  object-fit: contain;
  border-radius: 10px;
  background: #222;
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
}

.gallery-lightbox__caption {
  margin-top: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.gallery-lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #242424;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  cursor: pointer;
}

.gallery-lightbox__close::before,
.gallery-lightbox__close::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 20px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.gallery-lightbox__close::before {
  transform: rotate(45deg);
}

.gallery-lightbox__close::after {
  transform: rotate(-45deg);
}

.success-popup {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15,15,15,.62);
}

.success-popup__box {
  position: relative;
  width: min(460px, 100%);
  border-radius: 14px;
  padding: 34px;
  color: #2f2f2f;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
  text-align: center;
}

.success-popup__box strong {
  display: block;
  margin-bottom: 12px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 28px;
  line-height: 1.15;
}

.success-popup__box p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.success-popup__box .btn {
  width: 100%;
}

.success-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #2f2f2f;
  background: #f0f0ee;
  cursor: pointer;
}

.success-popup__close::before,
.success-popup__close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.success-popup__close::before {
  transform: rotate(45deg);
}

.success-popup__close::after {
  transform: rotate(-45deg);
}

.phone-field-error {
  display: block;
  margin-top: 8px;
  color: #d83b20;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .works-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .works-gallery {
    margin-top: 34px;
  }

  .works-gallery__head p {
    font-size: 16px;
  }

  .works-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .work-photo {
    border-radius: 8px;
  }

  .work-photo span {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .gallery-lightbox img {
    max-height: calc(100vh - 88px);
  }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: #fff;
}
.header__inner {
  min-height: 136px;
  display: grid;
  grid-template-columns: 230px 1fr 340px;
  align-items: start;
  gap: 32px;
  padding-top: 38px;
}
.header-rating {
  display: none;
}
.logo {
  display: inline-grid;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  width: fit-content;
}
.logo img {
  width: 190px;
  height: auto;
  display: block;
}
.logo__roof {
  width: 104px;
  height: 30px;
  border: 4px solid #fff;
  border-bottom: 0;
  transform: skewY(-8deg);
  margin-left: 25px;
  margin-bottom: 5px;
}
.logo__text {
  font-size: 30px;
  letter-spacing: 0;
}
.logo__text span { color: var(--orange); }
.logo__text small {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.75);
  font-size: 11px;
  letter-spacing: 3.4px;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 33px;
  color: rgba(255,255,255,.83);
  font-size: 16px;
  font-weight: 700;
}
.nav a:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 28px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
}
.nav__contacts {
  display: none;
}
.header__contacts {
  display: grid;
  justify-items: end;
  gap: 7px;
  padding-top: 26px;
}
.messengers {
  display: flex;
  gap: 10px;
  margin-right: 188px;
  margin-bottom: -34px;
}
.messengers a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-weight: 900;
  font-size: 12px;
}
.messenger::before {
  content: "";
  width: 21px;
  height: 21px;
  background: #222;
  -webkit-mask: var(--messenger-icon) center / contain no-repeat;
  mask: var(--messenger-icon) center / contain no-repeat;
}
.messenger--whatsapp { --messenger-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3a13 13 0 0 0-11 19.9L3.6 29 10 27.6A13 13 0 1 0 16 3Zm0 3a10 10 0 0 1 8.2 15.8A10 10 0 0 1 10.7 25l-.5-.3-2.5.6.6-2.4-.3-.5A10 10 0 0 1 16 6Zm-4.1 4.7c-.2 0-.5.1-.8.4-.7.7-1 1.5-1 2.5 0 1.6 1.2 3.7 3.1 5.6 2 1.9 4.2 2.8 5.7 2.8 1 0 1.8-.3 2.4-1 .4-.4.5-.8.4-1.1l-.9-2c-.2-.4-.5-.5-.9-.4l-1.5.5c-.3.1-.6.1-.9-.2-.7-.4-1.3-.9-1.9-1.5-.6-.6-1.1-1.2-1.5-1.9-.2-.3-.2-.6 0-.9l.5-1.4c.1-.4 0-.7-.4-.9l-1.9-.9-.4-.1Z'/%3E%3C/svg%3E"); }
.messenger--telegram { --messenger-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 6.5 23.7 27c-.3 1.4-1.2 1.7-2.4 1.1l-6.6-4.9-3.2 3.1c-.4.4-.7.7-1.4.7l.5-6.8L23 9.1c.5-.5-.1-.7-.8-.3L6.9 18.4.4 16.3c-1.4-.4-1.4-1.4.3-2.1L26.2 4.4c1.2-.4 2.2.3 1.8 2.1Z'/%3E%3C/svg%3E"); }
.messenger--max { --messenger-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 24V8h4.3l5.7 8.4L21.7 8H26v16h-4.2v-8.9l-4.7 6.7h-2.2l-4.7-6.7V24H6Z'/%3E%3C/svg%3E"); }
.header__phone {
  font-size: 22px;
  font-weight: 800;
}
.header__mail {
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
}
.menu-toggle {
  display: none;
  justify-self: end;
  position: relative;
  z-index: 35;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  min-height: 1080px;
  color: #fff;
  background:
    url("assets/hero-scene.webp") center top / cover no-repeat,
    #202020;
  overflow: hidden;
}
.hero__grid {
  position: relative;
  min-height: 1080px;
}
.hero__copy {
  position: relative;
  z-index: 2;
  width: 620px;
  padding-top: 240px;
}
.rating {
  display: grid;
  grid-template-columns: 40px auto auto;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 28px;
}
.rating__pin {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--orange);
  background: #fff;
}
.rating__pin::before {
  content: "";
  width: 23px;
  height: 27px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0C5.9 0 1 4.9 1 11c0 8.2 11 17 11 17s11-8.8 11-17C23 4.9 18.1 0 12 0Zm0 15.2A4.2 4.2 0 1 1 12 6.8a4.2 4.2 0 0 1 0 8.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0C5.9 0 1 4.9 1 11c0 8.2 11 17 11 17s11-8.8 11-17C23 4.9 18.1 0 12 0Zm0 15.2A4.2 4.2 0 1 1 12 6.8a4.2 4.2 0 0 1 0 8.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rating b { font-size: 28px; }
.rating span { color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.05; }
.rating em {
  grid-column: 2 / 4;
  color: #ffc83d;
  font-style: normal;
  letter-spacing: 1px;
  margin-top: -10px;
}
.rating--link {
  position: relative;
  padding-right: 32px;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.rating--link:hover {
  transform: translateY(-1px);
  opacity: .92;
}
.rating--link i {
  position: absolute;
  right: 0;
  top: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
}
.rating--link i::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-family: Sora, Manrope, sans-serif;
  margin-bottom: 28px;
  font-size: clamp(48px, 3.1vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}
h1 span,
h2 span { color: var(--orange); }
.hero__copy p {
  max-width: 570px;
  margin-bottom: 54px;
  color: rgba(255,255,255,.75);
  font-size: 25px;
  line-height: 1.35;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  border: 0;
  border-radius: 16px;
  padding: 0 44px;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}
.hero__visual {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
.hero__visual img {
  display: none;
}
.hero__frame {
  display: none;
}
.video-phone {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 532px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  width: 197px;
  height: 422px;
  border: 0;
  border-radius: 20px;
  padding: 18px 16px 17px;
  color: #fff;
  background: #232323;
  box-shadow: 0 22px 45px rgba(0,0,0,.36);
  cursor: pointer;
  pointer-events: auto;
  overflow: hidden;
}
.video-phone b {
  display: block;
  font-size: 16px;
  line-height: 1.16;
  color: #fff;
}
.video-phone b::first-line { color: var(--orange); }
.video-phone__image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.08)),
    url("assets/rutube-story.webp") center / cover no-repeat;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.video-phone strong {
  display: block;
  font-family: Sora, Manrope, sans-serif;
  font-size: 28px;
  letter-spacing: 0;
  text-align: center;
}
.hero__cards {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 128px;
  display: grid;
  grid-template-columns: 295px 285px 388px;
  gap: 30px;
}
.hero__cards article {
  min-height: 114px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-content: center;
  align-items: center;
  column-gap: 15px;
  padding: 32px 30px 32px 24px;
  border-radius: 20px;
  background: rgba(35,35,35,.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.hero__cards span {
  grid-row: span 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242,91,42,.6);
  border-radius: 8px;
  background: rgba(242,91,42,.3);
  color: #f25b2a;
  font-size: 25px;
}
.hero__cards b {
  color: var(--orange);
  font-size: 20px;
}
.hero__cards p {
  margin: 3px 0 0;
  color: rgba(255,255,255,.75);
  font-size: 17px;
}

.section {
  padding: 104px 0;
}
.section--light {
  background: #f3f3f1;
}
h2 {
  font-family: Sora, Manrope, sans-serif;
  margin-bottom: 48px;
  font-size: clamp(34px, 2.5vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}
.benefits,
.projects,
.foundation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.benefit-card,
.projects article,
.foundation article,
.advantage-row div,
.garage-preview,
.project-start aside {
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.benefit-card {
  position: relative;
  height: 663px;
  overflow: hidden;
  background: #242424;
  border-radius: 30px;
}
.benefit-card img {
  width: 100%;
  height: 634px;
  object-fit: cover;
  margin-top: 29px;
  border-radius: 30px;
}
.benefit-card__text {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  flex-direction: column;
  gap: 0;
  padding: 0 36px 26px;
  color: #fff;
  background: linear-gradient(180deg, rgba(35,35,35,.95) 29px, rgba(35,35,35,.86) 165px, rgba(35,35,35,.05) 360px, rgba(35,35,35,.35));
}
.benefit-card__num {
  width: 100px;
  height: 80px;
  display: grid;
  place-items: center;
  margin: 0 0 28px 5px;
  border-radius: 10px;
  color: #fff;
  background: radial-gradient(circle at 100% 0, #ffd000 0, #fcb30b 25%, #f99615 50%, #f57820 75%, #f25b2a 100%);
  font-weight: 900;
  font-size: 41px;
  font-family: Sora, Manrope, sans-serif;
}
.benefit-card__text h3 {
  max-width: 342px;
  margin: 0 0 30px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 36px;
  line-height: 1.1;
}
.benefit-card__text p {
  max-width: 342px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.benefit-card__footer {
  align-self: end;
  width: 341px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 20px;
  border-radius: 54px;
  background: rgba(35,35,35,.25);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.benefit-card__footer span {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex: 0 0 auto;
}
.benefit-card__footer span[data-benefit-icon] {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  font-size: 0;
}
.benefit-card__footer span[data-benefit-icon="fast"] {
  background-image: url("assets/benefit-footer-fast.png");
}
.benefit-card__footer span[data-benefit-icon="warm"] {
  background-image: url("assets/benefit-footer-warm.png");
}
.benefit-card__footer span[data-benefit-icon="economy"] {
  background-image: url("assets/benefit-footer-economy.png");
}
.advantage-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 52px;
}
.advantage-row div {
  min-height: 159px;
  padding: 36px;
  border-radius: 30px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.advantage-row b,
.parts b {
  display: block;
  margin-bottom: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: 26px;
  line-height: 1.1;
}
.advantage-row span,
.parts span {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.calc__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.calc__head p {
  max-width: 360px;
  color: var(--muted);
}
.calc__grid {
  display: grid;
  grid-template-columns: 650px 1fr;
  gap: 47px;
}
.calc-form {
  display: grid;
  gap: 18px;
  min-height: 779px;
  padding: 61px 41px 41px;
  border-radius: 16px;
  color: #fff;
  background: #232323;
  box-shadow: var(--shadow);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.field-row--two {
  grid-template-columns: repeat(2, 1fr);
}
.calc-form label,
.calc-form fieldset {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.calc-form fieldset {
  grid-template-columns: repeat(3, max-content);
  align-items: start;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 0;
}
.calc-form legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.calc-form input[type="number"],
.calc-form input[type="text"],
.calc-form input[type="tel"],
.modal input[type="text"],
.modal input[type="tel"] {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 0 20px;
  color: #fff;
  background: rgba(0,0,0,.3);
}
.calc-form input::placeholder,
.modal input[type="text"]::placeholder,
.modal input[type="tel"]::placeholder {
  color: rgba(255,255,255,.4);
}
.choice-row label {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 15px 25px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.3);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-row label:has(input:checked) {
  border-color: var(--orange);
  color: #fff;
  background: rgba(242,91,42,.2);
}
.calc-result {
  padding: 12px 16px;
  border-radius: 12px;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.24);
}
.calc-result b { color: var(--orange); }
.garage-preview {
  display: grid;
  place-items: center;
  min-height: 779px;
  padding: 40px;
  color: #fff;
  background:
    linear-gradient(rgba(35,35,35,.88), rgba(35,35,35,.88)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.07) 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,.07) 24px);
}
.garage-preview img { max-height: 330px; }
.garage-preview span { color: rgba(255,255,255,.75); }

.projects article {
  overflow: hidden;
}
.projects img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}
.projects div { padding: 22px 24px 26px; }
.projects h3 { margin-bottom: 10px; font-size: 18px; }
.projects b { color: var(--orange); }
.projects p { margin-bottom: 0; color: var(--muted); }
.video-banner,
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 48px;
  padding: 34px 40px;
  border-radius: 18px;
  color: #fff;
  background: #242424;
  box-shadow: var(--shadow);
}
.video-banner p,
.cta p { color: rgba(255,255,255,.7); }
.video-banner img {
  width: 390px;
  border-radius: 12px;
}

.foundation {
  grid-template-columns: repeat(2, 1fr);
}
.foundation article {
  overflow: hidden;
  color: #fff;
  background: #2d2d2d;
}
.foundation h3,
.foundation p {
  margin-left: 34px;
  margin-right: 34px;
}
.foundation h3 {
  margin-top: 34px;
  font-size: 27px;
}
.foundation p { color: rgba(255,255,255,.72); }
.foundation img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-top: 20px;
}
.center { text-align: center; margin: 58px 0 24px; }
.factors {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.factors span {
  display: grid;
  align-content: center;
  gap: 14px;
  place-items: center;
  min-height: 112px;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  background: #fff;
  box-shadow: var(--shadow);
}
.factors span::before {
  content: "";
  width: 34px;
  height: 34px;
  background: #2f2f2f;
  -webkit-mask: var(--factor-icon) center / contain no-repeat;
  mask: var(--factor-icon) center / contain no-repeat;
}
.factors span[data-factor="soil"] { --factor-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h16v3H4V7Zm2 5h12v3H6v-3Zm3 5h6v3H9v-3Z'/%3E%3C/svg%3E"); }
.factors span[data-factor="slope"] { --factor-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 18h18v3H3v-3Zm0-3 15-9 3 5-6 4H3Z'/%3E%3C/svg%3E"); }
.factors span[data-factor="water"] { --factor-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2s7 7.2 7 12a7 7 0 1 1-14 0c0-4.8 7-12 7-12Zm-4 13a4 4 0 0 0 7 2.7c-3 .6-5.4-.4-7-2.7Z'/%3E%3C/svg%3E"); }
.factors span[data-factor="road"] { --factor-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3h8l5 18h-7l-.5-4h-3L10 21H3L8 3Zm3 2-1.2 9h4.4L13 5h-2Z'/%3E%3C/svg%3E"); }
.factors span[data-factor="utility"] { --factor-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2 4 14h7l-1 8 10-13h-7l0-7Z'/%3E%3C/svg%3E"); }
.factors span[data-factor="location"] { --factor-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a8 8 0 0 0-8 8c0 6 8 12 8 12s8-6 8-12a8 8 0 0 0-8-8Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E"); }
.center-btn {
  display: flex;
  margin: 36px auto 0;
}

.construction {
  background: #fff;
}
.construction__grid,
.project-start {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}
.construction__grid img {
  width: min(620px, 100%);
}
.parts {
  display: grid;
  gap: 15px;
}
.parts div {
  position: relative;
  min-height: 80px;
  padding-left: 96px;
}
.parts div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: var(--part-image) center / contain no-repeat;
  border: 0;
}
.parts div::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  background: #303030;
  -webkit-mask: var(--part-icon) center / contain no-repeat;
  mask: var(--part-icon) center / contain no-repeat;
  display: none;
}
.parts div[data-part="frame"] { --part-image: url("assets/part-icon-frame.webp"); }
.parts div[data-part="panel"] { --part-image: url("assets/part-icon-panel.webp"); }
.parts div[data-part="roof"] { --part-image: url("assets/part-icon-roof.webp"); }
.parts div[data-part="warm"] { --part-image: url("assets/part-icon-warm.webp"); }
.parts div[data-part="gate"] { --part-image: url("assets/part-icon-gate.webp"); }
.parts div[data-part="vent"] { --part-image: url("assets/part-icon-vent.webp"); }
.parts div[data-part="base"] { --part-image: url("assets/part-icon-base.webp"); }
.parts div[data-part="frame"] { --part-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20V8l8-4 8 4v12h-3v-8H7v8H4Zm4-10h8l-4-2-4 2Zm1 10v-6h3v6H9Zm6 0v-6h3v6h-3Z'/%3E%3C/svg%3E"); }
.parts div[data-part="panel"] { --part-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v4H4V5Zm0 5h16v4H4v-4Zm0 5h16v4H4v-4Z'/%3E%3C/svg%3E"); }
.parts div[data-part="roof"] { --part-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 12 12 4l10 8-2 2-8-6-8 6-2-2Zm4 2h12v6H6v-6Z'/%3E%3C/svg%3E"); }
.parts div[data-part="warm"] { --part-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2c1 4-3 5-3 8 0 1.4.8 2.3 2 3-.2-2 1-3.4 3-5 3 2.7 5 5 5 8a8 8 0 1 1-16 0c0-3.2 2-5.8 5-8.6C9.2 11.4 7 12.5 7 16a5 5 0 0 0 10 0c0-1.6-.8-3-2-4.3-.7 1-1 2-.8 3.3-3.6-.8-6.2-2.7-6.2-5 0-3.4 4-4.4 5-8Z'/%3E%3C/svg%3E"); }
.parts div[data-part="gate"] { --part-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v16H4V5Zm3 3v2h10V8H7Zm0 4v2h10v-2H7Zm0 4v2h10v-2H7Z'/%3E%3C/svg%3E"); }
.parts div[data-part="vent"] { --part-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm1-7c4 0 5 3 3 6l-2 2c0-4-1-5-1-8ZM4 6c2-3 6-2 8 1l1 3C9.5 8 8 8 4 6Zm2 14c-3-2-3-6 0-8l3-1c-2 3.5-2 5-3 9Zm14-2c-2 3-6 3-8 0l-1-3c3.5 2 5 2 9 3Z'/%3E%3C/svg%3E"); }
.parts div[data-part="base"] { --part-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5h14v3H5V5Zm1 5h3v8h2v-8h2v8h2v-8h3v8h2v3H4v-3h2v-8Z'/%3E%3C/svg%3E"); }

.contract {
  padding-top: 90px;
  background: var(--light);
}
.contract__dark {
  margin-top: 50px;
  padding: 60px 0;
  color: #fff;
  background: #252525;
}
.payments {
  counter-reset: item;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.payments::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 15px;
  border-top: 2px dashed rgba(255,255,255,.18);
}
.payments div {
  position: relative;
  padding-top: 48px;
}
.payments div::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
}
.payments b { display: block; margin-bottom: 8px; }
.payments span { color: rgba(255,255,255,.7); }
.contract__bottom {
  padding: 36px 0 90px;
  text-align: right;
}
.contract__bottom .advantage-row { text-align: left; }
.contract-benefits div {
  position: relative;
  padding-left: 112px;
}
.contract-benefits div::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 36px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f2f3f2;
  border: 1px solid #dde0dd;
}
.contract-benefits div::after {
  content: "";
  position: absolute;
  left: 50px;
  top: 50px;
  width: 24px;
  height: 24px;
  background: var(--orange);
  -webkit-mask: var(--contract-icon) center / contain no-repeat;
  mask: var(--contract-icon) center / contain no-repeat;
}
.contract-benefits div[data-contract-icon="price"] { --contract-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 5v2h3v3h-3v2h4v3h-4v2h-2v-2H8v-3h3v-2H8V9h3V7h2Z'/%3E%3C/svg%3E"); }
.contract-benefits div[data-contract-icon="steps"] { --contract-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 5a3 3 0 1 1-3 3 3 3 0 0 1 3-3Zm10 8a3 3 0 1 1-3 3 3 3 0 0 1 3-3ZM7 9h5v2h5v2h-2v-2H7V9Z'/%3E%3C/svg%3E"); }
.contract-benefits div[data-contract-icon="invoice"] { --contract-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 3h14v18l-3-2-2 2-2-2-2 2-2-2-3 2V3Zm4 5h6V6H9v2Zm0 4h6v-2H9v2Zm0 4h4v-2H9v2Z'/%3E%3C/svg%3E"); }

.project-start p {
  color: var(--muted);
  font-size: 18px;
}
.project-start img {
  width: min(620px, 100%);
  margin: 28px 0 24px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.project-start aside {
  padding: 40px;
}
.project-start ul {
  display: grid;
  gap: 17px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}
.project-start li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}
.project-start li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.footer {
  padding: 42px 0;
  color: #fff;
  background: #202020;
}
.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer a:not(.logo) { font-weight: 800; }

.modal {
  width: min(460px, calc(100% - 32px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(0,0,0,.55); }
.modal__box {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 34px;
  color: #fff;
  background: #242424;
}
.modal__box h2 { margin-bottom: 0; font-size: 32px; }
.modal__box p { color: rgba(255,255,255,.72); }
.modal__box label {
  display: grid;
  gap: 8px;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .header__inner { grid-template-columns: 220px 1fr 290px; }
  .nav { gap: 18px; }
  .nav a:not(:last-child)::after { margin-left: 18px; }
  .video-phone { right: 24px; }
  .hero__cards { grid-template-columns: repeat(3, 1fr); right: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 430px); }
  .header__inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
  }
  .logo__roof {
    width: 56px;
    height: 18px;
    border-width: 3px;
    margin-left: 12px;
    margin-bottom: 3px;
  }
  .logo__text { font-size: 16px; }
  .logo__text small { font-size: 6px; letter-spacing: 1.3px; }
  .header__contacts { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 auto auto;
    width: min(310px, 86vw);
    min-height: 100vh;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 82px 26px 26px;
    color: #fff;
    background: #222;
    transform: translateX(105%);
    transition: transform .25s ease;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav a::after { display: none !important; }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(32,32,32,.08), rgba(32,32,32,.08)),
      url("assets/hero-scene.webp") 57% 290px / auto 380px no-repeat,
      #202020;
  }
  .hero__grid {
    min-height: 1080px;
    display: grid;
    align-content: start;
    padding: 76px 0 28px;
  }
  .hero__copy {
    position: static;
    width: auto;
    padding-top: 0;
  }
  .rating {
    grid-template-columns: 28px auto auto;
    gap: 6px;
    margin-bottom: 14px;
  }
  .rating__pin { width: 28px; height: 28px; }
  .rating b { font-size: 18px; }
  .rating span { font-size: 9px; }
  .rating em { margin-top: -8px; font-size: 10px; }
  h1 {
    margin-bottom: 14px;
    font-size: 40px;
    line-height: 1.15;
  }
  .hero__copy p {
    max-width: 315px;
    margin-bottom: 0;
    font-size: 17px;
  }
  .btn {
    width: 100%;
    min-height: 50px;
    border-radius: 9px;
    padding: 0 22px;
    font-size: 14px;
  }
  .hero__copy .btn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 8;
  }
  .hero__visual {
    display: none;
  }
  .hero__frame {
    top: 0;
    left: 90px;
    width: 210px;
    height: 128px;
    border-width: 7px;
  }
  .hero__cards {
    position: static;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 285px;
  }
  .hero__cards article {
    min-height: 118px;
    display: block;
    padding: 14px 10px;
    border-radius: 14px;
  }
  .hero__cards span {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    font-size: 18px;
  }
  .hero__cards b { font-size: 14px; }
  .hero__cards p { font-size: 11px; }

  .section { padding: 50px 0; }
  h2 { margin-bottom: 24px; font-size: 24px; }
  .benefits,
  .projects {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }
  .benefit-card,
  .projects article {
    min-width: 260px;
    height: auto;
    scroll-snap-align: start;
  }
  .benefit-card img {
    height: 500px;
    margin-top: 24px;
  }
  .benefit-card__text {
    padding: 0 18px 18px;
  }
  .benefit-card__num {
    width: 70px;
    height: 56px;
    margin-left: 12px;
    margin-bottom: 24px;
    font-size: 28px;
  }
  .benefit-card__text h3 { font-size: 21px; }
  .benefit-card__text p { font-size: 14px; }
  .benefit-card__footer {
    width: 100%;
    height: 50px;
    font-size: 13px;
  }
  .advantage-row,
  .calc__grid,
  .foundation,
  .construction__grid,
  .payments,
  .project-start {
    grid-template-columns: 1fr;
  }
  .calc__head {
    display: block;
  }
  .calc__head p { font-size: 13px; }
  .calc__grid { gap: 16px; }
  .calc-form { padding: 20px; }
  .field-row,
  .calc-form fieldset {
    grid-template-columns: 1fr;
  }
  .garage-preview {
    min-height: 265px;
    padding: 22px;
  }
  .garage-preview img { max-height: 170px; }
  .projects img { height: 190px; }
  .video-banner,
  .cta {
    display: grid;
    padding: 22px;
  }
  .video-banner img { width: 100%; }
  .foundation h3,
  .foundation p {
    margin-left: 22px;
    margin-right: 22px;
  }
  .foundation h3 { margin-top: 22px; font-size: 20px; }
  .foundation img { height: 230px; }
  .factors {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .factors span {
    min-height: 88px;
    font-size: 12px;
  }
  .parts div {
    min-height: 54px;
    padding-left: 56px;
  }
  .parts div::before {
    width: 40px;
    height: 40px;
  }
  .contract { padding-top: 48px; }
  .contract__dark {
    margin-top: 28px;
    padding: 34px 0;
  }
  .payments { gap: 16px; }
  .payments::before { display: none; }
  .payments div {
    min-height: 42px;
    padding-top: 0;
    padding-left: 48px;
  }
  .payments div::before { top: 0; }
  .contract__bottom {
    padding-bottom: 48px;
    text-align: left;
  }
  .project-start { gap: 24px; }
  .project-start aside { padding: 24px; }
  .footer__grid {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}


/* 2026-06-20 requested corrections */
.header__contacts {
  grid-template-columns: auto auto;
  align-items: center;
  justify-items: end;
  column-gap: 18px;
  row-gap: 5px;
}
.header__contacts .messengers {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: center;
}
.header__phone {
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}
.header__mail {
  grid-column: 1 / 3;
  grid-row: 2;
}

.video-phone__image {
  font-size: 0;
  line-height: 0;
  text-shadow: none;
}

.hero__cards span[data-icon],
.advantage-row div[data-adv-icon]::before {
  position: relative;
  font-size: 0;
}
.hero__cards span[data-icon]::before,
.advantage-row div[data-adv-icon]::after {
  content: "";
  display: block;
  width: 27px;
  height: 27px;
  background: currentColor;
  -webkit-mask: var(--ui-icon) center / contain no-repeat;
  mask: var(--ui-icon) center / contain no-repeat;
}
.hero__cards span[data-icon="workshop"] { --ui-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4.2%2019.8%2015.8%208.2%27%2F%3E%3Cpath%20d%3D%27m14%206.4%202.1-2.1%203.6%203.6-2.1%202.1%27%2F%3E%3Cpath%20d%3D%27M7.8%204.4%205.2%207l2.1%202.1L4.1%2012.3%27%2F%3E%3Cpath%20d%3D%27m4.6%204.6%205.1%205.1%27%2F%3E%3Cpath%20d%3D%27M13.2%2013.2%2019.8%2019.8%27%2F%3E%3Cpath%20d%3D%27m16.9%2017%202.9%202.8%27%2F%3E%3C%2Fsvg%3E"); }
.hero__cards span[data-icon="team"] { --ui-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M7%2020.2c.7-3%202.4-4.5%205-4.5s4.3%201.5%205%204.5H7Z%27%2F%3E%3Cpath%20d%3D%27M8.7%2010.6h6.6%27%2F%3E%3Cpath%20d%3D%27M8.7%209.5c.4-2.5%201.5-4%203.3-4s2.9%201.5%203.3%204%27%2F%3E%3Cpath%20d%3D%27M9.5%2010.7c.1%202.2%201.1%203.5%202.5%203.5s2.4-1.3%202.5-3.5%27%2F%3E%3Cpath%20d%3D%27M6.2%2010.6h11.6%27%2F%3E%3C%2Fsvg%3E"); }
.hero__cards span[data-icon="contract"] { --ui-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%276.5%27%20y%3D%274.5%27%20width%3D%2711%27%20height%3D%2715%27%20rx%3D%271.2%27%2F%3E%3Cpath%20d%3D%27M9.5%208.2h5%27%2F%3E%3Cpath%20d%3D%27M9.5%2011.5h5%27%2F%3E%3Cpath%20d%3D%27M9.5%2014.8h5%27%2F%3E%3Cpath%20d%3D%27M8.8%208.2h.1%27%2F%3E%3Cpath%20d%3D%27M8.8%2011.5h.1%27%2F%3E%3Cpath%20d%3D%27M8.8%2014.8h.1%27%2F%3E%3C%2Fsvg%3E"); }

.advantage-row div[data-adv-icon] {
  position: relative;
  padding-left: 112px;
}
.advantage-row div[data-adv-icon]::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 36px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f2f3f2;
  border: 1px solid #dde0dd;
}
.advantage-row div[data-adv-icon]::after {
  position: absolute;
  left: 50px;
  top: 50px;
  color: var(--orange);
  background: var(--orange);
}
.advantage-row div[data-adv-icon="foundation"] { --ui-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20d%3D%27M12%203%204.7%207.2h14.6L12%203Z%27%2F%3E%3Cpath%20d%3D%27M7.2%209.4h9.6v2.4H7.2z%27%2F%3E%3Cpath%20d%3D%27M6.1%2013.3h11.8v2.4H6.1z%27%2F%3E%3Cpath%20d%3D%27M4.7%2017.2h14.6v2.4H4.7z%27%2F%3E%3C%2Fsvg%3E"); }
.advantage-row div[data-adv-icon="style"] { --ui-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20d%3D%27M5%205.2h14v10.4H5V5.2Zm3%203v4.4h8V8.2H8Z%27%2F%3E%3Cpath%20d%3D%27M9%2017.2h6v2H9z%27%2F%3E%3Cpath%20d%3D%27M10.8%2020h2.4v1.7h-2.4z%27%2F%3E%3C%2Fsvg%3E"); }
.advantage-row div[data-adv-icon="size"] { --ui-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20d%3D%27M4.5%204.5h15v15h-15v-15Zm3.8%203.8v7.4h7.4V8.3H8.3Zm2.7%202.7h2v2h-2v-2Z%27%2F%3E%3C%2Fsvg%3E"); }

.section-lead {
  max-width: 720px;
  margin: -28px 0 42px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.calc__head .section-lead,
.project-start .section-lead { margin-top: 0; }

.garage-preview img {
  width: min(520px, 100%);
  max-height: 360px;
  object-fit: contain;
  transition: opacity .18s ease, transform .18s ease;
}
.garage-preview span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}
.garage-preview span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.foundation article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}
.foundation__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 28px 28px;
}
.foundation__points span {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 700;
}
.foundation__points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}
.center-btn { width: fit-content; min-width: 290px; justify-content: center; }

.image-note {
  max-width: 470px;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  color: var(--muted);
  background: #f7f7f6;
  font-size: 16px;
  line-height: 1.45;
}
.inline-phone-form {
  display: grid;
  grid-template-columns: minmax(210px, 270px) auto;
  gap: 14px;
  align-items: center;
}
.inline-phone-form input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 0 18px;
  color: #fff;
  background: rgba(0,0,0,.25);
  font: inherit;
}
.inline-phone-form input::placeholder { color: rgba(255,255,255,.45); }
.inline-phone-form .btn { min-height: 58px; }

.contract__dark h3 { margin-bottom: 10px; }
.contract__intro {
  max-width: 520px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.68);
  font-size: 18px;
}
.contract__bottom {
  display: grid;
  gap: 28px;
  text-align: left;
}
.contract-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.contract-lock {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 370px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contract-lock span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f2f3f2;
  flex: 0 0 auto;
}
.contract-lock span::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h2v12H5V10h2Zm2 0h6V8a3 3 0 0 0-6 0v2Zm2 5v3h2v-3h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h2v12H5V10h2Zm2 0h6V8a3 3 0 0 0-6 0v2Zm2 5v3h2v-3h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.contract-lock b {
  font-size: 16px;
  line-height: 1.35;
}

.project-start aside > p {
  margin-bottom: 26px;
  font-size: 18px;
  line-height: 1.5;
}
.project-start li {
  display: grid;
  gap: 4px;
  color: var(--text);
}
.project-start li b {
  font-size: 17px;
  color: var(--text);
}
.project-start li span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

@media (min-width: 1181px) and (max-width: 1440px) {
  .header__inner { grid-template-columns: 220px 1fr 330px; gap: 24px; }
  .hero__cards { grid-template-columns: 285px 285px 365px; gap: 24px; }
  .calc__grid { grid-template-columns: minmax(560px, 640px) 1fr; }
}

@media (max-width: 1180px) {
  .header__contacts { column-gap: 12px; }
  .messengers a { width: 24px; height: 24px; }
  .header__phone { font-size: 19px; }
  .advantage-row div[data-adv-icon],
  .contract-benefits div { padding-left: 96px; }
  .inline-phone-form { grid-template-columns: 1fr; }
  .inline-phone-form .btn { width: 100%; }
  .contract-action { align-items: stretch; }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .container { width: min(100% - 40px, 980px); }
  .hero__copy { width: 560px; }
  .calc__grid,
  .construction__grid,
  .project-start { grid-template-columns: 1fr; }
  .garage-preview { min-height: 520px; }
  .foundation { gap: 28px; }
  .factors { grid-template-columns: repeat(3, 1fr); }
  .contract-action { justify-content: space-between; }
}

@media (max-width: 760px) {
  .video-phone { display: none; }
  .hero__cards span[data-icon]::before { width: 22px; height: 22px; }
  .advantage-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .advantage-row div[data-adv-icon] {
    min-height: 94px;
    padding: 18px 18px 18px 82px;
    border-radius: 16px;
  }
  .advantage-row div[data-adv-icon]::before,
  .contract-benefits div::before {
    left: 18px;
    top: 18px;
    width: 44px;
    height: 44px;
  }
  .advantage-row div[data-adv-icon]::after,
  .contract-benefits div::after {
    left: 30px;
    top: 30px;
    width: 20px;
    height: 20px;
  }
  .section-lead {
    margin: -10px 0 24px;
    font-size: 15px;
    line-height: 1.5;
  }
  .foundation__points {
    grid-template-columns: 1fr;
    padding: 14px 18px 20px;
  }
  .foundation__points span { font-size: 12px; }
  .center-btn { width: 100%; min-width: 0; }
  .garage-preview span { margin-top: 12px; font-size: 13px; }
  .image-note {
    margin-top: 14px;
    padding: 13px 14px;
    font-size: 13px;
  }
  .inline-phone-form { grid-template-columns: 1fr; width: 100%; }
  .inline-phone-form input { min-height: 50px; }
  .contract__intro { font-size: 14px; margin-bottom: 22px; }
  .contract-action { display: grid; gap: 14px; }
  .contract-lock { max-width: none; padding: 14px; }
  .contract-lock b { font-size: 13px; }
  .project-start aside > p { font-size: 14px; }
  .project-start li b { font-size: 14px; }
  .project-start li span { font-size: 12px; }
}


/* 2026-06-20 hero cards matched to Figma node 62:3510 */
.hero__cards span[data-icon="workshop"] { --ui-icon: url("assets/hero-card-workshop.svg"); }
.hero__cards span[data-icon="team"] { --ui-icon: url("assets/hero-card-team.svg"); }
.hero__cards span[data-icon="contract"] { --ui-icon: url("assets/hero-card-contract.svg"); }

.hero__cards b,
.hero__cards p {
  line-height: 1.2;
}

@media (min-width: 1181px) {
  .hero__cards {
    grid-template-columns: 295px 285px 388px;
    gap: 30px;
  }

  .hero__cards article {
    min-height: 114px;
    grid-template-columns: 50px 1fr;
    column-gap: 15px;
    padding: 32px 30px 32px 24px;
    border-radius: 20px;
  }

  .hero__cards b {
    font-size: 20px;
    white-space: nowrap;
  }

  .hero__cards p {
    font-size: 16px;
    white-space: nowrap;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .hero__cards article {
    min-height: 114px;
  }

  .hero__cards b,
  .hero__cards p {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 430px);
  }

  .header {
    background: rgba(28,28,28,.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
  }

  .header__inner {
    position: relative;
    min-height: 80px;
    padding-top: 24px;
  }

  .logo {
    font-weight: 800;
    transform: scale(1);
    transform-origin: top left;
    opacity: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.28));
  }

  .logo__roof {
    width: 92px;
    height: 27px;
    border-width: 3px;
    margin-left: 22px;
    margin-bottom: 4px;
  }

  .logo__text {
    font-size: 24px;
  }

  .logo__text small {
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 2.4px;
    color: rgba(255,255,255,.9);
  }

  .header-rating {
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 21px 34px;
    grid-template-rows: 16px 9px;
    gap: 2px 5px;
    align-items: center;
    width: 64px;
    color: #fff;
  }

  .header-rating .rating__pin {
    grid-row: 1 / 3;
    width: 21px;
    height: 25px;
    border-radius: 7px;
  }

  .header-rating .rating__pin::before {
    width: 16px;
    height: 20px;
  }

  .header-rating b {
    grid-column: 2;
    font-size: 17px;
    line-height: 1;
  }

  .header-rating em {
    grid-column: 2;
    color: #ffc531;
    font-style: normal;
    font-size: 8px;
    line-height: 1;
    letter-spacing: 0;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 9px 4px;
    margin-top: -4px;
  }

  .menu-toggle span {
    width: 27px;
    height: 2px;
    margin: 6px 0;
  }

  .hero {
    min-height: 843px;
    background:
      url("assets/hero-scene.webp") 57% 300px / auto 500px no-repeat,
      linear-gradient(105deg, #232323 0%, #414141 100%),
      #202020;
  }

  .hero__grid {
    min-height: 843px;
    padding-top: 108px;
  }

  .rating {
    display: none;
  }

  .rating__pin {
    grid-row: 1 / 3;
    width: 23px;
    height: 26px;
    border-radius: 7px;
  }

  .rating__pin::before {
    width: 18px;
    height: 22px;
  }

  .rating > span:not(.rating__pin) {
    display: none;
  }

  .rating b {
    grid-column: 2;
    grid-row: 1;
    font-size: 18px;
    line-height: 1;
  }

  .rating em {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0;
  }

  h1 {
    width: 311px;
    line-height: 1.1;
  }

  .hero__copy p {
    width: 331px;
    max-width: 331px;
    min-height: 45px;
    font-size: 0;
    line-height: 0;
    color: transparent;
  }

  .hero__copy p::after {
    content: "Гаражи из сэндвич-панелей\Aпо Москве и Московской области";
    display: block;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255,255,255,.9);
    white-space: pre-line;
  }

  .hero__copy .btn {
    top: 768px;
    bottom: auto;
    min-height: 62px;
    border-radius: 12px;
    font-size: 18px;
  }

  .hero__cards {
    position: absolute;
    left: 0;
    right: 0;
    top: 642px;
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-top: 0;
  }

  .hero__cards article {
    width: 108px;
    min-height: 99px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
  }

  .hero__cards article:nth-child(2) {
    width: 128px;
  }

  .hero__cards article:nth-child(3) {
    width: 98px;
  }

  .hero__cards span {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }

  .hero__cards span[data-icon]::before {
    width: 22px;
    height: 22px;
  }

  .hero__cards b {
    display: none;
  }

  .hero__cards p {
    display: none;
  }

  .hero__cards article::after {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    white-space: pre-line;
  }

  .hero__cards article:nth-child(1)::after {
    content: "Собственное\Aпроизводство";
  }

  .hero__cards article:nth-child(2)::after {
    content: "Мастера\Aс опытом от 5 лет";
  }

  .hero__cards article:nth-child(3)::after {
    content: "Все работы\Aпо договору";
  }

  .nav__contacts {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.18);
  }

  .nav__contacts .messengers {
    margin: 0;
  }

  .nav__phone {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
  }

  .nav__mail {
    color: var(--orange);
    font-size: 16px;
    font-weight: 800;
  }
}

/* 2026-06-20: all 8 sections responsive pass against Figma desktop/mobile */
@media (max-width: 760px) {
  .section {
    padding: 58px 0;
  }

  .section h2,
  .contract h2 {
    margin-bottom: 28px;
    font-size: 34px;
    line-height: 1.08;
  }

  #about {
    padding-top: 62px;
    padding-bottom: 56px;
  }

  .benefits,
  .projects {
    gap: 16px;
  }

  .benefit-card {
    min-width: 286px;
    height: 520px;
    border-radius: 22px;
  }

  .benefit-card img {
    height: 492px;
    margin-top: 28px;
    border-radius: 22px;
  }

  .benefit-card__text {
    padding: 0 22px 20px;
  }

  .benefit-card__num {
    width: 78px;
    height: 62px;
    margin: 0 0 22px 8px;
    font-size: 30px;
  }

  .benefit-card__text h3 {
    margin-bottom: 18px;
    font-size: 25px;
  }

  .benefit-card__text p {
    font-size: 15px;
  }

  .benefit-card__footer {
    height: 48px;
    padding: 7px 14px;
    font-size: 13px;
  }

  .advantage-row {
    margin-top: 28px;
  }

  .calc {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .calc__head {
    margin-bottom: 28px;
  }

  .calc__head h2 {
    margin-bottom: 14px;
  }

  .calc__head p {
    max-width: 335px;
    font-size: 16px;
    line-height: 1.4;
  }

  .calc__grid {
    gap: 20px;
  }

  .calc-form {
    min-height: 0;
    gap: 18px;
    padding: 20px;
    border-radius: 18px;
  }

  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .field-row label:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: 140px;
  }

  .field-row--two {
    grid-template-columns: 1fr;
  }

  .calc-form label,
  .calc-form fieldset {
    gap: 8px;
    font-size: 12px;
  }

  .calc-form input[type="number"],
  .calc-form input[type="text"],
  .calc-form input[type="tel"],
  .modal input[type="text"],
  .modal input[type="tel"] {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 13px;
  }

  .calc-form fieldset {
    grid-template-columns: repeat(2, max-content);
    gap: 10px 12px;
  }

  .choice-row label {
    min-height: 42px;
    padding: 11px 15px;
    border-radius: 10px;
    font-size: 13px;
  }

  .calc-result {
    padding: 10px 14px;
    font-size: 13px;
  }

  .calc-form .btn {
    min-height: 54px;
    font-size: 14px;
  }

  .garage-preview {
    min-height: 300px;
    padding: 18px;
    border-radius: 18px;
  }

  .garage-preview img {
    max-height: 220px;
  }

  .garage-preview span {
    margin-top: 8px;
    font-size: 12px;
  }

  #portfolio {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .projects article {
    min-width: 296px;
    border-radius: 16px;
  }

  .projects img {
    height: 260px;
  }

  .projects div {
    padding: 20px 22px 22px;
  }

  .video-banner {
    margin-top: 32px;
    padding: 26px 20px;
    border-radius: 18px;
  }

  .video-banner h3 {
    font-size: 30px;
    line-height: 1.12;
  }

  .video-banner p {
    font-size: 15px;
    line-height: 1.45;
  }

  .video-banner img {
    display: none;
  }

  .foundation {
    gap: 30px;
  }

  .foundation article {
    border-radius: 18px;
  }

  .foundation h3 {
    margin-top: 22px;
    font-size: 25px;
  }

  .foundation p {
    font-size: 14px;
    line-height: 1.45;
  }

  .foundation img {
    height: 185px;
    margin-top: 14px;
  }

  .foundation__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .foundation__points span {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.2;
  }

  .center {
    margin: 40px 0 20px;
    text-align: left;
    font-size: 28px;
    line-height: 1.12;
  }

  .factors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .factors span {
    min-height: 92px;
    border-radius: 14px;
  }

  .construction {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .construction__grid {
    gap: 28px;
  }

  .construction__grid img {
    height: 197px;
    object-fit: cover;
    border-radius: 16px;
  }

  .image-note {
    max-width: none;
    margin-top: 14px;
    font-size: 13px;
  }

  .parts {
    gap: 20px;
  }

  .parts div {
    min-height: 66px;
    padding-left: 64px;
  }

  .parts div::before {
    width: 48px;
    height: 48px;
  }

  .parts div::after {
    left: 12px;
    top: 12px;
  }

  .parts b {
    font-size: 16px;
  }

  .parts span {
    font-size: 13px;
    line-height: 1.35;
  }

  .cta {
    margin-top: 34px;
    padding: 26px 20px;
  }

  .contract {
    padding-top: 58px;
  }

  .contract__dark {
    margin-top: 28px;
    padding: 30px 0;
  }

  .contract__dark h3 {
    font-size: 28px;
  }

  .contract__intro {
    margin-bottom: 26px;
  }

  .payments {
    gap: 22px;
  }

  .payments div {
    min-height: 64px;
    padding-left: 64px;
  }

  .payments div::before {
    width: 44px;
    height: 44px;
  }

  .payments b {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .payments span {
    font-size: 13px;
    line-height: 1.35;
  }

  .contract__bottom {
    padding-top: 30px;
    padding-bottom: 58px;
  }

  .contract-benefits div {
    min-height: 104px;
  }

  .contract-lock {
    border-radius: 14px;
  }

  .project-start {
    gap: 28px;
  }

  .project-start img {
    height: 236px;
    object-fit: cover;
    margin: 22px 0 20px;
    border-radius: 16px;
  }

  .project-start aside {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .project-start aside h3 {
    font-size: 28px;
    line-height: 1.12;
  }

  .project-start ul {
    gap: 18px;
  }

  .footer {
    padding: 32px 0;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .section {
    padding: 76px 0;
  }

  .header__inner {
    min-height: 96px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 28px;
  }

  .header__contacts {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-top: 8px;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto auto;
    z-index: 30;
    width: min(360px, 86vw);
    min-height: 100vh;
    display: none;
    align-content: start;
    gap: 0;
    padding: 92px 30px 30px;
    color: #fff;
    background: #222;
    transition: transform .25s ease;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .nav a::after {
    display: none !important;
  }

  .nav__contacts {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.18);
  }

  .nav__contacts .messengers {
    margin: 0;
  }

  .nav__phone {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
  }

  .nav__mail {
    color: var(--orange);
    font-size: 16px;
    font-weight: 800;
  }

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

  .benefits,
  .projects {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }

  .benefit-card {
    min-width: 320px;
    height: 560px;
    scroll-snap-align: start;
  }

  .projects article {
    min-width: 320px;
    scroll-snap-align: start;
  }

  .advantage-row,
  .contract-benefits {
    grid-template-columns: 1fr;
  }

  .calc-form {
    min-height: auto;
  }

  .field-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .garage-preview {
    min-height: 420px;
  }

  .foundation img {
    height: 260px;
  }

  .contract__bottom {
    padding-bottom: 76px;
  }
}

@media (min-width: 1181px) {
  .section,
  .contract {
    scroll-margin-top: 20px;
  }
}

/* Figma feature icons: screen 2 cards */
.advantage-row div[data-adv-icon]::before {
  background: #f6f7f6;
}

.advantage-row div[data-adv-icon]::after {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-mask: none;
  mask: none;
}

.advantage-row div[data-adv-icon="foundation"]::after {
  background-image: url("assets/feature-icon-foundation.png");
}

.advantage-row div[data-adv-icon="style"]::after {
  background-image: url("assets/feature-icon-style.png");
}

.advantage-row div[data-adv-icon="size"]::after {
  background-image: url("assets/feature-icon-size.png");
}

@media (min-width: 761px) {
  .advantage-row div[data-adv-icon]::after {
    left: 31px;
    top: 31px;
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 760px) {
  .advantage-row div[data-adv-icon] {
    min-height: 100px;
    padding-left: 100px;
  }

  .advantage-row div[data-adv-icon]::before {
    left: 18px;
    top: 18px;
    width: 62px;
    height: 64px;
  }

  .advantage-row div[data-adv-icon]::after {
    left: 22px;
    top: 20px;
    width: 58px;
    height: 58px;
  }

  .advantage-row div[data-adv-icon] b {
    font-size: 20px;
    line-height: 1.12;
  }

  .advantage-row div[data-adv-icon] span {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.3;
  }
}

/* Rutube video cases */
.video-cases {
  align-items: stretch;
}
.video-case {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-case:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
}
.video-case__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #191919;
}
.video-case__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-case__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.42));
}
.video-case__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #ff5a2f, #ffb000);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.video-case__play::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
}
.video-case__badge {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 16px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(22,22,22,.78);
  font-family: Sora, Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.video-case__body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 24px 24px;
}
.video-case__meta {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}
.video-case strong {
  color: #2d2d2d;
  font-family: Sora, Manrope, sans-serif;
  font-size: 20px;
  line-height: 1.18;
}
.video-case small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.video-case em {
  width: fit-content;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: #2b2b2b;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .video-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .video-cases .video-case {
    min-width: 300px;
    scroll-snap-align: start;
  }

  .video-case__play {
    width: 50px;
    height: 50px;
  }

  .video-case__play::before {
    left: 20px;
    top: 15px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 15px;
  }

  .video-case__body {
    padding: 18px 18px 20px;
  }

  .video-case strong {
    font-size: 17px;
  }

  .video-case small {
    font-size: 13px;
  }
}

/* Rutube channel and foundation refresh */
.rutube-channel {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 52px;
  padding: 44px 48px;
  border-radius: 22px;
  overflow: hidden;
}
.rutube-channel__content {
  display: grid;
  gap: 18px;
}
.rutube-channel__eyebrow {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(242,91,42,.24);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rutube-channel h3 {
  max-width: 760px;
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(30px, 2.45vw, 44px);
  line-height: 1.08;
}
.rutube-channel p {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}
.rutube-channel__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rutube-channel__points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 800;
}
.rutube-channel__points span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.rutube-channel .btn {
  width: fit-content;
  min-width: 300px;
  text-align: center;
}
.rutube-channel__preview {
  position: relative;
  display: block;
  justify-self: end;
  width: 300px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: #111;
  box-shadow: 0 18px 46px rgba(0,0,0,.35);
}
.rutube-channel__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.rutube-channel__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.5));
}
.rutube-channel__preview b {
  position: absolute;
  z-index: 3;
  left: 22px;
  bottom: 22px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 28px;
  letter-spacing: .03em;
}

.foundation-section .section-lead {
  max-width: 910px;
  font-size: 22px;
}
.foundation-section .foundation {
  gap: 44px;
}
.foundation-section .foundation article {
  border-radius: 20px;
}
.foundation-section .foundation h3 {
  font-size: 31px;
}
.foundation-section .foundation p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
}
.foundation-section .foundation__points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px 28px 30px;
}
.foundation-section .foundation__points span {
  min-height: 44px;
  justify-content: flex-start;
  padding: 10px 12px;
  text-align: left;
}
.foundation-section .foundation__points span:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: min(340px, 100%);
}
.foundation-section .center {
  margin-top: 64px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 26px;
}
.foundation-section .factors {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px;
}
.foundation-section .factors span {
  min-height: 230px;
  border: 1px solid rgba(0,0,0,.04);
  gap: 18px;
  font-size: 18px;
}
.foundation-section .factors span::before {
  width: 150px;
  height: 100px;
  background-color: transparent;
  background-image: var(--factor-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-mask: none;
  mask: none;
}
.factors span[data-factor="soil"] { --factor-image: url("assets/factor-soil.webp"); }
.factors span[data-factor="slope"] { --factor-image: url("assets/factor-slope.webp"); }
.factors span[data-factor="water"] { --factor-image: url("assets/factor-water.webp"); }
.factors span[data-factor="road"] { --factor-image: url("assets/factor-road.webp"); }
.factors span[data-factor="utility"] { --factor-image: url("assets/factor-utility.webp"); }
.foundation-action {
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 44px auto 0;
  text-align: center;
}
.foundation-action p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.foundation-action .btn {
  min-width: 360px;
  justify-content: center;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .rutube-channel {
    grid-template-columns: 1fr 240px;
    gap: 28px;
    padding: 36px 32px;
  }

  .rutube-channel__preview {
    width: 220px;
  }

  .foundation-section .foundation__points {
    grid-template-columns: 1fr;
  }

  .foundation-section .foundation__points span:nth-child(3) {
    min-width: 0;
  }

  .foundation-section .factors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .rutube-channel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 20px;
    border-radius: 18px;
  }

  .rutube-channel h3 {
    font-size: 28px;
  }

  .rutube-channel p {
    font-size: 15px;
  }

  .rutube-channel__points {
    display: grid;
  }

  .rutube-channel .btn {
    width: 100%;
    min-width: 0;
  }

  .rutube-channel__preview {
    justify-self: center;
    width: min(230px, 78vw);
    border-radius: 20px;
  }

  .foundation-section .section-lead {
    font-size: 16px;
  }

  .foundation-section .foundation {
    gap: 22px;
  }

  .foundation-section .foundation h3 {
    font-size: 25px;
  }

  .foundation-section .foundation p {
    font-size: 14px;
  }

  .foundation-section .foundation__points {
    grid-template-columns: 1fr;
  }

  .foundation-section .foundation__points span:nth-child(3) {
    min-width: 0;
  }

  .foundation-section .center {
    margin-top: 42px;
    font-size: 24px;
    text-align: left;
  }

  .foundation-section .factors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .foundation-section .factors span {
    min-height: 140px;
    padding: 14px 10px;
    font-size: 13px;
  }

  .foundation-section .factors span:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 12px) / 2);
  }

  .foundation-section .factors span::before {
    width: 118px;
    height: 78px;
  }

  .foundation-action {
    margin-top: 30px;
  }

  .foundation-action p {
    font-size: 14px;
  }

  .foundation-action .btn {
    width: 100%;
    min-width: 0;
  }
}

/* 2026-06-21: contract section matched to Figma */
.contract {
  padding-top: 96px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.04), rgba(255,255,255,0) 34%),
    var(--light);
}
.contract > .container:first-child {
  padding-bottom: 54px;
}
.contract > .container:first-child h2 {
  margin-bottom: 22px;
}
.contract > .container:first-child .section-lead {
  max-width: 980px;
  margin: 0;
  color: #2f2f2f;
  font-size: 24px;
  line-height: 1.35;
}
.contract__dark {
  margin-top: 0;
  padding: 86px 0 92px;
  color: #fff;
  background: #292929;
}
.contract__dark-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 64px;
}
.contract__dark-head span {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
}
.contract__dark-head h3 {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: 35px;
  line-height: 1.12;
}
.contract__dark .contract-lock {
  max-width: none;
  display: inline-flex;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(233,94,50,.23);
  box-shadow: none;
}
.contract__dark .contract-lock span {
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: transparent;
}
.contract__dark .contract-lock span::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.contract__dark .contract-lock b {
  font-size: 16px;
  line-height: 1.25;
}
.payments {
  gap: 42px;
}
.payments::before {
  left: 42px;
  right: 145px;
  top: 28px;
  border-top: 2px dashed rgba(255,255,255,.18);
}
.payments div {
  min-width: 0;
  padding-top: 74px;
}
.payments div::before {
  width: 56px;
  height: 56px;
  border: 7px solid rgba(233,94,50,.24);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
  font-size: 18px;
  font-weight: 900;
  box-sizing: border-box;
}
.payments b {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-family: Sora, Manrope, sans-serif;
  font-size: 30px;
  line-height: 1.05;
}
.payments strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}
.payments span {
  color: rgba(255,255,255,.58);
  font-size: 15px;
  line-height: 1.42;
}
.contract__bottom {
  display: grid;
  gap: 58px;
  padding: 58px 0 96px;
  text-align: left;
}
.contract-benefits {
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}
.contract-benefits div {
  min-height: 154px;
  padding: 28px 28px 26px 54px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contract-benefits div::before {
  left: 24px;
  top: 36px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}
.contract-benefits div::after {
  display: none;
}
.contract-benefits b {
  display: block;
  margin-bottom: 10px;
  color: #2f2f2f;
  font-size: 21px;
  line-height: 1.18;
}
.contract-benefits span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}
.contract-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}
.contract-action h3 {
  margin: 0 0 14px;
  color: #2f2f2f;
  font-family: Sora, Manrope, sans-serif;
  font-size: 30px;
  line-height: 1.15;
}
.contract-action p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.contract-action .btn {
  min-width: 290px;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .contract__dark-head {
    display: grid;
  }
  .payments {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .payments::before {
    left: 28px;
    top: 28px;
    bottom: 28px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed rgba(255,255,255,.18);
  }
  .payments div {
    min-height: 0;
    padding: 0 0 0 82px;
  }
  .contract-benefits {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .contract {
    padding-top: 58px;
  }
  .contract > .container:first-child {
    padding-bottom: 34px;
  }
  .contract > .container:first-child .section-lead {
    font-size: 17px;
    line-height: 1.45;
  }
  .contract__dark {
    padding: 42px 0;
  }
  .contract__dark-head {
    display: grid;
    gap: 22px;
    margin-bottom: 38px;
  }
  .contract__dark-head h3 {
    font-size: 28px;
  }
  .contract__dark .contract-lock {
    width: fit-content;
    padding: 11px 16px;
  }
  .contract__dark .contract-lock b {
    font-size: 13px;
  }
  .payments {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .payments::before {
    left: 22px;
    top: 22px;
    bottom: 22px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed rgba(255,255,255,.18);
  }
  .payments div {
    min-height: 0;
    padding: 0 0 0 68px;
  }
  .payments div::before {
    width: 44px;
    height: 44px;
    border-width: 6px;
    font-size: 15px;
  }
  .payments b {
    margin-bottom: 6px;
    font-size: 24px;
  }
  .payments strong {
    margin-bottom: 6px;
    font-size: 15px;
  }
  .payments span {
    font-size: 13px;
  }
  .contract__bottom {
    gap: 34px;
    padding: 34px 0 58px;
  }
  .contract-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contract-benefits div {
    min-height: 0;
    padding: 22px 20px 22px 46px;
  }
  .contract-benefits div::before {
    left: 22px;
    top: 30px;
    width: 10px;
    height: 10px;
  }
  .contract-benefits b {
    font-size: 18px;
  }
  .contract-benefits span {
    font-size: 14px;
  }
  .contract-action {
    display: grid;
    gap: 20px;
  }
  .contract-action h3 {
    font-size: 24px;
  }
  .contract-action p {
    font-size: 15px;
  }
  .contract-action .btn {
    width: 100%;
    min-width: 0;
  }
}

/* 2026-06-21: project section matched to Figma */
.project-start {
  align-items: end;
}
.project-start .section-lead {
  max-width: 780px;
  color: #2f2f2f;
  font-size: 24px;
  line-height: 1.42;
}
.project-start img {
  width: min(690px, 100%);
  margin: 38px 0 34px;
  border-radius: 0;
  box-shadow: none;
}
.project-question h3 {
  margin: 0 0 16px;
  color: #2f2f2f;
  font-family: Sora, Manrope, sans-serif;
  font-size: 30px;
  line-height: 1.15;
}
.project-question p {
  max-width: 520px;
  margin: 0 0 28px;
  color: #2f2f2f;
  font-size: 18px;
  line-height: 1.48;
}
.project-question .btn {
  min-width: 380px;
}
.project-start aside {
  align-self: end;
  padding: 38px 50px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.project-start aside > h3 {
  margin-bottom: 34px;
  color: #2f2f2f;
  font-family: Sora, Manrope, sans-serif;
  font-size: 28px;
  line-height: 1.15;
}
.project-start aside > p {
  display: none;
}
.project-start ul {
  gap: 26px;
  margin: 0;
}
.project-start li {
  padding-left: 38px;
}
.project-start li::before {
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--orange);
  background: transparent;
}
.project-start li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.project-start li b {
  display: block;
  margin-bottom: 8px;
  color: #2f2f2f;
  font-size: 21px;
  line-height: 1.2;
}
.project-start li span {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.42;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .project-start {
    align-items: start;
  }
  .project-start aside {
    padding: 34px;
  }
  .project-question .btn {
    min-width: 340px;
  }
}

@media (max-width: 760px) {
  .project-start {
    gap: 30px;
  }
  .project-start .section-lead {
    font-size: 17px;
  }
  .project-start img {
    height: auto;
    margin: 28px 0;
    object-fit: contain;
  }
  .project-question h3 {
    font-size: 25px;
  }
  .project-question p {
    font-size: 15px;
  }
  .project-question .btn {
    width: 100%;
    min-width: 0;
  }
  .project-start aside {
    padding: 26px 22px;
    border-radius: 18px;
  }
  .project-start aside > h3 {
    margin-bottom: 24px;
    font-size: 24px;
  }
  .project-start ul {
    gap: 20px;
  }
  .project-start li {
    padding-left: 34px;
  }
  .project-start li b {
    font-size: 17px;
  }
  .project-start li span {
    font-size: 14px;
  }
}

/* 2026-06-21: align foundation advantage pills in cards */
.foundation-section .foundation__points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.foundation-section .foundation__points span {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  text-align: left;
}

.foundation-section .foundation__points span:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .foundation-section .foundation__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .foundation-section .foundation {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .foundation-section .foundation__points {
    grid-template-columns: 1fr;
  }
}

/* 2026-06-21: mobile header and first-screen spacing */
@media (max-width: 760px) {
  .header {
    background: #171717;
    border-bottom: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 12px 24px rgba(0,0,0,.24);
  }

  .header__inner {
    min-height: 72px;
    padding-top: 0;
    align-items: center;
  }

  .logo {
    transform: none;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.24));
  }

  .logo__roof {
    width: 62px;
    height: 18px;
    border-width: 2px;
    margin-left: 15px;
    margin-bottom: 2px;
  }

  .logo__text {
    font-size: 17px;
    line-height: .98;
  }

  .logo__text small {
    margin-top: 4px;
    font-size: 5px;
    letter-spacing: 1.45px;
  }

  .header-rating {
    top: 50%;
    left: calc(50% + 34px);
    transform: translate(-50%, -50%);
    width: 62px;
    grid-template-columns: 20px 34px;
    grid-template-rows: 15px 9px;
  }

  .header-rating .rating__pin {
    width: 20px;
    height: 24px;
  }

  .header-rating .rating__pin::before {
    width: 15px;
    height: 19px;
  }

  .header-rating b {
    font-size: 16px;
  }

  .header-rating em {
    font-size: 8px;
  }

  .menu-toggle {
    margin-top: 0;
  }

  .hero {
    background:
      linear-gradient(180deg, #323232 0 190px, rgba(32,32,32,0) 360px),
      url("assets/hero-scene.webp") 57% 248px / auto 500px no-repeat,
      linear-gradient(105deg, #232323 0%, #414141 100%),
      #202020;
  }

  .hero__grid {
    padding-top: 104px;
  }

  .nav__contacts {
    justify-items: center;
    text-align: center;
  }

  .nav .nav__contacts a {
    border-bottom: 0;
    padding: 0;
  }

  .nav__contacts .messengers {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 4px 0 0;
  }

  .nav__contacts .messenger {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
  }

  .nav__contacts .messenger::before {
    width: 32px;
    height: 32px;
    background: #fff;
  }

  .nav__contacts .messenger--whatsapp {
    background: #25d366;
  }

  .nav__contacts .messenger--telegram {
    background: #27a7e7;
  }

  .nav__phone,
  .nav__mail {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* 2026-06-21: lead form, privacy consent, contacts section */
.calc-note {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.08);
  font-size: 15px;
  line-height: 1.45;
}

.consent {
  display: flex !important;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 10px !important;
  margin: 0;
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
  line-height: 1.35;
}

.consent input {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px;
  margin-top: 1px;
  accent-color: var(--orange);
}

.consent a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-phone-form .consent {
  grid-column: 1 / -1;
}

.modal__box .consent {
  margin-top: 2px;
}

.contacts-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 9% 6%, rgba(233,94,50,.18), transparent 27%),
    radial-gradient(circle at 100% 100%, rgba(245,157,35,.12), transparent 32%),
    linear-gradient(115deg, #1c1a17 0%, #25221f 48%, #171717 100%);
}

.contacts-section h2 {
  color: #fff;
  text-align: center;
}

.contacts-section .section-lead {
  max-width: 980px;
  margin: -10px auto 56px;
  color: rgba(255,255,255,.72);
  text-align: center;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .95fr);
  gap: 40px;
}

.contacts-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 46px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}

.contacts-card--info {
  display: grid;
  gap: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.contact-item > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(233,94,50,.18);
}

.contact-item > span::before {
  content: "";
  width: 26px;
  height: 26px;
  background: #f1aa5e;
  -webkit-mask: var(--contact-icon) center / contain no-repeat;
  mask: var(--contact-icon) center / contain no-repeat;
}

.contact-item--address { --contact-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.5a7 7 0 0 0-7 7c0 5.2 7 12 7 12s7-6.8 7-12a7 7 0 0 0-7-7Zm0 9.6a2.6 2.6 0 1 1 0-5.2 2.6 2.6 0 0 1 0 5.2Z'/%3E%3C/svg%3E"); }
.contact-item--factory { --contact-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 21V9l6 3V8l6 3V5h4v16H3Zm3-3h2v-3H6v3Zm5 0h2v-3h-2v3Zm5 0h2v-3h-2v3Z'/%3E%3C/svg%3E"); }
.contact-item--phone { --contact-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.6 2.8 10 6.2 7.8 9c1 2.1 3.1 4.2 5.2 5.2l2.8-2.2 3.4 3.4-1.1 4.1c-.2.8-.9 1.3-1.7 1.2C9.5 20.1 3.9 14.5 3.3 7.6c-.1-.8.4-1.5 1.2-1.7l4.1-1.1Z'/%3E%3C/svg%3E"); }
.contact-item--email { --contact-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5h18v14H3V5Zm2.4 3.1L12 12.6l6.6-4.5H5.4Zm13.6 8.5V10.4L12 15.1l-7-4.7v6.2h14Z'/%3E%3C/svg%3E"); }

.contact-item b {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 25px;
  line-height: 1.15;
}

.contact-item p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 19px;
  line-height: 1.35;
}

.contact-item a {
  color: inherit;
}

.contacts-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-left: 76px;
}

.contacts-messenger {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 22px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.contacts-messenger--telegram { background: #229ed9; }
.contacts-messenger--whatsapp { background: #25d366; }
.contacts-messenger--max { background: #5148f5; }

.contacts-card--map {
  display: grid;
  align-content: start;
  gap: 22px;
}

.contacts-card--map h3 {
  margin: 0;
  color: #fff;
  font-size: 28px;
}

.contacts-card--map p {
  max-width: 540px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.45;
}

.contacts-map {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.12);
}

.contacts-map iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
}

.contacts-route {
  width: fit-content;
  min-height: 56px;
  border-radius: 12px;
  padding: 0 28px;
  font-size: 16px;
}

.contacts-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.contacts-bottom a,
.contacts-bottom button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 0 28px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

@media (max-width: 760px) {
  .calc-note {
    padding: 14px;
    font-size: 13px;
  }

  .consent {
    font-size: 11px !important;
  }

  .contacts-section .section-lead {
    margin-bottom: 28px;
    text-align: left;
  }

  .contacts-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .contact-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .contact-item > span {
    width: 42px;
    height: 42px;
  }

  .contact-item > span::before {
    width: 21px;
    height: 21px;
  }

  .contact-item b {
    font-size: 20px;
  }

  .contact-item p {
    font-size: 15px;
  }

  .contacts-messengers {
    display: grid;
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .contacts-messenger {
    width: 100%;
  }

  .contacts-map iframe {
    height: 300px;
  }

  .contacts-route {
    width: 100%;
  }

  .contacts-bottom {
    display: grid;
    gap: 12px;
  }
}

/* 2026-06-24 requested updates: logo, messengers, Rutube embeds */
.logo img {
  width: 190px;
  height: auto;
}

.messengers a {
  width: 32px;
  height: 32px;
}

.messenger::before {
  width: 21px;
  height: 21px;
}

.messenger--max {
  --messenger-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 24V8h4.3l5.7 8.4L21.7 8H26v16h-4.2v-8.9l-4.7 6.7h-2.2l-4.7-6.7V24H6Z'/%3E%3C/svg%3E");
}

.video-case__embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #111;
}

.video-case__embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-cases .video-case {
  grid-template-rows: auto 1fr;
}

@media (min-width: 1181px) {
  .video-cases {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
  }

  .video-case__body {
    padding: 18px 18px 20px;
  }

  .video-case strong {
    font-size: 17px;
  }

  .video-case small {
    font-size: 13px;
  }
}

@media (max-width: 1180px) {
  .messengers a {
    width: 30px;
    height: 30px;
  }

  .messenger::before {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 760px) {
  .logo img {
    width: 122px;
  }

  .nav__contacts .messengers {
    grid-template-columns: repeat(3, 60px);
  }

  .nav__contacts .messenger {
    width: 60px;
    height: 60px;
  }

  .nav__contacts .messenger::before {
    width: 33px;
    height: 33px;
    background: #fff;
  }

  .nav__contacts .messenger--max {
    background: #5148f5;
  }

  .video-cases .video-case {
    min-width: 280px;
  }
}

/* Privacy page and cookie banner */
.privacy-page {
  background: #f3f3f1;
}

.privacy-header {
  position: static;
  color: #fff;
  background: #171717;
}

.privacy-header__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.privacy-header .logo img {
  width: 165px;
}

.privacy-header__back {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 0 22px;
  color: rgba(255,255,255,.88);
  font-weight: 800;
}

.privacy-main {
  padding: 64px 0 88px;
}

.privacy-document {
  max-width: 1040px;
  padding: 56px 64px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.privacy-document h1 {
  margin-bottom: 24px;
  color: #242424;
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: 1.12;
}

.privacy-document h2 {
  margin: 34px 0 14px;
  color: #242424;
  font-size: 26px;
  line-height: 1.25;
}

.privacy-document p {
  margin-bottom: 12px;
  color: #555;
  font-size: 16px;
  line-height: 1.65;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 24px;
  color: #303030;
  background: rgba(255,255,255,.9);
  box-shadow: 0 22px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.cookie-banner button {
  min-width: 166px;
  min-height: 64px;
  border: 0;
  border-radius: 10px;
  color: #222;
  background: #fff;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.cookie-banner__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .privacy-header__inner {
    min-height: 76px;
  }

  .privacy-header .logo img {
    width: 126px;
  }

  .privacy-header__back {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .privacy-main {
    padding: 34px 0 58px;
  }

  .privacy-document {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .privacy-document h1 {
    font-size: 28px;
  }

  .privacy-document h2 {
    margin-top: 28px;
    font-size: 20px;
  }

  .privacy-document p {
    font-size: 14px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
  }

  .cookie-banner p {
    font-size: 16px;
  }

  .cookie-banner button {
    width: 100%;
    min-height: 54px;
    font-size: 18px;
  }
}

/* 2026-06-26: requested refinements */
.header__contacts .messengers a {
  background: #fff;
}

.header__contacts .messenger::before {
  background: #222;
}

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

@media (max-width: 760px) {
  .rating--link {
    padding-right: 28px;
  }

  .rating--link i {
    top: 4px;
    width: 19px;
    height: 19px;
  }

  .rating--link i::before {
    left: 5px;
    top: 5px;
    width: 7px;
    height: 7px;
  }

  .calc__grid .garage-preview {
    order: -1;
  }
}

/* 2026-06-26: header messengers and hero rating link, all breakpoints */
.messengers {
  align-items: center;
}

.messengers .messenger {
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none;
}

.messengers .messenger::before {
  background: #222 !important;
}

.header__contacts .messengers {
  gap: 10px;
}

.header__contacts .messenger {
  width: 32px !important;
  height: 32px !important;
}

.header__contacts .messenger::before {
  width: 21px !important;
  height: 21px !important;
}

.nav__contacts .messengers {
  display: flex;
  justify-content: center;
  gap: 14px !important;
}

.nav__contacts .messenger {
  width: 54px !important;
  height: 54px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.22) !important;
}

.nav__contacts .messenger::before {
  width: 30px !important;
  height: 30px !important;
  background: #222 !important;
}

.hero .rating--link {
  display: inline-grid !important;
  position: relative !important;
  padding-right: 38px !important;
  cursor: pointer;
}

.hero .rating--link i {
  display: block !important;
  position: absolute !important;
  right: 0 !important;
  top: 7px !important;
  width: 24px !important;
  height: 24px !important;
  border: 1px solid rgba(255,255,255,.68) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.08);
}

.hero .rating--link i::before {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  top: 6px !important;
  width: 8px !important;
  height: 8px !important;
  border-top: 2px solid #fff !important;
  border-right: 2px solid #fff !important;
  transform: rotate(45deg) !important;
}

@media (max-width: 1180px) {
  .nav__contacts .messengers {
    display: flex !important;
  }

  .hero .rating--link {
    padding-right: 34px !important;
  }
}

@media (max-width: 760px) {
  .hero .rating--link {
    padding-right: 31px !important;
  }

  .hero .rating--link i {
    top: 4px !important;
    width: 21px !important;
    height: 21px !important;
  }

  .hero .rating--link i::before {
    left: 5px !important;
    top: 5px !important;
    width: 7px !important;
    height: 7px !important;
  }
}

/* 2026-06-26: exact messenger SVG assets from remont-za3dnya.ru */
.messengers .messenger::before {
  display: none !important;
}

.messengers .messenger img,
.messengers .messenger svg {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  object-fit: contain;
}

.messengers .messenger svg {
  fill: currentColor;
}

.messengers .messenger--whatsapp,
.messengers .messenger--max {
  background: #fff !important;
}

.messengers .messenger--telegram {
  background: #37a9dc !important;
  color: #fff !important;
}

.header__contacts .messenger {
  width: 42px !important;
  height: 42px !important;
  box-shadow: 0 8px 20px rgba(20,20,20,.14) !important;
}

.nav__contacts .messenger {
  width: 54px !important;
  height: 54px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.22) !important;
}

.nav__contacts .messenger img,
.nav__contacts .messenger svg {
  width: 36px !important;
  height: 36px !important;
}

@media (max-width: 760px) {
  .hero .rating--link {
    display: none !important;
  }
}

/* 2026-06-26: keep MAX visible inside mobile menu */
.nav__contacts .messenger--max {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff !important;
}

.nav__contacts .messenger--max svg,
.nav__contacts .messenger--max img {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  opacity: 1 !important;
}

/* 2026-06-26: responsive lock for the 12 requested fixes */
.calc-form input[type="radio"],
.calc-form input[type="checkbox"],
.inline-phone-form input[type="checkbox"],
.modal__box input[type="checkbox"] {
  accent-color: var(--orange);
}

.calc-form input[type="radio"] {
  appearance: auto;
}

.garage-preview img,
.video-case__embed iframe,
.rutube-channel__preview img,
.foundation-section .foundation img,
.benefit-card img,
.construction img,
.project-start img {
  max-width: 100%;
}

.video-cases {
  align-items: stretch;
}

.video-cases .video-case {
  min-width: 0;
}

.video-case__body {
  display: grid;
  align-content: start;
}

.video-case__meta {
  color: var(--orange);
}

.foundation-section .foundation article {
  overflow: hidden;
}

.foundation-section .foundation img {
  width: 100%;
  object-fit: cover;
}

.foundation-section .foundation__points {
  align-items: center;
}

.foundation-action .btn,
.contract-action .btn,
.contacts-route,
.rutube-channel .btn {
  width: fit-content;
  max-width: 100%;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .benefits,
  .advantage-row,
  .video-cases,
  .foundation-section .foundation,
  .contacts-grid,
  .project-start,
  .construction__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .calc__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .calc__grid .garage-preview {
    order: -1;
    min-height: 360px;
  }

  .garage-preview img {
    max-height: 310px;
  }

  .rutube-channel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) !important;
  }

  .foundation-section .foundation img {
    height: 300px;
  }

  .foundation-section .foundation__points {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .foundation-section .foundation__points span:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .contacts-card,
  .project-start aside,
  .project-question {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .benefits,
  .advantage-row,
  .video-cases,
  .foundation-section .foundation,
  .contacts-grid,
  .project-start,
  .construction__grid,
  .rutube-channel {
    grid-template-columns: 1fr !important;
  }

  .calc__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .calc__grid .garage-preview {
    order: -1 !important;
    min-height: auto !important;
    padding: 16px !important;
  }

  .garage-preview img {
    max-height: 220px !important;
    object-fit: contain;
  }

  .garage-preview span {
    margin-top: 10px;
  }

  .video-cases .video-case {
    width: 100%;
    min-width: 0 !important;
  }

  .video-case__embed {
    aspect-ratio: 9 / 16;
  }

  .rutube-channel__preview {
    min-height: 240px;
  }

  .foundation-section .section-lead {
    max-width: none;
  }

  .foundation-section .foundation img {
    height: 220px !important;
  }

  .foundation-section .foundation__points {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: stretch;
    gap: 9px;
  }

  .foundation-section .foundation__points span,
  .foundation-section .foundation__points span:nth-child(3) {
    width: 100%;
    justify-content: flex-start;
    justify-self: stretch;
    text-align: left;
  }

  .foundation-action {
    align-items: stretch;
  }

  .foundation-action .btn,
  .contract-action .btn,
  .contacts-route,
  .rutube-channel .btn {
    width: 100%;
  }

  .contacts-messengers {
    grid-template-columns: 1fr !important;
  }

  .contacts-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .contacts-bottom a {
    width: 100%;
    text-align: center;
  }
}

/* 2026-06-26: mobile video cases must scroll horizontally */
@media (max-width: 760px) {
  .projects.video-cases,
  .video-cases {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 18px !important;
    margin-inline: calc(var(--container-pad) * -1);
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
  }

  .projects.video-cases::-webkit-scrollbar,
  .video-cases::-webkit-scrollbar {
    display: none;
  }

  .projects.video-cases .video-case,
  .video-cases .video-case {
    flex: 0 0 min(82vw, 330px) !important;
    width: min(82vw, 330px) !important;
    min-width: min(82vw, 330px) !important;
    max-width: min(82vw, 330px) !important;
    scroll-snap-align: start;
  }

  .video-case__embed {
    aspect-ratio: 9 / 16;
  }
}





/* 2026-07-20: RUTUBE loads only after an explicit click */
.video-case__launch {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #171717;
  color: #fff;
  cursor: pointer;
}
.video-case__launch img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease,opacity .3s ease; }
.video-case__launch::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 48%,rgba(0,0,0,.72)); }
.video-case__launch .video-case__play { z-index:2; top:50%; left:50%; transform:translate(-50%,-50%); }
.video-case__launch em { position:absolute; z-index:2; right:14px; bottom:13px; left:14px; color:#fff; font:800 13px/1.2 Manrope,sans-serif; font-style:normal; text-align:center; }
.video-case__launch:hover img { transform:scale(1.035); opacity:.88; }
.video-case__launch:focus-visible { outline:3px solid var(--orange); outline-offset:-3px; }
/* 2026-07-20: locally hosted project videos */
.video-case__embed video { display:block; width:100%; height:100%; object-fit:contain; background:#000; }
/* 2026-07-20: full-size clean video posters with centered play button */
.local-video__launch { position:relative; display:block; width:100%; height:100%; padding:0; overflow:hidden; border:0; background:#111; cursor:pointer; }
.local-video__launch img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s ease,filter .3s ease; }
.local-video__launch::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.12); transition:background .3s ease; }
.local-video__play { position:absolute; z-index:2; top:50%; left:50%; width:76px; height:76px; border:3px solid rgba(255,255,255,.94); border-radius:50%; background:var(--orange); box-shadow:0 12px 30px rgba(0,0,0,.38); transform:translate(-50%,-50%); transition:transform .2s ease,background .2s ease; }
.local-video__play::after { content:""; position:absolute; top:50%; left:53%; width:0; height:0; border-top:12px solid transparent; border-bottom:12px solid transparent; border-left:19px solid #fff; transform:translate(-40%,-50%); }
.local-video__launch:hover img { transform:scale(1.025); filter:brightness(.9); }
.local-video__launch:hover .local-video__play { background:#ff6a24; transform:translate(-50%,-50%) scale(1.07); }
.local-video__launch:focus-visible { outline:3px solid var(--orange); outline-offset:-3px; }
@media (max-width:760px) { .local-video__play { width:64px; height:64px; } .local-video__play::after { border-top-width:10px; border-bottom-width:10px; border-left-width:16px; } }

/* 2026-07-25: clearer mobile navigation for the horizontal video gallery */
.video-cases__mobile-hint {
  display: none;
}

@media (max-width: 760px) {
  .video-cases__mobile-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: -18px 0 14px;
    color: #5d5d5d;
    font-size: 13px;
    line-height: 1;
  }

  .video-cases__mobile-hint span {
    padding: 7px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--orange);
    font-weight: 800;
  }

  .video-cases__mobile-hint b {
    font-weight: 700;
  }

  .video-cases__mobile-hint i {
    color: var(--orange);
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
    animation: video-hint-swipe 1.4s ease-in-out infinite;
  }

  .projects.video-cases .video-case,
  .video-cases .video-case {
    flex-basis: min(78vw, 310px) !important;
    width: min(78vw, 310px) !important;
    min-width: min(78vw, 310px) !important;
    max-width: min(78vw, 310px) !important;
  }

  .projects.video-cases,
  .video-cases {
    scroll-padding-inline: var(--container-pad);
    overscroll-behavior-inline: contain;
  }
}

@keyframes video-hint-swipe {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-cases__mobile-hint i {
    animation: none;
  }
}
