/* ============================================================
   Carrozzeria — детйлинг-центр (демонстрационный вариант)
   Палитра: чёрный / красный / белый + эффект жидкого стекла
   ============================================================ */

:root {
  --black: #08080a;
  --black-2: #0d0d11;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-2: rgba(255, 255, 255, 0.18);
  --white: #f6f6f8;
  --muted: #9b9ba6;
  --muted-2: #6f6f7a;
  --red: #ff2b2b;
  --red-2: #d60f0f;
  --red-soft: rgba(255, 43, 43, 0.14);
  --red-grad: linear-gradient(135deg, #ff5555 0%, #e50914 55%, #8a0000 100%);
  --glass: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  --radius: 20px;
  --radius-lg: 28px;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Базовое оформление всех иконок (line-art) */
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--red); color: #fff; }

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red-grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255, 43, 43, 0.55), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 43, 43, 0.7), inset 0 1px 0 rgba(255,255,255,0.35); }

.btn--ghost {
  background: var(--panel);
  color: var(--white);
  border-color: var(--stroke-2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.35); background: var(--panel-2); }

.btn--lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Демо-баннер ---------- */
.demo-banner {
  background: var(--red-grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 60;
}
.demo-banner__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
  text-align: center;
}
.demo-banner__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 10, 13, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--stroke);
}
.header__row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { color: var(--red); stroke-width: 1.7; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  transition: color .25s ease, background .25s ease;
}
.nav__link:hover { color: var(--white); background: var(--panel); }
.nav__link.is-active { color: var(--white); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-grad);
}

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  color: var(--white);
  transition: color .25s ease;
}
.header__phone svg { color: var(--red); }
.header__phone:hover { color: var(--red); }

.burger {
  display: none;
  background: none; border: none; color: var(--white);
  cursor: pointer; padding: 6px;
}
.burger .burger__close { display: none; }
.burger.is-open .burger__open { display: none; }
.burger.is-open .burger__close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 22px;
  border-top: 1px solid var(--stroke);
  background: rgba(10,10,13,0.96);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__link {
  padding: 12px 8px;
  font-size: 17px; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--stroke);
}
.mobile-menu__link.is-active { color: var(--red); }
.mobile-menu__cta { margin-top: 14px; justify-content: center; }

/* ---------- Toast ---------- */
.toast {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid var(--stroke-2);
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-weight: 600;
  animation: fadeUp .4s ease;
}
.toast svg { color: #34d399; stroke-width: 2.2; }
.toast--error svg { color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.blob--red { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,43,43,0.5), transparent 70%); top: -140px; right: -120px; }
.blob--white { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); bottom: -120px; left: -140px; animation-delay: -6s; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

.hero__title {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 700;
  margin: 24px 0 18px;
  text-wrap: balance;
}
.hero__title .accent {
  background: var(--red-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero__trust li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.hero__trust svg { color: var(--red); stroke-width: 2.2; }

/* Showcase — «жидкое стекло» */
.hero__visual { display: flex; justify-content: center; }
.showcase {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.16);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.showcase__glow {
  position: absolute; inset: -30%;
  background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(255,43,43,0.35), transparent 35%);
  animation: spin 12s linear infinite;
}
.showcase__car { position: relative; width: 82%; z-index: 2; }
.showcase__shine {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.12) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out infinite;
}

.chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  background: rgba(10,10,13,0.7);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.8);
  animation: floatY 6s ease-in-out infinite;
}
.chip svg { color: var(--red); }
.chip--1 { top: 8%; left: -6%; }
.chip--2 { bottom: 12%; right: -4%; animation-delay: -2s; }
.chip--3 { bottom: -6%; left: 6%; animation-delay: -4s; }

/* Stats */
.stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  background: var(--red-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--stroke);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  padding: 14px 0;
}
.ticker__track {
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker__item {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__sep { color: var(--red); font-size: 13px; }

/* ---------- Секции ---------- */
.section { padding: 96px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.025) 50%, transparent); border-block: 1px solid var(--stroke); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__tag {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-head__title { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; margin-bottom: 14px; }
.section-head__text { color: var(--muted); font-size: 17px; }

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

/* ---------- Карточки услуг ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255,43,43,0.12), transparent 40%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--stroke-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--red-soft);
  border: 1px solid rgba(255,43,43,0.3);
  color: var(--red);
}
.service-card__icon svg { stroke-width: 1.7; }
.service-card__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.service-card__title { font-size: 20px; }
.service-card__text { color: var(--muted); font-size: 15px; flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.service-card__price { font-weight: 800; color: var(--white); font-size: 15px; }
.service-card__more {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--stroke-2);
  color: var(--muted);
  transition: all .25s ease;
}
.service-card:hover .service-card__more { background: var(--red-grad); color: #fff; border-color: transparent; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.feature__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--red-soft); border: 1px solid rgba(255,43,43,0.3);
  color: var(--red);
  margin-bottom: 18px;
}
.feature__title { font-size: 18px; margin-bottom: 8px; }
.feature__text { color: var(--muted); font-size: 14.5px; }

/* ---------- Галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-grid--full { grid-template-columns: repeat(4, 1fr); }
.gallery-card {
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease;
}
.gallery-card:hover { transform: translateY(-6px); border-color: var(--stroke-2); }
.gallery-card__media {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.gallery-card--red .gallery-card__media { background: radial-gradient(120% 120% at 50% 0%, #3a0a0a, #120505); color: #ff6b6b; }
.gallery-card--dark .gallery-card__media { background: radial-gradient(120% 120% at 50% 0%, #26262c, #0d0d11); color: #e8e8ee; }
.gallery-card--white .gallery-card__media { background: radial-gradient(120% 120% at 50% 0%, #3b3b40, #141416); color: #ff8888; }
.gallery-card__car { width: 82%; opacity: .9; }
.gallery-card__body { padding: 18px 20px; }
.gallery-card__cat { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.gallery-card__title { font-size: 17px; margin-top: 4px; }

/* ---------- Отзывы ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testi-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}
.testi-card__stars { display: flex; gap: 3px; color: var(--red); margin-bottom: 16px; }
.testi-card__stars svg { fill: currentColor; }
.testi-card__text { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.testi-card__meta { display: flex; align-items: center; gap: 12px; }
.testi-card__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-grad); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.testi-card__meta b { display: block; font-size: 15px; }
.testi-card__meta small { color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}
.cta__inner {
  padding: 56px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px circle at 50% -20%, rgba(255,43,43,0.25), transparent 60%);
  pointer-events: none;
}
.cta__title { font-size: clamp(24px, 3.4vw, 38px); font-weight: 700; margin-bottom: 14px; }
.cta__text { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 74px 0 20px; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; margin: 22px 0 16px; }
.page-hero__text { color: var(--muted); font-size: 18px; max-width: 640px; }

/* ---------- Детальная услуга ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 36px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  margin-bottom: 26px;
  scroll-margin-top: 100px;
}
.service-detail__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  border: 1px solid var(--stroke);
}
.service-detail__media--polish { background: radial-gradient(120% 120% at 50% 0%, #2a0d0d, #100404); }
.service-detail__media--ceramic { background: radial-gradient(120% 120% at 50% 0%, #160d0d, #0b0505); }
.service-detail__media--film { background: radial-gradient(120% 120% at 50% 0%, #1f1f24, #0c0c0f); }
.service-detail__media--interior { background: radial-gradient(120% 120% at 50% 0%, #231010, #0d0505); }
.service-detail__media--wash { background: radial-gradient(120% 120% at 50% 0%, #12121c, #08080b); }
.service-detail__media--dryclean { background: radial-gradient(120% 120% at 50% 0%, #241515, #0e0707); }
.service-detail__icon {
  width: 92px; height: 92px; border-radius: 24px;
  display: grid; place-items: center;
  background: var(--red-soft);
  border: 1px solid rgba(255,43,43,0.35);
  color: var(--red);
  box-shadow: 0 20px 50px -20px rgba(255,43,43,0.5);
}
.service-detail__title { font-size: 26px; margin: 12px 0 12px; }
.service-detail__text { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.service-detail__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 24px; }
.service-detail__features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--white); }
.service-detail__features svg { color: var(--red); stroke-width: 2.2; }
.service-detail__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  position: relative;
}
.process-step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  background: var(--red-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 12px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Цены ---------- */
.price-note {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--red-soft);
  border: 1px solid rgba(255,43,43,0.3);
  color: #ffd7d7;
  font-size: 14.5px; font-weight: 600;
  margin-bottom: 32px;
}
.price-note svg { color: var(--red); }

.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}
.price-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.price-card__icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--red-soft); border: 1px solid rgba(255,43,43,0.3);
  color: var(--red);
}
.price-card__title { font-size: 20px; }
.price-card__list { display: flex; flex-direction: column; }
.price-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--stroke);
}
.price-item:last-child { border-bottom: none; }
.price-item__name { display: flex; flex-direction: column; }
.price-item__name span { font-weight: 600; font-size: 15px; }
.price-item__name small { color: var(--muted-2); font-size: 13px; }
.price-item__value { font-weight: 800; font-size: 15px; color: var(--white); white-space: nowrap; }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.contact-card__icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--red-soft); border: 1px solid rgba(255,43,43,0.3);
  color: var(--red);
  margin-bottom: 10px;
}
.contact-card__label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-weight: 700; font-size: 15.5px; }

.form-layout { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 40px; align-items: start; }
.form-aside { padding-top: 8px; }
.form-aside__title { font-size: 30px; margin: 14px 0 14px; }
.form-aside__text { color: var(--muted); margin-bottom: 22px; }
.form-aside__list { display: flex; flex-direction: column; gap: 12px; }
.form-aside__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.form-aside__list svg { color: var(--red); stroke-width: 2.2; }

.form-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--stroke-2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.field::placeholder { color: var(--muted-2); }
.field:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,0.07); box-shadow: 0 0 0 3px rgba(255,43,43,0.18); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239b9ba6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select.field option { background: #16161a; color: #fff; }
textarea.field { resize: vertical; min-height: 110px; }

.errorlist { color: var(--red); font-size: 13px; font-weight: 600; padding-left: 4px; }
.errorlist li { list-style: none; }

.lead-form__submit { margin-top: 22px; width: 100%; justify-content: center; }
.form-card__hint { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); text-align: center; }

.map-card {
  margin-top: 40px;
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 50% 0%, #1c1c22, #0b0b0e);
  border: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  overflow: hidden;
}
.map-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}
.map-card__pin { position: relative; z-index: 1; color: var(--red); animation: floatY 4s ease-in-out infinite; }
.map-card__info { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.map-card__info b { font-family: var(--font-display); font-size: 18px; }
.map-card__info span { color: var(--muted); font-size: 14.5px; }
.map-card__note {
  position: absolute; bottom: 14px; right: 18px; z-index: 1;
  font-size: 12px; color: var(--muted-2);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--stroke); background: rgba(255,255,255,0.015); padding: 64px 0 30px; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--stroke); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__text { color: var(--muted); font-size: 14.5px; margin: 16px 0 8px; max-width: 300px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--stroke);
  font-weight: 800; font-size: 13px;
  transition: all .25s ease;
}
.footer__socials a:hover { background: var(--red-grad); border-color: transparent; }
.footer__title { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.footer__link { color: var(--muted); font-size: 15px; transition: color .2s ease; }
.footer__link:hover { color: var(--white); }
.footer__contact { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.footer__contact svg { color: var(--red); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; }

/* ---------- Демо-бейдж и «наверх» ---------- */
.demo-badge {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 55;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border-radius: 100px;
  background: rgba(10,10,13,0.8);
  border: 1px solid rgba(255,43,43,0.4);
  backdrop-filter: blur(10px);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em;
  color: #fff;
}
.demo-badge__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255,43,43,0.6);
  animation: pulseRing 2s infinite;
}

.to-top {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 55;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,13,0.8);
  border: 1px solid var(--stroke-2);
  color: var(--white);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
  backdrop-filter: blur(10px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--red); color: var(--red); }

/* ---------- Reveal-анимации ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Ключевые кадры ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(255,43,43,0.6); } 70% { box-shadow: 0 0 0 10px rgba(255,43,43,0); } 100% { box-shadow: 0 0 0 0 rgba(255,43,43,0); } }
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-30px, 30px); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(130%); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-grid--full { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header__phone span { display: none; }
  .header__cta { display: none; }
  .burger { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .features-grid, .gallery-grid, .gallery-grid--full, .price-grid, .testi-grid, .process-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }
  .cta__inner { padding: 40px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .service-detail { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
