/* Responsive refinements. The desktop composition remains in the original stylesheets. */
@media (max-width: 900px) {
  .main-nav { overscroll-behavior: contain; scrollbar-width: thin; }
  .main-nav a, .main-nav summary { overflow-wrap: anywhere; }
  .fleet-preview { position: static; transform: none; margin: 0 auto 16px; width: calc(100% - 32px); max-width: 460px; }
  .fleet-preview__rail { width: 100%; padding: 12px; border-radius: 0; box-shadow: none; background: #0b1718; }
  .fleet-preview__caption { text-align: left; margin-bottom: 9px; font-size: 0; }
  .fleet-preview__caption::before { content: "Вариант блока"; font: 400 13px/1.3 var(--body); letter-spacing: .06em; }
  .fleet-preview__choices { flex-direction: row; gap: 8px; }
  .fleet-preview__choices button { flex: 1; width: auto; height: 44px; font-size: 17px; }
  .fleet-preview__choices button b { display: none; }
  input, select, textarea { scroll-margin-block: 24px; }
  .service-hero h1, .solution-hero h1 { overflow-wrap: anywhere; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero--diagnostic .hero__lead { max-width: 260px; font-size: 15px; line-height: 1.4; margin-bottom: 16px; }
  .hero--diagnostic .hero__lead br { display: none; }
  .proof-strip { grid-template-columns: 1.15fr .85fr 1fr; height: 110px; }
  .proof-strip__device, .proof-strip__ticks { display: none; }
  .proof b { font-size: 48px; }
  .proof:nth-child(2) b { font-size: 38px; }
  .proof small { font-size: 17px; }
}

@media (max-width: 600px) {
  html { -webkit-text-size-adjust: 100%; }
  .shell { width: calc(100% - 32px); }
  .utility-bar { height: 25px; font-size: 11px; }
  .utility-icon { width: 14px; height: 16px; }
  .site-header { height: 64px; }
  .site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto 42px; gap: 9px; }
  .site-header .brand { min-width: 0; max-width: 150px; }
  .site-header .brand > img { width: 100%; height: auto; }
  .site-header .brand > span { display: none; }
  .header-phone { margin: 0; grid-column: 2; grid-row: 1; min-height: 44px; }
  .header-phone b { font-size: clamp(13px, 3.9vw, 16px); }
  .nav-toggle { grid-column: 3; grid-row: 1; width: 42px; height: 44px; padding: 9px; }
  .main-nav { top: 64px; padding: 16px; gap: 6px 12px; max-height: calc(100dvh - 89px); }
  .main-nav > a { font-size: 21px; min-width: 0; white-space: normal; }
  .nav-services > summary, .nav-solutions > summary { min-height: 48px; font-size: 22px; }
  .mega-menu, .solutions-menu { padding: 16px; }

  /* Keep the photograph and its lighting passes in their original 3:2 proportion. */
  .hero.hero--diagnostic { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero--diagnostic .hero__paper { position: relative; inset: auto; order: 0; width: 100%; height: auto; padding-bottom: 24px; clip-path: polygon(0 0,100% 0,100% calc(100% - 22px),68% 100%,0 calc(100% - 22px)); }
  .hero--diagnostic .hero__paper::after { clip-path: polygon(0 calc(100% - 25px),68% calc(100% - 3px),100% calc(100% - 25px),100% calc(100% - 22px),68% 100%,0 calc(100% - 22px)); background: #aab22d; }
  .hero--diagnostic .hero__copy { width: 100%; padding: 30px 22px 26px; }
  .hero--diagnostic .gauge { left: -35px; top: -55px; width: 205px; opacity: .16; }
  .hero--diagnostic .eyebrow { width: 190px; font-size: 10px; margin-bottom: 16px; }
  .hero--diagnostic h1 { margin-bottom: 20px; line-height: 1.06; }
  .hero--diagnostic h1 span:nth-child(1) { font-size: clamp(48px, 15.5vw, 72px); }
  .hero--diagnostic h1 span:nth-child(2) { font-size: clamp(32px, 10.9vw, 52px); }
  .hero--diagnostic h1 span:nth-child(3) { font-size: clamp(39px, 13.1vw, 62px); }
  .hero--diagnostic .hero__lead { font-size: 16px; line-height: 1.45; margin-bottom: 18px; max-width: 420px; }
  .hero--diagnostic .hero__lead br { display: none; }
  .hero--diagnostic .button--primary { width: 100%; min-width: 0; min-height: 50px; font-size: 25px; }
  .hero-scene { position: relative; inset: auto; order: 1; width: 144%; height: auto; aspect-ratio: 3 / 2; margin-top: -24px; margin-left: -29%; flex: none; }
  .hero--diagnostic .hero-scene > .hero__photo { object-fit: fill; object-position: center; }
  .hero-hotspot--tracking { --spot-left: 48%; --spot-top: 23%; }
  .hero-hotspot--tachograph { --spot-left: 55%; --spot-top: 47%; }
  .hero-hotspot--camera { --spot-left: 84%; --spot-top: 34%; }
  .hero-hotspot--fuel { --spot-left: 38%; --spot-top: 72%; }
  .hero-hotspot__target { width: 30px; height: 30px; flex-basis: 30px; }
  .hero-hotspot__label { font-size: 14px; }
  .hero-device { width: 270px; padding: 12px; }
  .hero-hotspot--fuel .hero-device { left: -40px; }
  .hero-device__copy > span { font-size: 15px; }
  .hero-interaction { left: 16px; right: 16px; bottom: 12px; gap: 10px; justify-content: space-between; }
  .hero-interaction__hint { font-size: 13px; max-width: 250px; line-height: 1.3; }
  .hero-replay { width: 44px; height: 44px; flex-basis: 44px; }
  .hero-entry__brand { position: absolute; top: 42%; left: 10%; width: 80%; transform: translateY(-50%); }
  .hero-entry__hint { top: auto; bottom: 100px; font-size: 16px; min-height: 48px; }
  .hero-entry__skip { top: auto; bottom: 27px; left: 24px; right: 24px; justify-content: center; min-height: 46px; }
  .hero-entry__eyebrow { font-size: 10px; letter-spacing: .12em; }

  .proof-strip { height: 100px; grid-template-columns: 1.18fr .82fr 1fr; }
  .proof { margin: 18px 0; }
  .proof b { font-size: 38px; }
  .proof:nth-child(2) b { font-size: clamp(28px, 8.7vw, 36px); }
  .proof small { font-size: 14px; letter-spacing: .06em; }
  .services, .fleet, .control, .catalog, .process, .reviews, .calculator, .contacts { padding-block: 24px; }
  .section-heading h2, .catalog .section-heading h2, .reviews .section-heading h2, .control h2, .process__intro h2, .calculator h2, .contacts h2 { font-size: clamp(34px, 10.1vw, 44px); line-height: 1.07; }
  .services .section-heading { margin-bottom: 22px; }
  .services-grid { grid-template-rows: 230px; grid-auto-rows: minmax(176px, auto); gap: 12px; }
  .service-card { padding: 18px 15px; }
  .service-card b { font-size: clamp(21px, 6.4vw, 28px); line-height: 1.12; white-space: normal; overflow-wrap: anywhere; }
  .service-card__index { left: 15px; top: 16px; font-size: 24px; }
  .service-icon, .service-card:nth-child(n+5) .service-icon { top: 16px; right: 14px; width: 66px; height: 66px; }
  .service-card__content { left: 20px; right: 20px; bottom: 20px; }
  .service-card__content b { font-size: 38px; }
  .service-card__content small { font-size: 12px; }
  .service-card--feature .service-card__index { bottom: 84px; }
  .service-card__arrow { opacity: 1; right: 12px; bottom: 12px; font-size: 20px; }
  .service-card:not(.service-card--feature) > b { padding-right: 8px; }
  .service-card:last-child { min-height: 140px; }

  .fleet-preview { width: calc(100% - 32px); }
  .fv-showroom .fv-ref-header { padding: 24px 18px; }
  .fv-showroom .fv-ref-header h2 { font-size: clamp(23px, 6.5vw, 33px); line-height: 1.18; margin-top: 22px; }
  .fv-showroom .fv-ref-header h2 > span { font-size: .8em; line-height: 1.35; }
  .fv-showroom .fv-ref-header > p { font-size: 15px; }
  .fv-showroom__grid { gap: 8px !important; padding: 8px; background: #080e0f; }
  .fv-showroom[data-gate-distance="close"][data-gates-ready] .fv-showroom__bay--lettered > .fv-showroom__caption { display: grid; min-height: 102px; padding: 12px 9px; gap: 9px; grid-template-columns: 1fr; align-content: center; border-top: 1px solid var(--line); }
  .fv-showroom__caption > b { font-size: 14px; line-height: 1.35; }
  .fv-showroom__caption .fv-showroom__index { display: none; }
  .fv-showroom__action { font-size: 12px; min-height: 24px; }
  .fv-showroom__caption .fv-showroom__arrow { font-size: 20px; }
  .fv-showroom__door-lettering > b { font-size: clamp(20px, 22cqw, 42px); }
  .fv-diagonal { padding: 22px 14px; }
  .fv-diagonal .fv-heading > p, .fv-mosaic .fv-heading > p { font-size: 16px; line-height: 1.45; }
  .fv-diagonal .fv-photo-grid { margin-inline: 0; gap: 12px; }
  .fv-diagonal .fv-photo-card { height: 240px; transform: none; }
  .fv-diagonal .fv-photo img, .fv-diagonal .fv-photo-card:hover .fv-photo img { transform: none; width: 100%; margin: 0; }
  .fv-diagonal .fv-caption { padding: 12px 10px; min-height: 90px; grid-template-columns: 1fr; gap: 7px; }
  .fv-diagonal .fv-caption > * { transform: none; }
  .fv-diagonal .fv-caption b, .fv-mosaic .fv-caption b, .fv-bays .fv-caption b { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
  .fv-diagonal .fv-index { font-size: 21px; }
  .fv-consult > div { padding: 18px; }
  .fv-consult > div > span { font-size: 15px; line-height: 1.4; }
  .fv-consult .button { font-size: 18px; }

  .control__paper { padding: 26px 20px; }
  .control__body { grid-template-columns: 1fr; gap: 24px; }
  .control__features { gap: 17px; }
  .control__features li { grid-template-columns: 34px 1fr; gap: 13px; }
  .control__features img { width: 34px; height: 36px; }
  .control__features b { font-size: 26px; }
  .control__features span { font-size: 16px; line-height: 1.4; }
  .control__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
  .control__metrics b { font-size: 52px; }
  .control__metrics span { font-size: 18px; }
  .control__economy b { font-size: 62px; }
  .control__cta { min-height: 50px; font-size: 24px; }
  .control__laptop { aspect-ratio: auto; height: auto; padding: 12px; background: #0a1516; }
  .control__device { display: none; }
  .control__bezel { position: relative; inset: auto; width: 100%; height: auto; border-radius: 0; }
  .fleet-console { height: auto; display: block; }
  .fleet-console__bar { height: 46px; padding: 8px 10px; gap: 10px; }
  .fleet-console__bar > img { width: 85px; height: 22px; }
  .fleet-console__search { font-size: 12px; padding: 5px; }
  .fleet-console__account, .fleet-console__nav { display: none; }
  .fleet-console__body { grid-template-columns: 1fr; }
  .fleet-console__map { min-height: 235px; }
  .fleet-console__city { font-size: 20px; }
  .fleet-console__place { font-size: 11px; }
  .fleet-console__road { font-size: 9px; }
  .fleet-console__vehicle { width: 30px; height: 21px; padding: 3px; }
  .fleet-console__side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; padding: 10px; gap: 10px; }
  .fleet-console__side article { padding: 10px; }
  .fleet-console__side article:first-child { grid-column: 1/-1; }
  .fleet-console__side h3, .fleet-console__side article:last-child h3 { font-size: 14px; line-height: 1.3; margin-bottom: 10px; }
  .fleet-console__side b, .fleet-console__events b { font-size: 24px; line-height: 1.15; }
  .fleet-console__totals small, .fleet-console__events small { display: block; font-size: 11px; line-height: 1.3; margin-top: 4px; }
  .fleet-console__fuel p { flex-wrap: wrap; gap: 5px; }
  .fleet-console__fuel p b { font-size: 18px; }
  .fleet-console__fuel p small, .fleet-console__fuel p > span { font-size: 11px; }
  .fleet-console__chart { height: 40px; min-height: 40px; margin-top: 10px; }
  .fleet-console__events { gap: 10px; }
  .product-track { grid-auto-columns: 72%; gap: 12px; border-left: 0; }
  .product-card { padding: 18px; min-height: 215px; border: 1px solid var(--line); }
  .product-art { height: 135px; }
  .product-art img { object-fit: contain; }
  .product-card h3 { font-size: 18px; white-space: normal; }
  .product-card p { font-size: 22px; }
  .catalog .section-heading { padding: 0 0 18px; }
  .carousel-controls { position: static; justify-content: flex-end; gap: 10px; margin: 12px 0; }
  .round-button { width: 44px; height: 44px; }
  .process__intro { padding: 26px 20px; }
  .check-list--dark { font-size: 16px; gap: 12px; }
  .process__steps { margin: 20px; gap: 22px 16px; }
  .process__steps li { padding: 0; border: 0; min-height: 0; }
  .process__steps p { font-size: 16px; line-height: 1.4; }
  .process__steps b { font-size: 25px; }
  .reviews .section-heading { padding-inline: 0; }
  .rating { position: static; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: center; padding: 20px 0; }
  .rating b { grid-row: 1/3; font-size: 58px; }
  .rating-stars { font-size: 14px; margin: 0 0 5px; }
  .rating small { font-size: 14px; }
  .rating small br { display: none; }
  .reviews-grid { margin: 0; gap: 14px; }
  .review-card { padding: 20px; min-height: 0; }
  .review-card p { font-size: 17px; line-height: 1.5; }
  .review-card header b { font-size: 16px; }
  .review-card header small { font-size: 13px; }
  .avatar { width: 42px; height: 42px; }
  .calculator__inner { padding: 26px 20px; }
  .calc-form { gap: 20px; }
  .calc-form select, .quantity { height: 50px; }
  .quantity { grid-template-columns: 50px 1fr 50px; }
  .calc-form input, .calc-form select { font-size: 17px; }
  .calc-form__submit { min-height: 52px; }
  .calculator__note { font-size: 14px; line-height: 1.45; }
  .location-grid { grid-template-columns: 1fr; padding: 0 20px 24px; gap: 12px; }
  .location-grid a { padding: 17px; grid-template-columns: 30px 1fr; gap: 4px 12px; }
  .location-grid b { font-size: 28px; }
  .location-grid small { font-size: 16px; white-space: normal; }

  .service-hero-copy, .solution-hero .service-hero-copy { padding: 18px 22px 26px; }
  .service-hero-message, .solution-hero .service-hero-message { padding-top: 28px; }
  .service-hero h1, .solution-hero h1 { font-size: clamp(46px, 14vw, 66px); line-height: 1.03; }
  .service-page--06 .service-hero h1, .service-page--13 .service-hero h1,
  .solution-page--bus .solution-hero h1, .solution-page--tanker .solution-hero h1,
  .solution-page--international .solution-hero h1, .solution-page--vans .solution-hero h1 { font-size: clamp(40px, 12.2vw, 58px); }
  .service-hero-photo { height: auto; aspect-ratio: 3/2; }
  .service-section-heading h2, .split-copy h2, .solution-heading h2 { font-size: clamp(32px, 9.7vw, 42px); overflow-wrap: anywhere; }
  .service-section, .solution-section { padding: 28px 16px; }
  .split-section { padding: 0; }
  .service-tile p, .service-check-list, .solution-module p, .solution-tasks p { line-height: 1.5; }
  .equipment-grid { grid-template-columns: 1fr; gap: 16px; }
  .equipment-grid article { padding: 0 18px 18px; }
  .equipment-grid img { width: calc(100% + 36px); height: auto; aspect-ratio: 1.7; margin: 0 -18px 18px; }
  .equipment-grid h3 { font-size: 32px; }
  .equipment-grid article > p { font-size: 17px; }
  .equipment-grid a { min-height: 48px; font-size: 24px; }
  .service-request, .solution-request { padding: 28px 20px; }
  .service-request h2, .solution-request h2 { font-size: clamp(36px, 11vw, 46px); }
  .solution-lead-form { grid-template-columns: 1fr; }
  .service-lead-form input:not([type=checkbox]), .service-lead-form select,
  .solution-lead-form input:not([type=checkbox]), .solution-lead-form select { height: 50px; min-height: 50px; font-size: 17px; }
  .solution-lead-form textarea { font-size: 17px; }
  .service-lead-form .button, .solution-lead-form .button { min-height: 52px; font-size: 24px; }
  .service-steps article { padding-inline: 12px; }
  .service-steps h3 { font-size: 26px; overflow-wrap: anywhere; }
  .solution-package__top { flex-wrap: wrap; gap: 8px; }
  .solution-steps h3 { overflow-wrap: anywhere; }
  .service-related a { font-size: 24px; overflow-wrap: anywhere; }
  .dialog { padding: 30px 20px 22px; max-height: calc(100dvh - 24px); width: calc(100% - 24px); }
  .dialog h2 { font-size: 38px; padding-right: 18px; }
  .dialog__close { right: 8px; top: 5px; width: 44px; height: 44px; }
  .dialog form { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .dialog label { min-width: 0; }
  .dialog input:not([type=checkbox]) { width: 100%; min-width: 0; height: 50px; font-size: 17px; }
  .dialog .button { width: 100%; min-width: 0; font-size: 24px; min-height: 50px; }
  .dialog .lead-consent { font-size: 14px; line-height: 1.45; }
  .site-footer--shared .site-footer__grid, .solution-page .service-footer-grid { gap: 28px 16px; padding-inline: 0; }
  .site-footer--shared .site-footer__grid h3, .solution-page .service-footer-grid h3 { font-size: 24px; }
  .site-footer--shared .site-footer__grid a:not(.brand), .solution-page .service-footer-grid a { font-size: 16px; line-height: 1.45; padding-block: 7px; overflow-wrap: anywhere; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 13px; padding: 20px 0; }
  .site-footer__bottom > span { max-width: 100%; }
  .legal-hero h1 { overflow-wrap: anywhere; }
}

@media (max-width: 350px) {
  .site-header__inner { gap: 7px; }
  .hero--diagnostic .hero__copy { padding-inline: 18px; }
  .hero-device { width: 250px; }
  .hero-hotspot--tracking .hero-device { left: -85px; }
  .hero-hotspot--tachograph .hero-device { left: -110px; }
  .hero-hotspot__label { font-size: 13px; }
  .hero-entry__eyebrow { font-size: 9px; }
  .hero-interaction__hint { max-width: 220px; font-size: 12px; }
  .service-card { padding-inline: 12px; }
  .fv-showroom__caption > b { font-size: 13px; }
}
