﻿:root {
  --bg: #ececef;
  --surface: #e2e4e9;
  --card: #f3f4f7;
  --white: #ffffff;
  --text: #11151c;
  --muted: #6b7380;
  --accent: #ff4f17;
  --accent-dark: #e84712;
  --border: #d0d4dc;
  --radius-lg: 12px;
  --radius-md: 8px;
  --covers-panel-height: 540px;
  --container: min(1240px, 94vw);
  --shadow-soft: 0 10px 28px rgba(24, 29, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-top: 72px;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eaedf2;
  backdrop-filter: blur(10px);
  transition: transform 0.28s ease;
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-logo-img {
  display: block;
  height: 38px;
  width: auto;
}

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

.main-nav a {
  text-decoration: none;
  color: #222a35;
  font-size: 1.08rem;
  font-weight: 700;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #111922;
}

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

.header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--muted);
}

.header-contacts a {
  text-decoration: none;
  color: #161b23;
  font-weight: 800;
  transition: color 0.2s ease;
}

.header-contacts a:hover,
.header-contacts a:focus-visible {
  color: var(--accent);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.messenger-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.messenger-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.messenger-icon-image {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.max-logo-image {
  filter: none;
}

.hero-contact-line .max-logo-image,
.footer-messenger-link .max-logo-image {
  filter: brightness(0) invert(1) contrast(1.05);
}

.header-contacts .social-link {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d4dbe6;
  background: #f2f4f8;
  color: #1a2433;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-contacts .social-link:hover,
.header-contacts .social-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  min-height: 640px;
  margin-bottom: 40px;
}

.hero-image-wrap,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.46) 42%, rgba(0, 0, 0, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-top: 124px;
  padding-bottom: 80px;
}

.hero-eyebrow {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  margin: 18px 0 0;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 860px;
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.hero-sub span {
  position: relative;
}

.hero-sub span + span::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  transform: translateY(-50%);
}

.hero-contact-line {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-contact-line span,
.hero-contact-line a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-contact-line a {
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-contact-line .social-link {
  width: 42px;
  padding: 10px 0;
}

.hero-contact-line .messenger-icon-link {
  width: 42px;
  padding: 10px 0;
}

.hero-contact-line a:hover,
.hero-contact-line a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.hero-consult {
  margin: 20px 0 0;
  display: inline-block;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-consult:hover,
.hero-consult:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 79, 23, 0.34);
}

.section {
  margin-bottom: 34px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}

.section-head h2,
.covers-section h2,
.params-section h2 {
  margin: 0;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: clamp(1.7rem, 2.9vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.controls {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: #191d24;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--accent);
}

.carousel-window {
  overflow: hidden;
}

.brands-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 1fr);
  gap: 14px;
  transition: transform 0.45s ease;
}

.brand-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid #d9dde5;
  min-height: 178px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-2px);
  border-color: #bfc8d5;
  box-shadow: 0 10px 20px rgba(24, 32, 44, 0.12);
}

.brand-card:focus-visible {
  outline: 2px solid rgba(255, 79, 23, 0.55);
  outline-offset: 2px;
}

.brand-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
}

.brand-card p {
  margin: 10px 0 0;
  font-size: 1.07rem;
  font-weight: 700;
}

.features-strip {
  background: linear-gradient(180deg, #dfe2e8 0%, #d9dde4 100%);
  padding: 18px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.feature {
  background: #eceff4;
  border-radius: var(--radius-md);
  border: 1px solid #d2d8e1;
  padding: 14px 10px;
  text-align: center;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #1f2530;
  display: grid;
  place-items: center;
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.flag-icon {
  overflow: hidden;
}

.feature-icon.flag-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-icon.year-icon {
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}

.covers-section,
.params-section,
.brands-section {
  background: transparent;
}

.kicker {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #616978;
}

.covers-sub {
  margin: 10px 0 0;
  color: #4f5764;
  font-size: 1.02rem;
}

.covers-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(290px, 0.95fr) 1.05fr;
  gap: 16px;
  align-items: stretch;
}

.covers-slider-wrap {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid #d8dde5;
  padding: 12px;
  height: var(--covers-panel-height);
}

.covers-window {
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.covers-frame {
  height: 100%;
  background: #d6dbe3;
  border-radius: 8px;
  overflow: hidden;
}

.covers-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.covers-slider-wrap.is-switching .covers-frame img {
  opacity: 0.28;
  transform: scale(0.985);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.slider-btn.prev {
  left: 22px;
}

.slider-btn.next {
  right: 22px;
}

.models-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid #d8dde5;
  padding: 12px;
  height: var(--covers-panel-height);
  display: flex;
  flex-direction: column;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.models-card.is-switching {
  opacity: 0.32;
  transform: translateY(6px);
}

.models-card h3 {
  margin: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff621f, #ff7b35);
  color: #fff;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
  padding: 10px 14px;
}

.models-columns {
  margin-top: 10px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.models-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.models-columns li {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 4px 0;
  border-bottom: 1px dashed #c4cbd6;
  text-transform: uppercase;
}

.market-btn {
  min-width: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 24, 34, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  cursor: pointer;
}

.market-btn.wb {
  background: linear-gradient(140deg, #ff2d62, #8d45ff);
}

.market-btn.ozon {
  background: linear-gradient(140deg, #0d65ff, #01a8ff);
}

.market-btn:hover,
.market-btn:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(18, 24, 34, 0.32);
  filter: saturate(1.1) brightness(1.05);
}

.covers-contact {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8dde5;
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
}

.covers-contact-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.covers-contact-title {
  margin: 0;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
}

.covers-marketplace-inline {
  align-self: center;
  justify-self: end;
}

.covers-marketplace-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.covers-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.covers-contact-line a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #c9cfda;
  background: #fff;
  color: #11151c;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.covers-contact-line .messenger-icon-link {
  width: 44px;
  justify-content: center;
  padding: 10px 0;
}

.covers-contact-line a:hover,
.covers-contact-line a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

body.modal-open {
  overflow: hidden;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.request-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.24s ease, visibility 0s;
}

.request-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(10, 14, 21, 0.6);
  cursor: pointer;
}

.request-modal-dialog {
  position: relative;
  width: min(560px, 92vw);
  margin: 0;
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #d5dbe5;
  background: #f2f4f8;
  box-shadow: 0 28px 50px rgba(14, 20, 30, 0.34);
  z-index: 1;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.request-modal.is-open .request-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.request-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: #25303f;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.request-modal-dialog h3 {
  margin: 0;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.request-form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.request-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.request-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #263141;
}

.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  height: 42px;
  border: 1px solid #c9d0db;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #161d28;
  background: #fff;
  font-family: inherit;
}

.request-field textarea {
  height: auto;
  min-height: 84px;
  resize: vertical;
  padding: 10px 12px;
}

.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  outline: none;
  border-color: #ff6a2c;
  box-shadow: 0 0 0 3px rgba(255, 106, 44, 0.18);
}

.request-field-full {
  grid-column: 1 / -1;
}

.request-submit {
  grid-column: 1 / -1;
  margin-top: 2px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.request-submit:hover,
.request-submit:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.request-submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.request-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2f8f2f;
}

.request-status.is-error {
  color: #c93526;
}

.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: #1a212d;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  z-index: 60;
  box-shadow: 0 10px 24px rgba(16, 22, 31, 0.28);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(255, 106, 31, 0.35);
}

.size-lines {
  margin-top: 14px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid #d8dde5;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
}

.size-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.size-line strong {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.22rem);
  font-weight: 800;
  line-height: 1.15;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  min-width: 54px;
  text-align: center;
  padding: 7px 10px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  background: #ff6a1f;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.size-chip:hover,
.size-chip:focus-visible {
  background: #ff5718;
  transform: translateY(-1px);
}

.size-chip.is-active {
  background: #e84f16;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 4px rgba(255, 106, 31, 0.55);
}

.schemes {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.scheme-svg {
  display: block;
  width: 100%;
  background: var(--surface);
  border: 1px solid #d2d7df;
  border-radius: var(--radius-md);
  color: #141922;
  padding: 2px;
  overflow: hidden;
}

.scheme-image-svg image {
  pointer-events: none;
}

.scheme-cover {
  fill: none;
  stroke: #171d28;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scheme-bike * {
  fill: none;
  stroke: #171d28;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dim-group {
  cursor: pointer;
  outline: none;
}

.dim-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 26;
  pointer-events: stroke;
}

.dim-hit-node {
  fill: transparent;
  pointer-events: all;
}

.dim-line,
.dim-tick {
  fill: none;
  stroke: #252c37;
  stroke-width: 2.4;
  transition: stroke 0.18s ease;
}

.dim-label {
  fill: #1a212d;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: 22px;
  line-height: 1;
  transition: fill 0.18s ease;
}

.dim-group:hover .dim-line,
.dim-group:hover .dim-tick,
.dim-group.is-active .dim-line,
.dim-group.is-active .dim-tick {
  stroke: var(--accent);
}

.dim-group:hover .dim-label,
.dim-group.is-active .dim-label {
  fill: var(--accent);
}

.table-wrap {
  margin-top: 12px;
  border-radius: var(--radius-md);
  overflow: auto;
  border: 1px solid #1b1f26;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  border: 1px solid #1b1f26;
  text-align: center;
  padding: 8px;
  font-weight: 700;
  background: #fff;
}

th {
  background: #eef2f7;
}

.size-table th,
.size-table td {
  transition: background 0.18s ease, color 0.18s ease;
}

.size-table td.dim-highlight {
  background: rgba(255, 106, 31, 0.16);
}

.size-table th.dim-highlight {
  background: rgba(255, 106, 31, 0.16);
  color: inherit;
}

.size-note {
  margin: 10px 0 0;
  background: #f3ff3b;
  border: 1px solid #1e232b;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1.03rem;
  font-weight: 800;
}

.tips {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid #d8dde5;
  border-radius: var(--radius-lg);
  padding: 14px;
}

.tips h3 {
  margin: 0;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.tips ol {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.tips li {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.tips a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer {
  margin-top: 44px;
  background: linear-gradient(180deg, #151922 0%, #0f1218 100%);
  color: #eef3ff;
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.footer-grid h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.footer-grid p {
  margin: 6px 0;
  color: #d4deed;
}

.footer-messenger-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #eef3ff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-messenger-link:hover,
.footer-messenger-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.footer-logo-img {
  display: block;
  height: 50px;
  width: auto;
  margin: 0 0 10px;
}

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

  .main-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  body.menu-open .main-nav {
    display: flex;
    position: absolute;
    left: 3vw;
    right: 3vw;
    top: 72px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .header-contacts {
    justify-self: end;
  }

  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .covers-slider-wrap,
  .models-card {
    height: auto;
  }

  .covers-frame {
    height: 440px;
  }

  .models-columns {
    max-height: 440px;
  }
}

@media (max-width: 840px) {
  .header-inner {
    grid-template-columns: auto auto;
    gap: 10px;
    min-height: 64px;
  }

  body {
    padding-top: 64px;
  }

  .header-contacts {
    display: none;
  }

  .menu-btn {
    justify-self: end;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-top: 94px;
  }

  .hero-contact-line span,
  .hero-contact-line a {
    border-radius: 12px;
  }

  .hero-sub {
    gap: 8px 12px;
  }

  .hero-sub span + span::before {
    left: -7px;
  }

  .section-head {
    align-items: center;
  }

  .controls {
    display: none;
  }

  .carousel-window {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .brand-card {
    scroll-snap-align: start;
  }

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

  .models-columns {
    grid-template-columns: 1fr;
    max-height: 320px;
  }

  .scroll-top-btn {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .covers-frame {
    height: 320px;
  }

  .slider-btn.prev {
    left: 14px;
  }

  .slider-btn.next {
    right: 14px;
  }

  .size-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .covers-contact {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .covers-contact-title {
    text-align: center;
  }

  .covers-marketplace-inline {
    align-self: center;
    justify-self: center;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }

  .covers-marketplace-actions {
    flex-direction: row;
    gap: 10px;
  }

  .covers-contact-line a {
    justify-content: center;
  }

  .covers-contact-line {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .covers-contact-line a:first-child {
    min-width: 160px;
    flex: 1 0 auto;
  }

  .covers-contact-line .messenger-icon-link {
    flex: 0 0 auto;
    width: 42px;
  }

  .site-footer .footer-grid > div:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
  }

  .site-footer .footer-grid > div:last-child h4 {
    width: 100%;
    margin-bottom: 2px;
  }

  .site-footer .footer-grid > div:last-child p {
    margin: 0;
  }

  .request-modal-dialog {
    padding: 14px;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .brand-logo-img {
    height: 30px;
  }

  .footer-logo-img {
    height: 40px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-consult {
    border-radius: 12px;
    padding: 10px 12px;
  }

  .feature p {
    font-size: 0.9rem;
  }
}
