@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/montserrat-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0f588b;
  --blue-dark: #0b3f66;
  --ink: #101922;
  --muted: #66727e;
  --line: #dce2e7;
  --soft: #f3f5f6;
  --white: #ffffff;
  --shell: min(94vw, 1760px);
  --header: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: clamp(88px, 9vw, 154px) 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 25, 34, 0.09);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 36px rgba(16, 25, 34, 0.08);
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand img {
  width: 178px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 46px);
}

.desktop-nav a,
.phone-link {
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.phone-link:hover {
  color: var(--blue);
}

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

.header-cta,
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta,
.button--primary {
  color: var(--white);
  background: var(--blue);
}

.header-cta:hover,
.button--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.header-cta svg,
.button svg {
  width: 17px;
  height: 17px;
}

.button--secondary {
  color: var(--ink);
  background: transparent;
  border-color: #bdc6cc;
}

.button--secondary:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.button--light {
  color: var(--blue);
  background: var(--white);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 6px;
}

.mobile-menu {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-105%);
  visibility: hidden;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), visibility 360ms;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__top img {
  width: 166px;
}

.menu-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 6px;
}

.mobile-menu nav {
  align-self: center;
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 800;
  line-height: 1;
}

.mobile-menu nav span {
  color: var(--blue);
  font-size: 11px;
}

.mobile-menu__catalog {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  font-weight: 600;
}

.hero {
  min-height: 100svh;
  padding-top: var(--header);
  display: grid;
  grid-template-columns: minmax(450px, 42%) 1fr;
  background: var(--soft);
}

.hero__copy-wrap {
  display: flex;
  align-items: center;
  padding: clamp(54px, 6vw, 104px) clamp(34px, 5vw, 90px);
}

.hero__copy {
  width: min(100%, 680px);
  margin-left: auto;
}

.eyebrow,
.section-label,
.hero__media-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  width: 32px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1,
.section-heading h2,
.quality h2,
.fitment h2,
.warehouse-real h3,
.ozon-band h3 {
  margin: 0;
  font-weight: 800;
  line-height: 0.94;
}

.hero h1 {
  margin-top: 30px;
  font-size: clamp(74px, 6.8vw, 108px);
}

.hero__lead {
  margin: 28px 0 0;
  color: var(--blue);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
}

.hero__text {
  max-width: 580px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(44px, 7vh, 76px);
  padding-top: 22px;
  border-top: 1px solid #cdd4d8;
}

.hero__stats div {
  display: grid;
  gap: 2px;
}

.hero__stats strong {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1;
}

.hero__stats span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  min-height: calc(100svh - var(--header));
  overflow: hidden;
  background: #e5e9ec;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(243, 245, 246, 0.16), transparent 22%);
}

.hero__media-label {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.video-control {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(15, 88, 139, 0.92);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.system-strip {
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.system-strip__track {
  width: max-content;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline: 28px;
  animation: ticker 34s linear infinite;
}

.system-strip span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.system-strip i {
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.section-heading--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.7fr);
  align-items: end;
}

.section-heading h2,
.quality h2,
.fitment h2 {
  margin-top: 26px;
  font-size: clamp(44px, 5.6vw, 94px);
}

.section-heading > p,
.section-heading--split > p,
.section-heading__actions p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid article {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.about-grid article:last-child {
  border-right: 0;
}

.about-grid span,
.category-card__top span,
.quality-grid span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.about-grid h3,
.quality-grid h3 {
  margin: 62px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.about-grid p,
.quality-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-media {
  position: relative;
  margin: 70px 0 0;
  overflow: hidden;
  background: #e8ebed;
  border-radius: 8px;
}

.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7.7;
  object-fit: cover;
}

.about-media figcaption,
.warehouse-wide figcaption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 420px;
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
}

.about-media figcaption span,
.warehouse-wide figcaption span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.about-media figcaption strong,
.warehouse-wide figcaption strong {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.12;
}

.products,
.geography,
.where-buy,
.catalog-search {
  background: var(--soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 62px;
}

.category-card {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.category-card--wide {
  grid-column: span 1;
}

.category-card:hover {
  z-index: 2;
  border-color: rgba(15, 88, 139, 0.45);
  box-shadow: 0 18px 48px rgba(16, 25, 34, 0.1);
  transform: translateY(-6px);
}

.category-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.category-card__top small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.category-card__copy {
  padding-top: 22px;
}

.category-card h3 {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 32px);
  font-weight: 800;
  line-height: 1.02;
}

.category-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.category-card__media {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-self: end;
  padding: 20px 10px 8px;
}

.category-card__media img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  transition: transform 260ms ease;
}

.category-card:hover .category-card__media img {
  transform: scale(1.025);
}

.category-card > svg {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 17px;
  height: 17px;
}

.catalog-cta {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  padding: 28px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-cta div {
  display: grid;
  gap: 5px;
}

.catalog-cta span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.catalog-cta strong {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
}

.quality {
  padding: clamp(96px, 10vw, 166px) 0;
  color: var(--white);
  background: var(--ink);
}

.section-label--light {
  color: #8dc1e3;
}

.quality__heading {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr;
  gap: 60px;
  align-items: end;
}

.quality__heading .section-label {
  grid-column: 1 / -1;
}

.quality__heading h2 {
  margin-top: 0;
}

.quality__heading p {
  margin: 0;
  color: #aab4bd;
  font-size: clamp(15px, 1.2vw, 18px);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.quality-grid article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.quality-grid article:last-child {
  border-right: 0;
}

.quality-grid span {
  color: #8dc1e3;
}

.quality-grid h3 {
  margin-top: 72px;
}

.quality-grid p {
  color: #aab4bd;
}

.map-stage {
  position: relative;
  min-height: 680px;
  margin-top: 60px;
  overflow: hidden;
  background: #eef1f2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-stage__summary {
  position: absolute;
  z-index: 5;
  top: 28px;
  left: 28px;
  width: 340px;
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--white);
  border-radius: 4px;
}

.map-stage__summary span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.map-stage__summary strong {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.05;
  overflow-wrap: break-word;
}

.map-stage__summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.russia-map {
  position: absolute;
  inset: 3% 2% 0 13%;
}

.map-canvas {
  position: absolute;
  inset: 0;
}

.map-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(29%) sepia(42%) saturate(1379%) hue-rotate(163deg) brightness(89%);
}

.map-city {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.map-city i {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: var(--white);
  border: 4px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(15, 88, 139, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-city span {
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 25, 34, 0.12);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.map-city:hover i,
.map-city:focus-visible i,
.map-city.is-active i {
  transform: scale(1.25);
  box-shadow: 0 0 0 13px rgba(15, 88, 139, 0.14);
}

.map-city:hover span,
.map-city:focus-visible span,
.map-city.is-active span {
  opacity: 1;
  transform: translateX(0);
}

.map-city--spb { left: 27%; top: 47%; }
.map-city--moscow { left: 31%; top: 56%; }
.map-city--krasnodar { left: 27%; top: 69%; }
.map-city--kazan { left: 38%; top: 56%; }
.map-city--ekb { left: 48%; top: 56%; }
.map-city--novosib { left: 59%; top: 61%; }
.map-city--vlad { left: 84%; top: 68%; }

.map-tooltip {
  position: absolute;
  z-index: 3;
  right: 2%;
  top: 10%;
  width: 250px;
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: transform 200ms ease, opacity 200ms ease, visibility 200ms ease;
}

.map-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.map-tooltip.is-visible.is-updated {
  transform: translateY(-4px);
}

.map-tooltip small {
  color: #8dc1e3;
  font-size: 9px;
  text-transform: uppercase;
}

.map-tooltip strong {
  font-size: 21px;
  line-height: 1.1;
}

.map-tooltip span {
  color: #aab4bd;
  font-size: 11px;
}

.section-heading__actions {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.warehouse-wide {
  position: relative;
  margin: 64px 0 0;
  overflow: hidden;
  background: #e7eaec;
  border-radius: 8px;
}

.warehouse-wide > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7.7;
  object-fit: cover;
}

.warehouse-real {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr) minmax(260px, 0.7fr);
  gap: 12px;
  margin-top: 12px;
}

.warehouse-real figure {
  margin: 0;
  min-height: 500px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 8px;
}

.warehouse-real figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warehouse-real__copy {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 4vw, 70px);
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
}

.warehouse-real__copy > span {
  margin-bottom: auto;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.warehouse-real__copy h3 {
  font-size: clamp(30px, 3.3vw, 56px);
}

.warehouse-real__copy p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 60px;
}

.distributor-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.distributor-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.distributor-card > svg {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 17px;
}

.distributor-card small {
  color: var(--muted);
  font-size: 11px;
}

.distributor-card img {
  width: 185px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.wordmark-autodoc,
.wordmark-emex,
.wordmark-berg {
  font-size: clamp(25px, 2.7vw, 44px);
  font-weight: 800;
  line-height: 1;
}

.wordmark-autodoc { color: #253848; }
.wordmark-emex { color: #e9a313; }
.wordmark-berg { color: #7f8b95; }

.ozon-band {
  min-height: 330px;
  display: grid;
  grid-template-columns: 0.6fr 1.2fr auto;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  margin-top: 70px;
  padding: clamp(34px, 5vw, 80px);
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
}

.ozon-band__mark {
  display: flex;
  align-items: center;
}

.ozon-band__mark img {
  width: clamp(180px, 24vw, 360px);
  height: auto;
  filter: brightness(0) invert(1);
}

.ozon-band > div:nth-child(2) > span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.ozon-band h3 {
  margin-top: 15px;
  font-size: clamp(30px, 3.6vw, 62px);
}

.ozon-band p {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.fitment {
  background: var(--white);
}

.fitment__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 1.15fr);
  gap: clamp(50px, 8vw, 150px);
  align-items: start;
}

.fitment__intro h2 {
  margin-top: 26px;
  font-size: clamp(44px, 4.4vw, 76px);
}

.fitment__intro p {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
}

.fitment-tool,
.search-tool {
  padding: clamp(28px, 4vw, 54px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fitment-tool__top {
  display: grid;
  gap: 8px;
}

.fitment-tool__top span,
.fitment-tool label {
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.fitment-tool__top strong {
  font-size: 24px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 30px;
}

.brand-grid button,
.search-hints button {
  min-height: 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.brand-grid button:hover,
.brand-grid button.is-selected {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.fitment-tool label {
  display: block;
  margin-top: 28px;
}

.fitment-tool input {
  width: 100%;
  height: 54px;
  margin-top: 8px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.fitment-tool input:focus {
  border-color: var(--blue);
}

.fitment-tool__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.fitment-tool__actions > span {
  color: var(--muted);
  font-size: 12px;
}

.fitment-tool__actions button,
.search-tool form button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.fitment-tool__actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.search-tool {
  margin-top: 54px;
}

.search-tool form {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 12px 12px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-tool form > svg {
  width: 22px;
  color: var(--blue);
}

.search-tool form input {
  min-width: 0;
  height: 50px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 16px;
}

.search-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.search-hints span {
  margin-right: 6px;
  color: var(--muted);
  font-size: 11px;
}

.search-hints button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.search-results {
  display: grid;
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-result {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result div {
  display: grid;
  gap: 3px;
}

.search-result small {
  color: var(--blue);
}

.search-result > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.search-status {
  margin: 0;
  padding: 20px;
}

.text-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.socials {
  color: var(--white);
  background: var(--ink);
}

.socials .section-label {
  color: #8dc1e3;
}

.socials .section-heading > p {
  color: #aab4bd;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 60px;
}

.social-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  transition: transform 180ms ease;
}

.social-card:not(.social-card--pending):hover {
  transform: translateY(-5px);
}

.social-card img {
  width: 50px;
  height: 50px;
}

.social-card span,
.social-card b {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.social-card > svg {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 17px;
}

.social-card small {
  color: var(--muted);
  font-size: 10px;
}

.social-card--pending {
  opacity: 0.65;
}

.social-card--rutube {
  color: var(--white);
  background: #ed143b;
}

.social-card--rutube span {
  font-size: 12px;
  font-weight: 400;
}

.social-note {
  margin: 18px 0 0;
  color: #7f8991;
  font-size: 10px;
}

.footer {
  padding: 54px 0 24px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer__top img {
  width: 180px;
}

.footer__top nav {
  justify-self: center;
  display: flex;
  gap: 30px;
  font-size: 12px;
}

.footer__top > a {
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1260px) {
  :root { --shell: min(94vw, 1180px); }
  .desktop-nav { gap: 20px; }
  .phone-link { display: none; }
  .hero { grid-template-columns: 47% 1fr; }
  .hero h1 { font-size: clamp(70px, 8vw, 102px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card { min-height: 470px; }
  .distributor-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --header: 72px; }
  .desktop-nav, .site-header__actions { display: none; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .brand img { width: 160px; height: 50px; }
  .menu-toggle { display: grid; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .hero__copy-wrap { min-height: calc(78svh - var(--header)); padding: 64px 4vw; }
  .hero__copy { width: var(--shell); margin-inline: auto; }
  .hero__media { min-height: 58vw; }
  .section-heading--split, .quality__heading { grid-template-columns: 1fr; }
  .section-heading--split > p, .quality__heading p { max-width: 680px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-grid article:last-child { border-bottom: 0; }
  .about-grid h3 { margin-top: 40px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid article:nth-child(2) { border-right: 0; }
  .quality-grid article:nth-child(-n + 2) { border-bottom: 1px solid rgba(255,255,255,.17); }
  .map-stage { min-height: 600px; }
  .russia-map { inset: 16% -3% 0 2%; }
  .map-tooltip { top: auto; right: 18px; bottom: 18px; }
  .warehouse-real { grid-template-columns: 1fr 1fr; }
  .warehouse-real__copy { grid-column: 1 / -1; grid-row: 2; min-height: 380px; }
  .warehouse-real figure { min-height: 500px; }
  .ozon-band { grid-template-columns: 1fr; }
  .fitment__layout { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr auto; }
  .footer__top nav { display: none; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 32px); }
  .site-header, .mobile-menu { width: 100dvw; }
  .section { padding: 76px 0; }
  .hero__copy-wrap { min-height: auto; padding: 54px 16px 48px; }
  .hero h1 { margin-top: 22px; font-size: clamp(58px, 18vw, 78px); }
  .hero__lead { font-size: 20px; }
  .hero__actions { display: grid; }
  .hero__actions .button { width: 100%; }
  .hero__stats { gap: 10px; }
  .hero__stats strong { font-size: 22px; }
  .hero__stats span { font-size: 8px; }
  .hero__media { min-height: 76vw; }
  .hero__media-label { display: none; }
  .section-heading h2, .quality h2, .fitment h2 {
    font-size: clamp(34px, 10.5vw, 48px);
    overflow-wrap: break-word;
  }
  .about-grid { margin-top: 44px; }
  .about-media { margin-top: 44px; }
  .about-media img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .about-media figcaption { position: static; max-width: none; border-radius: 0; }
  .warehouse-wide > img { height: auto; aspect-ratio: 4 / 3; }
  .warehouse-wide figcaption { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .product-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .category-card { min-height: 460px; }
  .category-card__media img { height: 240px; }
  .catalog-cta { align-items: flex-start; flex-direction: column; }
  .catalog-cta .button { width: 100%; }
  .quality-grid { grid-template-columns: 1fr; }
  .quality-grid article { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .quality-grid article:last-child { border-bottom: 0; }
  .quality-grid h3 { margin-top: 44px; }
  .map-stage { min-height: 0; margin-top: 40px; padding: 16px; }
  .map-stage__summary { position: static; width: 100%; padding: 18px; }
  .map-stage__summary strong { font-size: 22px; }
  .russia-map { position: relative; inset: auto; margin-top: 16px; }
  .map-canvas { position: relative; inset: auto; aspect-ratio: 1.62 / 1; }
  .map-city span { display: none; }
  .map-city--spb { left: 28%; top: 50%; }
  .map-city--moscow { left: 32%; top: 58%; }
  .map-city--krasnodar { left: 28%; top: 70%; }
  .map-city--kazan { left: 39%; top: 58%; }
  .map-city--ekb { left: 49%; top: 58%; }
  .map-city--novosib { left: 60%; top: 62%; }
  .map-city--vlad { left: 82%; top: 68%; }
  .map-tooltip { position: relative; inset: auto; width: 100%; display: none; margin-top: 12px; padding: 15px; }
  .map-tooltip.is-visible { display: grid; }
  .warehouse-real { grid-template-columns: 1fr; }
  .warehouse-real figure { min-height: 420px; }
  .warehouse-real__copy { grid-column: auto; grid-row: auto; min-height: 360px; }
  .distributor-grid { grid-template-columns: 1fr; }
  .ozon-band { margin-top: 44px; padding: 32px 22px; }
  .ozon-band__mark img { width: min(240px, 70vw); }
  .ozon-band .button { width: 100%; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .fitment-tool { padding: 22px 16px; }
  .fitment-tool__actions { align-items: stretch; flex-direction: column; }
  .search-tool { padding: 16px; }
  .search-tool form { grid-template-columns: auto 1fr; }
  .search-tool form button { grid-column: 1 / -1; width: 100%; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 180px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__top > a { margin-top: 18px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
