:root {
  --bg: #101722;
  --surface: #182231;
  --blue: #0879d1;
  --yellow: #f5b90b;
  --white: #f4f6f8;
  --muted: #97a3b5;
  --line: rgba(244, 246, 248, 0.13);
  --line-strong: rgba(244, 246, 248, 0.25);
  --glass: rgba(16, 23, 34, 0.78);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --heading: "Exo 2", "Manrope", sans-serif;
  --body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(8, 121, 209, 0.18), transparent 28rem),
    linear-gradient(180deg, #101722 0%, #0b121d 100%);
  color: var(--white);
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

body.is-panel-open {
  overflow: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .floating-contact {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-panel-open .floating-contact {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-preloading .site-header,
body.is-preloading main,
body.is-preloading .floating-contact {
  opacity: 0;
  transform: translateY(10px) scale(0.992);
}

.site-header,
main,
.floating-contact {
  transition: opacity 360ms ease, transform 360ms ease;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.brand-logo-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-logo {
  display: block;
  overflow: visible;
}

.brand-logo__shadow {
  fill: rgba(3, 8, 14, 0.48);
  transform: translateY(7px);
}

.brand-logo__frame {
  fill: rgba(24, 34, 49, 0.94);
  stroke: rgba(244, 246, 248, 0.86);
  stroke-width: 12;
  stroke-linejoin: round;
}

.brand-logo__blue {
  fill: url(#brandLogoBlue);
}

.brand-logo__yellow {
  fill: url(#brandLogoYellow);
}

.brand-logo__ridge {
  fill: none;
  stroke: rgba(244, 246, 248, 0.72);
  stroke-width: 4;
  stroke-linecap: round;
}

.brand-logo__check-base {
  fill: #f4f6f8;
  stroke: rgba(16, 23, 34, 0.58);
  stroke-width: 7;
  stroke-linejoin: round;
}

.brand-logo__mono-fill {
  fill: currentColor;
  opacity: 0.42;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #101722;
  opacity: 1;
  transition: opacity 420ms ease, visibility 420ms ease;
  pointer-events: none;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__stage {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(620px, 88vw);
}

.preloader__scene {
  width: min(540px, 86vw);
  max-height: 46vh;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.24));
}

.preloader__brand-line {
  stroke-width: 3;
  stroke-dasharray: 170;
  stroke-dashoffset: 170;
  opacity: 0;
  animation: preloaderBrandLine 500ms ease forwards;
}

.preloader__brand-line--blue {
  stroke: var(--blue);
}

.preloader__brand-line--yellow {
  stroke: var(--yellow);
  animation-delay: 80ms;
}

.preloader__car {
  transform-origin: 320px 190px;
  opacity: 1;
  animation: preloaderCarFold 820ms cubic-bezier(0.55, 0, 0.25, 1) 2300ms forwards;
}

.preloader__car-body,
.preloader__car-detail {
  stroke: rgba(244, 246, 248, 0.42);
  stroke-width: 2;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation:
    preloaderDraw 900ms ease 500ms forwards,
    preloaderCarGlow 900ms ease 1400ms forwards;
}

.preloader__car-detail {
  stroke: rgba(151, 163, 181, 0.55);
  stroke-width: 1.5;
  animation-delay: 620ms, 1460ms;
}

.preloader__car-hotspot {
  stroke: rgba(245, 185, 11, 0.18);
  stroke-width: 2;
  opacity: 0;
  animation: preloaderHotspot 680ms ease 1500ms forwards;
}

.preloader__car-hotspot--late {
  animation-delay: 1640ms;
}

.preloader__car-hotspot--light {
  stroke: var(--yellow);
  animation-delay: 1740ms;
}

.preloader__scan-line {
  stroke: var(--blue);
  stroke-width: 3;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(8, 121, 209, 0.72));
  animation: preloaderScan 900ms cubic-bezier(0.66, 0, 0.22, 1) 1400ms forwards;
}

.preloader__labels {
  fill: rgba(244, 246, 248, 0.52);
  font-family: var(--heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.preloader__labels text {
  opacity: 0;
  transform: translateY(6px);
  animation: preloaderLabel 560ms ease 1520ms forwards;
}

.preloader__labels text:nth-child(2) {
  animation-delay: 1730ms;
}

.preloader__labels text:nth-child(3) {
  fill: rgba(245, 185, 11, 0.68);
  animation-delay: 1980ms;
}

.preloader__logo {
  opacity: 0;
  transform: scale(0.86);
  transform-origin: 320px 190px;
  animation: preloaderLogoIn 800ms cubic-bezier(0.2, 0.72, 0.2, 1) 2300ms forwards;
}

.brand-logo--preloader {
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.3));
}

.preloader__copy {
  display: grid;
  justify-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px);
  animation: preloaderCopyIn 500ms ease 3120ms forwards;
}

.preloader__copy strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(1.15rem, 4vw, 1.72rem);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.preloader__copy span {
  color: rgba(244, 246, 248, 0.74);
  font-size: clamp(0.78rem, 2.8vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) auto minmax(250px, 0.9fr);
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 24px clamp(18px, 5vw, 72px);
  transition:
    opacity 360ms ease,
    transform 360ms ease,
    padding 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(244, 246, 248, 0.1);
  background: rgba(16, 23, 34, 0.8);
  backdrop-filter: blur(20px);
}

.brand,
.main-nav a,
.header-cta,
.header-phone,
.mobile-menu-toggle,
.btn,
.floating-contact button {
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.105em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(245, 185, 11, 0.38);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(8, 121, 209, 0.34), rgba(245, 185, 11, 0.08));
  box-shadow: inset 0 0 28px rgba(8, 121, 209, 0.2), 0 0 22px rgba(8, 121, 209, 0.14);
}

.brand-logo--header {
  width: 31px;
  height: 31px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.65vw, 24px);
  color: rgba(244, 246, 248, 0.72);
  font-size: clamp(0.78rem, 0.82vw, 0.85rem);
  font-weight: 700;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 7.5%;
  bottom: 5px;
  width: 85%;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease;
  pointer-events: none;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active::after {
  opacity: 0.72;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  color: rgba(244, 246, 248, 0.76);
  font-size: clamp(0.76rem, 0.82vw, 0.86rem);
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(14px, 1.35vw, 20px);
  border: 1px solid rgba(245, 185, 11, 0.4);
  border-radius: 8px;
  background: rgba(245, 185, 11, 0.1);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 185, 11, 0.8);
  background: rgba(245, 185, 11, 0.18);
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  border: 1px solid rgba(244, 246, 248, 0.18);
  border-radius: 8px;
  background: rgba(24, 34, 49, 0.72);
  place-items: center;
}

.mobile-menu-toggle span {
  position: absolute;
  left: 10px;
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
  transform-origin: center;
  transition:
    top 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mobile-menu-toggle span:first-child {
  top: 14px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 21px;
}

.mobile-menu-toggle span:last-child {
  top: 28px;
}

.mobile-menu-toggle.is-open span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.35);
}

.mobile-menu-toggle.is-open span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.56);
  opacity: 0;
  transition: opacity 260ms ease;
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 76px;
  right: max(16px, 5vw);
  display: grid;
  gap: 4px;
  width: min(390px, 88vw);
  max-height: calc(100dvh - 96px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 23, 34, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate3d(12px, -8px, 0);
  transition: opacity 280ms ease, transform 280ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo--mobile {
  width: 42px;
  height: 42px;
}

.mobile-menu__panel a {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(244, 246, 248, 0.08);
  color: rgba(244, 246, 248, 0.86);
  font-size: 1rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.mobile-menu__panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 52px;
  height: 1px;
  background: rgba(245, 185, 11, 0.72);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.mobile-menu__panel a:hover,
.mobile-menu__panel a:focus-visible {
  color: var(--white);
  background: rgba(245, 185, 11, 0.035);
}

.mobile-menu__panel a:hover::after,
.mobile-menu__panel a:focus-visible::after {
  transform: scaleX(1);
}

.mobile-menu__label {
  margin-top: 10px;
  color: rgba(244, 246, 248, 0.48);
  font-family: var(--heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.mobile-menu__phone {
  min-height: 42px !important;
  color: rgba(245, 185, 11, 0.86) !important;
  font-size: 0.95rem;
}

.mobile-menu__telegram {
  min-height: 42px !important;
  color: rgba(244, 246, 248, 0.66) !important;
  font-size: 0.92rem !important;
}

.mobile-menu__panel .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: visible;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(16, 23, 34, 0.98) 0%, rgba(16, 23, 34, 0.9) 36%, rgba(16, 23, 34, 0.48) 72%, rgba(16, 23, 34, 0.38) 100%),
    url("https://images.pexels.com/photos/3807319/pexels-photo-3807319.jpeg?auto=compress&cs=tinysrgb&w=2400")
      center right / cover no-repeat;
  transform: translate3d(0, 0, 0);
  animation: heroZoom 18s ease-out forwards;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 76% 28%, rgba(8, 121, 209, 0.34), transparent 27%),
    radial-gradient(circle at 72% 70%, rgba(245, 185, 11, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(16, 23, 34, 0.08) 0%, rgba(16, 23, 34, 0.78) 72%, #101722 100%);
}

.hero__grid {
  position: absolute;
  inset: 94px clamp(18px, 5vw, 72px) 74px;
  z-index: 1;
  border: 1px solid rgba(244, 246, 248, 0.1);
  border-width: 0 1px;
  background:
    linear-gradient(rgba(244, 246, 248, 0.07) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(244, 246, 248, 0.06) 1px, transparent 1px) 0 0 / 25% 100%;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
  opacity: 0.65;
}

.diagnostic-car {
  position: absolute;
  right: clamp(16px, 4vw, 68px);
  top: clamp(118px, 19vh, 190px);
  z-index: 1;
  width: min(700px, 52vw);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.diagnostic-car__body,
.diagnostic-car path:not(.diagnostic-car__scan) {
  stroke: rgba(244, 246, 248, 0.23);
  stroke-width: 2;
  filter: drop-shadow(0 0 16px rgba(8, 121, 209, 0.18));
}

.diagnostic-car__body {
  stroke-dasharray: 1500;
  animation: carPulse 4.8s ease-in-out infinite;
}

.diagnostic-car__scan {
  stroke: var(--blue);
  stroke-width: 3;
  filter: drop-shadow(0 0 12px rgba(8, 121, 209, 0.9));
  animation: scanMove 3.6s ease-in-out infinite;
}

.diagnostic-car__scan--delay {
  stroke: var(--yellow);
  animation-delay: 1.4s;
}

.hero__inner,
.section {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  align-items: end;
  gap: clamp(34px, 5vw, 76px);
  min-height: 92vh;
  padding: 98px 0 138px;
}

.hero__content {
  max-width: 820px;
}

.eyebrow,
.section-kicker,
.panel-head span,
.quick-facts dt,
.service-card span,
.process-route article span,
.contact-list span {
  color: var(--muted);
  font-family: var(--heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 0 0 22px;
  padding: 0 14px 0 6px;
  border: 1px solid rgba(244, 246, 248, 0.18);
  border-radius: 999px;
  background: rgba(24, 34, 49, 0.72);
  box-shadow: inset 0 0 24px rgba(8, 121, 209, 0.12);
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #101722;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading);
}

h1 {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(3.55rem, 6.85vw, 7.35rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.gradient-word {
  display: inline-block;
  background:
    linear-gradient(
      105deg,
      #f5b90b 0%,
      #f8d04a 18%,
      #0879d1 45%,
      #0a9be8 55%,
      #f5b90b 82%,
      #0879d1 100%
    );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 22px rgba(8, 121, 209, 0.08);
  animation: brandTextGradient 4.6s ease-in-out infinite;
}

.hero__lead {
  max-width: 630px;
  margin: 26px 0 0;
  color: rgba(244, 246, 248, 0.8);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}

.hero__actions {
  display: grid;
  gap: 12px;
}

.hero__actions--inline {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 21px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), #0b5fac 58%, #063b70);
  box-shadow: 0 18px 46px rgba(8, 121, 209, 0.34), inset 0 1px 0 rgba(244, 246, 248, 0.24);
}

.btn--ghost {
  border: 1px solid rgba(244, 246, 248, 0.22);
  background: rgba(16, 23, 34, 0.62);
  color: rgba(244, 246, 248, 0.9);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary:hover {
  box-shadow: 0 22px 58px rgba(8, 121, 209, 0.42), inset 0 1px 0 rgba(244, 246, 248, 0.3);
}

.btn--ghost:hover {
  border-color: rgba(245, 185, 11, 0.6);
  background: rgba(245, 185, 11, 0.08);
}

.action-panel,
.service-card,
.contacts__panel,
.map-card,
.diagnostic-panel__sheet {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.92), rgba(16, 23, 34, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.action-panel {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.action-panel::before,
.service-card::before,
.contacts__panel::before,
.diagnostic-panel__sheet::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 22px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
}

.panel-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(8, 121, 209, 0.36);
  font-family: var(--heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 0.8;
}

.panel-head {
  display: grid;
  gap: 8px;
  max-width: 320px;
  padding-right: 72px;
}

.panel-head strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.panel-head p {
  margin-bottom: 0;
  color: rgba(244, 246, 248, 0.76);
  font-size: 0.95rem;
  line-height: 1.65;
}

.quick-facts {
  display: grid;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.quick-facts div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.quick-facts dt,
.quick-facts dd {
  margin: 0;
}

.quick-facts dt {
  color: var(--yellow);
}

.quick-facts dd {
  color: rgba(244, 246, 248, 0.88);
  font-weight: 800;
  line-height: 1.35;
}

.hero-specs {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  color: rgba(244, 246, 248, 0.68);
  font-family: var(--heading);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-specs span {
  min-height: 42px;
  padding-top: 14px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.hero-specs span:nth-child(2) {
  text-align: center;
}

.hero-specs span:last-child {
  border-right: 0;
  text-align: center;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 248, 0.08);
}

.advantages-section {
  position: relative;
  top: auto;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
  transform: none;
  animation: none;
  overflow: visible;
}

.advantages-content {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.advantages-content:nth-child(2) {
  transition-delay: 80ms;
}

.advantages-content:nth-child(3) {
  transition-delay: 160ms;
}

.advantages-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 16px clamp(20px, 4vw, 52px);
  background: rgba(16, 23, 34, 0.96);
}

.trust-bar svg {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-bar .brand-logo--trust {
  color: var(--yellow);
}

.trust-bar strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--heading);
  font-size: 1.04rem;
}

.trust-bar span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: clamp(56px, 5vw, 72px) 0;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.section-kicker {
  margin-bottom: 0;
  color: var(--yellow);
}

.section h2 {
  margin-bottom: 0;
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.15rem, 4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
}

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

.service-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent, var(--yellow));
  opacity: 0.55;
}

.service-card span {
  display: block;
  color: rgba(245, 185, 11, 0.55);
  font-size: 1.8rem;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.service-card svg {
  position: absolute;
  top: 28px;
  right: 26px;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-card .brand-logo--service {
  color: var(--blue);
}

.service-card h3 {
  margin: 78px 0 16px;
  font-size: 1.38rem;
  line-height: 1.15;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 185, 11, 0.36);
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.98), rgba(13, 27, 42, 0.96));
}

.service-card:hover span {
  color: var(--yellow);
  text-shadow: 0 0 22px rgba(245, 185, 11, 0.32);
}

.service-card:hover svg {
  opacity: 1;
  transform: translateY(0);
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  overflow: hidden;
}

.about__visual {
  position: relative;
  min-height: 520px;
}

.about__photo {
  position: absolute;
  inset: 44px 0 0 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(16, 23, 34, 0.78), rgba(16, 23, 34, 0.22)),
    url("https://images.pexels.com/photos/3894035/pexels-photo-3894035.jpeg?auto=compress&cs=tinysrgb&w=1600")
      center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about__photo::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(245, 185, 11, 0.24);
  border-radius: 8px;
}

.brand-logo--watermark {
  position: absolute;
  right: max(-28px, -2vw);
  top: -76px;
  z-index: 0;
  width: min(360px, 58%);
  height: auto;
  color: var(--white);
  opacity: 0.075;
  filter: none;
  pointer-events: none;
}

.about__content {
  position: relative;
  isolation: isolate;
}

.about__content > *:not(.brand-logo--watermark) {
  position: relative;
  z-index: 1;
}

.about__content p:not(.section-kicker) {
  max-width: 640px;
  color: rgba(244, 246, 248, 0.76);
  font-size: 1.04rem;
  line-height: 1.8;
}

.process {
  overflow: hidden;
}

.process-route {
  --progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 52px;
}

.process-route__track {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 19px;
  height: 2px;
  background: rgba(244, 246, 248, 0.15);
}

.process-route__track span {
  display: block;
  width: calc(var(--progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  box-shadow: 0 0 24px rgba(8, 121, 209, 0.5);
}

.process-route__car {
  position: absolute;
  top: 7px;
  left: calc(5% + var(--progress) * 90%);
  width: 36px;
  height: 24px;
  transform: translateX(-50%);
  color: var(--yellow);
  filter: drop-shadow(0 0 12px rgba(245, 185, 11, 0.45));
}

.process-route__car svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.process-route article {
  min-height: 210px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 34, 49, 0.62);
}

.process-route article span {
  color: var(--blue);
}

.process-route article strong {
  display: block;
  margin: 18px 0 12px;
  font-family: var(--heading);
  font-size: 1.3rem;
}

.process-route article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  padding-bottom: 72px;
}

.contacts__panel {
  position: relative;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
}

.contacts__panel h2 {
  font-size: clamp(2rem, 3vw, 3.6rem);
}

.brand-logo--contact {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 72px;
  height: 72px;
  opacity: 0.9;
}

.contact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 32px 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list a,
.contact-list strong {
  color: var(--white);
  font-size: 1.05rem;
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 44%, rgba(8, 121, 209, 0.34), transparent 18rem),
    linear-gradient(180deg, rgba(24, 34, 49, 0.96), rgba(13, 19, 29, 0.96));
}

.map-card__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 246, 248, 0.07) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(244, 246, 248, 0.06) 1px, transparent 1px) 0 0 / 72px 72px;
  transform: rotate(-8deg) scale(1.2);
}

.map-card__road {
  position: absolute;
  height: 18px;
  border-radius: 999px;
  background: rgba(244, 246, 248, 0.08);
}

.map-card__road--one {
  left: -8%;
  top: 48%;
  width: 116%;
  transform: rotate(-17deg);
}

.map-card__road--two {
  left: 15%;
  top: 16%;
  width: 74%;
  transform: rotate(45deg);
}

.map-card__marker {
  position: absolute;
  left: 52%;
  top: 46%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(245, 185, 11, 0.42);
  border-radius: 999px;
  background: rgba(16, 23, 34, 0.82);
  box-shadow: 0 0 0 18px rgba(8, 121, 209, 0.09), 0 0 46px rgba(8, 121, 209, 0.38);
  transform: translate(-50%, -50%);
}

.brand-logo--map {
  width: 58px;
  height: 58px;
}

.map-card > span {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: rgba(244, 246, 248, 0.82);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

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

.brand-logo--footer {
  width: 54px;
  height: 54px;
}

.site-footer strong {
  display: block;
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-footer span,
.site-footer a {
  color: rgba(244, 246, 248, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(342px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid rgba(244, 246, 248, 0.18);
  border-radius: 8px;
  background: rgba(16, 23, 34, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.floating-contact span {
  flex: 1;
  color: rgba(244, 246, 248, 0.86);
  font-weight: 800;
}

.floating-contact button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--white);
  color: var(--bg);
  font-size: 0.84rem;
  font-weight: 900;
}

.diagnostic-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.diagnostic-panel.is-open {
  visibility: visible;
  pointer-events: auto;
}

.diagnostic-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.72);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 220ms ease;
}

.diagnostic-panel.is-open .diagnostic-panel__backdrop {
  opacity: 1;
}

.diagnostic-panel__sheet {
  position: absolute;
  top: 50%;
  right: clamp(16px, 5vw, 72px);
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 32px;
  transform: translate(24px, -50%);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
}

.brand-logo--form {
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
}

.diagnostic-panel.is-open .diagnostic-panel__sheet {
  transform: translate(0, -50%);
  opacity: 1;
}

.diagnostic-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 23, 34, 0.72);
  color: var(--white);
}

.diagnostic-panel__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.diagnostic-panel__sheet h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.diagnostic-form {
  display: grid;
  gap: 14px;
}

.diagnostic-form label {
  display: grid;
  gap: 7px;
}

.diagnostic-form label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.diagnostic-form input,
.diagnostic-form select,
.diagnostic-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 246, 248, 0.14);
  border-radius: 8px;
  background: rgba(16, 23, 34, 0.72);
  color: var(--white);
  outline: 0;
}

.diagnostic-form input,
.diagnostic-form select {
  min-height: 52px;
  padding: 0 14px;
}

.diagnostic-form textarea {
  resize: vertical;
  padding: 14px;
}

.diagnostic-form input:focus,
.diagnostic-form select:focus,
.diagnostic-form textarea:focus {
  border-color: rgba(8, 121, 209, 0.72);
  box-shadow: 0 0 0 3px rgba(8, 121, 209, 0.16);
}

.btn--submit {
  position: relative;
}

.brand-logo--button {
  width: 24px;
  height: 24px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 180ms ease, transform 180ms ease;
}

.btn--submit.is-loading .brand-logo--button {
  opacity: 1;
  transform: scale(1);
  animation: buttonLogoPulse 840ms ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 760ms ease forwards;
}

.reveal--delay {
  animation-delay: 170ms;
}

.reveal--late {
  animation-delay: 300ms;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes brandTextGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes carPulse {
  0%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0.58;
  }
  50% {
    stroke-dashoffset: 48;
    opacity: 1;
  }
}

@keyframes scanMove {
  0%,
  100% {
    transform: translateX(-120px);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  50% {
    transform: translateX(180px);
  }
}

@keyframes buttonLogoPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes preloaderBrandLine {
  0% {
    opacity: 0;
    stroke-dashoffset: 170;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes preloaderDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes preloaderScan {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  12%,
  84% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(450px);
  }
}

@keyframes preloaderHotspot {
  0% {
    opacity: 0;
    stroke-width: 1.5;
  }
  52% {
    opacity: 1;
    stroke-width: 3;
  }
  100% {
    opacity: 0.34;
    stroke-width: 2;
  }
}

@keyframes preloaderCarGlow {
  0%,
  100% {
    stroke: rgba(244, 246, 248, 0.42);
  }
  50% {
    stroke: rgba(8, 121, 209, 0.86);
  }
}

@keyframes preloaderLabel {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  35%,
  84% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-2px);
  }
}

@keyframes preloaderCarFold {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  58% {
    opacity: 0.36;
    transform: scale(0.82) translateY(-10px);
  }
  to {
    opacity: 0;
    transform: scale(0.72) translateY(-16px);
  }
}

@keyframes preloaderLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes preloaderCopyIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .header-phone,
  .header-cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 112px;
    padding-bottom: 116px;
  }

  .action-panel {
    width: min(100%, 620px);
  }

  .diagnostic-car {
    top: 19%;
    width: 75vw;
    opacity: 0.72;
  }

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

  .process-route__track,
  .process-route__car {
    display: none;
  }

  .about,
  .contacts {
    grid-template-columns: 1fr;
  }

  .about__visual {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    gap: 14px;
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
    font-size: 0.74rem;
    letter-spacing: 0.055em;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo--header {
    width: 29px;
    height: 29px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-phone {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(16, 23, 34, 0.9) 0%, rgba(16, 23, 34, 0.84) 46%, rgba(16, 23, 34, 0.98) 100%),
      url("https://images.pexels.com/photos/3807319/pexels-photo-3807319.jpeg?auto=compress&cs=tinysrgb&w=1200")
        center right / cover no-repeat;
  }

  .hero__grid {
    inset: 74px 16px 64px;
    background:
      linear-gradient(rgba(244, 246, 248, 0.06) 1px, transparent 1px) 0 0 / 100% 20%,
      linear-gradient(90deg, rgba(244, 246, 248, 0.05) 1px, transparent 1px) 0 0 / 50% 100%;
  }

  .diagnostic-car {
    right: 8px;
    top: 112px;
    width: min(440px, 88vw);
    opacity: 0.2;
  }

  .hero__inner,
  .section {
    width: min(100% - 32px, 640px);
  }

  .hero__inner {
    min-height: auto;
    padding: 88px 0 96px;
    gap: 18px;
  }

  h1 {
    font-size: clamp(2.28rem, 10.65vw, 3.2rem);
    line-height: 0.96;
  }

  .hero__lead {
    max-width: 34ch;
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions--inline {
    margin-top: 24px;
  }

  .hero__actions--inline,
  .contacts__actions {
    display: grid;
  }

  .action-panel {
    padding: 15px;
  }

  .panel-number {
    font-size: 2.45rem;
  }

  .panel-head {
    padding-right: 44px;
  }

  .panel-head strong {
    font-size: 1.16rem;
  }

  .panel-head p,
  .quick-facts dd {
    font-size: 0.92rem;
  }

  .quick-facts {
    margin-top: 14px;
  }

  .quick-facts div {
    min-height: 46px;
  }

  .hero-specs {
    left: 16px;
    right: 16px;
    bottom: 10px;
    grid-template-columns: 1fr;
    font-size: 0.76rem;
  }

  .hero-specs span,
  .hero-specs span:nth-child(2),
  .hero-specs span:last-child {
    min-height: 28px;
    padding-top: 7px;
    border-right: 0;
    text-align: left;
  }

  .trust-bar,
  .service-grid,
  .process-route {
    grid-template-columns: 1fr;
  }

  .advantages-content,
  .advantages-content:nth-child(2),
  .advantages-content:nth-child(3) {
    opacity: 1;
    transform: none;
    transition: opacity 320ms ease;
    transition-delay: 0ms;
    will-change: auto;
  }

  .trust-bar__item {
    min-height: 0;
    padding: 13px 16px;
    gap: 12px;
  }

  .trust-bar svg {
    width: 30px;
    height: 30px;
  }

  .trust-bar strong {
    margin-bottom: 4px;
    font-size: 0.98rem;
  }

  .trust-bar span {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .section {
    padding: 46px 0;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .section h2 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
    line-height: 1.02;
  }

  .service-card {
    min-height: 0;
    padding: 20px;
  }

  .service-card span {
    font-size: 1.55rem;
  }

  .service-card svg {
    top: 22px;
    right: 20px;
    width: 34px;
    height: 34px;
  }

  .service-card h3 {
    margin: 34px 0 10px;
    font-size: 1.24rem;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .service-card::after {
    inset: auto 18px 16px 18px;
  }

  .process-route {
    position: relative;
    gap: 10px;
    padding-top: 0;
  }

  .process-route::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: linear-gradient(180deg, var(--blue), var(--yellow));
    opacity: 0.42;
  }

  .process-route article {
    position: relative;
    min-height: auto;
    padding: 18px 18px 18px 56px;
  }

  .process-route article::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 26px;
    width: 13px;
    height: 13px;
    border: 1px solid rgba(245, 185, 11, 0.72);
    border-radius: 999px;
    background: var(--bg);
    box-shadow: 0 0 0 4px rgba(8, 121, 209, 0.1);
  }

  .process-route article strong {
    margin: 10px 0 8px;
    font-size: 1.16rem;
  }

  .process-route article p {
    font-size: 0.94rem;
  }

  .about__visual {
    min-height: 270px;
  }

  .about__photo {
    inset: 0;
  }

  .brand-logo--watermark {
    top: -34px;
    right: -6px;
    width: 190px;
    opacity: 0.05;
  }

  .about {
    gap: 24px;
  }

  .about__content p:not(.section-kicker) {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .contacts {
    gap: 12px;
    padding-bottom: 36px;
  }

  .contacts__panel {
    padding: 22px 18px;
  }

  .contacts__panel h2 {
    padding-right: 54px;
    font-size: clamp(1.55rem, 7.4vw, 2rem);
  }

  .brand-logo--contact {
    width: 48px;
    height: 48px;
    top: 18px;
    right: 18px;
    opacity: 0.78;
  }

  .contact-list {
    gap: 12px;
    margin: 22px 0;
  }

  .contact-list li {
    padding-bottom: 12px;
  }

  .contact-list a,
  .contact-list strong {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .contacts__actions {
    gap: 10px;
  }

  .map-card {
    min-height: 224px;
  }

  .map-card__grid {
    inset: 0;
    transform: none;
  }

  .map-card__road--one {
    left: 0;
    width: 100%;
  }

  .map-card__road--two {
    left: 18%;
    width: 64%;
  }

  .map-card__marker {
    width: 70px;
    height: 70px;
  }

  .brand-logo--map {
    width: 48px;
    height: 48px;
  }

  .site-footer {
    display: grid;
    width: min(100% - 32px, 640px);
    margin-top: 0;
    gap: 14px;
    padding: 22px 0 24px;
  }

  .floating-contact {
    right: 12px;
    bottom: 8px;
    width: min(330px, calc(100vw - 24px));
    padding: 6px;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
  }

  body.is-mobile-cta-visible .floating-contact {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.is-menu-open .floating-contact,
  body.is-panel-open .floating-contact {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
  }

  .floating-contact span {
    font-size: 0.88rem;
  }

  .floating-contact button {
    min-height: 38px;
    padding: 0 12px;
  }

  .diagnostic-panel__sheet {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 26px 18px 18px;
    transform: translateY(22px);
  }

  .brand-logo--form {
    width: 52px;
    height: 52px;
  }

  .diagnostic-panel.is-open .diagnostic-panel__sheet {
    transform: translateY(0);
  }
}

@media (max-width: 340px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero__inner,
  .section,
  .site-footer {
    width: min(100% - 28px, 640px);
  }

  .hero-specs {
    left: 14px;
    right: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 0.7rem;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand-logo--header {
    width: 27px;
    height: 27px;
  }

  .hero__inner {
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(2.12rem, 10.4vw, 2.28rem);
  }

  .btn {
    min-height: 50px;
  }

  .mobile-menu__panel {
    right: 14px;
    width: calc(100vw - 28px);
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand span:last-child {
    max-width: 152px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .panel-head {
    padding-right: 0;
  }

  .panel-number {
    display: none;
  }

}
