:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #1e2933;
  --muted: #6b7280;
  --dark: #18232b;
  --dark-2: #223140;
  --line: #d9dee5;
  --accent: #f6b91b;
  --accent-dark: #8a6200;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(246, 185, 27, 0.7);
  outline-offset: 3px;
}

.container {
  width: min(100% - 80px, 1340px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

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

.button--primary {
  color: #111111;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(246, 185, 27, 0.28);
}

.button--primary:hover {
  background: #ffd15a;
  box-shadow: 0 16px 34px rgba(246, 185, 27, 0.36);
}

.button--ghost {
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.button--ghost:hover {
  color: #111111;
  background: #ffffff;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.header {
  position: fixed;
  z-index: 100;
  top: 20px;
  right: 0;
  left: 0;
  pointer-events: none;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: var(--header-height);
  padding: 10px 0;
  color: #ffffff;
  pointer-events: auto;
  transition:
    padding 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-radius 0.2s ease,
    backdrop-filter 0.2s ease;
}

.header--scrolled .header__inner {
  padding: 10px 24px;
  background: rgba(17, 24, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 320px;
  max-height: 70px;
  object-fit: contain;
}

.header__logo img {
  width: 322px;
}

.header__nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 18px;
  font-weight: 800;
}

.nav-link,
.footer__column button,
.contacts button {
  color: inherit;
  background: transparent;
}

.nav-link {
  position: relative;
  padding: 8px 0;
}

.nav-link--request {
  display: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.header__contacts {
  display: grid;
  gap: 2px;
  justify-items: start;
  min-width: 210px;
}

.header__phone {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.header__contacts span {
  font-size: 15px;
}

.header__button {
  min-height: 58px;
  padding-inline: 20px;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: rgba(17, 24, 32, 0.68);
  border-radius: 12px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 700px;
  color: #ffffff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("imgs/landing-bg-1920.jpg") center 63% / cover no-repeat;
}

@media (min-width: 1921px) {
  .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
      url("imgs/landing-bg-2800.jpg");
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  gap: 36px;
  width: min(100% - 80px, 1440px);
  min-height: 700px;
  padding-top: 150px;
  padding-bottom: 34px;
}

.hero__text {
  align-self: start;
}

.hero__subtitle {
  margin: 0 0 8px;
  font-size: clamp(17px, 1.7vw, 23px);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(39px, 4.1vw, 59px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
}

.hero__actions .button {
  min-width: 220px;
  min-height: 66px;
}

.hero__socials {
  justify-self: end;
  align-self: start;
  margin-top: 8px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.socials__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.socials__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-self: end;
}

.quick-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 85px;
  padding: 11px 10px 11px 8px;
  color: #ffffff;
  text-align: left;
  background: rgba(24, 35, 43, 0.78);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.quick-card:hover {
  background: rgba(24, 35, 43, 0.94);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.quick-card:nth-child(3) {
  gap: 0;
}

.quick-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.quick-card:nth-child(2) img,
.quick-card:nth-child(4) img,
.quick-card:nth-child(5) img {
  width: 62px;
  height: 62px;
}

.quick-card strong,
.quick-card small {
  display: block;
}

.quick-card strong {
  font-size: 18px;
  line-height: 1.12;
  white-space: nowrap;
}

.quick-card small {
  margin-top: 6px;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.section {
  padding: 74px 0 0;
}

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

.direction-card {
  position: relative;
  display: flex;
  min-height: 400px;
  flex-direction: column;
  padding: 34px 10px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.direction-card h3,
.direction-card ul {
  position: relative;
  z-index: 1;
}

.direction-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
}

.direction-card ul,
.maintenance-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.direction-card ul {
  padding-left: 12px;
}

.direction-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 30px;
}

.direction-card li::before {
  content: "• ";
}

.direction-card img {
  position: absolute;
  z-index: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}

.direction-card img[src$="scooter-MD.webp"] {
  right: 15px;
  bottom: 23px;
  width: 181px;
  height: 181px;
}

.direction-card img[src$="bicycle-MD.webp"] {
  right: 2px;
  bottom: -24px;
  width: 210px;
  height: 210px;
}

.direction-card img[src$="bike-wheel-MD.webp"] {
  right: -32px;
  bottom: -14px;
  width: 232px;
  height: 232px;
}

.direction-card img[src$="snowboard-boots-MD.webp"] {
  right: 21px;
  bottom: 23px;
  width: 150px;
  height: 150px;
}

.direction-card img[src$="roller-skates-MD.webp"] {
  right: 17px;
  bottom: 18px;
  width: 167px;
  height: 167px;
}

.direction-card img[src$="snowboard-MD.webp"] {
  right: 6px;
  bottom: 19px;
  width: 174px;
  height: 174px;
}

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

.maintenance-card {
  position: relative;
  min-height: 520px;
  padding: 34px 24px 88px;
  color: #ffffff;
  background: #18232b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.maintenance-card > img {
  position: absolute;
  right: 4px;
  bottom: 85px;
  object-fit: contain;
  opacity: 0.28;
}

.maintenance-card > img[src$="bike-bg-icon.svg"] {
  right: 0;
  bottom: 40px;
  width: 288px;
  height: 213px;
}

.maintenance-card > img[src$="gear-bg-icon.svg"] {
  width: 223px;
  height: 223px;
}

.maintenance-card > img[src$="wrench-and-screwdrive-bg-icon.svg"] {
  width: 196px;
  height: 202px;
}

.maintenance-card > img[src$="trophy-bg-icon.svg"] {
  width: 224px;
  height: 217px;
}

.maintenance-card h3,
.maintenance-card p,
.maintenance-card ul,
.maintenance-card button {
  position: relative;
  z-index: 1;
}

.maintenance-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.maintenance-card__price {
  margin: 0;
  color: var(--accent);
  font-size: 32px;
  font-weight: 900;
}

.maintenance-card__note {
  margin: 0 0 12px;
  color: #d1d5db;
  font-size: 15px;
}

.maintenance-card__includes {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.maintenance-card li {
  margin-bottom: 7px;
  color: #d1d5db;
  font-size: 14px;
}

.maintenance-card li::before {
  content: "✓ ";
  color: var(--accent);
}

.maintenance-card .button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  min-height: 48px;
}

.catalog h2,
.why h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(28px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.catalog .container {
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.catalog__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.catalog__tab {
  min-height: 40px;
  padding: 9px 18px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.catalog__tab:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.catalog__tab.is-active {
  font-weight: 800;
  background: var(--accent);
  border-color: var(--accent);
}

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

.service-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 114px;
  padding: 17px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(246, 185, 27, 0.75);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.service-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.service-card__price {
  width: fit-content;
  margin: 0;
  padding: 4px 23px;
  color: #f6b91b;
  background: #18232b;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.25;
}

.service-card__price--split {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

.service-card__price-line {
  width: fit-content;
  max-width: 100%;
  padding: 4px 23px;
  color: #f6b91b;
  background: #18232b;
  border-radius: 999px;
}

.service-card__price-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.service-card button {
  justify-self: start;
  padding: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  background: transparent;
}

.service-card button:hover {
  color: var(--accent-dark);
}

.why {
  margin-top: 74px;
  padding: 27px 0;
  color: #ffffff;
  background: var(--dark);
}

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

.why-card {
  display: grid;
  grid-template-rows: 119px auto;
  justify-items: center;
  align-items: start;
  gap: 8px;
  text-align: center;
}

.why-card__icon {
  align-self: center;
  object-fit: contain;
}

.why-card__icon--service {
  width: 62px;
  height: 60px;
}

.why-card__icon--diagnostic {
  width: 60px;
  height: 60px;
}

.why-card__icon--season {
  width: 60px;
  height: 60px;
}

.why-card__icon--price {
  width: 119px;
  height: 119px;
}

.why-card__icon--request {
  width: 62px;
  height: 62px;
  transform: translateX(4px);
}

.why-card__icon--location {
  width: 58px;
  height: 60px;
}

.why-card__icon--sales {
  width: 60px;
  height: 60px;
}

.why-card h3 {
  max-width: 150px;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.why-card h3 span {
  display: block;
}

.request-block {
  padding-bottom: 74px;
}

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

.request-form {
  grid-column: span 8;
  padding: 30px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq {
  grid-column: span 4;
  padding: 30px;
}

.contacts {
  grid-column: span 4;
  padding: 30px;
}

.maps {
  grid-column: span 8;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 20px;
}

.request-form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.request-form__header h2 {
  margin: 0;
  font-size: 24px;
}

.faq h2,
.contacts h2 {
  margin: 0 0 24px;
  font-size: 24px;
}

.form-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(246, 185, 27, 0.1);
  border: 1px solid rgba(246, 185, 27, 0.35);
  border-radius: 50%;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.form-reset:hover {
  background: rgba(246, 185, 27, 0.18);
  border-color: var(--accent);
  transform: rotate(18deg);
}

.form-reset:active {
  transform: rotate(34deg) scale(0.92);
}

.form-reset:focus-visible {
  outline: 3px solid rgba(246, 185, 27, 0.35);
  outline-offset: 3px;
}

.form-reset img {
  width: 29px;
  height: 29px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.form-grid__wide {
  grid-column: span 2;
}

.service-selects {
  grid-column: 3;
  grid-row: span 2;
  display: grid;
  gap: 20px;
  align-content: start;
  min-width: 0;
}

.service-selects label {
  min-width: 0;
}

.file-input {
  grid-column: 1 / span 2;
  grid-row: 3;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  min-height: 45px;
  padding: 12px 14px;
  color: var(--text);
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

textarea {
  height: 50px;
  min-height: 50px;
  overflow-y: auto;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 185, 27, 0.18);
}

.has-error input,
.has-error select,
.has-error textarea,
.checkbox.has-error,
.has-error .custom-select__button {
  border-color: #e5484d;
}

.has-error input:focus,
.has-error select:focus,
.has-error textarea:focus,
.has-error .custom-select__button:focus-visible {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.16);
}

input[readonly] {
  background: #f4f6f8;
}

select:disabled {
  color: #9aa1aa;
  background: #f4f6f8;
  cursor: not-allowed;
}

.select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}

.custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.custom-select__button {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 45px;
  padding: 12px 42px 12px 14px;
  overflow: hidden;
  color: var(--text);
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.custom-select__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select__button:hover,
.custom-select.is-open .custom-select__button {
  border-color: var(--accent);
}

.custom-select__button:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 185, 27, 0.18);
}

.custom-select.is-open .custom-select__button::after {
  transform: translateY(-35%) rotate(225deg);
}

.custom-select.is-disabled .custom-select__button {
  color: #9aa1aa;
  background: #f4f6f8;
  cursor: not-allowed;
}

.custom-select__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  max-height: 255px;
  padding: 6px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.16);
}

.custom-select.is-open .custom-select__list {
  display: grid;
  gap: 2px;
}

.custom-select__option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  color: var(--text);
  background: transparent;
  border-radius: 8px;
  font-weight: 500;
  text-align: left;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  color: #111111;
  background: rgba(246, 185, 27, 0.22);
  outline: none;
}

.custom-select__option[aria-selected="true"] {
  color: #111111;
  background: var(--accent);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: #d92d20;
  font-size: 12px;
  line-height: 1.3;
}

.field-error.is-visible {
  display: block;
}

.file-input {
  position: relative;
  display: block;
}

.file-input__control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 45px;
  gap: 12px;
  padding: 6px;
  color: var(--text);
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.file-input__control,
.file-input__button,
.file-input__name {
  margin-bottom: 0;
}

.file-input:hover .file-input__control {
  border-color: var(--accent);
}

.file-input:focus-within .file-input__control {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(246, 185, 27, 0.18);
}

.file-input__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  padding: 7px 13px;
  color: #111111;
  background: var(--accent);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.file-input__name {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-input__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

.checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
}

.checkbox input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.checkbox span {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.checkbox .field-error {
  flex-basis: 100%;
  margin-left: 26px;
}

.checkbox a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.request-form__footer p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.request-form__footer .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq__item {
  overflow: hidden;
  color: var(--text);
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq__item[open] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(246, 185, 27, 0.12);
}

.faq__item summary {
  position: relative;
  padding: 13px 42px 13px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.faq__item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.contacts address {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.contacts address a,
.contacts address button,
.footer__column a,
.footer__column button,
.footer__links a {
  width: fit-content;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  transition: color 0.2s ease;
}

.contacts address a:hover,
.contacts address button:hover,
.footer__column a:hover,
.footer__column button:hover,
.footer__links a:hover {
  color: var(--accent);
}

.contacts .socials__link {
  background: transparent;
  box-shadow: none;
}

.contacts .socials__link img {
  display: block;
  filter: brightness(0) saturate(100%) invert(13%) sepia(17%) saturate(1112%) hue-rotate(174deg) brightness(94%) contrast(89%);
}

.maps iframe,
.map-frame {
  width: 100%;
  min-height: 354px;
  border: 0;
  border-radius: 12px;
  background: #e5e7eb;
}

.map-frame {
  position: relative;
  overflow: hidden;
}

.map-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  place-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.map-frame__placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.map-frame__placeholder a {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-frame iframe {
  width: 100%;
  min-height: inherit;
  border: 0;
}

.footer {
  padding: 86px 0;
  color: #cbd5e1;
  background: var(--dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr 1fr 1fr 1.35fr;
  gap: 46px;
  align-items: start;
}

.footer .logo img {
  width: 260px;
}

.footer__brand p {
  max-width: 310px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.footer__column {
  display: grid;
  gap: 12px;
  font-size: 15px;
}

.footer__column h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 18px;
}

.footer__links {
  display: grid;
  justify-items: start;
  gap: 14px;
  font-size: 15px;
}

.footer__links .socials {
  margin-bottom: 10px;
}

.footer__column .socials {
  margin-top: 6px;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(246, 185, 27, 0.18), transparent 34%),
    var(--bg);
}

.legal-main {
  min-height: 70vh;
  padding: 150px 0 84px;
}

.legal-section {
  padding: 0;
}

.legal-document {
  max-width: 980px;
  padding: 48px;
  margin: 0 auto;
}

.legal-document__back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-document__eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-document h1 {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--dark);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.legal-document__content {
  color: #334155;
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.legal-document.is-loading .legal-document__content,
.legal-document.has-error .legal-document__content {
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

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

.scroll-top:hover {
  transform: translateY(-3px);
}

.toast {
  position: fixed;
  z-index: 110;
  right: 24px;
  bottom: 88px;
  padding: 12px 16px;
  color: #ffffff;
  background: rgba(17, 24, 32, 0.92);
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

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

.analytics-consent {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 900px;
  padding: 18px 20px;
  margin: 0 auto;
  color: #ffffff;
  background: rgba(17, 24, 32, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.analytics-consent a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.analytics-consent .button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
}

@media (max-width: 1240px) {
  .header__inner {
    grid-template-columns: auto auto 1fr auto;
    gap: 18px;
  }

  .header__nav {
    gap: 20px;
    font-size: 16px;
  }

  .logo img,
  .header__logo img {
    width: 250px;
  }

  .header__contacts {
    display: none;
  }

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

  .quick-links {
    gap: 18px;
  }

  .quick-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .quick-card img {
    width: 56px;
    height: 56px;
  }

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

  .why__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 26px;
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 36px, 720px);
  }

  .header {
    top: 12px;
  }

  .header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(17, 24, 32, 0.72);
    border-radius: 18px;
    backdrop-filter: blur(12px);
  }

  .header--scrolled .header__inner {
    padding: 8px 12px;
    border-radius: 18px;
  }

  .logo img,
  .header__logo img {
    width: 210px;
  }

  .header__logo {
    grid-column: 1;
    grid-row: 1;
  }

  .header__contacts {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    align-content: center;
    gap: 4px;
    min-width: 0;
    justify-items: end;
    text-align: right;
  }

  .header__phone {
    font-size: 15px;
    white-space: nowrap;
  }

  .header__contacts span {
    font-size: 10px;
    white-space: nowrap;
  }

  .burger {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    display: block;
  }

  .header__nav,
  .header__button {
    display: none;
  }

  .header__nav.is-open {
    position: fixed;
    top: 94px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 22px;
    color: #ffffff;
    background: rgba(17, 24, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .header__nav.is-open .nav-link {
    padding: 12px;
    text-align: center;
  }

  .header__nav.is-open .nav-link--request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 6px;
    padding: 12px 20px;
    color: #111111;
    background: var(--accent);
    border-radius: 12px;
    font-weight: 900;
  }

  .header__nav.is-open .nav-link--request::after {
    display: none;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 14px;
    min-height: 760px;
    padding-top: 132px;
  }

  .hero__text {
    display: contents;
  }

  .hero__subtitle {
    grid-column: 1;
    margin: 0;
  }

  .hero h1,
  .hero__actions {
    grid-column: 1 / -1;
  }

  .hero__socials {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin-top: 0;
  }

  .quick-links,
  .directions__grid,
  .maintenance__grid,
  .catalog__grid,
  .why__grid,
  .maps {
    grid-template-columns: 1fr 1fr;
  }

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

  .request-form,
  .faq,
  .contacts,
  .maps {
    grid-column: auto;
  }

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

  .service-selects,
  .file-input {
    grid-column: auto;
    grid-row: auto;
  }

  .service-selects {
    gap: 20px;
  }

  .file-input {
    grid-column: span 2;
  }

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

  .legal-main {
    padding-top: 124px;
  }

  .legal-document {
    padding: 34px;
  }

  .legal-document__content {
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 420px);
  }

  .section {
    padding-top: 60px;
  }

  .logo img,
  .header__logo img {
    width: 138px;
  }

  .header__inner {
    gap: 8px;
    min-height: 58px;
    padding: 8px 10px;
  }

  .header__phone {
    font-size: 13px;
    line-height: 1;
  }

  .header__contacts span {
    font-size: 10px;
    line-height: 1.1;
  }

  .burger {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
      url("imgs/landing-bg-mobile.jpg");
    background-position: center top;
    background-size: cover;
  }

  .hero__content {
    align-content: start;
    grid-auto-rows: min-content;
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 34px;
    gap: 8px;
  }

  .hero__subtitle {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    padding-right: 4px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero__socials {
    grid-row: 2;
    gap: 7px;
  }

  .hero__socials .socials__link {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    grid-row: 1;
    font-size: 34px;
    margin-top: 0;
  }

  .hero__actions {
    grid-row: 3;
    gap: 12px;
    margin-top: 24px;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 48px;
    height: 48px;
    padding: 10px 18px;
    font-size: 15px;
  }

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

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

  .legal-main {
    padding: 104px 0 56px;
  }

  .legal-document {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .legal-document__back {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .legal-document h1 {
    margin-bottom: 22px;
    font-size: 30px;
  }

  .legal-document__content {
    font-size: 15px;
    line-height: 1.6;
  }

  .quick-links,
  .directions__grid,
  .maintenance__grid,
  .catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-links {
    margin-top: 58px;
  }

  .quick-card {
    min-height: 62px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px;
    padding: 7px 6px;
  }

  .quick-card:nth-child(3) {
    gap: 0;
  }

  .quick-card img,
  .quick-card:nth-child(2) img,
  .quick-card:nth-child(4) img,
  .quick-card:nth-child(5) img {
    width: 40px;
    height: 40px;
  }

  .quick-card strong {
    font-size: 13px;
  }

  .quick-card small {
    margin-top: 3px;
    font-size: 11px;
  }

  .maintenance-card {
    min-height: 360px;
    padding: 18px 10px 66px;
  }

  .maintenance-card h3 {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .maintenance-card__price {
    font-size: 24px;
  }

  .maintenance-card__note,
  .maintenance-card__includes {
    font-size: 12px;
  }

  .maintenance-card li {
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.25;
  }

  .maintenance-card .button {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 42px;
    padding: 10px;
    font-size: 12px;
  }

  .maintenance-card > img {
    bottom: 58px;
    opacity: 0.2;
    transform: scale(0.8);
    transform-origin: right bottom;
  }

  .direction-card {
    min-height: 245px;
    padding: 18px 8px 12px;
  }

  .direction-card h3 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .direction-card ul {
    padding-left: 8px;
  }

  .direction-card li {
    font-size: 12px;
    line-height: 20px;
  }

  .direction-card img {
    transform: scale(0.62);
    transform-origin: right bottom;
  }

  .direction-card img[src$="bicycle-MD.webp"] {
    right: 14px;
    bottom: -5px;
  }

  .direction-card img[src$="bike-wheel-MD.webp"] {
    right: -6px;
    bottom: -3px;
  }

  .catalog .container {
    padding: 18px;
  }

  .catalog__tabs {
    gap: 8px;
    margin-bottom: 20px;
  }

  .catalog__tab {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .service-card {
    min-height: 116px;
    gap: 10px;
    padding: 12px;
  }

  .service-card h3 {
    font-size: 13px;
  }

  .service-card__price,
  .service-card__price-line {
    padding: 4px 12px;
    font-size: 12px;
  }

  .service-card__price-note,
  .service-card button {
    font-size: 12px;
  }

  .why__grid {
    display: grid;
    grid-auto-columns: 86px;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .why__grid::-webkit-scrollbar {
    display: none;
  }

  .why-card {
    grid-template-rows: 54px auto;
    gap: 5px;
  }

  .why-card__icon--service,
  .why-card__icon--diagnostic,
  .why-card__icon--season,
  .why-card__icon--location,
  .why-card__icon--sales {
    width: 38px;
    height: 38px;
  }

  .why-card__icon--price {
    width: 54px;
    height: 54px;
  }

  .why-card__icon--request {
    width: 40px;
    height: 40px;
    transform: translateX(2px);
  }

  .why-card h3 {
    max-width: 82px;
    font-size: 11px;
    line-height: 1.15;
  }

  .request-form,
  .faq,
  .contacts {
    padding: 22px;
  }

  .request-form__header {
    margin-bottom: 16px;
  }

  .request-form__header h2,
  .faq h2,
  .contacts h2 {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.2;
  }

  .request-form__header h2 {
    margin-bottom: 0;
  }

  label span {
    font-size: 12px;
  }

  input,
  select,
  textarea,
  .custom-select__button,
  .file-input__name {
    font-size: 13px;
  }

  .faq__item summary,
  .faq__item p,
  .contacts address,
  .contacts address a,
  .contacts address button {
    font-size: 13px;
    line-height: 1.35;
  }

  .faq__list {
    gap: 8px;
  }

  .faq__item summary {
    padding: 11px 38px 11px 12px;
  }

  .faq__item p {
    padding: 0 12px 12px;
  }

  .contacts address {
    gap: 10px;
    margin-bottom: 18px;
  }

  .request-form__footer p {
    font-size: 12px;
    line-height: 1.35;
  }

  .footer__brand p,
  .footer__column,
  .footer__links {
    font-size: 13px;
    line-height: 1.35;
  }

  .footer__column h2 {
    font-size: 16px;
  }

  .form-grid__wide {
    grid-column: auto;
  }

  .file-input {
    grid-column: auto;
  }

  .request-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .request-form__footer .button {
    width: 100%;
  }

  .maps iframe,
  .map-frame {
    min-height: 280px;
  }

  .footer {
    padding: 56px 0;
  }

  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
