:root {
  --accent: #489d64;
  --accent-light: #62b77e;
  --dark: #1b2028;
  --ink: #000000;
  --light-text: #ffffff;
  --menu: #222222;
  --soft: #f5f5f5;
  --soft-2: #f4f4f4;
  --divider: #777777;
  --muted: #5f666f;
  --surface: #ffffff;
  --shadow: 0 20px 60px rgba(27, 32, 40, 0.10);
  --shadow-strong: 0 28px 80px rgba(27, 32, 40, 0.16);
  --radius: 22px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

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

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

svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-shell { overflow: hidden; }

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

.section { padding: 84px 0; }

.section--soft { background: var(--soft); }
.section--dark {
  background: var(--dark);
  color: var(--light-text);
}
.section--cta { padding-top: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(48px, 8vw, 92px); max-width: 780px; }
h2 { font-size: clamp(36px, 5vw, 64px); max-width: 820px; }
h3 { font-size: 30px; }
p { margin: 0; }

.section-head { margin-bottom: 42px; }
.section-head p:last-child {
  max-width: 720px;
  color: var(--muted);
  margin-top: 14px;
}
.section-head--split {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}
.section-head__aside { max-width: 360px; color: var(--muted); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(34, 34, 34, 0.94);
  color: var(--light-text);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 0 8px rgba(72, 157, 100, 0.14);
  flex: 0 0 auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 15px; font-weight: 800; color: #fff; }
.brand__text em { font-style: normal; font-size: 12px; color: rgba(255,255,255,0.72); }

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

.header__phone {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 16px;
}

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

.header__phone-mobile {
  display: none;
}

.nav__phone-mobile {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.74);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav a:hover { color: #fff; }

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

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
}

.hero {
  position: relative;
  padding: 58px 0 42px;
  background:
    radial-gradient(circle at top left, rgba(72, 157, 100, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(98, 183, 126, 0.10), transparent 22%),
    radial-gradient(circle at 14% 82%, rgba(72, 157, 100, 0.08), transparent 24%);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__topline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(119,119,119,0.16);
  color: var(--muted);
  font-size: 13px;
  box-shadow: var(--shadow);
}

.hero__rating-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 0 6px rgba(72,157,100,0.14);
}

.hero__text {
  max-width: 650px;
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero__benefits span {
  padding: 12px 16px;
  border: 1px solid rgba(119,119,119,0.25);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  font-size: 14px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 760px;
}

.hero-stat {
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(119,119,119,0.14);
  box-shadow: var(--shadow);
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.hero-showcase__main {
  position: relative;
  min-height: 500px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #10141a;
}

.hero-showcase__main--video {
  display: flex;
  align-items: stretch;
}

.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-strong);
}

.hero-showcase__main .video-frame {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  box-shadow: none;
}

.video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-frame--hero::before {
  padding-top: 100%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-showcase__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27,32,40,0.02), rgba(27,32,40,0.26)),
    linear-gradient(125deg, rgba(72,157,100,0.08), transparent 46%);
  pointer-events: none;
}

.hero-showcase__image {
  position: absolute;
  inset: 0;
}

.hero-showcase__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27,32,40,0.08), rgba(27,32,40,0.28)),
    linear-gradient(125deg, rgba(72,157,100,0.10), transparent 46%);
  pointer-events: none;
}

.hero-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-showcase__overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 400px;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(27, 32, 40, 0.14);
}

.hero-showcase__kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-showcase__overlay strong {
  display: block;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-showcase__overlay p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-showcase__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-mini-card,
.hero-lead-card,
.form-card,
.info-card,
.service-card,
.project-card,
.review-card,
.stat-card,
.contact-form,
.cta-box,
.mini-showcase,
.video-card,
.photo-strip__item {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-mini-card,
.hero-lead-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(119,119,119,0.16);
}

.hero-mini-card {
  padding: 26px 28px;
}

.hero-mini-card__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-mini-card__list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.hero-mini-card__list li + li {
  margin-top: 8px;
}

.hero-lead-card {
  padding: 28px;
  width: 100%;
}

.hero-lead-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.hero-lead-card__row + .hero-lead-card__row {
  margin-top: 12px;
}

.trust-strip {
  padding: 0 0 26px;
  background: linear-gradient(180deg, #f5f5f5 0%, #f5f5f5 100%);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item {
  padding: 22px 24px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(119,119,119,0.16);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.trust-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}
.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
}
.btn--accent:hover { filter: brightness(0.98); }

.btn--dark {
  background: var(--dark);
  color: #fff;
}
.btn--dark:hover { background: #11161d; }

.btn--ghost {
  border-color: rgba(119,119,119,0.28);
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { border-color: rgba(72,157,100,0.45); }

.btn--ghost-light {
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  background: transparent;
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); }

.btn--light {
  background: #fff;
  color: var(--dark);
}
.btn--full { width: 100%; }

.lead-grid,
.about-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.lead-copy {
  display: grid;
  gap: 16px;
}

.info-card,
.form-card,
.contact-form,
.service-card,
.project-card,
.review-card,
.stat-card,
.video-card {
  background: #fff;
  border: 1px solid rgba(119,119,119,0.18);
}

.info-card {
  padding: 30px;
}
.info-card--muted { background: var(--soft-2); }
.info-card h3 { margin-bottom: 16px; }

.mini-showcase {
  overflow: hidden;
  border: 1px solid rgba(119,119,119,0.18);
}
.mini-showcase img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.form-card,
.contact-form {
  padding: 32px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.form-row label {
  font-size: 13px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(119,119,119,0.22);
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(72,157,100,0.14);
}
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.services-grid,
.projects-grid,
.reviews-grid {
  display: grid;
  gap: 20px;
}
.services-grid { grid-template-columns: repeat(4, 1fr); }

.service-card {
  position: relative;
  padding: 26px;
  min-height: 210px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(72,157,100,0.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(72,157,100,0.24);
}
.service-card__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(72,157,100,0.14), rgba(98,183,126,0.24));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.service-card__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 26px;
  line-height: 1.05;
}
.service-card p { color: var(--muted); margin-top: 10px; }

.section--dark .service-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: #fff;
}
.section--dark .service-card p { color: rgba(255,255,255,0.74); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.advantage-card {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.advantage-card__num {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.52);
  font-size: 13px;
  letter-spacing: 0.18em;
}
.advantage-card p {
  margin-top: 10px;
  color: rgba(255,255,255,0.76);
}

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

.project-card {
  overflow: hidden;
}
.project-card__image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #9aa1a8, #41464e);
}
.project-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,32,40,0.08), rgba(27,32,40,0.26));
  pointer-events: none;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card__body { padding: 24px; }
.project-card__type {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--muted);
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 20px;
  margin-top: 20px;
}

.photo-strip__item {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #d7dbd5;
  border: 1px solid rgba(119,119,119,0.18);
}

.photo-strip__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,32,40,0.02), rgba(27,32,40,0.20));
  pointer-events: none;
}

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

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

.video-card {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(72,157,100,0.08), transparent 36%),
    #fff;
}

.video-card .video-frame {
  border-radius: 0;
  box-shadow: none;
}

.video-card__body {
  padding: 26px;
}

.video-card__body span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-card__body h3 {
  font-size: 30px;
  line-height: 1.02;
}

.video-card__body p {
  margin-top: 12px;
  color: var(--muted);
}

.about-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  max-width: 640px;
}
.about-photo {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(119,119,119,0.18);
  box-shadow: var(--shadow-strong);
  background: #fff;
}
.about-photo img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}
.about-photo__caption {
  display: block;
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 14px;
}
.about-stats {
  display: grid;
  gap: 16px;
}
.stat-card {
  padding: 26px;
  overflow: hidden;
}
.stat-card strong {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card span { color: var(--muted); }

.stat-card--image {
  padding: 0;
  min-height: 260px;
}
.stat-card--image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.review-card {
  padding: 28px;
}
.review-card p {
  color: var(--ink);
  font-size: 17px;
}
.review-card span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.cta-box {
  background: linear-gradient(135deg, #ffffff, #f0f4f1);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(119,119,119,0.18);
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.contacts-grid { align-items: start; }

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.contact-list span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.contact-list a,
.contact-list p {
  font-size: 22px;
  line-height: 1.35;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.contact-form h3 { margin-bottom: 20px; }

.footer {
  background: var(--menu);
  color: rgba(255,255,255,0.74);
  padding: 36px 0 120px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer h4 {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.5);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li + li,
.footer p + p { margin-top: 10px; }

.brand--footer .brand__text strong,
.brand--footer .brand__text em { color: #fff; }
.brand--footer .brand__text em { color: rgba(255,255,255,0.55); }

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(27, 32, 40, 0.96);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.24);
}
.cookie-banner a { text-decoration: underline; }
.cookie-banner.hidden { display: none; }
.cookie-banner__text {
  font-size: 14px;
  color: rgba(255,255,255,0.84);
}

@media (min-width: 1101px) {
  .hero-showcase__main {
    min-height: 420px;
  }

  .video-frame--hero::before {
    padding-top: 82%;
  }

  .hero-showcase__image img {
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 16px;
  }

  .header__actions .btn {
    display: none;
  }
}

@media (max-width: 1100px) {
  .services-grid,
  .advantages-grid,
  .trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid,
  .reviews-grid,
  .footer__grid,
  .lead-grid,
  .about-grid,
  .contacts-grid,
  .hero__layout,
  .cta-box,
  .hero-showcase__bottom,
  .video-grid,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .cta-form,
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .section-head--split {
    display: block;
  }

  .section-head__aside {
    margin-top: 14px;
    max-width: 680px;
  }

  .hero-showcase {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-showcase__main {
    min-height: 520px;
  }

  .video-frame--hero::before {
    padding-top: 62%;
  }

  .photo-strip__item {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    gap: 16px;
  }

  .nav.is-open { display: flex; }
  .burger { display: inline-flex; }
  .header .brand__text {
    display: flex;
  }
  .header__phone {
    display: none;
  }
  .header__phone-mobile {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    transition: color 0.2s ease;
    margin-right: 12px;
  }
  .header__phone-mobile:hover {
    color: var(--accent);
  }
  .nav__phone-mobile {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    width: 100%;
  }
  .header__actions .btn { display: none; }

  .section { padding: 68px 0; }

  .hero {
    padding-top: 40px;
    padding-bottom: 28px;
  }

  .hero__layout {
    gap: 30px;
  }

  .hero__text {
    font-size: 18px;
  }

  .hero-showcase__main {
    min-height: auto;
    border-radius: 26px;
  }

  .hero-showcase__main .video-frame {
    position: relative;
    inset: auto;
    border-radius: 26px;
  }

  .video-frame--hero::before {
    padding-top: 56.25%;
  }

  .hero-showcase__overlay {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -18px 16px 0;
    padding: 18px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .services-grid,
  .advantages-grid,
  .projects-grid,
  .reviews-grid,
  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 44px; }
  h2 { font-size: 38px; }

  .hero__benefits,
  .hero__cta {
    gap: 10px;
  }

  .hero__benefits span {
    width: 100%;
    text-align: center;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero-showcase__main {
    border-radius: 22px;
  }

  .hero-showcase__main .video-frame {
    border-radius: 22px;
  }

  .hero-showcase__overlay {
    padding: 16px;
    border-radius: 18px;
  }

  .hero-showcase__overlay strong {
    font-size: 24px;
  }

  .hero-mini-card,
  .hero-lead-card,
  .hero-card,
  .form-card,
  .contact-form,
  .service-card,
  .project-card__body,
  .review-card,
  .stat-card,
  .info-card,
  .cta-box,
  .video-card__body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .video-card__body h3 {
    font-size: 25px;
  }

  .contact-list a,
  .contact-list p {
    font-size: 18px;
  }

  .mini-showcase img,
  .project-card__image {
    height: 220px;
  }

  .photo-strip__item {
    min-height: 230px;
  }

  .about-photo img {
    height: 240px;
  }

  .stat-card--image,
  .stat-card--image img {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .header__logo-area {
    gap: 10px;
  }
  .header .brand__text {
    display: none;
  }
  .header__phone {
    border-left: none;
    padding-left: 0;
  }
}

/* Manual fix: keep hero VK video unobstructed. */
.hero-showcase__main--video .hero-showcase__overlay { display: none !important; }
.hero-showcase__main--video .video-frame iframe { pointer-events: auto; }