:root {
  --bg-dark: #0f172a;
  --bg-darker: #090e1a;
  --bg-light: #ffffff;
  --bg-alt: #f8fafc;
  --surface-dark: #1e293b;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #cbd5e1;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.18);
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

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

button,
a,
input,
select {
  touch-action: manipulation;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent {
  color: var(--accent);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

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

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--accent);
  color: #111827;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.28);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.38);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn--dark:hover {
  background: #1e293b;
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}

.logo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #111827;
  font-weight: 900;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.logo__text small {
  font-size: 11px;
  color: var(--text-light-muted);
}

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

.nav__link {
  color: var(--text-light-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

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

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 800;
  font-size: 16px;
}

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

.header__phone-dot,
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Первый экран (Hero) */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.14), transparent 45%),
              linear-gradient(135deg, #090e1a 0%, #0f172a 55%, #1e293b 100%);
  color: var(--text-light);
  padding: 56px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 18px;
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0 0 26px;
  font-size: 17px;
  color: var(--text-light-muted);
  max-width: 600px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.stat-card__value {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
}

.stat-card__label {
  font-size: 12px;
  color: var(--text-light-muted);
}

.stat-card__divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.14);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero__note {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
  background: #1e293b;
}

.hero__image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero__badge-card {
  padding: 14px 18px;
  background: rgba(9, 14, 26, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__badge-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.hero__badge-sub {
  font-size: 13px;
  color: var(--text-light-muted);
}

/* Полоса преимуществ */
.trust-bar {
  background: #111827;
  color: var(--text-light);
  border-top: 1px solid var(--border-dark);
  padding: 22px 0;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-item__icon {
  font-size: 22px;
  line-height: 1;
  padding-top: 2px;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-item span {
  display: block;
  font-size: 12.5px;
  color: var(--text-light-muted);
  line-height: 1.4;
}

/* Общие стили секций */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section__desc {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}

/* Карточки услуг */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.service-card--notice {
  background: #fffbeb;
  border-color: #fde68a;
}

/* Блок О нас / Помощь на дороге */
.about-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.about-media {
  position: relative;
  padding: 24px 20px 30px 10px;
}

.about-card--main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #111827;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}

.about-card--main:hover {
  transform: rotate(0deg);
}

.about-card--main img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.about-card--sub {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #ffffff;
  background: #111827;
  z-index: 2;
  transform: translate(-10px, -15px);
}

.about-card--sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 0;
  left: 24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.42);
  border: 4px solid #ffffff;
  z-index: 3;
  line-height: 1.1;
}

.about-badge span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  opacity: 0.95;
}

.about-badge strong {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.about-badge small {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.95;
}

.about-content h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 16.5px;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 14px;
}

.about-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.about-feature-item__icon {
  font-size: 18px;
  line-height: 1;
  padding-top: 2px;
}

.about-feature-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.about-feature-item span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Прайс и калькулятор */
.pricing-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.price-box,
.calc-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.price-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.price-box__header h3,
.calc-box h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.price-box__badge {
  background: #111827;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.price-row--highlight {
  background: #fffbeb;
  border-color: #fcd34d;
}

.price-row strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.price-row span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.price-row__cost {
  font-size: 19px;
  font-weight: 900;
  color: var(--text-main);
  white-space: nowrap;
}

.price-box__question {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #0f172a;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-box__question strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.price-box__question p {
  margin: 0;
  font-size: 13px;
  color: var(--text-light-muted);
}

/* Калькулятор */
.calc-box__sub {
  margin: 6px 0 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-field__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calc-field__top label {
  margin-bottom: 0;
}

.calc-km-badge {
  background: var(--accent-soft);
  color: var(--accent-hover);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 14px;
}

.calc-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  background: #fff;
}

.calc-range {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.calc-range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.calc-summary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.calc-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  font-size: 16px;
  font-weight: 800;
}

.calc-summary__total strong {
  font-size: 24px;
  color: #111827;
}

.calc-box__disclaimer {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Галерея */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  margin: 0;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 16px 18px;
}

.gallery-card figcaption strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.gallery-card figcaption span {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Карта и города */
.map-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: stretch;
}

.map-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.yandex-map-box {
  width: 100%;
  min-height: 460px;
  flex: 1;
  position: relative;
  background: #f1f5f9;
}

.yandex-map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.map-open-link {
  color: var(--accent-hover);
  font-weight: 700;
  white-space: nowrap;
}

.map-open-link:hover {
  text-decoration: underline;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot--zone {
  background: rgba(245, 158, 11, 0.35);
  border: 2px solid #d97706;
}

.legend-dot--highway {
  background: #ef4444;
}

.cities-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.cities-panel h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.cities-panel__hint {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.city-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.city-chip:hover,
.city-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #111827;
}

.city-chip--start {
  background: #fef3c7;
  border-color: #f59e0b;
  font-weight: 800;
  color: #92400e;
}

.city-chip--start.is-active {
  background: #f59e0b;
  border-color: #d97706;
  color: #111827;
}

.cities-panel__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.cities-panel__footer strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.cities-panel__footer p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Шаги */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-card__num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.step-card a {
  color: var(--accent-hover);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-hover);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.faq-item a {
  color: var(--accent-hover);
  font-weight: 700;
}

/* CTA Баннер */
.cta-banner {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #111827;
  padding: 46px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
}

.cta-banner p {
  margin: 0;
  font-size: 15.5px;
  max-width: 660px;
  font-weight: 500;
}

.cta-banner__btn {
  font-size: 19px;
  padding: 18px 30px;
}

/* Футер */
.footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding: 52px 0 28px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-dark);
}

.footer__desc {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--text-light-muted);
  max-width: 420px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
}

.footer__col a,
.footer__col span {
  font-size: 14px;
  color: var(--text-light-muted);
}

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

.footer__phone {
  font-size: 20px !important;
  font-weight: 900;
  color: #ffffff !important;
}

.footer__bottom {
  padding-top: 20px;
  font-size: 13px;
  color: #64748b;
}

/* Липкая кнопка на мобильных */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-dark);
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 14, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__content {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.lightbox__content img {
  max-height: 78vh;
  margin: 0 auto 14px;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox__content p {
  margin: 0;
  color: var(--text-light);
  font-size: 15px;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .hero__grid,
  .about-grid,
  .pricing-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 580px;
    margin: 0 auto;
  }

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

  .cards-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 16px;
  }

  .header__inner {
    min-height: 64px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    animation: menuSlideDown 0.2s ease-out;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav__link {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav__link:hover,
  .nav__link:active {
    background: rgba(245, 158, 11, 0.16);
    color: var(--accent);
  }

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

  .header__phone,
  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 28px 0 38px;
  }

  .hero__title {
    font-size: clamp(23px, 6vw, 32px);
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    margin-bottom: 14px;
  }

  .hero__subtitle {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero__pill {
    font-size: 12px;
    padding: 6px 12px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 22px;
  }

  .stat-card {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .stat-card__value {
    font-size: 20px;
  }

  .stat-card__label {
    font-size: 13px;
    text-align: right;
  }

  .stat-card__divider {
    display: none;
  }

  .hero__buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 16px;
  }

  .hero__buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15.5px;
  }

  .hero__image-wrap {
    border-radius: var(--radius-md);
  }

  .hero__badge-card {
    padding: 12px 14px;
  }

  .hero__badge-title {
    font-size: 13.5px;
  }

  .hero__badge-sub {
    font-size: 12px;
  }

  .trust-bar {
    padding: 18px 0;
  }

  .trust-bar__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section {
    padding: 44px 0;
  }

  .section__head {
    margin-bottom: 24px;
  }

  .section__title {
    font-size: 23px;
    line-height: 1.22;
  }

  .section__desc {
    font-size: 14.5px;
  }

  .cards-grid,
  .gallery-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .about-media {
    padding: 16px 10px 24px 0;
  }

  .about-card--main {
    transform: none;
  }

  .about-card--sub {
    width: 48%;
    transform: translate(-4px, -10px);
  }

  .about-badge {
    width: 96px;
    height: 96px;
    left: 10px;
    bottom: -10px;
    border-width: 3px;
  }

  .about-badge span {
    font-size: 9.5px;
  }

  .about-badge strong {
    font-size: 22px;
  }

  .about-badge small {
    font-size: 9px;
  }

  .about-content h2 {
    font-size: 23px;
    line-height: 1.22;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .about-actions .btn {
    width: 100%;
  }

  .pricing-layout {
    gap: 20px;
  }

  .price-box,
  .calc-box {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .price-box__header h3,
  .calc-box h3 {
    font-size: 20px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
  }

  .price-row strong {
    font-size: 14.5px;
  }

  .price-row span {
    font-size: 12.5px;
  }

  .price-row__cost {
    font-size: 18px;
    color: var(--accent-hover);
  }

  .price-box__question {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px 14px;
    gap: 14px;
  }

  .price-box__question .btn {
    width: 100%;
  }

  .calc-summary {
    padding: 14px;
  }

  .calc-summary__total strong {
    font-size: 21px;
  }

  .gallery-card figcaption {
    padding: 12px 14px;
  }

  .yandex-map-box,
  .yandex-map-box iframe {
    height: 340px;
    min-height: 340px;
  }

  .map-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    font-size: 12.5px;
  }

  .cities-panel {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  .city-chip {
    font-size: 12.5px;
    padding: 8px 12px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  .step-card {
    padding: 18px 16px;
  }

  .faq-item {
    padding: 14px 16px;
  }

  .faq-item summary {
    font-size: 15px;
  }

  .cta-banner {
    padding: 34px 0;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
  }

  .cta-banner__btn {
    width: 100%;
    font-size: 17px;
    padding: 15px 20px;
  }

  .footer {
    padding: 38px 0 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }

  .mobile-call-bar .btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 10px;
  }
}

@media (max-width: 380px) {
  .logo__badge {
    font-size: 13px;
    padding: 6px 8px;
  }

  .logo__text strong {
    font-size: 15px;
  }

  .hero__title {
    font-size: 21px;
  }

  .mobile-call-bar .btn {
    font-size: 13.5px;
    padding: 11px 10px;
    gap: 6px;
  }
}
