:root {
  --bg: #071320;
  --bg2: #0c1d31;
  --ink: #0c1424;
  --muted: #667085;
  --line: #e7ebf0;
  --card: #fff;
  --orange: #f59e0b;
  --orange2: #ffb11a;
  --white: #fff;
  --shadow: 0 10px 28px rgba(13, 23, 38, .12);
  --radius: 8px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #f7f8fa;
  line-height: 1.35;
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body:has(.nav.is-open), body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
button, input, select, textarea { min-width: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(245, 158, 11, .42); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px; z-index: 99; }
.container { width: min(var(--container), calc(100% - clamp(22px, 5vw, 70px))); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #071320;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header__inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: max-content;
}
.logo__icon {
  width: 42px;
  height: 34px;
  display: inline-block;
  background: url("assets/img/tow-truck.svg") center/contain no-repeat;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .16));
}
.logo b { display: block; font-size: 22px; font-weight: 950; letter-spacing: .1px; line-height: .9; }
.logo b span { color: var(--orange); }
.logo small { display: block; font-size: 10px; color: #e5e7eb; margin-top: 4px; }
.nav { display: flex; gap: 33px; margin-left: auto; align-items: center; }
.nav a, .footer a { color: inherit; text-decoration: none; }
.nav a { font-weight: 800; color: #eef2ff; font-size: 13px; white-space: nowrap; }
.nav a:hover, .nav a:focus-visible { color: var(--orange2); }
.header__call { display: flex; align-items: center; gap: 18px; }
.phone {
  font-size: 19px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  line-height: 1.08;
  white-space: nowrap;
}
.phone small { display: block; color: #cbd5e1; font-size: 11px; font-weight: 600; text-align: right; }

.phone-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.phone-stack--cta { align-items: flex-start; }
.phone-stack .phone {
  width: 100%;
  text-align: right;
}
.phone-stack--cta .phone { text-align: left; }
.phone-stack__note { color: #cbd5e1; font-size: 11px; font-weight: 600; }
.phone--secondary {
  font-size: 19px;
  font-weight: 950;
  line-height: 1.08;
  color: #fff;
}
.phone--large.phone--secondary { font-size: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 23px;
  border-radius: 6px;
  border: 0;
  text-transform: uppercase;
  font-weight: 950;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(245, 158, 11, .24), 0 8px 18px rgba(245, 158, 11, .32); }
.btn--primary {
  background: linear-gradient(180deg, #ffb11a, #f59a09);
  color: #fff;
  box-shadow: 0 8px 18px rgba(245, 158, 11, .32), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn:disabled { cursor: wait; opacity: .72; transform: none; }
.btn--primary:hover { transform: translateY(-1px); filter: saturate(1.08); }
.btn--ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .64); background: rgba(7, 19, 32, .42); }
.btn--big { min-height: 49px; min-width: 196px; font-size: 14px; }
.btn--full { width: 100%; }
.burger { display: none; margin-left: auto; background: transparent; border: 0; padding: 8px; border-radius: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px; transition: transform .18s ease, opacity .18s 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 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 15, 28, .98) 0%, rgba(7, 19, 32, .92) 34%, rgba(7, 19, 32, .48) 56%, rgba(7, 19, 32, .70) 100%),
    linear-gradient(180deg, #132134 0%, #071320 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/img/hero-banner.jpg") calc(50% - 120px) center/1850px auto no-repeat;
  filter: brightness(1.12) contrast(1.05) saturate(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .16) 19%, #000 35%, #000 66%, rgba(0, 0, 0, .28) 78%, transparent 88%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .16) 19%, #000 35%, #000 66%, rgba(0, 0, 0, .28) 78%, transparent 88%);
  opacity: .96;
  pointer-events: none;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 15, 28, .94) 0%, rgba(7, 19, 32, .72) 32%, rgba(7, 19, 32, .16) 56%, rgba(7, 19, 32, .56) 100%),
    linear-gradient(180deg, transparent 62%, rgba(5, 11, 18, .54));
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 315px;
  gap: 42px;
  min-height: 432px;
  padding: 45px 0 47px;
}
.hero__copy { z-index: 2; max-width: 650px; align-self: center; }
.hero h1 {
  font-size: clamp(42px, 5.2vw, 62px);
  line-height: 1.06;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .38);
}
.lead { font-size: 22px; max-width: 620px; color: #f4f7fb; margin: 0 0 25px; font-weight: 800; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn--primary { animation: hero-call-vibrate 2.4s ease-in-out infinite; }
@keyframes hero-call-vibrate {
  0%, 72%, 100% { transform: translateX(0); }
  76%, 84%, 92% { transform: translateX(-4px) rotate(-.6deg); }
  80%, 88%, 96% { transform: translateX(4px) rotate(.6deg); }
}
.metrics { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 28px; }
.metrics div { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; }
.metrics span { grid-row: 1 / 3; color: var(--orange2); font-size: 27px; line-height: 1; }
.metrics b { font-size: 21px; color: #fff; }
.metrics small { color: #d5dde8; font-size: 11px; }
.quick-form {
  z-index: 3;
  align-self: start;
  background: rgba(255, 255, 255, .98);
  color: var(--ink);
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .34);
  margin-top: 10px;
  scroll-margin-top: 92px;
}
.quick-form h2 { margin: 0 0 1px; font-size: 24px; line-height: 1.05; }
.quick-form p { margin: 0 0 15px; color: var(--muted); }
.quick-form--modal {
  width: min(100%, 390px);
  margin: 0;
  box-shadow: none;
}
label { display: block; font-size: 13px; font-weight: 800; color: #475569; }
label span { position: absolute; width: 1px; height: 1px; overflow: hidden; }
input, select {
  width: 100%;
  height: 43px;
  margin: 6px 0 9px;
  padding: 0 14px;
  border: 1px solid #d8dee8;
  border-radius: 5px;
  background: #fff;
  font: inherit;
  color: #111827;
}
input:focus, select:focus { outline: 3px solid rgba(245, 158, 11, .22); border-color: var(--orange); }
input[aria-invalid="true"] { border-color: #b91c1c; box-shadow: 0 0 0 3px rgba(185, 28, 28, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; margin: 2px 0 12px; font-size: 11px; line-height: 1.35; font-weight: 700; color: #64748b; }
.consent-check input { width: 16px; height: 16px; margin: 1px 0 0; padding: 0; }
.consent-check span { position: static; width: auto; height: auto; overflow: visible; }
.consent-check a { color: #b45309; font-weight: 800; }
.consent-check input[aria-invalid="true"] { outline: 3px solid rgba(185, 28, 28, .12); }
.secure { display: block; margin-top: 12px; color: #64748b; font-size: 11px; }
.form-status { display: block; color: #0f766e; font-weight: 800; margin-top: 8px; min-height: 18px; }

.feedback-modal[hidden] { display: none; }
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}
.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 18, .72);
  backdrop-filter: blur(4px);
}
.feedback-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: calc(100vh - 36px);
  max-height: calc(100svh - 36px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}
.feedback-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.feedback-modal__close:hover { color: #0f172a; }
body.modal-open { overflow: hidden; }

.trust { margin-top: -36px; position: relative; z-index: 4; }
.trust__panel {
  background: #fff;
  border-radius: 7px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid #eef2f7;
}
.trust article { display: grid; grid-template-columns: 45px 1fr; gap: 0 11px; padding: 18px 20px; }
.trust i {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  border: 2px solid #dbe4ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 950;
  font-size: 20px;
  color: #0d1726;
}
.trust b { font-size: 14px; }
.trust span { font-size: 12px; color: var(--muted); }

.section { padding: 27px 0; }
.section--tight { padding-top: 8px; }
h2 { font-size: 25px; line-height: 1.15; margin: 0 0 12px; color: #101828; }
.grid-7 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.service, .card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: 0 5px 18px rgba(15, 23, 42, .055);
}
.service { padding: 12px 10px 15px; text-align: center; min-height: 151px; }
.service__pic {
  display: block;
  width: 92px;
  height: 56px;
  margin: 0 auto 10px;
  background: center/contain no-repeat;
}
.service__pic--car { background-image: radial-gradient(ellipse at 50% 85%, rgba(0, 0, 0, .13), transparent 48%), url("assets/img/tow-truck.svg"); }
.service__pic--moto:before, .service__pic--suv:before, .service__pic--truck:before, .service__pic--battery:before, .service__pic--fuel:before, .service__pic--keys:before {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 42px;
  filter: drop-shadow(0 4px 3px rgba(15, 23, 42, .16));
}
.service__pic--moto:before { content: "🏍"; }
.service__pic--suv:before { content: "🚙"; }
.service__pic--truck:before { content: "🚜"; }
.service__pic--battery:before { content: "🔋"; }
.service__pic--fuel:before { content: "⛽"; }
.service__pic--keys:before { content: "🔑"; }
.service h3 { font-size: 14px; line-height: 1.12; margin: 0 0 8px; }
.service p { font-size: 11px; color: #596579; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.card { padding: 20px; }
.calc p { margin: -8px 0 12px; color: #64748b; }
.calc__grid { display: grid; grid-template-columns: 1.05fr .9fr; gap: 28px; }
.distance-control { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.distance-control output { color: #0f172a; font-weight: 900; }
.distance-control input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 12px;
  align-items: baseline;
  border-left: 1px dashed #cfd8e3;
  padding-left: 24px;
}
.summary dl { margin: 0; }
.summary dl, .summary hr, .summary small { grid-column: 1 / -1; }
.summary div { display: flex; justify-content: space-between; margin: 10px 0; gap: 12px; }
.summary dt { color: #64748b; }
.summary dd { margin: 0; font-weight: 950; text-align: right; }
.summary strong {
  display: block;
  color: var(--orange);
  font-size: 24px;
  margin: 0 0 12px;
  text-align: right;
  white-space: nowrap;
}
.summary b { font-size: 21px; margin-bottom: 12px; }
.summary small { display: block; color: #334155; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.benefits article { border: 1px solid #e5e7eb; border-radius: 7px; padding: 14px; min-height: 91px; text-align: center; }
.benefits span { font-size: 25px; color: var(--orange); }
.benefits b { display: block; font-size: 13px; }
.benefits small { color: #64748b; font-size: 11px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps article { position: relative; }
.steps article:not(:last-child):after { content: "→"; position: absolute; right: -15px; top: 42px; color: #cbd5e1; font-size: 24px; }
.steps i {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-style: normal;
}
.steps b { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--orange); color: #fff; margin-top: 11px; }
.steps h3 { margin: 8px 0 3px; font-size: 15px; }
.steps p { margin: 0; color: #64748b; font-size: 12px; }
.two-col--map { grid-template-columns: 1fr 1fr; align-items: stretch; }
.zone { display: grid; grid-template-columns: .72fr 1fr; gap: 8px; overflow: hidden; padding: 20px; }
.zone__map {
  display: block;
  min-height: 190px;
  overflow: hidden;
  border-radius: 7px;
  background: #dbeafe;
}
.zone__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: contrast(1.05) saturate(1.04);
}
.zone img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; min-height: 190px; }
.zone ul { list-style: none; padding: 0; margin: 12px 0 0; }
.zone li { margin: 7px 0; font-size: 13px; }
.zone li:before { content: "✓"; color: var(--orange); font-weight: 950; margin-right: 8px; }

.reviews-faq { grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); align-items: stretch; }
.reviews { position: relative; padding-right: 20px; }
.rating { display: flex; gap: 13px; align-items: center; margin-bottom: 17px; flex-wrap: wrap; }
.rating b { font-size: 33px; color: #475569; }
.rating span { color: var(--orange); font-size: 27px; letter-spacing: 2px; }
.rating small { color: #64748b; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.review-list article { font-size: 12px; }
.avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #52616f, #172032);
  font-weight: 900;
  font-size: 13px;
}
.review-list b { display: block; }
.review-list small { color: #64748b; }
.stats {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  margin: -12px 0 0;
  align-self: end;
  background: #071320;
  color: #fff;
  border-radius: 8px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  box-shadow: var(--shadow);
  max-width: none;
}
.stats b { font-size: 25px; color: #fff; }
.stats small { display: block; font-size: 11px; color: #cbd5e1; }
.faq { grid-column: 2; grid-row: 1 / span 2; }
.faq details { border: 1px solid #e5e7eb; border-radius: 6px; margin: 8px 0; padding: 0 14px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 850; padding: 12px 0; list-style: none; font-size: 13px; }
.faq summary:after { content: "⌄"; float: right; }
.faq p { color: #64748b; margin-top: 0; font-size: 13px; }

.final-cta {
  position: relative;
  background:
    linear-gradient(90deg, rgba(7, 19, 32, .96), rgba(11, 28, 45, .86) 54%, rgba(7, 19, 32, .55)),
    url("assets/img/banner-tow-truck.jpg") center 54%/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.final-cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(92deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 132px);
  opacity: .38;
  pointer-events: none;
}
.final-cta__inner {
  min-height: 151px;
  display: grid;
  grid-template-columns: 1.18fr auto auto;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.final-cta__inner:after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -48px;
  width: 420px;
  height: 205px;
  background: none;
  opacity: .84;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .5));
  pointer-events: none;
}
.final-cta__inner > * { position: relative; z-index: 1; }
.final-cta h2 { margin: 0; font-size: 30px; color: #fff; }
.final-cta p { margin: 5px 0 0; font-size: 20px; }
.phone--large { font-size: 28px; z-index: 2; }

.footer { background: #06111e; color: #cbd5e1; padding: 42px 0; }
.footer__grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 34px; }
.footer b { color: #fff; display: block; margin-bottom: 12px; }
.footer a, .footer span { display: block; color: #cbd5e1; margin: 8px 0; font-style: normal; }
.legal { max-width: 860px; }
.legal h1 { margin: 0 0 18px; font-size: 34px; line-height: 1.12; }
.legal h2 { margin-top: 24px; font-size: 22px; }
.legal p { color: #475569; }
.legal a:not(.btn) { color: #b45309; font-weight: 800; }

@media (max-width: 1120px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .nav, .header__call { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    max-height: calc(100vh - 66px);
    max-height: calc(100svh - 66px);
    overflow-y: auto;
    background: #071320;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
  }
  .grid-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zone { grid-template-columns: 1fr; }
  .final-cta__inner { grid-template-columns: 1fr; padding: 26px 0; }
  .final-cta__inner > .btn, .final-cta__inner > .phone, .final-cta__inner > .phone-stack { justify-self: start; }
  .final-cta__inner:after { right: -110px; opacity: .35; }
}

@media (max-width: 1100px) {
  .calc__grid { grid-template-columns: 1fr; }
  .summary {
    border-left: 0;
    border-top: 1px dashed #cfd8e3;
    padding: 18px 0 0;
  }
}

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(5, 15, 28, .96) 0%, rgba(7, 19, 32, .76) 58%, rgba(7, 19, 32, .62) 100%),
      linear-gradient(180deg, #132134 0%, #071320 100%);
  }
  .hero:before {
    top: 170px;
    right: -18%;
    bottom: auto;
    left: 18%;
    height: 310px;
    background-position: 68% center;
    opacity: .72;
  }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 26px; padding: 38px 0 34px; }
  .hero__copy { max-width: 720px; }
  .quick-form { order: 3; max-width: 560px; width: 100%; margin: 0 auto; }
  .trust { margin-top: 0; }
  .two-col, .reviews-faq { grid-template-columns: 1fr; }
  .faq, .stats { grid-column: auto; grid-row: auto; }
  .stats { margin: 0; }
  .review-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc__grid { grid-template-columns: 1fr; }
  .summary { border-left: 0; border-top: 1px dashed #cfd8e3; padding: 18px 0 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 22px, var(--container)); }
  .header__inner { height: 62px; }
  .nav.is-open { top: 62px; max-height: calc(100vh - 62px); max-height: calc(100svh - 62px); padding-inline: 18px; }
  .logo b { font-size: 19px; }
  .logo small { font-size: 9px; }
  .hero__grid { padding-top: 30px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(31px, 9vw, 38px); }
  .lead { font-size: 18px; }
  .hero__actions { gap: 10px; }
  .metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .metrics div { display: block; min-width: 0; text-align: center; }
  .metrics span { display: block; font-size: 22px; margin-bottom: 4px; }
  .metrics b { display: block; font-size: 17px; }
  .metrics small { display: block; font-size: 10px; line-height: 1.18; }
  .quick-form { padding: 18px; }
  .quick-form--modal { padding: 20px; }
  .grid-7, .trust__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits, .review-list { grid-template-columns: 1fr; }
  .footer { padding: 24px 0; font-size: 13px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .footer b { margin-bottom: 7px; font-size: 14px; }
  .footer a, .footer span { margin: 5px 0; }
  .footer p { margin: 10px 0 6px; }
  .footer .logo b { font-size: 18px; }
  .footer .logo small { font-size: 9px; }
  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0 14px;
    align-items: center;
    min-height: 86px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .055);
  }
  .steps article:not(:last-child):after { display: none; }
  .steps i {
    grid-row: 1 / 3;
    width: 54px;
    height: 54px;
    font-size: 25px;
  }
  .steps b {
    position: absolute;
    left: 52px;
    top: 10px;
    width: 23px;
    height: 23px;
    margin: 0;
    font-size: 12px;
  }
  .steps h3 { margin: 0 0 3px; font-size: 16px; }
  .steps p { font-size: 12px; line-height: 1.3; }
  .stats { grid-template-columns: 1fr; }
  .zone__map, .zone__map img, .zone img { min-height: 230px; }
  .final-cta { padding: 0; }
  .final-cta__inner:after { display: none; }
  .phone--large,
  .phone--large.phone--secondary { font-size: 22px; }
}

@media (max-width: 520px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 15, 28, .98) 0%, rgba(7, 19, 32, .86) 45%, rgba(7, 19, 32, .98) 100%),
      linear-gradient(180deg, #132134 0%, #071320 100%);
  }
  .hero:before {
    inset: auto 0 auto 0;
    top: 224px;
    height: 292px;
    background-position: 61% center;
    background-size: 760px auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 7%, #000 18%, #000 78%, rgba(0, 0, 0, .36) 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 7%, #000 18%, #000 78%, rgba(0, 0, 0, .36) 90%, transparent 100%);
    opacity: .84;
  }
  .hero:after {
    background:
      linear-gradient(180deg, rgba(5, 15, 28, .32) 0%, rgba(5, 15, 28, .18) 30%, rgba(5, 15, 28, .58) 56%, rgba(5, 15, 28, .96) 100%),
      linear-gradient(90deg, rgba(5, 15, 28, .72), rgba(5, 15, 28, .2) 50%, rgba(5, 15, 28, .72));
  }
  .hero__grid { gap: 20px; padding-top: 26px; padding-bottom: 24px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 36px); margin-bottom: 16px; }
  .lead { font-size: 17px; margin-bottom: 20px; }
  .hero__actions { display: grid; }
  .metrics { margin-top: 168px; }
  .btn { width: 100%; }
  .quick-form { margin-top: 2px; padding: 18px; }
  .quick-form--modal { padding: 18px; }
  input, select { height: 42px; margin-bottom: 8px; }
  .section { padding: 22px 0; }
  .section--tight { padding-top: 4px; }
  .service { min-height: 134px; padding: 12px 8px 13px; }
  .service__pic { width: 78px; height: 50px; }
  .trust article { grid-template-columns: 40px 1fr; padding: 15px 12px; gap: 0 10px; }
  .trust i { width: 38px; height: 38px; font-size: 17px; }
  .trust b { font-size: 13px; }
  .trust span { font-size: 11px; }
  .summary { grid-template-columns: 1fr; }
  .summary strong { text-align: left; }
  .benefits article { min-height: 0; }
  .zone { padding: 18px; }
  .zone__map {
    aspect-ratio: 1.16 / 1;
    min-height: 0;
    margin-top: 4px;
  }
  .zone__map img {
    min-height: 0;
    object-fit: cover;
    object-position: center center;
  }
  .rating span { font-size: 23px; letter-spacing: 1px; }
  .final-cta h2 { font-size: 25px; }
  .final-cta p { font-size: 17px; }
  .final-cta__inner > .btn, .final-cta__inner > .phone, .final-cta__inner > .phone-stack { justify-self: stretch; }
}

@media (max-width: 359px) {
  .container { width: min(100% - 18px, var(--container)); }
  .logo__icon { width: 34px; height: 28px; }
  .logo b { font-size: 17px; }
  .hero h1 { font-size: 29px; }
  .lead { font-size: 16px; }
  .hero:before { top: 236px; height: 250px; background-size: 680px auto; }
  .metrics { margin-top: 138px; }
  .grid-7, .trust__panel, .metrics { grid-template-columns: 1fr; }
  .quick-form { padding: 16px; }
}

@media (max-width: 900px) and (max-height: 500px) {
  .hero__grid { padding-top: 20px; padding-bottom: 24px; gap: 18px; }
  .hero h1 { font-size: clamp(30px, 7vw, 44px); margin-bottom: 12px; }
  .lead { margin-bottom: 16px; }
  .metrics { margin-top: 16px; }
  .quick-form { padding: 16px; }
  input, select { height: 40px; margin-bottom: 7px; }
}


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

@media (hover: none) {
  .btn--primary:hover { transform: none; }
}

.page-intro { padding-bottom: 0; }
.page-services .service { min-height: 184px; }
.price-list { display: grid; gap: 10px; }
.price-list div,
.contact-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #e5e7eb;
}
.price-list div:last-child,
.contact-list div:last-child { border-bottom: 0; }
.price-list strong { color: var(--orange); white-space: nowrap; }
.reviews-page { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); align-items: start; }
.review-list--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-form { margin-top: 0; position: sticky; top: 86px; }
textarea {
  width: 100%;
  min-height: 132px;
  margin: 6px 0 9px;
  padding: 12px 14px;
  border: 1px solid #d8dee8;
  border-radius: 5px;
  background: #fff;
  resize: vertical;
  color: #111827;
}
textarea:focus { outline: 3px solid rgba(245, 158, 11, .22); border-color: var(--orange); }
.contact-list { margin: 0; }
.contact-list dt { color: #64748b; font-weight: 800; }
.contact-list dd { min-height: 20px; min-width: 45%; margin: 0; }
.contact-form { margin: 0; box-shadow: none; padding: 0; }

@media (max-width: 900px) {
  .reviews-page { grid-template-columns: 1fr; }
  .review-form { position: static; }
}

@media (max-width: 680px) {
  .review-list--page { grid-template-columns: 1fr; }
  .price-list div,
  .contact-list div { display: grid; gap: 4px; }
  .price-list strong { white-space: normal; }
}

.portfolio-card { overflow: hidden; }
.portfolio-slider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.portfolio-slider__top h2 { margin: 0; }
.portfolio-slider__counter {
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-weight: 900;
  text-align: center;
}
.portfolio-slider__viewport {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
}
.portfolio-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.portfolio-slider__track::-webkit-scrollbar { display: none; }
.portfolio-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  scroll-snap-align: start;
  background: #0f172a;
}
.portfolio-slider__slide img {
  display: block;
  width: 100%;
  height: min(64vh, 680px);
  height: min(64svh, 680px);
  object-fit: contain;
  background: #0f172a;
}
.portfolio-slider__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #0f172a;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .28);
}
.portfolio-slider__control--prev { left: 16px; }
.portfolio-slider__control--next { right: 16px; }
.portfolio-slider__control:focus-visible,
.portfolio-thumbs__item:focus-visible { outline: 3px solid rgba(245, 158, 11, .55); outline-offset: 3px; }
.portfolio-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.portfolio-thumbs__item {
  flex: 0 0 92px;
  height: 68px;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  cursor: pointer;
}
.portfolio-thumbs__item.is-active { border-color: var(--orange); }
.portfolio-thumbs__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 680px) {
  .portfolio-slider__top { align-items: flex-start; flex-direction: column; }
  .portfolio-slider__counter { min-width: 0; }
  .portfolio-slider__slide img { height: min(58vh, 430px); height: min(58svh, 430px); }
  .portfolio-slider__control { width: 40px; height: 40px; font-size: 28px; }
  .portfolio-slider__control--prev { left: 10px; }
  .portfolio-slider__control--next { right: 10px; }
  .portfolio-thumbs__item { flex-basis: 76px; height: 56px; border-radius: 10px; }
}
.floating-phone {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20b95a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
  animation: floating-phone-pulse 1.4s ease-in-out infinite;
}

.floating-phone:hover,
.floating-phone:focus-visible {
  background: #179447;
  color: #fff;
}

@keyframes floating-phone-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.08); }
}

@media (max-width: 480px) {
  .floating-phone {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-phone { animation: none; }
}
