@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@600;700;800&display=swap");

:root {
  --black: #151515;
  --white: #ffffff;
  --gray: #f6f7f9;
  --line: #dde1e7;
  --muted: #80858d;
  --text: #151515;
  --red: #d8513e;
  --red-dark: #bd3f2f;
  --container: 1296px;
  --motion-slow: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.form-send-result {
  grid-column: 1/-1;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.form-send-result.is-success {
  color: #58b979;
}
.form-send-result.is-error {
  color: #ff6b5f;
}
.modal-card .form-send-result,
.modal-fields .form-send-result {
  color: #258348;
}
.modal-card .form-send-result.is-error,
.modal-fields .form-send-result.is-error {
  color: #d83c31;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Manrope, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  height: 100px;
  padding: 0 max(56px, calc((100vw - var(--container)) / 2));
  color: var(--white);
  background: var(--black);
}

.brand {
  display: inline-grid;
  grid-template-columns: 44px auto;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.brand strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
}
.brand small {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 500;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  color: #d1d1d1;
  font-size: 14px;
  font-weight: 500;
}
.top-nav a,
.header-phone,
.header-social,
.footer a {
  transition:
    color 0.22s var(--motion-fast),
    background 0.22s var(--motion-fast),
    transform 0.22s var(--motion-fast);
}
.top-nav a:hover,
.header-phone:hover,
.footer a:hover {
  color: var(--red);
}
.top-nav a.is-active {
  color: var(--red);
  font-weight: 700;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  white-space: nowrap;
}
.header-phone img {
  width: 24px;
  height: 24px;
}
.header-phone strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
}
.header-phone small {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
}
.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1d1d1d;
}
.header-social:hover {
  background: var(--red);
  transform: translateY(-1px);
}
.header-social img {
  object-fit: contain;
}
.header-social-telegram {
  background: #1d1d1d;
}
.header-social-telegram:hover {
  background: var(--red);
}
.header-social-telegram img {
  transform: translate(-1px, 1px);
}
.header-social-max img {
  width: 24px;
  height: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border: 0;
  border-radius: 16px;
  color: var(--white);
  background: var(--red);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.22s var(--motion-fast),
    color 0.22s var(--motion-fast),
    border-color 0.22s var(--motion-fast),
    transform 0.22s var(--motion-fast);
}
.btn:hover {
  color: var(--white);
  background: var(--black);
  transform: translateY(-1px);
}
.btn:hover img {
  filter: none;
}
.btn.small {
  min-height: 54px;
  padding: 0 26px;
}
.header-btn {
  min-height: 44px;
  padding: 0 24px;
  font-size: 14px;
  width: 100%;
}
.btn-hover-white:hover {
  color: var(--black);
  background: var(--white);
}
.btn-dark {
  padding: 0 24px;
  border: 1px solid rgba(218, 221, 227, 0.2);
  background: #151515;
}
.btn-dark:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  background: #303030;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 44px;
  min-width: 181px;
  border: 1px solid rgba(21, 21, 21, 0.2);
  border-radius: 16px;
  padding: 0 18px;
  color: #4f565f;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.22s var(--motion-fast),
    border-color 0.22s var(--motion-fast),
    color 0.22s var(--motion-fast),
    box-shadow 0.22s var(--motion-fast),
    transform 0.22s var(--motion-fast);
}
.filter-btn::after {
  content: "›";
  color: var(--red);
  font-size: 20px;
  transform: rotate(90deg);
}
.filter-btn:hover,
.filter-btn.is-active {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
  box-shadow: 0 10px 26px rgba(21, 21, 21, 0.12);
}
.filter-btn:hover::after,
.filter-btn.is-active::after {
  color: var(--white);
}
.filter-field {
  position: relative;
  display: block;
  min-width: 181px;
  margin: 0;
}
.filter-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
select.filter-btn {
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e44d3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
}
select.filter-btn.is-active {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
select.filter-btn option {
  color: #151515;
  background: #fff;
}
.filter-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.filter-control {
  position: relative;
  width: 100%;
  min-width: 181px;
  height: 44px;
  padding: 0 46px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.2);
  border-radius: 16px;
  color: #4f565f;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.filter-control::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.filter-control:hover,
.filter-control.is-active,
.filter-field.is-open .filter-control {
  color: #fff;
  border-color: #151515;
  background: #151515;
  box-shadow: 0 10px 26px rgba(21, 21, 21, 0.13);
}
.filter-control.is-active::after,
.filter-field.is-open .filter-control::after {
  border-color: #fff;
}
.filter-field.is-open .filter-control::after {
  transform: translateY(-25%) rotate(225deg);
}
.filter-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, 220px);
  max-height: 286px;
  overflow-y: auto;
  padding: 8px;
  border: 0;
  border-radius: 15px;
  background: #151515;
  box-shadow: 0 18px 45px rgba(15, 15, 15, 0.24);
  scrollbar-width: thin;
  scrollbar-color: #e44d3a #252525;
}
.filter-dropdown[hidden] {
  display: none;
}
.filter-option {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.filter-option:hover,
.filter-option:focus-visible {
  outline: none;
  background: #2a2a2a;
}
.filter-option.is-selected {
  color: #fff;
  background: var(--red);
}
.filter-option.is-selected::after {
  content: "✓";
  float: right;
  margin-left: 12px;
  font-weight: 900;
}
.filter-option:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}
.catalog-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin-top: 24px;
}
.catalog-filter-summary p {
  margin: 0;
  color: #7b828c;
  font-size: 13px;
  font-weight: 600;
}
.catalog-filter-summary button {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--red);
  background: #fff1ef;
  font-size: 12px;
  font-weight: 700;
}
.catalog-filter-summary + .catalog-page-grid {
  margin-top: 24px;
}
.catalog-empty-filter {
  width: min(560px, calc(100% - 40px));
  margin: 32px auto 0;
  padding: 34px 24px;
  border: 1px dashed #d7d9dd;
  border-radius: 16px;
  text-align: center;
  background: #fff;
}
.catalog-empty-filter strong {
  font-size: 18px;
}
.catalog-empty-filter p {
  margin: 8px 0 0;
  color: #858b94;
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  height: 707px;
  color: var(--white);
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background:
    radial-gradient(
      circle at 78% 36%,
      rgba(216, 81, 62, 0.38),
      transparent 22%
    ),
    linear-gradient(90deg, rgba(21, 21, 21, 1), rgba(21, 21, 21, 0.72)),
    url("images/c65eac6e2750653ededb8f3b54b13246b658971e.png") center / cover
      no-repeat;
}
.hero-rings {
  position: absolute;
  left: 785px;
  top: 60px;
  width: 645px;
  height: 645px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(216, 74, 50, 0.4) 0%,
    rgba(216, 74, 50, 0.1) 100%
  );
  border: 1px solid rgba(216, 81, 62, 0.25);
}
.hero-rings::after {
  content: "";
  position: absolute;
  background: radial-gradient(
    circle,
    rgba(216, 74, 50, 0.4) 0%,
    rgba(216, 74, 50, 0.1) 100%
  );
  inset: 68px;
  border-radius: 50%;
  border: 1px solid rgba(216, 81, 62, 0.22);
}
.hero-stage {
  position: absolute;
  left: 664px;
  top: 197px;
  width: 1004px;
  height: 670px;
  object-fit: cover;
}
.hero-car {
  position: absolute;
  left: 690px;
  top: 79px;
  width: 846px;
  height: 564px;
  object-fit: contain;
  transition:
    opacity 0.45s var(--motion-fast),
    transform 0.45s var(--motion-fast);
}
.hero-car.is-changing {
  opacity: 0.12;
  transform: translateX(18px) scale(0.98);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 637px;
  padding-top: 111px;
  margin-left: max(24px, calc((100vw - var(--container)) / 2));
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.04);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.hero h1 {
  width: 637px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.2;
}
.hero h1 span {
  color: var(--red);
}
.hero p {
  width: 569px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 38px;
}

.stats {
  height: 194px;
  background: var(--gray);
}
.stats-inner {
  display: grid;
  grid-template-columns: 73px 163px 225px 157px;
  justify-content: center;
  gap: 116px;
  padding-top: 60px;
}
.stat strong {
  display: block;
  margin-bottom: 10px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}
.stat strong:hover {
  color: var(--red);
}
.stat span {
  color: #5f646b;
  font-size: 15px;
  font-weight: 500;
}

.section-white {
  background: var(--white);
}
.section-gray {
  background: var(--gray);
}
.section-dark {
  color: var(--white);
  background: var(--black);
}
.section-head span,
.lead-copy > span {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}
.section-head h2,
.lead-copy h2 {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
}
.section-head p,
.lead-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.reviews {
  --review-side: max(24px, calc((100vw - var(--container)) / 2));
  overflow: hidden;
  height: 802px;
  padding-top: 60px;
}
.arrows {
  display: flex;
  gap: 14px;
  margin-bottom: 1px;
}
.arrows b,
.arrows button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--red);
  background: #fae5e0;
  font-size: 28px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  padding: 0;
  transition:
    background 0.22s var(--motion-fast),
    color 0.22s var(--motion-fast),
    transform 0.22s var(--motion-fast);
}
.arrows b:hover,
.arrows button:hover {
  transform: translateY(-2px);
}
.arrows b:last-child,
.arrows button:last-child {
  color: var(--white);
  background: var(--red);
}
.reviews-window {
  width: calc(100vw - var(--review-side));
  margin-top: 48px;
  margin-left: var(--review-side);
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 48px;
  width: max-content;
  transition: transform 0.58s var(--motion-slow);
  will-change: transform;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.reviews-track.is-dragging {
  transition: none;
  cursor: grabbing;
}
.review-card-shell {
  position: relative;
  flex: 0 0 294px;
  width: 294px;
  height: 404px;
  overflow: hidden;
  border-radius: 12px;
}
.review-card-shell img {
  width: 294px;
  height: 404px;
  object-fit: cover;
  -webkit-user-drag: none;
  transition:
    opacity 0.35s var(--motion-fast),
    transform 0.45s var(--motion-fast);
}
.review-text-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px 24px 28px;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 12px;
  color: var(--text);
  background: white;
  box-shadow: 0 18px 42px rgba(21, 21, 21, 0.08);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--motion-fast),
    transform 0.35s var(--motion-fast);
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.review-meta b {
  color: #f4c84a;
  font-size: 18px;
  letter-spacing: 3px;
}
.review-meta span,
.review-author small {
  color: #8b929c;
  font-size: 12px;
  font-weight: 500;
}
.review-text-card p {
  margin-top: 24px;
  color: #707782;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.36;
}
.review-author {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e2e5ea;
}
.review-author strong,
.review-author small {
  display: block;
}
.review-author strong {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
}
.review-card-shell:hover img {
  opacity: 0;
  transform: scale(1.025);
}
.review-card-shell:hover .review-text-card {
  opacity: 1;
  transform: translateY(0);
}
.rating {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 102px;
  margin-top: 52px;
  padding: 0 32px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
}
.rating-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 36px;
  font-weight: 800;
}
.rating-score img {
  width: 30px;
  height: 30px;
}
.rating-link {
  gap: 14px;
}
.rating-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.rating b {
  font-size: 16px;
  font-weight: 700;
}
.rating p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.benefits {
  height: 598px;
  padding-top: 60px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border: none;
}

.benefits-grid article {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefits-grid article {
  background-color: transparent;

  transition: background-color 0.3s ease;
}

.benefits-grid article:hover {
  background-color: #ffffff;
}
/* Убираем правую линию у последней карточки в каждом ряду */
.benefits-grid article:nth-child(3n) {
  border-right: none;
}

/* Убираем нижнюю линию у последнего ряда */
.benefits-grid article:nth-last-child(-n + 3) {
  border-bottom: none;
}
.benefits-grid i {
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--red);
}
.benefits-grid h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}
.benefits-grid p {
  color: #6e747c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.team {
  padding: 60px 0;
}
.team .section-head {
  width: min(var(--container), calc(100vw - 48px));
}
.team .section-head h2,
.team .section-head p {
  width: 672px;
  max-width: 100%;
}
.team .section-head h2 {
  width: 100%;
  white-space: nowrap;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 628px);
  gap: 40px;
  margin-top: 48px;
}
.team-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 270px;
  height: 319px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #171717;
  transition:
    border-color 0.8s var(--motion-slow),
    background 0.8s var(--motion-slow),
    transform 0.8s var(--motion-slow);
}
.team-card::before,
.team-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 0.8s var(--motion-slow),
    opacity 0.8s var(--motion-slow),
    background 0.8s var(--motion-slow);
}
.team-card::before {
  width: 341px;
  height: 341px;
  opacity: 1;
}
.team-card::after {
  right: 22px;
  bottom: -30px;
  width: 251px;
  height: 251px;
  opacity: 0.72;
}
.team-card:hover {
  border-color: var(--red);
  background: #151515;
}
.team-card:hover::before {
  opacity: 0.85;
  background: rgba(216, 81, 62, 0.26);
  transform: scale(1.17);
}
.team-card:hover::after {
  opacity: 0.55;
  background: rgba(216, 81, 62, 0.24);
  transform: scale(1.22);
}
.team-card > div {
  position: relative;
  z-index: 2;
  padding: 52px 0 0 40px;
}
.team-card h3 {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}
.team-card b {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-size: 16px;
  font-weight: 600;
}
.team-card p {
  width: 241px;
  margin-top: 28px;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}
.team-card a {
  display: block;
  margin-top: 26px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.team-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.team-card .team-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.22s var(--motion-fast);
}
.team-card .team-phone img,
.team-card .team-social img {
  position: static;
  width: auto;
  height: auto;
  object-fit: contain;
  transition:
    filter 0.22s var(--motion-fast),
    transform 0.22s var(--motion-fast);
}
.team-card .team-phone img {
  width: 24px;
  height: 24px;
}
.team-card .team-phone:hover {
  color: var(--red);
}
.team-card .team-phone:hover img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(51%) saturate(1034%)
    hue-rotate(328deg) brightness(89%) contrast(88%);
}
.team-card .team-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 0;
  border-radius: 50%;
  background: #232323;
  transition:
    transform 0.22s var(--motion-fast),
    background 0.22s var(--motion-fast),
    box-shadow 0.22s var(--motion-fast);
}
.team-card .team-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.team-card .team-social-telegram {
  /*background: var(--white);*/
}
.team-card .team-social-telegram:hover {
  background: var(--white);
}
.team-card .team-social-telegram:hover img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(51%) saturate(1034%)
    hue-rotate(328deg) brightness(89%) contrast(88%);
}
.team-card .team-social-telegram img {
  width: 20px;
  height: 20px;
  transform: translate(-1px, 1px);
}
.team-card .team-social-max:hover {
  background: var(--red);
}
.team-card .team-social-max img {
  width: 20px;
  height: 20px;
  transform: translate(1px, 1px);
}
.team-card > img {
  position: absolute;
  right: -5px;
  bottom: -20px;
  width: 270px;
  height: 338px;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.25s var(--motion-slow);
}
.team-card:hover > img {
  transform: scale(1.08) translateX(-8px);
}
.steps {
  margin-top: 64px;
}
.process {
  padding: 60px 0 0 0;
}
.steps article {
  display: flex;
  align-items: center;
  min-height: 126px;
  border-bottom: 1px solid var(--line);
}

.steps article:last-child {
  border-bottom: 0;
}

.steps article strong {
  display: block;
  width: 53px;
  flex: 0 0 53px;
  margin: 0;

  font-family: "Unbounded", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 45px;
  letter-spacing: -1.5px;

  color: #7c8490;
  opacity: 0.3;
}
.steps article strong:hover {
  color: var(--red);
  opacity: 1;
}
.steps article h3 {
  width: 260px;
  flex-shrink: 0;
  margin: 0 0 0 78px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.steps article p {
  width: 50%;
  margin: 0 0 0 auto;

  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.catalog {
  height: 626px;
  padding-top: 60px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 405px);
  gap: 40px;
  margin-top: 48px;
}
.car-card {
  overflow: hidden;
  height: 378px;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  background: var(--white);
  transition:
    border-color 1.25s var(--motion-slow),
    transform 1.25s var(--motion-slow),
    box-shadow 1.25s var(--motion-slow);
}
.car-card:hover {
  border-color: var(--red);
  box-shadow: 0 18px 44px rgba(21, 21, 21, 0.08);
  transform: translateY(-2px);
}
.car-img {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: #070707;
}
.car-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.25s var(--motion-slow);
}
.car-card:hover .car-img img {
  transform: scale(1.13);
}
.car-img span {
  position: absolute;
  top: 20px;
  right: 20px;
  min-height: 32px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 700;
}
.car-card:nth-child(2) .car-img span {
  background: var(--black);
}
.car-card:nth-child(3) .car-img span {
  color: var(--black);
  background: var(--white);
}
.car-info {
  padding: 20px 24px 0;
}
.car-info h3 {
  font-size: 16px;
  font-weight: 700;
}
.car-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: #757b83;
  font-size: 14px;
  font-weight: 500;
}
.car-info em {
  width: 1px;
  height: 14px;
  background: #d8dde4;
}
.car-info dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 28px;
}
.car-info dt {
  margin-bottom: 8px;
  color: #7f858d;
  font-size: 12px;
  font-weight: 500;
}
.car-info dd {
  font-size: 14px;
  font-weight: 600;
}

.delivery {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  height: 271px;
  padding-bottom: 42px;
  overflow: hidden;
  color: #b5bbc2;
  background: #000;
}
.delivery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.delivery h2 {
  position: relative;
  z-index: 1;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #b5bbc2;
}

.videos {
  height: 614px;
  padding-top: 60px;
}
.videos .section-head > div {
  width: 758px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 405px);
  gap: 40px;
  margin-top: 48px;
}
.video-card {
  overflow: hidden;
  min-height: 346px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: var(--white);
}
.video-img {
  position: relative;
  display: block;
  height: 205px;
  overflow: hidden;
  color: var(--white);
}
.video-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s var(--motion-slow),
    filter 0.55s var(--motion-slow);
}
.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-img i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-style: normal;
  font-size: 34px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
  transition: transform 0.35s var(--motion-slow);
}
.video-link:hover img {
  transform: scale(1.04);
  filter: brightness(0.82);
}
.video-link:hover i {
  transform: scale(1.12);
}
.video-card > div:last-child {
  padding: 24px 24px 0;
}
.video-card span {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.video-card h3 {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.faq {
  min-height: 516px;
  padding: 60px 0;
}
.faq .section-head {
  width: min(var(--container), calc(100vw - 48px));
}
.faq .section-head h2 {
  /*width: 1006px;*/
  max-width: 100%;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 638px);
  align-items: start;
  gap: 20px;
  margin-top: 48px;
}
.faq-grid details {
  min-height: 76px;
  border-radius: 8px;
  background: var(--white);
}
.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "";
  display: block;
  flex: 0 0 12px;

  width: 12px;
  height: 12px;
  margin-left: 24px;
  margin-right: 5px;

  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);

  transform: rotate(45deg);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

/* Открытая карточка */
.faq-grid details[open] summary::after {
  border-color: #111111;
  transform: rotate(225deg);
}

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

.lead {
  min-height: 641px;
  padding-top: 60px;
}
.lead-grid {
  display: grid;
  grid-template-columns: 568px 1fr;
  gap: 120px;
}
.lead-copy h2 {
  width: 568px;
}
.lead-copy p {
  width: 526px;
  margin-top: 26px;
}
.lead-copy ul {
  display: grid;
  gap: 16px;
  margin: 48px 0 0;
  padding: 0 0 40px;
  border-bottom: 1px solid #303030;
  list-style: none;
}
.lead-copy li {
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 500;
}
.lead-copy li::before {
  content: "✓";
  display: inline-block;
  margin-right: 16px;
  color: var(--red);
}
.lead-copy b,
.footer b {
  display: block;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 800;
  text-transform: lowercase;
}
.lead-copy b {
  margin-top: 48px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

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

  width: 52px;
  height: 52px;
  flex-shrink: 0;

  border-radius: 50%;
  background-color: #191919;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.social-link img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.social-link:hover {
  background-color: #d84a32;
  transform: translateY(-2px);
}

.lead-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 568px;
  margin: 0;
  padding: 0;
}

/* Имя и телефон */

.form-row {
  display: flex;
  gap: 32px;
}

.form-row .form-field {
  flex: 1;
  min-width: 0;
}

/* Поля */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  color: rgba(255, 255, 255, 0.3);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
  text-transform: uppercase;
}

.form-label b {
  color: #d84a32;
  font-size: 16px;
}

/* Input и textarea */

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea {
  width: 100%;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background-color: #282828;
  outline: none;

  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;

  transition:
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  height: 64px;
  padding: 0 16px;
}

.lead-form textarea {
  height: 144px;
  min-height: 144px;
  margin: 32px 0 0;
  padding: 16px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.lead-form input[type="text"]:focus,
.lead-form input[type="tel"]:focus,
.lead-form textarea:focus {
  background-color: #2c2c2c;
  box-shadow: 0 0 0 1px #d84a32;
}

/* Важно: отступ заголовка пожеланий */

.form-row + .form-field {
  margin-top: 32px;
}

.form-row + .form-field textarea {
  margin-top: 0;
}

/* Способ связи */

.contact-method {
  min-width: 0;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}

.contact-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;

  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;

  cursor: pointer;
  white-space: nowrap;
}

/* Радиокнопки */

.radio-label input {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  padding: 0;

  appearance: none;
  border: 1.5px solid #d84a32;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.radio-label input:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background-color: #d84a32;
}

/* Согласие */

.consent {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;

  color: rgba(255, 255, 255, 0.45);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;

  cursor: pointer;
}

.consent input {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 2px 0 0;
  padding: 0;

  appearance: none;
  border: 1px solid #d84a32;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.consent input:checked {
  border-color: #d84a32;
  background-color: #d84a32;
}

.consent input:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;

  width: 4px;
  height: 8px;

  border: solid #ffffff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Кнопка */

.lead-form .form-submit {
  width: 100%;
  height: 60px;
  margin-top: 40px;
  padding: 0 20px;

  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background-color: #d84a32;

  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;

  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.lead-form .form-submit:hover {
  background-color: #bd3f2f;
}

.lead-form .form-submit:active {
  transform: translateY(1px);
}

.footer {
  min-height: 427px;
  color: #ffffff;
  background-color: #000000;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  min-height: 427px;
  padding-top: 60px;
}

/* Основная часть */

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1;
}

/* Левая колонка */

.footer-about {
  width: 390px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 22px;
}

.footer-brand small {
  color: #d84a32;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
}

.footer-about p {
  width: 305px;
  margin: 36px 0 0;

  color: rgba(255, 255, 255, 0.3);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

/* Общие заголовки */

.footer-heading {
  display: block;

  color: rgba(255, 255, 255, 0.3);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

/* Социальные сети */

.footer-about .footer-heading {
  margin-top: 36px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  flex: 0 0 40px;

  border-radius: 50%;
  background-color: #181818;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.footer-socials img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-socials a:hover {
  background-color: #d84a32;
  transform: translateY(-2px);
}

/* Навигация */

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 190px;
  font-style: normal;
}

.footer-nav .footer-heading {
  margin-bottom: 20px;
}

.footer-nav a {
  margin-bottom: 14px;

  color: rgba(255, 255, 255, 0.75);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;

  transition: color 0.2s ease;
}

.footer-nav a:last-child {
  margin-bottom: 0;
}

.footer-nav a:hover {
  color: #d84a32;
}

/* Контакты */

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 324px;
  font-style: normal;
}

.footer-contacts .footer-heading {
  margin-bottom: 20px;
}

.footer-contacts a {
  margin-bottom: 16px;

  color: rgba(255, 255, 255, 0.75);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;

  transition: color 0.2s ease;
}

.footer-contacts a:last-child {
  margin-bottom: 0;
}

.footer-contacts a:hover {
  color: #d84a32;
}

/* Нижняя часть */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 58px;
  border-top: 1px solid #1d1d1d;
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.3);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.copy {
  left: 0;
}
.tagline {
  right: 0;
}

.catalog-page {
  background: var(--white);
}
.catalog-list {
  min-height: 0;
  padding: 60px 0 96px;
  background: var(--white);
}
.catalog-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.catalog-list-head span {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  text-transform: lowercase;
}
.catalog-list-head h1 {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
}
.catalog-filters {
  display: flex;
  gap: 24px;
  margin-bottom: 2px;
}
.catalog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 50px;
}
.catalog-page-card {
  overflow: hidden;
  height: 378px;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  background: var(--white);
  transition:
    border-color 1.25s var(--motion-slow),
    box-shadow 1.25s var(--motion-slow),
    transform 1.25s var(--motion-slow);
}
.car-card[data-car-link] {
  cursor: pointer;
}
.car-card[data-car-link]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* Совместимый футер для внутренних страниц */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 190px 324px;
  justify-content: space-between;
  gap: 64px;
  padding-top: 60px;
}
.footer-grid > div p {
  max-width: 390px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  line-height: 1.5;
}
.footer-grid nav,
.footer-grid address {
  display: grid;
  align-content: start;
  gap: 18px;
  font-style: normal;
}
.footer-grid nav b,
.footer-grid address b {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  text-transform: uppercase;
}
.footer-grid nav a,
.footer-grid address a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}
.footer-grid nav a:hover,
.footer-grid address a:hover {
  color: var(--red);
}
.catalog-page-card:hover {
  border-color: var(--red);
  box-shadow: 0 18px 44px rgba(21, 21, 21, 0.08);
  transform: translateY(-2px);
}
.catalog-page-card-img {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: #070707;
}
.catalog-page-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.25s var(--motion-slow);
}
.catalog-page-card[data-cms-custom-id] .catalog-page-card-img img {
  object-fit: cover;
}
.catalog-page-card:hover .catalog-page-card-img img {
  transform: scale(1.13);
}
.status {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 700;
}
.status.transit {
  color: var(--black);
  background: var(--white);
}
.status.order {
  color: var(--white);
  background: var(--black);
}
.catalog-page-card-body {
  padding: 24px 24px 0;
}
.catalog-page-card h3 {
  font-size: 16px;
  font-weight: 700;
}
.catalog-page-card p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: #757b83;
  font-size: 14px;
  font-weight: 500;
}
.catalog-page-card p i {
  width: 1px;
  height: 14px;
  background: #d8dde4;
}
.catalog-page-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 24px;
}
.catalog-page-card dt {
  margin-bottom: 8px;
  color: #7f858d;
  font-size: 12px;
  font-weight: 500;
}
.catalog-page-card dd {
  font-size: 14px;
  font-weight: 600;
}
.catalog-lead {
  min-height: 681px;
}
.catalog-footer,
.detail-footer {
  margin-top: 0;
}

.car-detail-page {
  background: var(--white);
}
.detail-hero {
  min-height: 694px;
  padding-top: 60px;
  background: var(--white);
}
.detail-inner {
  position: relative;
  display: grid;
  grid-template-columns: 803px 413px;
  gap: 80px;
}
.back-link {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  height: 24px;
  color: #626972;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--motion-fast);
}
.back-link img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-right: 10px;
  object-fit: contain;
}
.back-link:hover {
  color: var(--red);
}
.gallery {
  position: relative;
  display: grid;
  grid-template-columns: 116px 667px;
  gap: 20px;
  width: 803px;
  margin-top: 64px;
}
.thumbs {
  display: grid;
  align-content: start;
  gap: 20px;
  height: 510px;
  overflow-y: auto;
  scrollbar-width: none;
}
.thumbs::-webkit-scrollbar {
  display: none;
}
.thumbs button {
  width: 116px;
  height: 86px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0;
  background: #111;
  cursor: pointer;
  transition:
    border-color 0.35s var(--motion-fast),
    transform 0.35s var(--motion-fast),
    opacity 0.35s var(--motion-fast);
}
.thumbs button:hover,
.thumbs button.is-active {
  border-color: var(--red);
  transform: translateX(2px);
}
.thumbs button:not(.is-active) {
  opacity: 0.74;
}
.thumbs img,
.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.custom-car-page .main-photo img,
.custom-car-page .thumbs img {
  object-fit: cover;
}
.main-photo {
  width: 667px;
  height: 510px;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}
.main-photo img {
  transition:
    opacity 0.35s var(--motion-fast),
    transform 0.35s var(--motion-fast);
}
.main-photo.is-changing img {
  opacity: 0.3;
  transform: scale(1.02);
}
.gallery-controls {
  position: absolute;
  left: calc(136px + 333.5px);
  bottom: 20px;
  display: grid;
  grid-template-columns: 40px 81px 40px;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}
.gallery-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--red);
  background: var(--white);
  font-size: 26px;
  cursor: pointer;
  transition:
    background 0.22s var(--motion-fast),
    color 0.22s var(--motion-fast),
    transform 0.22s var(--motion-fast);
}
.gallery-controls button:first-child {
  color: var(--black);
}
.gallery-controls button:hover {
  color: var(--white);
  background: var(--red);
  transform: translateY(-1px);
}
.gallery-controls span {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.detail-info {
  margin-top: 64px;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  background: #f2f3f5;
  font-size: 12px;
  font-weight: 700;
}
.detail-tags span:first-child {
  background: #f2f3f5;
}
.detail-info h1 {
  margin-top: 24px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
}
.specs {
  display: grid;
  gap: 0;
  margin-top: 38px;
}
.specs div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  color: #747a82;
  font-size: 14px;
  font-weight: 500;
}
.specs dd {
  font-size: 14px;
  font-weight: 600;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-top: 36px;
}
.price-row strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 28px;
  font-weight: 800;
}
.price-row span {
  color: #747a82;
  font-size: 14px;
  font-weight: 500;
}
.detail-btn {
  width: 413px;
  min-height: 54px;
  margin-top: 32px;
}
.detail-btn:hover {
  color: var(--white);
  background: var(--black);
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: start center;
  overflow-y: auto;
  padding: 135px 24px 40px;
}
.request-modal:target,
.request-modal.is-open {
  display: grid;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: default;
}
.request-modal:target .modal-backdrop,
.request-modal.is-open .modal-backdrop {
  animation: overlayFade 0.28s var(--motion-fast) both;
}
.modal-card {
  position: relative;
  z-index: 1;
  width: 628px;
  min-height: 0;
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  background: #202020;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}
.request-modal:target .modal-card,
.request-modal.is-open .modal-card {
  animation: modalRise 0.34s var(--motion-fast) both;
}
.modal-close {
  position: absolute;
  right: 40px;
  top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9b9b9b;
  font-size: 55px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s var(--motion-fast),
    transform 0.2s var(--motion-fast);
}
.modal-close:hover {
  color: var(--red);
  background: transparent;
  transform: rotate(90deg);
}
.modal-card h2 {
  width: 411px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 30px;
}
.modal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 80px 80px auto auto auto;
  column-gap: 20px;
  row-gap: 24px;
  margin-top: 40px;
}
.modal-fields label,
.modal-fields legend {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
}
.modal-fields label > span b,
.modal-fields legend b {
  color: var(--red);
}
.modal-fields input,
.modal-fields textarea {
  width: 100%;
  height: 52px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0 16px;
  color: var(--white);
  background: #282828;
  outline: none;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  transition:
    background 0.22s var(--motion-fast),
    border-color 0.22s var(--motion-fast),
    box-shadow 0.22s var(--motion-fast);
}
.modal-fields input::placeholder,
.modal-fields textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}
.modal-fields input:focus,
.modal-fields textarea:focus,
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(216, 81, 62, 0.12);
}
.modal-fields .wide,
.modal-fields fieldset {
  grid-column: 1 / -1;
}
.modal-fields fieldset {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}
.modal-fields fieldset legend {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 16px;
}
.modal-fields fieldset label,
.modal-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-transform: none;
  white-space: nowrap;
}
.modal-fields input[type="radio"],
.modal-fields input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  appearance: none;
  border: 1.5px solid var(--red);
  padding: 0;
  background: transparent;
  accent-color: var(--red);
  cursor: pointer;
}
.modal-fields input[type="radio"] {
  border-radius: 50%;
}
.modal-fields input[type="radio"]:checked {
  border-color: var(--red);
  background: radial-gradient(circle, var(--red) 0 38%, transparent 41%);
}
.modal-fields input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  border-radius: 4px;
}
.modal-fields input[type="checkbox"]:checked {
  border-color: var(--red);
  background: var(--red);
}
.modal-fields input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  margin: 2px 0 0 5px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.modal-fields .modal-consent {
  position: static;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 16px;
  text-transform: none;
  white-space: normal;
}
.modal-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.modal-fields button {
  width: 100%;
}

.modal-fields > .btn {
  position: static;
  align-self: end;
  width: 100%;
  height: 60px;
  margin-top: 2px;
  padding: 0 20px;
  border-radius: 16px;
  background: #d84a32;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.modal-fields > .btn:hover {
  color: #fff;
  background: #bd3f2f;
}
.detail-tags span > b {
  color: #bd3f2f;
}

/* Политика конфиденциальности */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 32px;
}
.privacy-modal.is-open {
  display: grid;
}
.privacy-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: default;
  animation: overlayFade 0.25s var(--motion-fast) both;
}
.privacy-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(820px, calc(100vw - 48px));
  max-height: calc(100vh - 64px);
  overflow: hidden;
  border: 1px solid #303030;
  border-radius: 20px;
  color: var(--white);
  background: #202020;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
  animation: modalRise 0.3s var(--motion-fast) both;
}
.privacy-header {
  position: relative;
  padding: 32px 40px 28px;
  border-bottom: 1px solid #323232;
}
.privacy-header > div > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.privacy-header h2 {
  max-width: 620px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}
.privacy-header p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}
.privacy-close {
  position: absolute;
  top: 30px;
  right: 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  color: #a0a0a0;
  background: #282828;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s var(--motion-fast),
    border-color 0.2s var(--motion-fast),
    transform 0.2s var(--motion-fast);
}
.privacy-close:hover {
  color: var(--white);
  border-color: var(--red);
  transform: rotate(90deg);
}
.privacy-content {
  overflow-y: auto;
  padding: 28px 40px 36px;
  scrollbar-color: #555 transparent;
  scrollbar-width: thin;
}
.privacy-content::-webkit-scrollbar {
  width: 6px;
}
.privacy-content::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #555;
}
.privacy-content .privacy-intro {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.privacy-content section + section {
  margin-top: 28px;
}
.privacy-content h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}
.privacy-content p,
.privacy-content li {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}
.privacy-content ul {
  margin: 0;
  padding-left: 20px;
}
.privacy-content a {
  color: #ef6a55;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  border-top: 1px solid #323232;
  background: #1b1b1b;
}
.privacy-footer p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
}
.privacy-footer .btn {
  width: 150px;
  min-height: 48px;
  flex: 0 0 150px;
  border: 0;
  cursor: pointer;
}
body.modal-open {
  overflow: hidden;
}
html.modal-open,
html.modal-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@keyframes overlayFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@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;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto auto;
    padding-inline: 24px;
  }
  .top-nav {
    display: none;
  }
  .hero,
  .stats,
  .reviews,
  .benefits,
  .team,
  .process,
  .catalog,
  .videos,
  .faq,
  .lead,
  .footer {
    height: auto;
    min-height: 0;
  }
  .hero {
    padding-bottom: 48px;
  }
  .hero-copy {
    width: min(637px, calc(100vw - 48px));
  }
  .hero h1,
  .hero p,
  .lead-copy h2,
  .lead-copy p {
    width: auto;
  }
  .hero-car {
    position: relative;
    left: auto;
    top: auto;
    width: min(720px, 100vw);
    margin: 24px 0 0 auto;
  }
  .hero-stage,
  .hero-rings {
    display: none;
  }
  .stats-inner,
  .team-grid,
  .catalog-grid,
  .video-grid,
  .faq-grid,
  .catalog-page-grid,
  .lead-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .catalog-list,
  .detail-hero,
  .catalog-lead {
    min-height: 0;
    padding: 48px 0;
  }
  .catalog-page-grid {
    margin-top: 40px;
  }
  .catalog-page-card {
    height: auto;
    min-height: 378px;
  }
  .detail-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery {
    width: 100%;
    grid-template-columns: 96px minmax(0, 1fr);
    margin-top: 64px;
  }
  .thumbs button {
    width: 96px;
    height: 72px;
  }
  .main-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 667 / 510;
  }
  .gallery-controls {
    left: 50%;
    bottom: -56px;
    transform: translateX(-50%);
  }
  .detail-info {
    margin-top: 56px;
  }
  .detail-btn {
    width: min(413px, 100%);
  }
  .stats-inner,
  .reviews,
  .benefits,
  .team,
  .process,
  .catalog,
  .videos,
  .faq,
  .lead,
  .footer {
    padding: 48px 0;
  }
  .team-card,
  .car-card,
  .video-card {
    height: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100vw - 40px);
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .site-header {
    grid-template-columns: 1fr;
    height: auto;
    gap: 16px;
    padding: 18px 20px;
  }
  .header-phone,
  .header-btn,
  .header-socials {
    display: none;
  }
  .brand strong {
    font-size: 16px;
  }
  .hero-copy {
    margin-left: 20px;
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-actions,
  .row-head,
  .rating,
  .steps article {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stats-inner,
  .benefits-grid,
  .team-grid,
  .catalog-grid,
  .video-grid,
  .faq-grid,
  .catalog-page-grid,
  .lead-grid,
  .lead-form,
  .lead-form fieldset,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .catalog-list-head,
  .catalog-filters,
  .detail-tags,
  .price-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .catalog-filters {
    gap: 12px;
    margin-top: 24px;
  }
  .filter-btn {
    width: 100%;
  }
  .catalog-page-card {
    min-height: 0;
  }
  .detail-inner {
    gap: 32px;
  }
  .gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .thumbs button {
    flex: 0 0 96px;
    transform: none;
  }
  .thumbs button:hover,
  .thumbs button.is-active {
    transform: none;
  }
  .gallery-controls {
    position: static;
    justify-content: center;
    transform: none;
    margin-top: 12px;
  }
  .detail-info {
    margin-top: 0;
  }
  .detail-info h1 {
    font-size: 30px;
  }
  .modal-card {
    width: calc(100vw - 32px);
    min-height: 0;
    padding: 28px 20px;
  }
  .request-modal {
    padding: 20px 0;
  }
  .modal-card h2 {
    width: calc(100% - 44px);
    font-size: 22px;
    line-height: 28px;
  }
  .modal-close {
    top: 30px;
    right: 22px;
  }
  .modal-fields {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin-top: 32px;
  }
  .modal-fields fieldset {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }
  .modal-fields .modal-consent,
  .modal-fields > .btn {
    position: static;
    width: 100%;
  }
  .reviews-track {
    overflow-x: auto;
    width: auto;
    padding-right: 20px;
    margin-left: 20px;
  }
  .review-card-shell {
    flex: 0 0 294px;
  }
  .section-head h2,
  .lead-copy h2 {
    font-size: 28px;
  }
  .team .section-head h2 {
    white-space: normal;
  }
  .team-card {
    grid-template-columns: 1fr;
    min-height: 420px;
  }
  .team-card > img {
    right: 0;
    width: 220px;
    height: 275px;
  }
  .catalog-grid,
  .video-grid,
  .faq-grid {
    gap: 20px;
  }
  .lead-form button {
    width: 100%;
  }
  .footer {
    padding-bottom: 96px;
  }
  .copy,
  .tagline {
    position: static;
  }
}

/* The floating contact button overlays content and must not reserve page space */
@media (max-width: 760px) {
  body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  .privacy-modal {
    padding: 12px;
  }
  .privacy-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }
  .privacy-header {
    padding: 24px 58px 22px 22px;
  }
  .privacy-header h2 {
    font-size: 21px;
    line-height: 1.3;
  }
  .privacy-close {
    top: 20px;
    right: 18px;
  }
  .privacy-content {
    padding: 24px 22px 30px;
  }
  .privacy-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 22px 22px;
  }
  .privacy-footer .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* Mobile navigation and small-screen refinements */
.menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }
  body {
    overflow-x: hidden;
  }
  .site-header {
    grid-template-columns: minmax(0, 1fr) 44px;
    height: 76px;
    gap: 12px;
    padding: 12px 20px;
  }
  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .menu-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #fff;
    background: #242424;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  .site-header.is-menu-open {
    position: fixed;
    inset: 0;
    z-index: 130;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    align-content: start;
    overflow-y: auto;
    padding: 12px 20px 28px;
    background: var(--black);
  }
  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-header .top-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .site-header.is-menu-open .top-nav {
    display: grid;
  }
  .top-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 16px;
  }
  .site-header.is-menu-open .header-phone {
    display: flex;
    grid-column: 1 / -1;
    min-height: 48px;
  }
  .site-header.is-menu-open .header-btn {
    display: inline-flex;
    grid-column: 1 / -1;
    min-height: 52px;
  }
  .site-header.is-menu-open .header-socials {
    display: flex;
    grid-column: 1 / -1;
  }
  .brand {
    grid-template-columns: 40px minmax(0, auto);
    gap: 10px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand small {
    margin-top: 4px;
    font-size: 10px;
  }
  .hero-copy {
    width: calc(100vw - 40px);
    padding-top: 36px;
  }
  .hero-car {
    width: 112vw;
    max-width: none;
    margin: 18px -8vw 0 auto;
  }
  .catalog-list-head h1 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.08;
  }
  .catalog-page-grid {
    margin-top: 28px;
    gap: 18px;
  }
  .catalog-page-card-img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .detail-hero {
    padding-top: 28px;
  }
  .main-photo {
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }
  .main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .specs {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .specs div {
    min-width: 0;
  }
  .detail-btn {
    width: 100%;
  }
  .modal-card {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100vw - 32px);
  }
  .site-header {
    padding-inline: 16px;
  }
  .brand strong {
    font-size: 14px;
  }
  .hero-copy {
    width: calc(100vw - 32px);
    margin-left: 16px;
  }
  .hero h1 {
    font-size: clamp(30px, 9.5vw, 38px);
    line-height: 1.08;
  }
  .hero h1 br {
    display: none;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn {
    min-height: 54px;
    padding: 0 18px !important;
  }
  .stats-inner {
    gap: 12px;
  }
  .stat {
    min-height: 132px;
    padding: 22px 16px;
  }
  .section-head h2,
  .lead-copy h2 {
    font-size: 26px;
    line-height: 1.15;
  }
  .row-head .btn {
    width: 100%;
  }
  .benefits-grid article {
    min-height: 0;
    padding: 24px 20px;
  }
  .team-card {
    min-height: 460px;
    padding: 28px 22px;
    overflow: hidden;
  }
  .team-card > img {
    width: 205px;
    height: 255px;
  }
  .car-img,
  .catalog-page-card-img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .video-card {
    min-height: 0;
  }
  .faq-grid summary {
    padding-right: 54px;
  }
  .lead-form {
    padding: 24px 18px;
  }
  .lead-form fieldset,
  .modal-fields fieldset {
    grid-template-columns: 1fr;
  }
  .footer-top,
  .footer-bottom {
    gap: 28px;
  }
  .gallery {
    margin-top: 36px;
  }
  .thumbs button {
    flex-basis: 82px;
    width: 82px;
    height: 62px;
  }
  .main-photo {
    min-height: 220px;
    border-radius: 18px;
  }
  .detail-info h1 {
    font-size: 28px;
  }
  .specs {
    grid-template-columns: 1fr;
  }
  .price-row strong {
    font-size: 28px;
  }
}

/* Hard mobile bounds: prevent desktop-sized children from widening the page */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  main,
  section,
  header,
  footer {
    max-width: 100%;
  }
  .container,
  .hero-copy,
  .stats-inner,
  .reviews-window,
  .benefits-grid,
  .team-grid,
  .steps,
  .catalog-grid,
  .video-grid,
  .faq-grid,
  .lead-grid,
  .footer-inner,
  .footer-top,
  .footer-bottom,
  .catalog-page-grid,
  .detail-inner,
  .gallery,
  .detail-info {
    max-width: 100%;
    min-width: 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    order: 1;
    margin-inline: auto;
  }
  .hero-car {
    order: 2;
    width: calc(100% - 24px);
    max-width: 520px;
    height: auto;
    margin: 20px auto 0;
  }
  .stats-inner {
    padding-inline: 20px;
  }
  .videos .section-head > div,
  .team .section-head,
  .team .section-head h2,
  .team .section-head p,
  .lead-copy h2,
  .lead-copy p,
  .footer-about,
  .footer-about p,
  .footer-nav,
  .footer-contacts {
    width: auto;
    max-width: 100%;
  }
  .section-head,
  .row-head {
    min-width: 0;
  }
  .section-head h2,
  .section-head p,
  .lead-copy h2,
  .lead-copy p,
  .car-info h3,
  .video-card h3 {
    overflow-wrap: anywhere;
  }
  .reviews-track {
    max-width: calc(100vw - 20px);
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    gap: 16px;
  }
  .radio-label {
    white-space: normal;
  }
  .lead-form {
    width: 100%;
    max-width: 100%;
  }
  .lead-form input,
  .lead-form textarea,
  .lead-form button {
    max-width: 100%;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav,
  .footer-contacts {
    min-width: 0;
  }
}

/* More breathing room between mobile navigation links */
@media (max-width: 760px) {
  .site-header.is-menu-open .top-nav a {
    min-height: 68px;
    padding: 10px 0;
    line-height: 1.35;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }
  .site-header {
    padding-inline: 14px;
  }
  .brand span {
    min-width: 0;
  }
  .brand strong {
    font-size: 12px;
  }
  .brand small {
    font-size: 8px;
    white-space: nowrap;
  }
  .hero-copy {
    width: calc(100% - 28px);
    margin-inline: 14px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 14px;
    line-height: 1.55;
  }
  .pill {
    max-width: 100%;
    padding-inline: 12px;
    font-size: 10px;
  }
  .contact-options {
    grid-template-columns: 1fr;
  }
  .catalog-page-card dl,
  .car-info dl {
    gap: 10px;
  }
}

/* Unified mobile spacing system */
@media (max-width: 760px) {
  :root {
    --mobile-gutter: 20px;
    --mobile-section: 56px;
    --mobile-gap: 24px;
  }

  .container {
    width: calc(100% - (var(--mobile-gutter) * 2));
  }
  .hero,
  .stats-inner,
  .reviews,
  .benefits,
  .team,
  .process,
  .catalog,
  .videos,
  .faq,
  .lead,
  .footer {
    padding-top: var(--mobile-section);
    padding-bottom: var(--mobile-section);
  }

  .hero {
    padding-top: 0;
    padding-bottom: 36px;
  }
  .hero-copy {
    width: calc(100% - (var(--mobile-gutter) * 2));
    margin: 0 auto;
    padding-top: 36px;
  }
  .pill {
    height: 34px;
    margin-bottom: 20px;
  }
  .hero h1 {
    margin: 0;
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.12;
  }
  .hero p {
    margin-top: 20px;
    line-height: 1.55;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }
  .hero-actions .btn {
    min-height: 54px;
    padding: 0 20px !important;
  }
  .hero-car {
    margin-top: 28px;
  }

  .stats {
    padding: 0;
  }
  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 12px var(--mobile-gutter);
  }
  .stat {
    min-height: 132px;
    padding: 24px 12px;
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .stat strong {
    margin-bottom: 8px;
    font-size: 32px;
  }
  .stat span {
    font-size: 13px;
    line-height: 1.4;
  }

  .section-head span,
  .lead-copy > span {
    margin-bottom: 12px;
    font-size: 12px;
  }
  .section-head h2,
  .lead-copy h2 {
    font-size: 28px;
    line-height: 1.22;
  }
  .section-head p,
  .lead-copy p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }
  .row-head {
    align-items: stretch;
    gap: 22px;
  }
  .row-head .btn {
    min-height: 52px;
  }

  .reviews {
    --review-side: var(--mobile-gutter);
    overflow: hidden;
  }
  .catalog-filter-summary {
    min-height: 34px;
    margin-top: 18px;
  }
  .filter-field,
  .filter-control {
    width: 100%;
    min-width: 0;
  }
  .filter-control {
    min-height: 56px;
    height: 56px;
    padding-right: 50px;
    padding-left: 22px;
    border-radius: 18px;
    font-size: 16px;
  }
  .filter-dropdown {
    position: absolute;
    width: 100%;
    max-height: min(330px, 48vh);
    border-radius: 18px;
  }
  .filter-option {
    min-height: 48px;
    padding: 11px 14px;
    font-size: 15px;
  }
  .catalog-filter-summary p {
    font-size: 12px;
  }
  .catalog-filter-summary button {
    padding: 7px 10px;
    font-size: 11px;
  }
  .catalog-filter-summary + .catalog-page-grid {
    margin-top: 22px;
  }
  .reviews-window {
    width: calc(100% - var(--mobile-gutter));
    margin: 32px 0 0 var(--mobile-gutter);
  }
  .reviews-track {
    gap: 16px;
    margin: 0;
    padding: 0 var(--mobile-gutter) 4px 0;
  }
  .review-card-shell {
    flex-basis: min(82vw, 294px);
    width: min(82vw, 294px);
  }
  .rating {
    height: auto;
    gap: 16px;
    margin-top: 32px;
    padding: 22px 20px;
  }
  .rating-score {
    font-size: 30px;
  }

  .benefits-grid {
    gap: 12px;
    margin-top: 32px;
  }
  .benefits-grid article,
  .benefits-grid article:nth-child(3n),
  .benefits-grid article:nth-last-child(-n + 3) {
    padding: 24px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }
  .benefits-grid i {
    margin-bottom: 20px;
  }

  .team-grid {
    gap: 18px;
    margin-top: 32px;
  }
  .team-card {
    min-height: 440px;
  }
  .team-card > div {
    padding: 28px 22px 0;
  }
  .team-card h3 {
    font-size: 26px;
  }
  .team-card p {
    width: min(220px, 75%);
    margin-top: 18px;
  }
  .team-contacts {
    gap: 12px;
    margin-top: 20px;
  }

  .steps {
    margin-top: 32px;
  }
  .steps article {
    align-items: start;
    gap: 12px;
    min-height: 0;
    padding: 24px 0;
  }
  .steps article strong {
    width: auto;
    font-size: 28px;
    line-height: 1;
  }
  .steps article h3 {
    width: auto;
    margin: 0;
    font-size: 16px;
  }
  .steps article p {
    width: auto;
    margin: 8px 0 0;
  }

  .catalog-grid,
  .video-grid,
  .faq-grid {
    gap: 18px;
    margin-top: 32px;
  }
  .car-card,
  .video-card,
  .catalog-page-card {
    height: auto;
    border-radius: 16px;
  }
  .car-info,
  .catalog-page-card-body,
  .video-card > div:last-child {
    padding: 20px;
  }
  .car-info dl,
  .catalog-page-card dl {
    margin-top: 20px;
  }

  .videos .section-head {
    gap: 22px;
  }
  .video-card h3 {
    line-height: 1.35;
  }

  .faq .section-head {
    margin-bottom: 0;
  }
  .faq-grid details {
    border-radius: 14px;
  }
  .faq-grid summary {
    min-height: 68px;
    padding: 16px 52px 16px 18px;
    line-height: 1.35;
  }
  .faq-grid p {
    padding: 0 18px 18px;
  }

  .lead-grid {
    gap: 40px;
  }
  .lead-copy ul {
    gap: 14px;
    margin-top: 28px;
    padding-bottom: 28px;
  }
  .lead-copy b {
    margin-top: 28px;
  }
  .socials {
    gap: 14px;
    margin-top: 18px;
  }
  .form-row,
  .form-row + .form-field,
  .contact-method,
  .consent {
    margin-top: 0;
  }
  .lead-form {
    gap: 24px;
    padding: 0;
  }
  .lead-form textarea {
    margin: 0;
  }
  .contact-options {
    margin-top: 14px;
  }
  .lead-form .form-submit {
    margin-top: 4px;
  }

  .footer {
    padding-bottom: 40px;
  }
  .footer-inner {
    min-height: 0;
    padding-top: 0;
  }
  .footer-top {
    gap: 36px;
  }
  .footer-about p {
    margin-top: 20px;
  }
  .footer-nav,
  .footer-contacts {
    gap: 14px;
  }
  .footer-bottom {
    margin-top: 36px;
    padding-top: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 0;
  }

  .catalog-list {
    padding: 44px 0 56px;
  }
  .catalog-list-head {
    gap: 28px;
  }
  .catalog-list-head span {
    margin-bottom: 10px;
  }
  .catalog-filters {
    gap: 10px;
    margin-top: 0;
  }
  .filter-btn {
    min-height: 50px;
  }
  .catalog-page-grid {
    gap: 18px;
    margin-top: 32px;
  }
  .catalog-lead {
    min-height: 0;
    padding: var(--mobile-section) 0;
  }

  .detail-hero {
    padding: 32px 0 var(--mobile-section);
  }
  .detail-inner {
    gap: 30px;
  }
  .back-link {
    position: static;
  }
  .gallery {
    margin-top: 4px;
    gap: 12px;
  }
  .thumbs {
    gap: 10px;
  }
  .gallery-controls {
    margin-top: 4px;
  }
  .detail-info h1 {
    margin-top: 18px;
    line-height: 1.2;
  }
  .detail-tags {
    gap: 8px;
  }
  .specs {
    margin-top: 26px;
  }
  .specs div {
    min-height: 48px;
    gap: 16px;
  }
  .price-row {
    gap: 10px;
    margin-top: 28px;
  }
  .detail-btn {
    min-height: 56px;
    margin-top: 24px;
  }

  .modal-card {
    padding: 26px 20px;
  }
  .modal-fields {
    gap: 20px;
    margin-top: 26px;
  }
}

/* Stable mobile product card layout */
@media (max-width: 760px) {
  .detail-hero {
    min-height: 0;
    padding: 24px 0 56px;
  }
  .detail-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .back-link {
    position: static;
    order: 0;
    width: max-content;
    max-width: 100%;
  }
  .gallery {
    order: 1;
    display: flex;
    width: 100%;
    margin: 0;
    gap: 12px;
    flex-direction: column;
  }
  .main-photo {
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: #111;
  }
  .main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .custom-car-page .main-photo img {
    object-fit: cover;
  }
  .thumbs {
    order: 2;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    scroll-snap-type: x proximity;
  }
  .thumbs button {
    width: 82px;
    height: 64px;
    flex: 0 0 82px;
    border-radius: 12px;
    scroll-snap-align: start;
  }
  .thumbs button:hover,
  .thumbs button.is-active {
    transform: none;
  }
  .gallery-controls {
    position: static;
    order: 3;
    display: grid;
    justify-content: center;
    margin: 0;
    transform: none;
  }
  .detail-info {
    order: 2;
    width: 100%;
    margin: 0;
  }
  .detail-tags {
    display: flex;
    grid-template-columns: none;
    flex-wrap: wrap;
    gap: 8px;
  }
  .detail-tags span {
    width: auto;
    min-height: 34px;
  }
  .detail-info h1 {
    margin-top: 18px;
    font-size: clamp(27px, 7.5vw, 34px);
    overflow-wrap: anywhere;
  }
  .specs {
    margin-top: 24px;
  }
  .price-row {
    display: flex;
    grid-template-columns: none;
    flex-wrap: wrap;
    align-items: baseline;
  }
}

@media (max-width: 380px) {
  :root {
    --mobile-gutter: 16px;
    --mobile-section: 48px;
  }
  .site-header {
    padding-inline: var(--mobile-gutter);
  }
  .hero-copy {
    margin-inline: auto;
  }
  .section-head h2,
  .lead-copy h2 {
    font-size: 25px;
  }
  .team-card {
    min-height: 420px;
  }
  .team-card > img {
    width: 185px;
    height: 235px;
  }
  .car-info,
  .catalog-page-card-body,
  .video-card > div:last-child {
    padding: 18px;
  }
  .catalog-page-card dl,
  .car-info dl {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .detail-info h1 {
    font-size: 26px;
  }
}

/* Reviews slider and team cards polish */
@media (max-width: 760px) {
  .reviews .section-head.row-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
  }
  .reviews .arrows {
    gap: 8px;
    margin: 0;
  }
  .reviews .arrows b,
  .reviews .arrows button {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .reviews .arrows b,
  .reviews .arrows button {
    position: relative;
    z-index: 4;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
  }
  .reviews-window {
    overflow: hidden;
  }
  .reviews-window {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-window::-webkit-scrollbar {
    display: none;
  }
  .reviews-track {
    align-items: stretch;
    width: max-content;
    touch-action: pan-x;
  }
  .review-card-shell {
    display: flex;
    flex-direction: column;
    flex: 0 0 min(84vw, 330px);
    width: min(84vw, 330px);
    height: 520px;
    border: 1px solid #e8ebef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(21, 21, 21, 0.07);
    scroll-snap-align: start;
  }
  .review-card-shell > img {
    width: 100%;
    height: 250px;
    flex: 0 0 250px;
    object-fit: cover;
    object-position: center center;
  }
  .review-text-card {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }
  .review-text-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }
  .review-author {
    margin-top: auto;
    padding-top: 16px;
  }
  .review-card-shell:hover > img {
    opacity: 1;
    transform: none;
  }
  .review-card-shell:hover .review-text-card {
    opacity: 1;
    transform: none;
  }

  .team-card {
    display: block;
    min-height: 610px;
    padding-bottom: 292px;
    border-radius: 20px;
    background: linear-gradient(155deg, #1d1d1d 0%, #131313 70%);
  }
  .team-card > div {
    padding: 28px 22px 0;
  }
  .team-card h3 {
    font-size: 28px;
  }
  .team-card b {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.45;
  }
  .team-card p {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    line-height: 1.5;
  }
  .team-card > img {
    right: 50%;
    bottom: -24px;
    width: 236px;
    height: 300px;
    object-fit: contain;
    object-position: bottom center;
    transform: translateX(50%);
  }
  .team-card:nth-child(2) > img {
    transform: translateX(50%) scaleX(-1);
  }
  .team-card:hover > img {
    transform: translateX(50%);
  }
  .team-card:nth-child(2):hover > img {
    transform: translateX(50%) scaleX(-1);
  }
  .team-card::before {
    right: 50%;
    bottom: -96px;
    transform: translateX(50%);
  }
  .team-card::after {
    right: 50%;
    bottom: -38px;
    transform: translateX(50%);
  }
  .team-card:hover::before,
  .team-card:hover::after {
    transform: translateX(50%);
  }
  .team-contacts {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .reviews .section-head.row-head {
    grid-template-columns: 1fr;
  }
  .reviews .arrows {
    justify-content: flex-start;
  }
  .review-card-shell {
    flex-basis: calc(100vw - 48px);
    width: calc(100vw - 48px);
  }
  .team-card {
    min-height: 630px;
    padding-bottom: 276px;
  }
  .team-card > img {
    width: 218px;
    height: 280px;
  }
  .team-card .team-phone {
    width: 100%;
  }
}

/* Final mobile gutters and privacy dialog */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }
  .team > .section-head,
  .team > .team-grid,
  .videos > .section-head,
  .videos > .video-grid,
  .process > .section-head,
  .process > .steps,
  .catalog > .section-head,
  .catalog > .catalog-grid,
  .faq > .section-head,
  .faq > .faq-grid,
  .lead > .lead-grid {
    width: calc(100% - (var(--mobile-gutter) * 2));
    margin-left: auto;
    margin-right: auto;
  }
  .team .section-head h2,
  .team .section-head p,
  .videos .section-head > div {
    width: 100%;
  }
  .video-grid {
    margin-top: 32px;
  }
  .video-card {
    overflow: hidden;
  }
  .video-card > div:first-child {
    margin: 0;
  }
  .video-card > div:first-child img {
    width: 100%;
  }
  .catalog {
    padding-bottom: 0;
  }
  .catalog-grid {
    padding-bottom: 32px;
  }
  .delivery {
    margin-top: 0;
  }

  .privacy-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    padding: 12px;
    overflow: hidden;
  }
  .privacy-card {
    width: 100%;
    max-width: 520px;
    height: calc(100dvh - 24px);
    max-height: none;
    margin: 0 auto;
    border-radius: 18px;
    transform: none;
  }
  .privacy-card,
  .privacy-card * {
    min-width: 0;
  }
  .privacy-header {
    width: 100%;
    padding: 24px 62px 20px 20px !important;
  }
  .privacy-header > div {
    width: 100%;
    margin: 0;
    padding: 0;
    transform: none;
  }
  .privacy-header h2 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(20px, 6.2vw, 25px);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .privacy-header p {
    margin-top: 10px;
  }
  .privacy-close {
    top: 20px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
  .privacy-content {
    width: 100%;
    padding: 22px 20px 28px !important;
    overscroll-behavior: contain;
  }
  .privacy-content .privacy-intro {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.55;
  }
  .privacy-content section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .privacy-content section + section {
    margin-top: 24px;
  }
  .privacy-content h3 {
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .privacy-content p,
  .privacy-content li {
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .privacy-content ul {
    padding-left: 18px;
  }
  .privacy-footer {
    width: 100%;
    gap: 14px;
    padding: 16px 20px 18px !important;
  }
  .privacy-footer p {
    max-width: 100%;
  }
  .privacy-footer .btn {
    width: 100%;
    min-height: 52px;
    flex-basis: auto;
  }
}

@media (max-width: 380px) {
  .privacy-modal {
    padding: 8px;
  }
  .privacy-card {
    height: calc(100dvh - 16px);
    border-radius: 16px;
  }
  .privacy-header {
    padding: 20px 58px 18px 18px !important;
  }
  .privacy-content {
    padding: 20px 18px 24px !important;
  }
  .privacy-footer {
    padding: 14px 18px 16px !important;
  }
}

/* Fixed header and mobile contact dock */
.site-header + main,
body > main:first-of-type {
  padding-top: 100px;
}
.contact-dock {
  display: none;
}

@media (max-width: 760px) {
  .site-header + main,
  body > main:first-of-type {
    padding-top: 76px;
  }
  body {
    padding-bottom: 88px;
  }
  .contact-dock {
    position: fixed;
    right: 16px;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 105;
    display: grid;
    justify-items: end;
    width: min(304px, calc(100vw - 32px));
  }
  .contact-dock-toggle {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #111;
    background: var(--red);
    box-shadow: 0 14px 34px rgba(21, 21, 21, 0.28);
    font-weight: 800;
    cursor: pointer;
  }
  .contact-dock-toggle img {
    width: 27px;
    height: 27px;
    filter: brightness(0) invert(1);
  }
  body.mobile-menu-open {
    overflow: hidden;
  }
  body.mobile-menu-open .contact-dock {
    display: none;
  }
  .contact-dock-menu {
    display: grid;
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: #181818;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }
  .contact-dock.is-open .contact-dock-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .contact-dock-menu a {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px 10px;
    border-radius: 14px;
    color: #fff;
  }
  .contact-dock-menu a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .contact-dock-menu a > img {
    width: 24px;
    height: 24px;
    margin: 0 auto;
  }
  .contact-dock-menu strong,
  .contact-dock-menu small {
    display: block;
  }
  .contact-dock-menu strong {
    font-size: 14px;
  }
  .contact-dock-menu small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
  }
}

/* Mobile hero order: text → car → actions */
@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    display: contents;
  }
  .hero-copy .pill {
    order: 1;
    align-self: flex-start;
    margin: 36px 20px 20px;
  }
  .hero-copy h1 {
    order: 2;
    width: calc(100% - 40px);
    margin: 0 auto;
  }
  .hero-copy p {
    order: 3;
    width: calc(100% - 40px);
    margin: 20px auto 0;
  }
  .hero-car {
    order: 4;
    margin: 28px auto 0;
  }
  .hero-copy .hero-actions {
    order: 5;
    display: grid;
    width: calc(100% - 40px);
    margin: 24px auto 0;
  }
}

@media (max-width: 480px) {
  .hero-copy .pill {
    margin-inline: 16px;
  }
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .hero-actions {
    width: calc(100% - 32px);
  }
}

/* iPhone/Safari: scroll the modal viewport, keep the page locked */
@media (max-width: 760px) {
  .request-modal,
  .request-modal:target,
  .request-modal.is-open {
    position: fixed;
    inset: 0;
    display: none;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: scroll !important;
    padding: max(12px, env(safe-area-inset-top)) 0
      calc(32px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }
  .request-modal:target,
  .request-modal.is-open {
    display: block;
  }
  .request-modal .modal-card {
    width: calc(100% - 24px);
    height: auto;
    max-height: none !important;
    min-height: max-content;
    overflow: visible !important;
    margin: 0 auto;
    padding: 28px 20px calc(34px + env(safe-area-inset-bottom));
  }
  .modal-fields fieldset legend {
    display: block;
    width: 100%;
    max-width: none;
    margin-bottom: 16px;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
  body.modal-open .contact-dock {
    display: none !important;
  }
  .modal-fields .form-send-result {
    order: 1;
    width: 100%;
    margin: 0 0 2px;
  }
  .modal-fields > .btn {
    order: 2;
  }
}

/* Reviews carousel powered by local Swiper */
.reviews-window.swiper {
  overflow: hidden !important;
  scroll-snap-type: none !important;
}
.reviews .reviews-track.swiper-wrapper {
  gap: 0 !important;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  touch-action: pan-y;
}
.reviews .review-card-shell.swiper-slide {
  flex-shrink: 0;
  scroll-snap-align: none;
}
.reviews .arrows .swiper-button-lock {
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 760px) {
  .reviews {
    --review-card-width: min(84vw, 360px);
  }
  .reviews-window.swiper {
    width: 100%;
    margin: 32px 0 0;
    padding: 0;
  }
  .reviews .review-card-shell.swiper-slide {
    flex: 0 0 var(--review-card-width);
    width: var(--review-card-width);
  }
}

/* No artificial white space below mobile pages */
@media (max-width: 760px) {
  html,
  body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
.contact-link-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* iPad portrait and compact tablets */
@media (min-width: 761px) and (max-width: 1100px) {
  .container {
    width: calc(100vw - 64px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    height: 92px;
    padding-inline: 28px;
  }
  .site-header + main,
  body > main:first-of-type {
    padding-top: 92px;
  }
  .site-header .brand {
    grid-template-columns: 42px auto;
    gap: 10px;
  }
  .site-header .brand img {
    width: 42px;
    height: 42px;
  }
  .site-header .brand strong {
    font-size: 17px;
  }
  .site-header .brand small {
    margin-top: 4px;
    font-size: 10px;
  }
  .site-header .header-phone {
    gap: 9px;
  }
  .site-header .header-phone strong {
    font-size: 14px;
  }
  .site-header .header-phone small {
    font-size: 10px;
  }
  .site-header .header-btn {
    min-height: 46px;
    padding-inline: 24px;
    white-space: nowrap;
  }
  .site-header .header-socials {
    gap: 8px;
  }
  .site-header .header-social {
    width: 38px;
    height: 38px;
  }

  .hero {
    display: block;
    height: 650px;
    min-height: 650px;
    padding: 0;
  }
  .hero-copy {
    position: absolute;
    top: 92px;
    left: 32px;
    z-index: 4;
    width: min(49vw, 490px);
    margin: 0;
    padding: 0;
  }
  .hero-copy .pill {
    margin-bottom: 20px;
  }
  .hero h1 {
    width: 100%;
    font-size: clamp(36px, 4.25vw, 46px);
    line-height: 1.18;
  }
  .hero p {
    width: min(100%, 460px);
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }
  .hero-actions .btn {
    min-height: 54px;
    padding: 15px 25px !important;
    white-space: nowrap;
  }
  .hero-car {
    position: absolute;
    top: 74px;
    right: -50px;
    left: auto;
    z-index: 2;
    width: min(64vw, 650px);
    height: 520px;
    margin: 0;
    object-position: center;
  }
  .hero-bg {
    opacity: 0.3;
  }

  .stats-inner,
  .reviews,
  .benefits,
  .team,
  .process,
  .catalog,
  .videos,
  .faq,
  .lead,
  .footer {
    padding-block: 64px;
  }
  .stats-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-inline: 32px;
  }
  .section-head {
    margin-bottom: 36px;
  }

  .catalog-list-head {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .catalog-list-head h1 {
    font-size: clamp(40px, 5vw, 54px);
  }
  .catalog-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 16px;
    margin: 0;
  }
  .catalog-filters .filter-field,
  .catalog-filters .filter-control,
  .catalog-filters .filter-btn {
    width: 100%;
    min-width: 0;
  }
  .catalog-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .detail-hero {
    padding: 52px 0 72px;
  }
  .detail-inner {
    gap: 56px;
  }
  .gallery {
    margin-top: 38px;
  }
  .detail-info {
    margin-top: 24px;
  }
  .footer-grid {
    grid-template-columns: 1.25fr 0.75fr 1fr;
    gap: 32px;
  }
}
