@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f1113;
  --ink-2: #171a1d;
  --orange: #f59a0a;
  --white: #ffffff;
  --gray: #8b8b8b;
  --light: #f6f6f6;
  --radius: 24px;
  --container: 1500px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 1180px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; line-height: normal; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul { margin: 0; }
button { cursor: pointer; }

.container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}
.section { padding: 110px 0; }
.section--light { background: var(--light); }
.section--dark { color: var(--white); background: var(--ink); }
.section--orange { background: var(--orange); }
.eyebrow {
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.title-xl { max-width: 1040px; font-size: clamp(52px, 4.4vw, 72px); font-weight: 500; letter-spacing: -.055em; }
.title-lg { max-width: 980px; font-size: clamp(40px, 3.2vw, 52px); font-weight: 500; letter-spacing: -.045em; }
.title-md { font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.lead { max-width: 820px; color: #555b61; font-size: 20px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.section-head .lead { max-width: 660px; }
.muted { color: var(--gray); }

.topline { height: 36px; color: #c9c9c9; background: var(--ink); font-size: 12px; }
.topline .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-header { position: relative; z-index: 20; background: var(--white); }
.nav { height: 90px; display: flex; align-items: center; gap: 42px; }
.logo { width: 125px; height: 70px; object-fit: contain; margin-right: auto; }
.menu { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; }
.menu a { position: relative; padding: 10px 0; }
.menu a:hover, .menu a.active { color: var(--orange); }
.header-phone { font-size: 14px; font-weight: 600; }

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 27px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  background: var(--orange);
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button::after { content: none; }
.button:hover { transform: translateY(-2px); background: #ffad2a; }
.button--dark { color: var(--white); background: var(--ink); }
.button--white { color: var(--ink); background: var(--white); }
.button--ghost { color: var(--ink); background: rgba(255,255,255,.82); }
.button--small { min-height: 44px; padding: 12px 20px; font-size: 13px; }
.button--plain::after { content: none; }

.breadcrumbs { padding: 28px 0 0; color: #767b80; font-size: 13px; }
.breadcrumbs a:hover { color: var(--orange); }

.home-hero { padding: 0 0 48px; }
.home-hero__surface {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--light) url("../img/hero/home.jpg") center/cover no-repeat;
}
.home-hero__copy { position: absolute; z-index: 2; left: 56px; top: 76px; width: 720px; }
.home-hero__copy .lead { max-width: 660px; margin-top: 24px; color: #40454a; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }

.page-hero { padding: 0 0 64px; }
.page-hero__surface { position: relative; min-height: 680px; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
.page-hero__surface > img { width: 100%; height: 680px; object-fit: cover; }
.page-hero__copy { position: absolute; z-index: 2; inset: auto auto 62px 56px; width: 720px; color: var(--white); }
.page-hero__copy .lead { margin-top: 20px; color: rgba(255,255,255,.8); }
.page-hero--light .page-hero__surface { min-height: 560px; background: var(--light); }
.page-hero--light .page-hero__copy { top: 80px; bottom: auto; color: var(--ink); }
.page-hero--light .page-hero__copy .lead { color: #555b61; }
.page-hero--light .hero-object { position: absolute; right: 50px; bottom: 0; width: 48%; height: 88%; object-fit: contain; }
.cars-hero .page-hero__surface { min-height: 400px; }
.cars-hero .page-hero__surface > img { height: 400px; }
.cars-hero .page-hero__copy { bottom: 54px; }

.intro-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: start; }
.intro-copy p + p { margin-top: 22px; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fact { min-height: 190px; padding: 30px; border-radius: var(--radius); background: var(--light); }
.fact b { display: block; margin-bottom: 48px; color: var(--orange); font-size: 15px; }
.fact span { font-size: 21px; font-weight: 500; }
.fact p { margin-top: 12px; font-size: 13px; }

.services-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 430px; overflow: hidden; padding: 28px; border-radius: var(--radius); background: var(--light); }
.service-card h3 { position: relative; z-index: 2; max-width: 310px; font-size: 24px; font-weight: 500; }
.service-card img { position: absolute; right: -14px; bottom: -6px; width: 82%; height: 72%; object-fit: contain; }
.service-card__arrow { position: absolute; z-index: 3; left: 28px; bottom: 28px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 20px; }
.service-card:hover .service-card__arrow { background: var(--orange); }
.services-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services-catalog .service-card { min-height: 360px; }
.services-catalog .service-card h3 { font-size: 20px; }

.brands-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.brand-card { min-height: 186px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: var(--radius); background: var(--white); }
.brands-block .brand-card { background: var(--light); }
.brand-name { font-size: 32px; font-weight: 700; letter-spacing: -.05em; }
.brand-card small { color: var(--gray); }

.parts-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.parts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.part-card { min-height: 126px; padding: 24px; border-radius: 18px; background: var(--white); }
.part-card span { display: block; margin-bottom: 28px; color: var(--orange); font-size: 13px; font-weight: 600; }
.part-card strong { font-size: 18px; font-weight: 500; }
.parts-note { position: sticky; top: 30px; min-height: 400px; padding: 44px; border-radius: var(--radius); background: var(--orange); }
.parts-note strong { display: block; margin-top: 120px; font-size: 66px; font-weight: 500; letter-spacing: -.06em; }

.promo { overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.promo-grid { min-height: 678px; display: grid; grid-template-columns: 1fr 1fr; }
.promo-copy { padding: 58px; color: var(--white); }
.promo-copy .title-lg { margin-bottom: 20px; }
.promo-copy .lead { color: #b6b9bc; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }

.form { display: grid; gap: 12px; margin-top: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form input, .form select, .form textarea, .upload-field {
  width: 100%; min-height: 58px; padding: 17px 20px; border: 0; border-radius: 13px; outline: 0; color: var(--ink); background: var(--white);
}
.form textarea { min-height: 112px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: 0 0 0 2px var(--orange); }
.form--dark input, .form--dark select, .form--dark textarea, .form--dark .upload-field { background: #26292d; color: var(--white); }
.form--dark input::placeholder, .form--dark textarea::placeholder { color: #979b9f; }
.form .wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: #a7aaad; font-size: 11px; }
.consent input { width: 16px; min-height: 16px; padding: 0; margin: 0; accent-color: var(--orange); }
.form-status { min-height: 18px; font-size: 13px; }
.form-status.is-error { color: #ff735f; }
.form-status.is-success { color: #59bc73; }
.upload-field { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; }
.upload-field input { position: absolute; opacity: 0; pointer-events: none; }
.upload-field::after { content: "＋"; color: var(--orange); font-size: 25px; }

.about-home { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.about-photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.about-photo img { width: 100%; min-height: 560px; object-fit: cover; }
.year-stamp { position: absolute; left: 28px; bottom: 28px; padding: 24px 28px; border-radius: 18px; background: var(--white); }
.year-stamp strong { display: block; color: var(--orange); font-size: 56px; font-weight: 500; }
.about-text p { margin-top: 22px; color: #555b61; }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 16px; }
.contact-card { padding: 42px; border-radius: var(--radius); background: var(--orange); }
.contact-row + .contact-row { margin-top: 30px; }
.contact-row small { display: block; margin-bottom: 8px; color: rgba(15,17,19,.58); }
.contact-row strong, .contact-row a { font-size: 20px; font-weight: 500; white-space: pre-line; }
.map-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.map-card img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.map-actions { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 8px; }

.callback { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.callback .form { margin-top: 0; padding: 34px; border-radius: var(--radius); background: var(--ink); }

.diagnostic-list { display: grid; gap: 12px; margin-top: 50px; }
.diagnostic-item { min-height: 104px; display: grid; grid-template-columns: 90px 1fr; align-items: center; padding: 22px 30px; border-radius: 18px; background: var(--light); }
.diagnostic-item span { color: var(--orange); font-weight: 600; }
.diagnostic-item strong { font-size: 22px; font-weight: 500; }
.diagnostic-hero-object { filter: drop-shadow(0 26px 30px rgba(0,0,0,.14)); }

.pickup { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.pickup img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); }
.pickup-copy { padding: 52px; border-radius: var(--radius); background: var(--light); }
.pickup-copy .lead { margin-top: 24px; }

.sell-grid { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; border-radius: var(--radius); background: var(--light); }
.sell-grid > img { width: 100%; height: 100%; min-height: 650px; object-fit: cover; }
.sell-copy { padding: 56px; }
.cars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.car-card { overflow: hidden; border-radius: 20px; background: var(--light); }
.car-card > img { width: 100%; height: 220px; object-fit: cover; }
.car-card__body { padding: 24px; }
.car-card h3 { font-size: 22px; font-weight: 500; }
.car-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 30px 0; }
.car-specs strong { display: block; font-size: 14px; font-weight: 600; }
.car-specs small { display: block; margin-top: 5px; color: var(--gray); font-size: 10px; }
.car-card .button { width: 100%; }

.car-seo { position: relative; min-height: 670px; overflow: hidden; border-radius: var(--radius); background: var(--light); }
.car-seo > img { position: absolute; left: 50%; bottom: 40px; width: 58%; transform: translateX(-50%); }
.car-seo__title { position: absolute; left: 42px; top: 42px; max-width: 550px; }
.car-callout { position: absolute; min-width: 190px; padding: 18px 22px; border-radius: 14px; background: var(--white); box-shadow: 0 18px 60px rgba(20,25,30,.08); }
.car-callout:nth-child(2) { left: 7%; top: 46%; }
.car-callout:nth-child(3) { right: 7%; top: 37%; }
.car-callout:nth-child(4) { left: 15%; bottom: 10%; }
.car-callout:nth-child(5) { right: 15%; bottom: 9%; }
.car-callout::before { content: ""; position: absolute; width: 68px; height: 1px; top: 50%; background: var(--orange); animation: callout 2.8s ease-in-out infinite; transform-origin: left center; }
.car-callout:nth-child(even)::before { left: 100%; }
.car-callout:nth-child(odd)::before { right: 100%; transform-origin: right center; }
@keyframes callout { 0%,100% { transform: scaleX(.35); opacity: .35; } 50% { transform: scaleX(1); opacity: 1; } }

.docs-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 16px; }
.doc-card { min-height: 480px; overflow: hidden; padding: 22px; border-radius: var(--radius); background: var(--light); }
.doc-card img { width: 100%; height: 100%; object-fit: contain; }
.doc-card:first-child { grid-row: span 2; min-height: 760px; }
.about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; }
.about-story__copy { padding: 58px; border-radius: var(--radius); background: var(--light); }
.about-story__copy .year { margin-top: 95px; color: var(--orange); font-size: 96px; font-weight: 500; letter-spacing: -.07em; }
.about-story > img { width: 100%; height: 660px; object-fit: cover; border-radius: var(--radius); }

.gallery-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.tab { padding: 12px 20px; border: 0; border-radius: 5px; background: var(--light); }
.tab.is-active { color: var(--white); background: var(--ink); }
.gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: 260px; gap: 14px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; border-radius: 20px; background: var(--light); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 5px; background: rgba(255,255,255,.9); font-size: 12px; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.info-card { min-height: 230px; padding: 30px; border-radius: var(--radius); background: var(--light); }
.info-card--orange { background: var(--orange); }
.info-card--dark { color: var(--white); background: var(--ink); }
.info-card small { display: block; margin-bottom: 70px; color: var(--gray); }
.info-card--orange small { color: rgba(15,17,19,.56); }
.info-card strong, .info-card a { font-size: 18px; font-weight: 500; white-space: pre-line; }
.routes-grid { display: grid; grid-template-columns: 1.32fr .68fr; gap: 16px; }
.route-card { padding: 42px; border-radius: var(--radius); background: var(--light); }
.route-links { display: grid; gap: 10px; margin-top: 55px; }
.route-links a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 16px 20px; border-radius: 14px; background: var(--white); }

.site-footer { padding: 70px 0 28px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr; gap: 90px; }
.footer-brand { font-size: 28px; font-weight: 500; }
.footer-nav { display: grid; gap: 14px; color: #c2c5c7; }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { display: grid; gap: 14px; color: #c2c5c7; white-space: pre-line; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 70px; padding-top: 28px; color: #777d82; font-size: 11px; }
.footer-legal { display: flex; gap: 26px; }

.modal { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 40px; background: rgba(15,17,19,.7); }
.modal.is-open { display: grid; }
.modal__box { position: relative; width: min(680px, 100%); max-height: calc(100vh - 80px); overflow: auto; padding: 48px; border-radius: var(--radius); background: var(--white); }
.modal__close { position: absolute; right: 22px; top: 18px; border: 0; background: none; font-size: 28px; }
.modal .form input, .modal .form textarea, .modal .form select { background: var(--light); }
.button:disabled { cursor: wait; opacity: .65; }

@media (max-width: 1280px) {
  .container { width: calc(100% - 56px); }
  .menu { gap: 18px; }
  .header-phone { display: none; }
  .services-catalog .service-card { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Desktop layout synchronized with the approved Figma frames. */
:root {
  --radius: 10px;
  --container: 1824px;
}

html, body { overflow-x: hidden; }
body { font-size: 15px; }
.container { width: min(calc(100% - 96px), var(--container)); }
.section { padding: 92px 0; }
.title-xl { max-width: 1030px; font-size: clamp(54px, 3.75vw, 72px); line-height: normal; }
.title-lg { max-width: 980px; font-size: clamp(38px, 2.7vw, 52px); line-height: normal; }
.title-md { font-size: 30px; line-height: normal; }
.lead { max-width: 820px; font-size: 16px; line-height: normal; }
.eyebrow { margin-bottom: 16px; font-size: 11px; }
.section-head { margin-bottom: 48px; }

.topline { height: 28px; font-size: 10px; }
.nav { height: 84px; gap: 34px; }
.logo { width: 112px; height: 56px; }
.menu { gap: 34px; font-size: 13px; }
.header-phone { font-size: 14px; }

.button {
  min-height: 50px;
  gap: 0;
  padding: 14px 28px;
  border-radius: 7px;
  font-size: 14px;
  line-height: normal;
}
.button::after { content: none; }
.button:hover { transform: none; }
.button--small { min-height: 44px; padding: 12px 24px; font-size: 12px; }

.breadcrumbs { padding-top: 30px; color: #777; font-size: 12px; }
.breadcrumbs a:hover { color: inherit; }

.home-hero { padding: 22px 0 42px; }
.home-hero__surface {
  min-height: 760px;
  border-radius: var(--radius);
  background-position: center;
}
.home-hero__copy { left: 58px; top: 92px; width: 760px; }
.home-hero__copy .lead { max-width: 690px; margin-top: 22px; }
.hero-actions { gap: 12px; margin-top: 30px; }

.home-intro__head,
.home-about__head,
.home-about__bottom {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: start;
}
.home-about__bottom { margin-top: 40px; }
.home-about__bottom .year-stamp {
  position: static;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.home-about__bottom .year-stamp strong { margin-bottom: 10px; }
.home-about__bottom .year-stamp .button { margin-top: 22px; border: 1px solid #d5d5d5; }
.home-intro__head { margin-bottom: 46px; }
.facts-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.fact {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: var(--radius);
  background: #e9e9e9;
}
.fact b { order: -1; margin: 0 auto auto 0; color: inherit; font-size: 12px; }
.fact span { font-size: 20px; }
.fact p { margin-top: 16px; color: #696969; font-size: 12px; }
.fact--dark { min-height: 430px; color: var(--white); background: var(--ink); }
.fact--dark p { color: #b6b7b8; }
.fact--photo {
  min-height: 390px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15,17,19,.05), rgba(15,17,19,.68)), url("../img/shared/mechanic.jpg") center/cover no-repeat;
}
.fact--photo p { color: #e2e2e2; }
.fact--orange { min-height: 420px; background: var(--orange); }
.fact--orange p { color: #4a3513; }

.services-featured,
.services-catalog { gap: 16px; }
.service-card {
  min-height: 420px;
  padding: 24px;
  border-radius: 7px;
}
.service-card h3 { max-width: 280px; font-size: 18px; }
.service-card img { right: 2%; bottom: 1%; width: 84%; height: 78%; }
.service-card__arrow {
  left: 0;
  bottom: 0;
  width: 54px;
  height: 54px;
  border-radius: 0 18px 0 0;
  font-size: 26px;
  font-weight: 300;
}
.services-catalog .service-card { min-height: 370px; }
.services-catalog .service-card h3 { font-size: 16px; }

.brands-grid { gap: 16px; }
.brand-card {
  min-height: 138px;
  padding: 22px;
  border-radius: 5px;
  background: var(--light);
}
.brand-card:last-child { background: var(--orange); }
.brand-name { font-size: 22px; }
.brand-card small { font-size: 10px; }

.parts-layout { grid-template-columns: 1.55fr .75fr; gap: 16px; }
.parts-list { gap: 12px; }
.part-card {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px;
  border-radius: 5px;
  background: var(--light);
}
.part-card span { margin: 0; font-size: 10px; }
.part-card strong { font-size: 14px; }
.parts-note {
  position: relative;
  top: auto;
  min-height: 308px;
  overflow: hidden;
  padding: 38px;
  border-radius: 7px;
}
.parts-note > div { position: relative; z-index: 2; width: 64%; }
.parts-note strong { margin: 0 0 22px; font-size: 34px; line-height: normal; }
.parts-note p { margin-bottom: 26px; font-size: 13px; }
.parts-note > img { position: absolute; right: -9%; bottom: -15%; width: 58%; height: 92%; object-fit: contain; }

.promo { border-radius: 8px; }
.promo-grid { min-height: 610px; }
.promo-copy { padding: 52px; }
.promo-copy .title-lg { margin-bottom: 18px; }
.promo-copy .title-xl { margin: 22px 0; }
.promo-media img { object-position: center; }

.form { gap: 12px; margin-top: 28px; }
.form-grid { gap: 12px; }
.form input,
.form select,
.form textarea,
.upload-field {
  min-height: 54px;
  padding: 15px 18px;
  border-radius: 5px;
  font-size: 13px;
}
.form textarea { min-height: 104px; }
.form--dark input,
.form--dark select,
.form--dark textarea,
.form--dark .upload-field { color: var(--ink); background: var(--white); }
.form--dark input::placeholder,
.form--dark textarea::placeholder { color: #9c9c9c; }
.consent { gap: 8px; font-size: 9px; }
.consent input { width: 14px; min-height: 14px; }
.upload-field::after { content: "⌕"; font-size: 22px; }

.callback {
  grid-template-columns: .88fr 1.12fr;
  gap: 64px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--light);
}
.callback .form { padding: 28px; border-radius: 7px; }
.callback--dark-inline {
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  color: var(--white);
  background: var(--ink);
}
.callback--dark-inline .lead { margin-top: 18px; color: #b8b8b8; }
.callback--dark-inline .form { padding: 0; background: transparent; }
.callback--dark-inline .form-grid { grid-template-columns: 1fr 1fr .8fr; }
.callback--dark-inline .button { width: 100%; }

.contact-layout { grid-template-columns: .72fr 1.28fr; }
.contact-card,
.map-card { border-radius: 7px; }
.contact-card { padding: 38px; }
.map-actions .button { box-shadow: none; }

.page-hero { padding: 22px 0 56px; }
.page-hero__surface { min-height: 820px; border-radius: var(--radius); }
.page-hero__surface > img { height: 820px; }
.page-hero__copy { left: 58px; bottom: 62px; width: 780px; }
.page-hero--light .page-hero__surface { min-height: 820px; }
.page-hero--light .page-hero__copy {
  top: 156px;
  left: 68px;
  width: 700px;
  padding: 52px;
  border-radius: 7px;
  background: var(--white);
}
.page-hero--light .hero-object { right: 42px; width: 57%; height: 94%; }
.diagnostic-hero-object { filter: none; }

.diagnostic-list { gap: 12px; margin-top: 42px; }
.diagnostic-item {
  min-height: 82px;
  grid-template-columns: 120px 1fr;
  padding: 20px 24px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  background: var(--white);
}
.diagnostic-item span { font-size: 10px; }
.diagnostic-item strong { font-size: 18px; }
.form-band { color: var(--white); background: var(--ink); }
.form-band .form { margin: 0; padding: 0; background: transparent; }
.form-band .button { width: 100%; }

.diagnostic-seo {
  grid-template-columns: .84fr 1.16fr;
  min-height: 390px;
  border-radius: 7px;
}
.diagnostic-seo > img { min-height: 390px; padding: 20px; object-fit: contain; background: var(--light); }
.diagnostic-seo .sell-copy { display: flex; flex-direction: column; justify-content: center; }
.diagnostic-seo .lead { margin-top: 24px; }

.pickup { gap: 0; }
.pickup img { height: 520px; border-radius: 7px 0 0 7px; }
.pickup-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px; border-radius: 0 7px 7px 0; }

.service-seo { padding-top: 42px; }
.service-seo__inner {
  min-height: 310px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 80px;
  padding: 54px;
  border-radius: 7px;
}
.service-seo__inner .lead { margin-top: 24px; color: var(--ink); }
.service-seo__inner img { width: 360px; max-height: 190px; justify-self: center; object-fit: contain; }

.cars-hero .page-hero__surface {
  min-height: 840px;
  padding: 68px;
  background: var(--light);
}
.cars-hero__top { display: grid; grid-template-columns: 1fr 360px; gap: 70px; align-items: end; }
.cars-hero__top .lead { margin-top: 18px; }
.cars-hero__top .hero-actions { display: grid; margin: 0; }
.cars-hero .page-hero__surface > img {
  width: 100%;
  height: 520px;
  margin-top: 48px;
  border-radius: 7px;
  object-fit: cover;
}

.car-estimate { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: stretch; }
.car-estimate__intro img { width: 100%; height: 500px; object-fit: cover; border-radius: 7px; }
.car-estimate__intro .title-lg { margin-top: 28px; }
.car-estimate__intro .lead { margin-top: 16px; }
.car-estimate__form { display: flex; }
.car-estimate__form .form { width: 100%; margin: 0; padding: 38px; border-radius: 7px; background: var(--ink); }
.car-estimate__form .button { width: 100%; }

.cars-grid { gap: 18px; }
.car-card { padding: 18px; border-radius: 7px; }
.car-card > img { height: 245px; border-radius: 5px; object-fit: contain; background: var(--white); }
.car-card__body { padding: 20px 0 0; }
.car-card h3 { font-size: 18px; }
.car-specs { gap: 8px; margin: 22px 0 16px; }
.car-specs > div { padding: 10px; border-radius: 4px; background: var(--white); }
.car-specs strong { margin-top: 5px; font-size: 11px; }
.car-specs small { margin: 0; font-size: 9px; }

.car-seo { min-height: 780px; border-radius: 12px; }
.car-seo__head {
  position: absolute;
  z-index: 2;
  left: 68px;
  right: 68px;
  top: 54px;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 90px;
  align-items: start;
}
.car-seo > img { bottom: 34px; width: 82%; max-height: 590px; object-fit: contain; }
.car-callout { min-width: 165px; padding: 14px 18px; border-radius: 5px; font-size: 11px; }
.car-callout::before { height: 1px; }

.about-hero { padding-top: 56px; }
.about-story { grid-template-columns: .98fr 1.02fr; gap: 68px; align-items: center; }
.about-story__copy { padding: 24px 18px; background: transparent; }
.about-story__copy .lead { margin-top: 26px; }
.about-story > img { height: 540px; border-radius: 7px; }
.docs-panel {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 28px;
  padding: 48px;
  border-radius: 10px;
  background: var(--light);
}
.docs-copy { display: flex; flex-direction: column; padding: 22px; border-radius: 7px; background: var(--white); }
.docs-copy .lead { margin-top: 20px; }
.docs-copy img { width: 430px; max-height: 250px; margin: auto auto 0; object-fit: contain; }
.docs-grid { grid-template-columns: 1.35fr .75fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.doc-card { min-height: 0; padding: 12px; border-radius: 7px; background: var(--white); }
.doc-card:first-child,
.doc-card--main { grid-row: 1 / 3; min-height: 540px; }
.gallery-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 30px; }
.tab { padding: 14px 18px; border-radius: 5px; font-size: 12px; }
.tab.is-active { color: var(--ink); background: var(--orange); }
.gallery { grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 280px; gap: 16px; }
.gallery figure { border-radius: 7px; }
.gallery figure:first-child { grid-row: auto; }
.gallery figure:nth-child(4),
.gallery figure:nth-child(5) { grid-column: span 1; }
.gallery figure:nth-child(4) { grid-column: 1 / 2; }
.gallery figure:nth-child(5) { grid-column: 2 / 4; }
.gallery figcaption { left: 18px; bottom: 18px; padding: 9px 14px; border-radius: 5px; }

.contacts-intro { padding-top: 46px; }
.contact-cards {
  grid-template-columns: .92fr .95fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 42px;
}
.info-card { min-height: 160px; padding: 30px; border-radius: 7px; }
.info-card:nth-child(1),
.info-card:nth-child(2) { grid-row: 1 / 3; }
.info-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.info-card:nth-child(4) { grid-column: 3; grid-row: 2; }
.info-card small { margin-bottom: auto; }
.info-card { display: flex; flex-direction: column; justify-content: space-between; }
.routes-grid { grid-template-columns: 1.28fr .72fr; gap: 0; }
.route-card { display: flex; flex-direction: column; justify-content: center; padding: 58px; border-radius: 0 24px 24px 0; }
.map-card { border-radius: 24px 0 0 24px; }
.map-actions a { padding: 8px 12px; border-radius: 5px; color: var(--orange); background: rgba(255,255,255,.92); font-size: 10px; }
.route-links { gap: 14px; margin-top: 22px; }
.route-links a { min-height: 0; padding: 0; border-radius: 0; background: transparent; font-size: 18px; }
.route-links a:first-child { color: var(--orange); }
.contact-form { grid-template-columns: .78fr 1.22fr; align-items: center; }
.contact-form > div { text-align: center; }
.contact-form > div img { width: 290px; max-height: 150px; margin: 34px auto 0; object-fit: contain; }
.contact-form .form { margin: 0; }

.site-footer { padding: 54px 0 24px; }
.footer-grid { grid-template-columns: 1.05fr .65fr .9fr; gap: 90px; }
.footer-brand { display: flex; flex-direction: column; gap: 34px; font-size: 20px; }
.footer-brand img { width: 112px; height: 56px; object-fit: contain; }
.footer-nav,
.footer-contact { gap: 12px; font-size: 12px; }
.footer-bottom { margin-top: 54px; padding-top: 24px; }

.modal__box { border-radius: 10px; }

@media (max-width: 1280px) {
  .container { width: calc(100% - 56px); }
  .nav { gap: 20px; }
  .menu { gap: 18px; }
  .header-phone { display: inline-flex; }
  .home-hero__surface { min-height: 650px; }
  .page-hero__surface,
  .page-hero__surface > img,
  .page-hero--light .page-hero__surface { min-height: 700px; height: 700px; }
  .service-card { min-height: 340px; }
  .services-catalog .service-card { min-height: 320px; }
  .fact { min-height: 320px; }
  .fact--dark { min-height: 380px; }
  .fact--photo { min-height: 350px; }
  .fact--orange { min-height: 370px; }
}
