/* ===== АДАПТИВНЫЕ КАРТИНКИ ===== */
picture {
  display: contents;
}

picture > source {
  display: none;
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root {
  --bg: #f8f7f3;
  --paper: #fff;
  --soft: #eeeee7;
  --ink: #202823;
  --muted: #69716b;
  --line: #dedfd6;
  --accent: #1977bd;
  --accent-hover: #125b98;
  --dark: #222d27;
  --on-dark: #f8f7f3;
  --note-bg: #f4e9dc;
  --note-ink: #86522a;
  --radius: 4px;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

:root[data-theme='dark'] {
  --bg: #171f1b;
  --paper: #202a24;
  --soft: #263229;
  --ink: #f3f3e9;
  --muted: #aab8ac;
  --line: #3b483e;
  --accent: #4eb8e8;
  --accent-hover: #7acef5;
  --dark: #111a15;
  --note-bg: #393024;
  --note-ink: #a4d8ed;
  color-scheme: dark;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== КНОПКИ ===== */
button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
summary {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== КНОПКИ ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.wrap {
  width: min(1280px, 90%);
  margin-inline: auto;
}

/* ===== ОБЩИЕ БЛОКИ СТРАНИЦЫ ===== */
.section {
  padding-block: 92px;
}

.eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow em {
  font-style: normal;
  color: var(--accent);
  margin-right: 12px;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

p {
  overflow-wrap: break-word;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

/* ===== ОБЩИЕ БЛОКИ СТРАНИЦЫ ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.arrow {
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

/* ===== КНОПКИ ===== */
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  min-height: 52px;
  padding: 15px 22px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button-plain {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button-plain:hover {
  background: var(--soft);
  border-color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
}

.text-link:hover {
  color: var(--accent);
}

.note {
  margin-top: 18px;
  padding: 9px 12px;
  border-left: 2px solid #6aafd8;
  background: var(--note-bg);
  color: var(--note-ink);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0;
}

.note strong {
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -90px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
}

.utility {
  background: var(--dark);
  color: #cdd6cc;
  font-size: 11px;
}

.utility .wrap {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.utility-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.utility a:hover {
  color: #fff;
}

.utility-service {
  color: #f6f3e9;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 95px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: auto;
}

.brand-logo {
  width: 145px;
  height: 65px;
  object-fit: contain;
}

.brand-copy {
  border-left: 1px solid var(--line);
  padding-left: 22px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.header-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: start;
}

.header-contact strong {
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.header-contact > a:last-child {
  font-size: 12px;
  color: var(--muted);
}

.theme-button,
.mobile-toggle {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 50%;
  font-size: 19px;
}

.theme-button:hover {
  background: var(--soft);
}

.mobile-toggle {
  display: none;
  border-radius: var(--radius);
  font-size: 20px;
}

.nav-row {
  border-block: 1px solid var(--line);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 39px;
  min-height: 49px;
}

.main-nav > a,
.services-menu > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 49px;
  font-size: 13px;
  list-style: none;
}

.main-nav > a:hover,
.services-menu > summary:hover {
  color: var(--accent);
}

/* ===== УСЛУГИ ===== */
.services-menu {
  position: relative;
}

.services-menu > summary {
  cursor: pointer;
}

.services-menu > summary::-webkit-details-marker {
  display: none;
}

.services-menu[open] > summary {
  color: var(--accent);
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.dropdown {
  position: absolute;
  left: 0;
  top: 49px;
  background: var(--paper);
  box-shadow: 0 14px 34px #0002;
  border: 1px solid var(--line);
  width: 285px;
  padding: 10px;
  z-index: 40;
}

.dropdown > a {
  display: block;
  padding: 14px;
  font-size: 13px;
  border-radius: 2px;
}

.dropdown > a:hover {
  background: var(--soft);
}

.nav-end {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root[data-theme='dark'] .brand-logo {
  filter: invert(1);
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero {
  padding-block: 62px 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}

.hero .eyebrow:before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(43px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-copy {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 25px;
  max-width: 510px;
}

.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 29px;
}

.hero-media {
  position: relative;
  background: var(--soft);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 0.98;
  object-fit: cover;
  object-position: 44% center;
  filter: contrast(1.02);
}

.media-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  background: #233029e8;
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-media figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 11px;
  padding: 17px 20px;
}

.hero-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 42px;
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
}

.hero-bottom p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.hero-bottom p:before {
  content: '+';
  font-size: 17px;
  color: var(--accent);
}

.specialties {
  padding-top: 35px;
  padding-bottom: 85px;
}

/* ===== УСЛУГИ ===== */
.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.specialty {
  border-top: 2px solid var(--ink);
  padding: 27px 28px 23px;
  background: var(--paper);
}

.specialty-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 36px;
}

.specialty-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.specialty-icon {
  color: var(--accent);
  font-size: 25px;
}

.specialty h3 {
  font-size: 31px;
  line-height: 1.15;
  max-width: 430px;
}

.specialty > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 440px;
}

.specialty .text-link {
  margin-top: 16px;
}

.general-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 26px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.general-service h3 {
  font-size: 20px;
}

.general-service p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== АВТОПАРК ===== */
.fleet-section {
  background: var(--soft);
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 65px;
  align-items: start;
}

.fleet-photo {
  position: relative;
}

.fleet-photo img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  object-position: 35% center;
}

.fleet-photo figcaption {
  font-size: 11px;
  color: var(--muted);
  padding-top: 12px;
}

.fleet-copy .lead {
  margin-top: 24px;
  font-size: 15px;
}

.specs {
  margin: 28px 0 0;
}

.specs > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.fleet-copy .text-link {
  margin-top: 22px;
}

/* ===== НАПРАВЛЕНИЯ ===== */
.directions {
  background: var(--dark);
  color: var(--on-dark);
}

.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.directions .eyebrow {
  color: #aebdaf;
}

.directions .lead {
  color: #b3c1b5;
  font-size: 15px;
  margin-top: 25px;
  max-width: 390px;
}

.direction-list {
  border-top: 1px solid #ffffff35;
}

.direction-list details {
  border-bottom: 1px solid #ffffff35;
  padding: 18px 0;
}

.direction-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.direction-list summary:after {
  content: '+';
  font-size: 25px;
  color: var(--accent);
}

.direction-list details[open] summary:after {
  content: '−';
}

.direction-list summary::-webkit-details-marker {
  display: none;
}

.direction-list details p {
  font-size: 13px;
  line-height: 1.8;
  color: #bdc9bd;
  margin-top: 16px;
  max-width: 420px;
}

.direction-list details .text-link {
  margin-top: 10px;
  font-size: 11px;
}

.cis-note {
  font-size: 11px;
  color: #b9c6b9;
  margin-top: 25px;
  line-height: 1.8;
}

.cis-note span {
  color: #e8b18b;
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
.recommendation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.recommendation {
  display: grid;
  grid-template-columns: 1fr 95px;
  gap: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
}

.client-logo {
  width: 140px;
  height: 35px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root[data-theme='dark'] .client-logo {
  filter: grayscale(1) invert(1);
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
.recommendation h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-top: 22px;
  letter-spacing: -0.02em;
}

.recommendation p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 11px;
  line-height: 1.8;
}

.letter-thumb {
  width: 95px;
  height: 137px;
  object-fit: cover;
  box-shadow: 0 4px 12px #0002;
}

.letter-button {
  grid-column: 1/-1;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  font-size: 12px;
}

.letter-button:hover {
  color: var(--accent);
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.experience-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-block: 1px solid var(--line);
  padding-block: 22px;
  margin-top: 30px;
}

.experience-line p {
  font-size: 13px;
  max-width: 530px;
  color: var(--muted);
}

.experience-brands {
  display: flex;
  gap: 30px;
  white-space: nowrap;
  font-size: 22px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

/* ===== КЕЙСЫ ===== */
.case-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.case-fields p {
  font-size: 12px;
  color: var(--muted);
}

.case-fields strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 4px;
}

.extra-section {
  padding-top: 5px;
  padding-bottom: 80px;
}

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.extras h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.extras p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
}

.extras small {
  display: block;
  font-size: 10px;
  color: var(--note-ink);
  margin-top: 14px;
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 45px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.step-num {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}

.step h3 {
  font-size: 21px;
  margin-top: 35px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}

/* ===== О КОМПАНИИ ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.about-text .lead {
  font-size: 16px;
}

.about-text > p + p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 20px;
}

.history-preview {
  margin-top: 27px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.history-preview h3 {
  font-size: 20px;
}

.history-preview p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
}

.journal {
  background: var(--soft);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.journal-item {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.journal-category {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.journal-item h3 {
  font-size: 24px;
  margin-top: 30px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.journal-item p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 16px;
}

/* ===== КОНТАКТЫ ===== */
.telegram-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 30px;
}

.telegram-strip h3 {
  font-size: 23px;
}

.telegram-strip p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}

.telegram-strip .button {
  flex-shrink: 0;
}

/* ===== ВОПРОСЫ И ОТВЕТЫ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-intro p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 23px;
  max-width: 260px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.faq-list summary:after {
  content: '+';
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-list details[open] summary:after {
  content: '−';
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 17px;
  padding-right: 30px;
}

/* ===== ФОРМА ЗАЯВКИ ===== */
.quote-section {
  background: var(--dark);
  color: var(--on-dark);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.quote-intro .eyebrow {
  color: #aebdaf;
}

.quote-intro h2 {
  font-size: clamp(38px, 4.5vw, 60px);
}

.quote-intro p {
  font-size: 14px;
  line-height: 1.9;
  color: #b9c6b9;
  margin-top: 25px;
  max-width: 330px;
}

.quote-phone {
  display: block;
  margin-top: 35px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.quote-email {
  display: block;
  font-size: 13px;
  color: #b9c6b9;
  margin-top: 8px;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 22px;
}

.quote-form label {
  font-size: 11px;
  color: #bcc8bd;
  display: block;
}

.quote-form input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 7px;
  border: 0;
  border-bottom: 1px solid #ffffff55;
  background: transparent;
  border-radius: 0;
  min-height: 43px;
  color: #fff;
  padding: 10px 0;
  font-size: 15px;
}

.quote-form input::placeholder {
  color: #aab7ac;
  opacity: 1;
}

.quote-form .wide {
  grid-column: 1/-1;
}

.quote-form .button {
  justify-content: center;
  gap: 40px;
  width: 100%;
  margin-top: 6px;
}

.quote-form .form-note {
  font-size: 11px;
  line-height: 1.8;
  color: #bcc8bd;
  grid-column: 1/-1;
  margin: 0;
}

.form-feedback {
  grid-column: 1/-1;
  display: block;
  padding: 15px 17px;
  border: 1px solid #ffffff55;
  color: #f5f5eb;
  font-size: 13px;
  line-height: 1.8;
}

.form-feedback:empty {
  display: none;
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.site-footer {
  padding-block: 55px 22px;
  background: var(--paper);
}

/* ===== ПОДВАЛ САЙТА ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 55px;
}

.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  max-width: 240px;
  margin-top: 17px;
}

.footer-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-contact > a {
  display: block;
  width: fit-content;
}

.footer-phone {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.footer-email {
  font-size: 14px;
  margin-top: 8px;
}

.footer-address {
  font-size: 14px;
  margin-top: 23px;
  line-height: 1.7;
}

.footer-extra {
  font-size: 11px;
  color: var(--note-ink);
  margin-top: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  align-items: flex-start;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-documents {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 20px;
  font-size: 11px;
  color: var(--muted);
}

.footer-documents summary {
  cursor: pointer;
  width: fit-content;
  min-height: 30px;
}

.footer-documents p {
  margin-top: 10px;
  max-width: 700px;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
.letter-dialog {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  width: min(800px, 94vw);
  max-height: 92vh;
}

.letter-dialog::backdrop {
  background: #111b16cc;
}

/* ===== ВСПЛЫВАЮЩИЕ ОКНА ===== */
.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.dialog-close {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  border-radius: 50%;
}

.dialog-body {
  padding: 22px;
}

.dialog-body img {
  width: 100%;
  height: auto;
}

/* ===== АДАПТИВ: ЭКРАНЫ ОТ 1600PX ===== */
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 74px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1100PX ===== */
@media (max-width: 1100px) {
  .brand-copy {
    display: none;
  }

  .header-main {
    gap: 23px;
  }

  .header-contact strong {
    font-size: 17px;
  }

  .main-nav {
    gap: 30px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero h1 {
    font-size: 55px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero .hero-actions {
    gap: 14px;
  }

  .hero-bottom {
    gap: 23px;
  }

  .fleet-grid {
    gap: 40px;
  }

  .directions-grid {
    gap: 55px;
  }

  .quote-grid {
    gap: 60px;
  }

  .about-grid {
    gap: 60px;
  }

  .faq-grid {
    gap: 50px;
  }

  .recommendation {
    padding: 25px;
    gap: 22px;
  }

  .specialty h3 {
    font-size: 28px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 900PX ===== */
@media (max-width: 900px) {
  :root {
    scroll-padding-top: 120px;
  }

  .header-main {
    min-height: 80px;
    gap: 18px;
  }

  .brand-logo {
    width: 126px;
    height: 56px;
  }

  .header-contact strong {
    font-size: 15px;
  }

  .header-main > .button {
    min-height: 44px;
    padding: 12px 15px;
    gap: 20px;
    font-size: 11px;
  }

  .theme-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .main-nav {
    gap: 26px;
  }

  .nav-end {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .hero-actions .text-link {
    font-size: 12px;
  }

  .hero-media img {
    aspect-ratio: 0.8;
  }

  .hero-copy {
    line-height: 1.8;
  }

  .hero-bottom {
    gap: 12px 22px;
  }

  .section {
    padding-block: 70px;
  }

  .section-head {
    gap: 25px;
  }

  .section-head > p {
    max-width: 260px;
    font-size: 13px;
  }

  .specialty {
    padding: 24px;
  }

  .specialty h3 {
    font-size: 26px;
  }

  .specialty-top {
    margin-bottom: 24px;
  }

  .specialty > p {
    font-size: 13px;
  }

  .fleet-grid {
    gap: 30px;
  }

  .fleet-copy h2 {
    font-size: 35px;
  }

  .fleet-copy .lead {
    font-size: 14px;
  }

  .specs > div {
    gap: 15px;
    grid-template-columns: 1fr 1.1fr;
  }

  .directions-grid {
    gap: 45px;
  }

  .recommendation {
    grid-template-columns: 1fr 70px;
    padding: 23px;
    gap: 18px;
  }

  .letter-thumb {
    width: 70px;
    height: 100px;
  }

  .experience-brands {
    gap: 22px;
    font-size: 20px;
  }

  .process-grid {
    gap: 22px;
  }

  .step h3 {
    font-size: 18px;
  }

  .about-grid {
    gap: 40px;
  }

  .journal-grid {
    gap: 25px;
  }

  .journal-item h3 {
    font-size: 22px;
  }

  .quote-grid {
    gap: 45px;
  }

  .quote-intro h2 {
    font-size: 40px;
  }

  .footer-grid {
    gap: 35px;
  }

  .footer-phone {
    font-size: 19px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 700PX ===== */
@media (max-width: 700px) {
  :root {
    scroll-padding-top: 90px;
  }

  .wrap {
    width: 90%;
  }

  .utility .wrap {
    min-height: 34px;
  }

  .utility-location {
    display: none;
  }

  .utility-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
  }

  .header-main {
    gap: 14px;
    min-height: 76px;
    flex-wrap: wrap;
  }

  .brand {
    margin-right: auto;
  }

  .brand-logo {
    width: 119px;
    height: 53px;
  }

  .header-contact {
    margin-left: auto;
  }

  .header-contact strong {
    font-size: 14px;
  }

  .header-contact > a:last-child {
    font-size: 10px;
  }

  .header-main > .button {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .theme-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .nav-row {
    display: none;
  }

  .nav-row.is-open {
    display: block;
  }

  .main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
    padding-block: 8px;
  }

  .main-nav > a,
  .services-menu > summary {
    min-height: 46px;
  }

  .services-menu {
    grid-column: 1/-1;
    border-bottom: 1px solid var(--line);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--soft);
    width: 100%;
    margin-bottom: 10px;
  }

  .dropdown > a {
    font-size: 13px;
  }

  .hero {
    padding-block: 37px 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(42px, 9.8vw, 64px);
    max-width: 580px;
  }

  .hero h1 span {
    display: inline;
  }

  .hero h1 span:after {
    content: ' ';
  }

  .hero h1 .accent {
    display: block;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero-copy {
    font-size: 14px;
    max-width: 530px;
  }

  .hero-actions {
    gap: 19px;
    margin-top: 24px;
  }

  .hero-actions .button {
    font-size: 12px;
    padding: 15px 18px;
    gap: 25px;
  }

  .hero-media img {
    aspect-ratio: 1.3;
    object-position: 45% 50%;
  }

  .hero-media figcaption {
    padding: 14px 17px;
    font-size: 10px;
  }

  .media-tag {
    top: 15px;
    left: 15px;
    font-size: 9px;
  }

  .hero-bottom {
    margin-top: 26px;
    padding-top: 18px;
    gap: 10px 20px;
  }

  .hero-bottom p {
    font-size: 10px;
  }

  .section {
    padding-block: 55px;
  }

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-head > p {
    max-width: 430px;
    margin-top: 20px;
    font-size: 13px;
  }

  .eyebrow {
    font-size: 10px;
    margin-bottom: 14px;
  }

  h2 {
    font-size: 36px;
  }

  .specialties {
    padding-top: 24px;
    padding-bottom: 55px;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .specialty {
    padding: 25px;
  }

  .specialty h3 {
    font-size: 29px;
    max-width: 420px;
  }

  .specialty > p {
    font-size: 14px;
  }

  .specialty-top {
    margin-bottom: 30px;
  }

  .general-service {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .general-service h3 {
    font-size: 21px;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fleet-photo img {
    aspect-ratio: 1.4;
  }

  .fleet-copy h2 {
    font-size: 36px;
  }

  .fleet-copy .lead {
    max-width: 520px;
  }

  .specs > div {
    grid-template-columns: 1fr 1fr;
    padding-block: 15px;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .directions .lead {
    max-width: 450px;
  }

  .direction-list summary {
    font-size: 24px;
  }

  .recommendation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recommendation {
    grid-template-columns: 1fr 95px;
    padding: 25px;
  }

  .letter-thumb {
    width: 95px;
    height: 135px;
  }

  .experience-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .case-fields {
    gap: 20px;
  }

  .extra-section {
    padding-top: 5px;
    padding-bottom: 55px;
  }

  .extras {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .extras article + article {
    border-top: 1px solid var(--line);
    padding-top: 25px;
  }

  .extras small {
    margin-top: 10px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
    margin-top: 32px;
  }

  .step h3 {
    font-size: 20px;
    margin-top: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-text .lead {
    font-size: 15px;
  }

  .journal-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .journal-item {
    padding-top: 18px;
  }

  .journal-item h3 {
    font-size: 25px;
    margin-top: 18px;
    max-width: 420px;
  }

  .telegram-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .telegram-strip h3 {
    font-size: 25px;
  }

  .telegram-strip .button {
    font-size: 12px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .faq-intro p {
    max-width: 450px;
    margin-top: 17px;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .faq-list details p {
    font-size: 13px;
    padding-right: 20px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .quote-intro h2 {
    font-size: 43px;
  }

  .quote-intro p {
    max-width: 450px;
    margin-top: 20px;
  }

  .quote-phone {
    margin-top: 24px;
    font-size: 23px;
  }

  .quote-form {
    gap: 23px 20px;
  }

  .quote-form input {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-brand p {
    max-width: 400px;
  }

  .footer-phone {
    font-size: 18px;
  }

  .footer-address {
    font-size: 13px;
  }

  .footer-links {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .letter-dialog {
    max-height: 94vh;
  }

  .dialog-head {
    padding: 13px 16px;
  }

  .dialog-body {
    padding: 12px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 380PX ===== */
@media (max-width: 380px) {
  .header-main {
    gap: 10px;
  }

  .header-contact strong {
    font-size: 12px;
  }

  .brand-logo {
    width: 96px;
  }

  .theme-button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 16px;
  }

  .mobile-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions .text-link {
    min-height: 35px;
  }

  .specialty {
    padding: 22px;
  }

  .specialty h3 {
    font-size: 27px;
  }

  .recommendation {
    grid-template-columns: 1fr 70px;
    gap: 18px;
    padding: 22px;
  }

  .letter-thumb {
    width: 70px;
    height: 100px;
  }

  .client-logo {
    width: 115px;
  }

  .case-fields {
    grid-template-columns: 1fr;
  }

  .process-grid {
    gap: 25px 20px;
  }

  .step h3 {
    font-size: 18px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== ПЕЧАТЬ ===== */
@media print {
  .site-header {
    position: static;
  }

  .theme-button,
  .mobile-toggle,
  .quote-form,
  .letter-dialog,
  .utility {
    display: none;
  }

  .section {
    padding-block: 25px;
  }

  body {
    background: #fff;
    color: #000;
  }

  .nav-row {
    display: block;
  }
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 82px 0 70px;
  overflow: hidden;
  background: #102126;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-revised:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #0a1c21ed 0%,
    #0a1c21d9 35%,
    #0a1c2150 69%,
    #0a1c210d
  );
}

.hero-content {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-revised .eyebrow {
  color: #d2dedb;
}

.hero-revised h1 {
  font-size: clamp(40px, 4.7vw, 69px);
  line-height: 1.09;
  max-width: 960px;
  letter-spacing: -0.045em;
}

.hero-revised h1 span {
  font-size: 0.83em;
  display: inline;
}

.hero-revised .hero-copy {
  color: #dbe5e2;
  max-width: 520px;
  font-size: 15px;
}

.hero-revised .text-link {
  color: #fff;
}

/* ===== ВООРУЖЁННОЕ СОПРОВОЖДЕНИЕ ===== */
.escort-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #63bce8;
  color: #bce9ff;
  padding: 9px 13px;
  margin-top: 23px;
  font-size: 12px;
  background: #1a252b9c;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised .hero-actions {
  margin-top: 25px;
}

.key-facts {
  background: #102037;
  color: #dbe4f0;
  padding: 45px 0;
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.fact-grid strong {
  font-size: clamp(31px, 3.5vw, 49px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #61c0ed;
  line-height: 1.2;
  display: block;
}

.fact-grid p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 250px;
}

.experience-benefits {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 65px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.experience-benefits .eyebrow {
  margin-bottom: 10px;
}

.experience-benefits p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.posm-question {
  border-left: 1px solid var(--line);
  padding-left: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.posm-question strong {
  font-size: 21px;
}

.posm-question span {
  font-size: 12px;
  color: var(--note-ink);
}

/* ===== УСЛУГИ ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-item {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 30px;
  border-radius: 12px;
}

.service-item h3 {
  font-size: 23px;
  line-height: 1.2;
  margin-top: 23px;
  letter-spacing: -0.025em;
}

.service-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 16px;
}

.service-number {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.service-featured {
  background: #122735;
  color: #fff;
  border-color: #4aa7d9;
}

.service-featured h3 {
  color: #87cff1;
}

.service-featured p {
  color: #c8d7db;
}

.service-featured .service-number {
  color: #87cff1;
}

.service-featured .text-link {
  font-size: 12px;
  margin-top: 15px;
  color: #87cff1;
}

/* ===== АВТОПАРК ===== */
.fleet-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
  margin-bottom: 34px;
}

.fleet-overview .fleet-photo img {
  aspect-ratio: 1.7;
}

.fleet-overview h3 {
  font-size: 30px;
}

.fleet-overview .lead {
  font-size: 15px;
  margin-top: 20px;
}

.fleet-overview .text-link {
  margin-top: 20px;
}

.fleet-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.fleet-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 760px;
}

.fleet-table caption {
  text-align: left;
  padding: 17px 22px;
  font-size: 11px;
  color: var(--muted);
}

.fleet-table th,
.fleet-table td {
  padding: 21px 22px;
  border-top: 1px solid var(--line);
}

.fleet-table thead th {
  background: var(--bg);
  font-size: 13px;
}

.fleet-table tbody th {
  font-weight: 700;
}

.fleet-table td:last-child {
  font-size: 10px;
  color: var(--note-ink);
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--muted);
}

.gallery-toolbar > div {
  display: flex;
  gap: 10px;
}

.gallery-control {
  height: 44px;
  width: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 22px;
  border-radius: 50%;
}

.document-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.document-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  text-align: left;
  min-width: 0;
}

.document-image {
  display: block;
  background: #e9ece8;
  padding: 17px;
  height: 300px;
}

.document-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.document-title {
  display: block;
  font-weight: 700;
  font-size: 17px;
  margin: 20px 20px 7px;
}

.document-action {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 0 20px 23px;
}

.document-card:hover {
  border-color: var(--accent);
}

#document-viewer {
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  width: min(1200px, 96vw);
  max-width: 96vw;
  height: 94vh;
  max-height: 94vh;
}

#document-viewer::backdrop {
  background: #081219df;
}

.viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.viewer-toolbar h2 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

#document-counter {
  font-size: 11px;
  color: var(--muted);
}

.viewer-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}

.viewer-actions button,
.viewer-actions a {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  min-height: 40px;
  min-width: 40px;
  padding: 8px 11px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewer-canvas {
  height: calc(94vh - 85px);
  overflow: auto;
  background: #d9dedb;
  padding: 25px;
  text-align: center;
}

.viewer-canvas img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  margin-inline: auto;
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process {
  background: var(--soft);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 29px;
  min-height: 260px;
}

.step-num {
  font-size: 40px;
  line-height: 1;
  color: #1c7dbb;
}

.step h3 {
  margin-top: 22px;
  font-size: 23px;
}

.step p {
  font-size: 14px;
}

/* ===== О КОМПАНИИ ===== */
.history-disclosure {
  margin-top: 25px;
  border-block: 1px solid var(--line);
}

.history-disclosure summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.history-disclosure summary::-webkit-details-marker {
  display: none;
}

.history-disclosure summary span {
  font-size: 22px;
  color: var(--accent);
}

.history-disclosure[open] summary span {
  transform: rotate(45deg);
}

.history-disclosure > div {
  padding-bottom: 25px;
}

.history-disclosure h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.history-disclosure p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 15px;
}

/* ===== ВОПРОСЫ И ОТВЕТЫ ===== */
.faq-placeholder {
  border-block: 1px solid var(--line);
  padding-block: 27px;
}

.faq-placeholder strong {
  font-size: 16px;
  color: var(--note-ink);
}

.faq-placeholder p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1000PX ===== */
@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fact-grid {
    gap: 25px;
  }

  .fact-grid p {
    font-size: 12px;
  }

  .step {
    min-height: 245px;
  }

  .document-image {
    height: 240px;
  }

  .viewer-toolbar {
    flex-wrap: wrap;
  }

  .viewer-canvas {
    height: calc(94vh - 130px);
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 700PX ===== */
@media (max-width: 700px) {
  .hero-revised {
    padding: 45px 0;
  }

  .hero-content {
    min-height: 460px;
  }

  .hero-background {
    object-position: 67% center;
  }

  .hero-revised:before {
    background: linear-gradient(90deg, #0a1c21ed, #0a1c21ab 65%, #0a1c2144);
  }

  .hero-revised h1 {
    font-size: 41px;
  }

  .hero-revised h1 span {
    font-size: 0.84em;
    display: inline;
  }

  .hero-revised .hero-copy {
    font-size: 14px;
  }

  .hero-revised .hero-actions {
    gap: 20px;
  }

  .escort-badge {
    font-size: 11px;
    gap: 9px;
  }

  .fact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
  }

  .fact-grid strong {
    font-size: 34px;
  }

  .key-facts {
    padding-block: 35px;
  }

  .experience-benefits {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .posm-question {
    padding-left: 0;
    padding-top: 23px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: 25px;
  }

  .fleet-overview {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .document-gallery {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }

  .document-image {
    padding: 10px;
    height: 220px;
  }

  .document-title {
    font-size: 15px;
    margin: 15px 14px 7px;
  }

  .document-action {
    font-size: 10px;
    margin: 0 14px 18px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .step {
    padding: 23px;
    min-height: 260px;
  }

  .step h3 {
    font-size: 21px;
  }

  .step p {
    font-size: 13px;
  }

  .viewer-toolbar {
    gap: 10px;
    padding: 12px;
  }

  .viewer-toolbar h2 {
    font-size: 15px;
  }

  .viewer-actions {
    gap: 5px;
  }

  .viewer-actions button,
  .viewer-actions a {
    font-size: 11px;
    min-width: 36px;
    min-height: 40px;
    padding: 7px 9px;
  }

  .viewer-canvas {
    padding: 10px;
    height: calc(94vh - 140px);
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 420PX ===== */
@media (max-width: 420px) {
  .hero-revised h1 {
    font-size: 35px;
  }

  .hero-revised .hero-actions .button {
    width: auto;
  }

  .fact-grid strong {
    font-size: 29px;
  }

  .fact-grid p {
    font-size: 11px;
  }

  .document-gallery {
    grid-auto-columns: 85%;
  }

  .document-image {
    height: 300px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 220px;
  }

  .main-nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    min-height: 480px;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root {
  --bg: #f4f7fb;
  --paper: #fff;
  --soft: #eaf0f7;
  --ink: #132c4b;
  --muted: #60748d;
  --line: #d6e0ec;
  --accent: #1977bd;
  --accent-hover: #125b98;
  --dark: #102d52;
  --note-bg: #e5f1fa;
  --note-ink: #326486;
  scroll-padding-top: 120px;
}

:root[data-theme='dark'] {
  --bg: #0c192b;
  --paper: #13243b;
  --soft: #182e48;
  --ink: #eef5fc;
  --muted: #a8bad0;
  --line: #29425e;
  --accent: #329ad8;
  --accent-hover: #4bafe8;
  --dark: #08162a;
  --note-bg: #18344e;
  --note-ink: #a6d2ed;
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.utility {
  background: var(--dark);
  color: #d6e8f9;
}

.utility .wrap {
  min-height: 32px;
}

.utility a {
  font-size: 11px;
}

.header-main {
  gap: 22px;
  min-height: 94px;
  position: relative;
}

.brand {
  margin-right: 6px;
  flex-shrink: 0;
}

.brand-logo {
  width: 125px;
  height: 60px;
  filter: brightness(0) saturate(100%) invert(19%) sepia(34%) saturate(1485%)
    hue-rotate(173deg) brightness(93%) contrast(96%);
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root[data-theme='dark'] .brand-logo {
  filter: brightness(0) invert(1);
}

.main-nav {
  flex: 1;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
}

.main-nav > a {
  font-size: 13px;
  min-height: 52px;
  position: relative;
}

.main-nav > a[aria-current='page'] {
  color: var(--accent);
}

.main-nav > a[aria-current='page']:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.header-main > .contact-button {
  display: inline-flex;
  min-height: 46px;
  white-space: nowrap;
  padding: 10px 16px 10px 19px;
  gap: 16px;
  border-radius: 28px;
  box-shadow: 0 6px 18px #1977bd24;
  font-size: 12px;
}

/* ===== КОНТАКТЫ ===== */
.contact-button .arrow {
  background: #ffffff20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  font-size: 18px;
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.theme-button {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-color: var(--line);
  margin-left: -10px;
}

.mobile-toggle {
  flex-shrink: 0;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised {
  background: #0b2340;
}

.hero-revised:before {
  background: linear-gradient(
    90deg,
    #091d35f0 0%,
    #091d35d9 34%,
    #091d3544 74%,
    #091d350d
  );
}

.hero-revised h1 {
  max-width: 900px;
  font-size: clamp(43px, 5.1vw, 74px);
}

.hero-revised .eyebrow {
  color: #d6e8fb;
}

/* ===== ВООРУЖЁННОЕ СОПРОВОЖДЕНИЕ ===== */
.escort-badge {
  border-color: #69b9ea;
  color: #c4eaff;
  background: #10365899;
}

.key-facts {
  background: #102d52;
  color: #dbeafa;
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.fact-grid strong {
  color: #68c4ed;
}

/* ===== УСЛУГИ ===== */
.service-featured {
  background: #12355d;
  border-color: #3b98cf;
  color: #fff;
}

.service-featured h3,
.service-featured .text-link,
.service-featured .service-number {
  color: #8bd7fa;
}

.service-featured p {
  color: #cee0f3;
}

.service-item h3 {
  margin-top: 0;
}

/* ===== ОБЩИЕ БЛОКИ СТРАНИЦЫ ===== */
.section-head.simple {
  margin-bottom: 34px;
}

.section-head.simple h2 {
  font-size: 44px;
}

/* ===== НАПРАВЛЕНИЯ ===== */
.directions {
  background: var(--dark);
}

.directions .eyebrow {
  display: none;
}

.geography-simple {
  max-width: 920px;
}

.geography-simple h2 {
  margin-bottom: 25px;
}

.geography-simple p {
  font-size: 21px;
  line-height: 1.8;
  color: #d8e7f5;
  max-width: 900px;
}

.geography-simple .text-link {
  color: #88d0f5;
  margin-top: 20px;
}

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.page-intro {
  padding: 55px 0 5px;
}

.page-intro h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.15;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--accent);
}

.page-intro p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 780px;
  color: var(--muted);
  margin-top: 20px;
}

.page-main > .section {
  padding-top: 45px;
}

.page-main .section-head.simple {
  display: none;
}

.page-link-row {
  margin-top: 30px;
}

/* ===== НАПРАВЛЕНИЯ ===== */
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.route-item {
  border-top: 2px solid var(--accent);
  padding: 25px;
  background: var(--paper);
}

.route-item h2 {
  font-size: 27px;
  margin-bottom: 15px;
}

.route-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== О КОМПАНИИ ===== */
.about-story {
  max-width: 900px;
  margin: 0 auto;
}

.about-story h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 30px;
  letter-spacing: -0.025em;
}

.about-story p {
  font-size: 17px;
  line-height: 1.95;
  margin-top: 23px;
  color: var(--muted);
}

.about-story .story-photo {
  float: right;
  width: 42%;
  margin: 5px 0 25px 35px;
  border-radius: 10px;
}

.about-story:after {
  content: '';
  display: table;
  clear: both;
}

.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 65px;
}

.about-teaser p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}

/* ===== КОНТАКТЫ ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.contact-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}

.contact-item h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-item p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-item .large-contact {
  font-size: clamp(22px, 3vw, 34px);
  display: block;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-item a:not(.large-contact) {
  color: var(--accent);
}

.contact-cta {
  margin-top: 30px;
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process .step-num {
  color: var(--accent);
}

/* ===== ПОДВАЛ САЙТА ===== */
.footer-documents {
  display: none;
}

.footer-grid {
  gap: 40px;
}

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.page-main .directions {
  background: transparent;
  color: var(--ink);
}

/* ===== УСЛУГИ ===== */
.service-number {
  display: none;
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
.document-image {
  background: #e9eff6;
}

.viewer-canvas {
  background: #dce6f0;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1120PX ===== */
@media (max-width: 1120px) {
  .header-main {
    gap: 14px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav > a {
    font-size: 12px;
  }

  .brand-logo {
    width: 110px;
  }

  .header-main > .contact-button {
    font-size: 11px;
    gap: 10px;
    padding-inline: 14px;
  }

  .theme-button {
    margin-left: 0;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .header-main {
    min-height: 80px;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .brand {
    margin-right: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -5.55%;
    right: -5.55%;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 5%;
    z-index: 50;
  }

  .main-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .main-nav > a {
    font-size: 14px;
  }

  .mobile-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .theme-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .header-main > .contact-button {
    display: inline-flex;
  }

  .page-intro {
    padding-top: 40px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 700PX ===== */
@media (max-width: 700px) {
  .utility .wrap {
    justify-content: space-between;
  }

  .utility-location {
    display: block;
    font-size: 10px;
  }

  .utility-links {
    width: auto;
    gap: 10px;
  }

  .utility-email {
    display: none;
  }

  .hero-revised h1 {
    font-size: 44px;
  }

  .hero-revised:before {
    background: linear-gradient(90deg, #091d35ed, #091d35ab 65%, #091d3544);
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-head.simple h2 {
    font-size: 35px;
  }

  .geography-simple p {
    font-size: 17px;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .about-story h2 {
    font-size: 27px;
  }

  .about-story p {
    font-size: 15px;
  }

  .about-story .story-photo {
    float: none;
    width: 100%;
    margin: 0 0 25px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-item {
    padding: 25px;
  }

  .page-intro h1 {
    font-size: 41px;
  }

  .page-intro p {
    font-size: 14px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 420PX ===== */
@media (max-width: 420px) {
  .brand-logo {
    width: 90px;
    height: 50px;
  }

  .header-main {
    gap: 9px;
  }

  .header-main > .contact-button {
    font-size: 10px;
    gap: 8px;
    padding: 10px 12px;
    min-height: 42px;
  }

  .contact-button .arrow {
    width: 20px;
    height: 20px;
    font-size: 15px;
  }

  .theme-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 16px;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .hero-revised h1 {
    font-size: 37px;
  }

  .utility .wrap {
    gap: 10px;
  }

  .utility a {
    font-size: 10px;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root {
  --radius: 10px;
}

/* ===== КНОПКИ ===== */
.button,
.header-main > .contact-button,
.theme-button,
.mobile-toggle,
.gallery-control,
.service-item,
.step,
.document-card,
.contact-item,
.route-item,
.fleet-table-wrap,
.escort-badge,
.viewer-actions button,
.viewer-actions a,
#document-viewer {
  border-radius: 10px;
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.header-main > .contact-button {
  padding: 14px 19px;
  min-height: 46px;
  gap: 0;
}

.theme-button {
  margin-left: 0;
}

.main-nav {
  gap: 20px;
}

.main-nav > a {
  font-size: 12px;
}

.arrow {
  display: none;
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.step {
  min-height: 260px;
}

.step h3 {
  margin-top: 0;
  line-height: 1.3;
  font-size: 22px;
}

.step p {
  line-height: 1.85;
}

.process .eyebrow:empty {
  display: none;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised {
  padding-block: 65px;
  background: #0a1c31;
}

.hero-revised .hero-content {
  min-height: 430px;
}

.hero-background {
  object-position: center 56%;
  filter: grayscale(0.38);
}

.hero-revised:before {
  background: linear-gradient(
    90deg,
    #081b32fa 0%,
    #081b32eb 35%,
    #081b3260 73%,
    #081b3230
  );
}

.hero-revised .hero-copy {
  max-width: 530px;
}

/* ===== ВООРУЖЁННОЕ СОПРОВОЖДЕНИЕ ===== */
.escort-badge {
  padding: 11px 16px;
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.fact-grid strong.range {
  font-size: clamp(24px, 3vw, 44px);
  white-space: nowrap;
  letter-spacing: 0;
}

.experience-benefits {
  margin-top: 38px;
  margin-bottom: 38px;
  padding: 35px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 40px;
}

.experience-benefits h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.experience-benefits p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
}

.posm-question {
  padding-left: 30px;
}

.posm-question strong {
  font-size: 19px;
}

.posm-question span {
  font-size: 12px;
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
.document-gallery {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-columns: auto;
  gap: 24px;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}

.gallery-control {
  width: auto;
  min-width: 82px;
  height: 42px;
  padding-inline: 16px;
  font-size: 13px;
  font-weight: 600;
}

.gallery-control:disabled {
  opacity: 0.35;
  cursor: default;
}

.viewer-actions button {
  min-width: 46px;
}

.viewer-actions #document-prev,
.viewer-actions #document-next {
  min-width: 64px;
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.home-main #experience .section-head {
  margin-bottom: 30px;
}

.home-main #experience {
  padding-block: 65px;
}

.home-main .faq-grid {
  padding-block: 55px;
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.step-num {
  display: none;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1120PX ===== */
@media (max-width: 1120px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav > a {
    font-size: 11px;
  }

  .header-main > .contact-button {
    font-size: 11px;
    padding-inline: 15px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 900PX ===== */
@media (max-width: 900px) {
  .document-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step h3 {
    font-size: 20px;
  }

  .experience-benefits {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .posm-question {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .document-gallery {
    grid-template-columns: 1fr;
  }

  .document-image {
    height: 340px;
  }

  .hero-revised {
    padding-block: 40px;
  }

  .hero-revised .hero-content {
    min-height: 430px;
  }

  .hero-background {
    object-position: 60% center;
  }

  .hero-revised:before {
    background: linear-gradient(90deg, #081b32f2, #081b32cc 60%, #081b3277);
  }

  .experience-benefits {
    padding: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .experience-benefits h2 {
    font-size: 25px;
  }

  .experience-benefits p {
    font-size: 15px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    padding: 22px;
    min-height: 260px;
  }

  .step h3 {
    font-size: 19px;
  }

  .fact-grid strong.range {
    font-size: 26px;
  }

  .main-nav > a {
    font-size: 14px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 420PX ===== */
@media (max-width: 420px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .fact-grid strong.range {
    font-size: 23px;
  }

  .header-main > .contact-button {
    font-size: 10px;
    padding-inline: 12px;
  }

  .experience-benefits h2 {
    font-size: 23px;
  }
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.site-header {
  box-shadow: 0 6px 25px #071b3310;
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 98px;
  gap: 20px;
}

.main-nav {
  padding: 5px 7px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 5px;
}

.main-nav > a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s;
}

.main-nav > a[aria-current='page'] {
  background: var(--paper);
  box-shadow: 0 2px 8px #071b3310;
  color: var(--accent);
}

.main-nav > a[aria-current='page']:after {
  display: none;
}

.main-nav > a:hover {
  background: var(--paper);
}

/* ===== КНОПКИ ===== */
.button {
  background: linear-gradient(135deg, #1979b9, #218fc6);
  border: 1px solid #3b9ccf;
  box-shadow: 0 7px 18px #1977bd22;
  min-height: 48px;
  padding: 14px 22px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.button:hover {
  background: linear-gradient(135deg, #166da8, #1683bd);
  box-shadow: 0 10px 24px #1977bd32;
  transform: translateY(-1px);
}

/* ===== ШАПКА И НАВИГАЦИЯ ===== */
.header-main > .contact-button {
  padding: 14px 19px;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised .hero-content {
  max-width: 1280px;
}

.hero-revised h1 {
  font-size: clamp(42px, 5vw, 67px);
  max-width: 780px;
}

.hero-revised .hero-copy {
  font-size: 17px;
  line-height: 1.9;
  max-width: 640px;
}

.hero-revised:before {
  background: linear-gradient(
    90deg,
    #081b32fa 0%,
    #081b32ed 40%,
    #081b3270 77%,
    #081b3230
  );
}

/* ===== АВТОПАРК ===== */
.fleet-photo img,
.about-story .story-photo {
  object-fit: contain;
  background: #e5edf5;
  border-radius: 10px;
}

.fleet-overview .fleet-photo img {
  aspect-ratio: 1.5;
}

/* ===== О КОМПАНИИ ===== */
.about-story .story-photo {
  width: 48%;
  margin-bottom: 26px;
}

.about-cta {
  display: flex;
  justify-content: flex-end;
  padding-top: 0 !important;
  padding-bottom: 65px !important;
}

/* ===== УСЛУГИ ===== */
.special-experience {
  margin-top: 35px;
  padding: 26px 30px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  border-radius: 10px;
}

.special-experience h2 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 13px;
}

.special-experience p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 940px;
}

.advantages-section {
  background: var(--soft);
  padding-block: 65px;
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.advantage-card {
  grid-column: span 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
}

.advantage-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.advantage-card h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 22px;
}

.advantage-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
}

.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent);
}

.advantage-icon svg {
  width: 27px;
  height: 27px;
}

.partners-section {
  padding-block: 55px;
}

/* ===== ПАРТНЁРЫ ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.partner-logo {
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 10px;
  min-height: 125px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
  filter: none;
}

.partner-logo:nth-child(2) img {
  max-width: 140px;
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.ring-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.ring-metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-ring {
  width: 165px;
  height: 165px;
  border: 4px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  box-shadow: inset 0 0 0 9px var(--paper);
}

.metric-ring strong {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.metric-ring strong.year-value {
  font-size: 31px;
}

.ring-metric h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 24px;
  letter-spacing: -0.015em;
}

.metrics-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}

.manager-button {
  margin-top: 26px;
  font-size: 12px;
}

/* ===== КОНТАКТЫ ===== */
.contact-channel {
  font-size: 13px;
  margin-top: 20px;
  color: #fff !important;
}

.opening-hours {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 16px;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 65px;
  flex: 1;
  min-width: 155px;
  color: var(--ink) !important;
  transition: border-color 0.15s;
}

.map-link:hover {
  border-color: var(--accent);
}

.map-link svg {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  color: var(--accent);
}

.map-link strong {
  font-size: 13px;
  display: block;
}

.map-link small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.address-map {
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
}

.address-map h2 {
  font-size: 26px;
  padding: 25px 28px;
}

.address-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.address-map > p {
  font-size: 12px;
  color: var(--muted);
  padding: 18px 28px;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1200PX ===== */
@media (max-width: 1200px) {
  .header-main {
    gap: 13px;
  }

  .main-nav > a {
    font-size: 11px;
    padding-inline: 9px;
  }

  .header-main > .contact-button {
    font-size: 11px;
    padding-inline: 14px;
  }

  .advantage-card {
    padding: 25px;
  }

  .partner-logo {
    padding: 16px;
  }

  .metric-ring {
    width: 145px;
    height: 145px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .main-nav {
    display: none;
    padding: 12px 5%;
    border-radius: 0;
    background: var(--paper);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav > a {
    font-size: 14px;
    min-height: 44px;
    padding: 10px 14px;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-card,
  .advantage-card:nth-child(4) {
    grid-column: auto;
  }

  .advantage-card:last-child {
    grid-column: 1/-1;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ring-grid {
    gap: 18px;
  }

  .ring-metric {
    padding: 25px 15px;
  }

  .metric-ring {
    width: 125px;
    height: 125px;
  }

  .metric-ring strong {
    font-size: 34px;
  }

  .metric-ring strong.year-value {
    font-size: 26px;
  }

  .ring-metric h3 {
    font-size: 16px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .hero-revised h1 {
    font-size: 40px;
  }

  .hero-revised .hero-copy {
    font-size: 15px;
    line-height: 1.9;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card:last-child {
    grid-column: auto;
  }

  .advantage-card h3 {
    font-size: 21px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .partner-logo {
    min-height: 110px;
    padding: 18px;
  }

  .partner-logo:last-child {
    grid-column: 1/-1;
  }

  .partner-logo img {
    max-width: 150px;
    max-height: 65px;
  }

  .partner-logo:nth-child(2) img {
    max-width: 125px;
  }

  .ring-grid {
    grid-template-columns: 1fr;
  }

  .ring-metric {
    flex-direction: row;
    text-align: left;
    gap: 25px;
    padding: 25px;
  }

  .ring-metric h3 {
    margin-top: 0;
    max-width: 150px;
  }

  .metric-ring {
    width: 115px;
    height: 115px;
    flex-shrink: 0;
  }

  .metric-ring strong {
    font-size: 31px;
  }

  .metric-ring strong.year-value {
    font-size: 24px;
  }

  .about-story .story-photo {
    float: none;
    width: 100%;
    margin: 0 0 25px;
  }

  .about-cta {
    justify-content: flex-start;
  }

  .address-map iframe {
    height: 320px;
  }

  .special-experience {
    padding: 23px;
  }

  .special-experience h2 {
    font-size: 23px;
  }

  .header-main {
    min-height: 85px;
  }

  .header-main > .contact-button {
    font-size: 10px;
    padding-inline: 12px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 420PX ===== */
@media (max-width: 420px) {
  .header-main {
    gap: 7px;
  }

  .brand {
    margin-right: 0;
  }

  .brand-logo {
    width: 80px;
  }

  .header-main > .contact-button {
    padding-inline: 10px;
    font-size: 10px;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root {
  --warning-text: #976600;
}

:root[data-theme='dark'] {
  --warning-text: #ffda63;
}

.main-nav {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  gap: 25px;
}

.main-nav > a {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  min-height: 46px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  position: relative;
}

.main-nav > a:after {
  content: '';
  display: block !important;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}

.main-nav > a:hover:after,
.main-nav > a[aria-current='page']:after {
  width: 100%;
}

.main-nav > a[aria-current='page'] {
  font-weight: 700;
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.advantage-icon {
  width: 48px;
  height: 48px;
}

.advantage-icon svg {
  width: 29px;
  height: 29px;
}

.advantage-card {
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.advantage-card:nth-child(4) {
  grid-column: span 2;
}

.advantage-photo {
  grid-column: span 2;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 240px;
}

.advantage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s;
}

.advantage-photo:hover img {
  transform: scale(1.025);
}

.animate-ring {
  position: relative;
}

.animate-ring.is-visible {
  animation: ring-arrive 1.1s ease-out;
}

.animate-ring.is-visible:after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: ring-wave 1.2s ease-out;
}

/* ===== АВТОПАРК ===== */
.fleet-photo img,
.story-photo {
  transition: transform 0.35s;
}

.fleet-photo:hover img,
.story-photo:hover {
  transform: scale(1.015);
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process-grid {
  margin-top: 35px;
}

.step {
  min-height: 225px;
}

/* ===== АНИМАЦИИ ===== */
@keyframes ring-arrive {
  0% {
    box-shadow:
      inset 0 0 0 9px var(--paper),
      0 0 0 0 #329ad830;
  }

  70% {
    box-shadow:
      inset 0 0 0 9px var(--paper),
      0 0 0 13px #329ad800;
  }

  100% {
    box-shadow: inset 0 0 0 9px var(--paper);
  }
}

@keyframes ring-wave {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1120PX ===== */
@media (max-width: 1120px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav > a {
    font-size: 12px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .main-nav {
    display: none;
    background: var(--paper);
    padding: 12px 5%;
    gap: 0 25px;
    border-block: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav > a {
    font-size: 14px;
    padding-inline: 0;
  }

  .advantage-card:nth-child(4),
  .advantage-photo {
    grid-column: auto;
  }

  .advantage-photo {
    min-height: 240px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .advantage-photo img {
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
  }

  .advantage-photo {
    min-height: 0;
  }

  .step {
    min-height: 210px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 420PX ===== */
@media (max-width: 420px) {
  .step {
    min-height: 0;
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  .advantage-card,
  .fleet-photo img,
  .story-photo,
  .advantage-photo img {
    transition: none !important;
  }

  .animate-ring,
  .animate-ring:after {
    animation: none !important;
  }

  .advantage-card:hover,
  .fleet-photo:hover img,
  .story-photo:hover,
  .advantage-photo:hover img {
    transform: none;
  }
}

/* ===== ПРЕИМУЩЕСТВА И ЦИФРЫ ===== */
.advantage-card:nth-child(4) {
  grid-column: 2 / span 2;
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process-grid {
  gap: 40px;
}

.step {
  position: relative;
  overflow: visible;
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
#document-gallery + .gallery-toolbar {
  margin-top: 25px;
  margin-bottom: 0;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .advantage-card:nth-child(4) {
    grid-column: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .step {
    min-height: 0;
    padding: 25px;
  }
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process-grid {
  position: relative;
  gap: 24px;
  padding-top: 28px;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised h1 span {
  display: block;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .process-grid {
    gap: 24px;
    padding-top: 0;
    padding-left: 25px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 700PX ===== */
@media (max-width: 700px) {
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 420PX ===== */
@media (max-width: 420px) {
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process-grid {
  gap: 56px;
  padding: 0;
}

.process-grid > .step {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.process-connector {
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translate(50%, -50%);
  display: block;
  width: 36px;
  height: 36px;
  color: var(--accent);
  pointer-events: none;
  line-height: 0;
}

.process-connector svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 0;
  }

  .process-connector {
    top: auto;
    right: 50%;
    bottom: -26px;
    transform: translate(50%, 50%) rotate(90deg);
  }
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
  padding: 0;
}

.process-grid::before,
.process-grid::after,
.process-grid > .step::before,
.process-grid > .step::after {
  content: none !important;
  display: none !important;
}

.process-grid > .step {
  position: relative;
  overflow: visible;
}

.process-grid > .step > .process-connector {
  position: absolute;
  display: block;
  width: 28px;
  height: 28px;
  top: 50%;
  right: -22px;
  bottom: auto;
  transform: translate(50%, -50%);
  color: var(--accent);
  pointer-events: none;
}

.process-connector svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-grid > .step > .process-connector {
    top: auto;
    right: 50%;
    bottom: -20px;
    transform: translate(50%, 50%) rotate(90deg);
  }
}

#advantages .advantage-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  background: #102b47;
  border-color: #426689;
  color: #f4f8ff;
}

#advantages .advantage-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.65);
}

#advantages .advantage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    #071b2f60 0%,
    #071b2fdc 47%,
    #071b2ff5 100%
  );
  pointer-events: none;
}

#advantages .advantage-card > .advantage-icon,
#advantages .advantage-card > h3,
#advantages .advantage-card > p {
  position: relative;
  z-index: 2;
}

#advantages .advantage-icon {
  background: #0b2946e6;
  border: 1px solid #95c9ed55;
  color: #88d4fc;
}

#advantages .advantage-card h3 {
  color: #f4f8ff;
}

#advantages .advantage-card p {
  color: #d5e3f0;
}

#advantages .advantage-background[src*="benefit-manager"] {
  object-position: 68% center;
}

#advantages .advantage-background[src*="benefit-fleet"] {
  object-position: 40% 40%;
}

#advantages .advantage-background[src*="benefit-documents"] {
  object-position: 60% center;
}

#advantages .advantage-background[src*="benefit-route"] {
  object-position: 65% center;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  #advantages .advantage-card {
    min-height: 265px;
  }
}

/* ===== РЕКОМЕНДАТЕЛЬНЫЕ ПИСЬМА ===== */
.document-carousel {
  min-width: 0;
}

.gallery-stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
}

.gallery-stage .document-gallery {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.gallery-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.gallery-arrow:hover {
  border-color: var(--accent);
  background: var(--soft);
  color: var(--accent);
}

.gallery-arrow svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.gallery-arrow-back svg {
  transform: rotate(180deg);
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 23px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.gallery-dot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 6px;
}

.gallery-dot::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  transition:
    background 0.2s,
    opacity 0.2s,
    transform 0.2s;
}

.gallery-dot:hover::before {
  opacity: 0.8;
}

.gallery-dot[aria-current='true']::before {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.3);
}

.gallery-stage .document-card:not([hidden]) {
  animation: letter-appear 0.28s ease-out;
}

/* ===== АНИМАЦИИ ===== */
@keyframes letter-appear {
  from {
    opacity: 0.45;
  }

  to {
    opacity: 1;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .gallery-stage {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 8px;
  }

  .gallery-arrow {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .gallery-dots {
    min-width: 0;
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  .gallery-stage .document-card:not([hidden]) {
    animation: none;
  }

  .gallery-arrow,
  .gallery-dot::before {
    transition: none;
  }
}

/* ===== ФОРМА ЗАЯВКИ ===== */
.request-open {
  overflow: hidden;
}

.request-dialog {
  width: min(720px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 24px 90px #03101c66;
}

.request-dialog::backdrop {
  background: #03101ccc;
  backdrop-filter: blur(3px);
}

.request-dialog-content {
  padding: 38px;
}

.request-dialog h2 {
  padding-right: 35px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.request-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  background: transparent;
}

.request-close:hover {
  color: var(--ink);
  background: var(--soft);
}

.request-intro {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.request-form {
  margin-top: 26px;
}

.request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.request-fields > label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px 5px;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
}

.request-fields label > span[aria-hidden] {
  color: var(--accent);
}

.request-wide {
  grid-column: 1 / -1;
}

.request-optional {
  color: var(--muted);
  font-size: 10px;
  margin-left: 4px;
}

.request-fields input,
.request-fields textarea {
  flex-basis: 100%;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  transition: border-color 0.15s;
}

.request-fields textarea {
  min-height: 140px;
  resize: vertical;
}

.request-fields input::placeholder,
.request-fields textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.request-fields input:focus,
.request-fields textarea:focus {
  border-color: var(--accent);
}

.request-message-help {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--soft);
}

.request-message-help strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.request-message-help p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 6px;
  color: var(--muted);
}

.request-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 22px;
}

.request-consent input {
  margin: 3px 0 0;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.request-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.request-consent a:hover {
  color: var(--accent);
}

.request-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.request-actions .button {
  justify-content: center;
  min-width: 185px;
}

.request-actions .button:disabled {
  opacity: 0.6;
  transform: none;
}

.request-note {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.request-feedback {
  margin-top: 18px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--soft);
}

.request-feedback[data-state='error'] {
  border-color: #be7266;
}

.request-feedback[data-state='success'] {
  border-color: var(--accent);
}

/* ===== КОНТАКТЫ ===== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 30px;
  align-items: start;
  padding-top: 15px;
}

.contact-request {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  scroll-margin-top: 155px;
}

.contact-request > h2 {
  font-size: 30px;
  line-height: 1.2;
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contact-card h2,
.contact-card h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.contact-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 16px;
}

.contact-card > a {
  display: inline-flex;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 15px;
}

.contact-card > a.large-contact,
.contact-card .large-contact {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 20px;
}

.contact-card .contact-email,
.contact-card .large-contact {
  display: block;
  overflow-wrap: anywhere;
}

.contact-card > .button {
  color: #fff;
  font-size: 12px;
}

.contact-card .opening-hours {
  margin-top: 17px;
}

.contact-card .map-links {
  margin-top: 20px;
}

.contact-map {
  margin-bottom: 75px;
}

.contact-map .address-map {
  margin-top: 0;
}

.contact-map h2 {
  font-size: 28px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

/* ===== УСЛУГИ ===== */
.service-prompt {
  position: fixed;
  z-index: 65;
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 36px));
  padding: 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 15px 55px #03101c40;
}

.service-prompt-close {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
}

.service-prompt-close:hover {
  color: var(--ink);
  background: var(--soft);
}

.service-prompt-label {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.service-prompt h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 280px;
}

.service-prompt p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 13px;
}

.service-prompt > .button {
  font-size: 12px;
  justify-content: center;
  width: 100%;
  margin-top: 19px;
}

.service-prompt-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.service-prompt-trigger:hover {
  color: var(--accent);
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    padding: 25px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .request-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  .request-dialog-content {
    padding: 28px 22px;
  }

  .request-close {
    top: 7px;
    right: 7px;
  }

  .request-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .request-wide {
    grid-column: auto;
  }

  .request-fields textarea {
    min-height: 135px;
  }

  .request-actions > .button {
    width: 100%;
  }

  .contact-request {
    padding: 25px 22px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-map {
    margin-bottom: 55px;
  }

  .contact-map iframe {
    height: 300px;
  }

  .service-prompt {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 23px;
  }

  .service-prompt h2 {
    font-size: 20px;
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  .request-fields input,
  .request-fields textarea {
    transition: none;
  }
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.home-metrics {
  padding-block: 45px 30px;
}

.home-metrics .ring-grid {
  gap: 30px;
}

.home-metrics .ring-metric {
  flex-direction: row;
  justify-content: center;
  text-align: left;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-metrics .metric-ring {
  width: 135px;
  height: 135px;
  flex-shrink: 0;
  background: #0c2745;
  border-color: #55bde9;
  box-shadow: inset 0 0 0 8px #163c60;
}

.home-metrics .metric-ring strong {
  color: #dff4ff;
  font-size: 35px;
}

.home-metrics .metric-ring .year-value {
  font-size: 27px;
}

.home-metrics .ring-metric h3 {
  color: #edf7ff;
  font-size: 17px;
  line-height: 1.5;
  margin-top: 0;
  max-width: 140px;
}

.home-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 35px;
  padding-top: 28px;
  border-top: 1px solid #80b9e233;
  text-align: center;
}

.home-capabilities strong {
  color: #8bd8fa;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.home-capabilities p {
  color: #d4e5f4;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 8px;
}

.home-metrics .metrics-note {
  color: #ffda63 !important;
  text-align: center;
  margin-top: 21px;
}

.contacts-lead {
  max-width: 700px;
  margin-top: 22px;
}

/* ===== КОНТАКТЫ ===== */
.contact-details .opening-hours {
  line-height: 1.9;
  white-space: normal;
}

.contact-telegram {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  margin-top: 15px;
}

.contact-details .service-contact-card h2 {
  margin-top: 11px;
}

.contact-details .service-contact-card .button {
  margin-top: 20px;
}

.destination-grid {
  gap: 24px;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1100PX ===== */
@media (max-width: 1100px) {
  .home-metrics .ring-metric {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .home-metrics .ring-metric h3 {
    max-width: none;
  }

  .home-metrics .ring-grid {
    gap: 22px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .home-metrics .ring-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .home-metrics .ring-metric {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    gap: 25px;
    max-width: 310px;
    width: 100%;
    margin-inline: auto;
  }

  .home-metrics .metric-ring {
    width: 110px;
    height: 110px;
  }

  .home-metrics .metric-ring strong {
    font-size: 31px;
  }

  .home-metrics .metric-ring .year-value {
    font-size: 24px;
  }

  .home-metrics .ring-metric h3 {
    font-size: 16px;
    max-width: 150px;
  }

  .home-capabilities {
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 30px;
    padding-top: 25px;
  }

  .home-capabilities strong {
    font-size: 26px;
  }

  .home-capabilities p {
    margin-top: 5px;
  }

  .home-metrics {
    padding-top: 35px;
  }
}

/* ===== КЕЙСЫ ===== */
.cases-home {
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.cases-home .section-head {
  align-items: center;
}

.cases-home .section-head .button {
  flex-shrink: 0;
}

.case-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-preview {
  display: block;
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.case-preview:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.case-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin: -28px -28px 23px;
  color: #9bdcf8;
  background:
    radial-gradient(ellipse at 85% 5%, #266e91 0, transparent 65%),
    linear-gradient(130deg, #0d263f, #123d60);
}

.case-art svg {
  width: 66px;
  height: 66px;
}

.case-preview h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 12px;
  letter-spacing: -0.025em;
}

.case-preview p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 15px;
}

.case-preview-link {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-top: 22px;
}

.cases-page .page-intro .lead {
  margin-top: 20px;
  max-width: 750px;
}

.case-catalog {
  padding-top: 15px;
}

.case-catalog-note {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.case-record-list {
  display: grid;
  gap: 28px;
}

.case-record {
  scroll-margin-top: 155px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.case-record-heading {
  display: flex;
  gap: 24px;
  align-items: center;
}

.case-record-heading h2 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  margin-top: 10px;
}

.case-record-art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 86px;
  height: 86px;
  border-radius: 10px;
  color: #a3def9;
  background: linear-gradient(135deg, #0d2c4b, #1b587e);
}

.case-record-art svg {
  width: 47px;
  height: 47px;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  margin: 27px 0 0;
}

.case-facts dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.case-facts dd {
  margin: 0;
  font-size: 13px;
}

.case-story {
  margin-top: 15px;
}

.case-story summary {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.case-story summary::after {
  content: '+';
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
}

.case-story[open] summary::after {
  content: '−';
}

.case-story summary::-webkit-details-marker {
  display: none;
}

.case-story-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 20px 7px;
}

.case-story-content h3 {
  font-size: 17px;
  line-height: 1.4;
}

.case-story-content p {
  font-size: 13px;
  margin-top: 13px;
  line-height: 1.8;
}

.case-contact {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 30px;
  margin-top: 35px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: var(--soft);
}

.case-contact h2 {
  width: 100%;
  font-size: 31px;
}

.case-contact p {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  min-width: 220px;
}

.destination-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ===== АДАПТИВ: ЭКРАНЫ ОТ 941 ДО 1180PX ===== */
@media (min-width: 941px) and (max-width: 1180px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav > a {
    font-size: 11px;
  }

  .header-main {
    gap: 13px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 900PX ===== */
@media (max-width: 900px) {
  .case-preview-grid {
    grid-template-columns: 1fr;
  }

  .case-art {
    height: 105px;
  }

  .case-preview {
    padding: 25px;
  }

  .case-art {
    margin: -25px -25px 22px;
  }

  .case-facts {
    grid-template-columns: 1fr 1fr;
  }

  .case-story-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 800PX ===== */
@media (max-width: 800px) {
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .cases-home .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .case-record {
    padding: 24px;
  }

  .case-record-heading {
    gap: 15px;
    align-items: flex-start;
  }

  .case-record-art {
    width: 58px;
    height: 58px;
  }

  .case-record-art svg {
    width: 34px;
    height: 34px;
  }

  .case-record-heading h2 {
    font-size: 24px;
  }

  .case-facts {
    gap: 22px 18px;
  }

  .case-contact {
    padding: 25px;
  }

  .case-contact h2 {
    font-size: 27px;
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  .case-preview {
    transition: none;
  }

  .case-preview:hover {
    transform: none;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:not([data-theme='dark']) {
  --bg: #f2f7fc;
  --paper: #ffffff;
  --soft: #e5effa;
  --ink: #102f50;
  --muted: #4b6783;
  --line: #c8dbee;
  --accent: #087dbb;
  --accent-hover: #09649a;
  --dark: #103352;
}

:root:not([data-theme='dark']) body {
  background:
    radial-gradient(ellipse at 100% 0, #dceffc 0, transparent 34rem), var(--bg);
}

:root:not([data-theme='dark']) .site-header {
  background: #ffffffed;
  border-bottom-color: #bcd5eb;
  box-shadow: 0 8px 24px #123d6512;
}

:root:not([data-theme='dark']) .utility {
  background: linear-gradient(100deg, #0d2d50 5%, #15527c 100%);
  color: #e5f3ff;
}

:root:not([data-theme='dark']) .utility a {
  color: #e5f3ff;
}

:root:not([data-theme='dark']) .utility a:hover {
  color: #ffffff;
}

:root:not([data-theme='dark']) .theme-button,
:root:not([data-theme='dark']) .mobile-toggle {
  background: #eaf3fb;
  border-color: #b8d1e7;
  color: #16456d;
}

:root:not([data-theme='dark']) .button {
  background: linear-gradient(115deg, #086eae, #0c7aab);
  border-color: #1685bd;
  box-shadow: 0 8px 20px #0878b62b;
  color: #ffffff;
}

:root:not([data-theme='dark']) .button:hover {
  background: linear-gradient(115deg, #085d95, #0a6e9d);
  box-shadow: 0 10px 26px #0878b638;
}

:root:not([data-theme='dark']) .button-plain {
  background: linear-gradient(115deg, #ffffff, #eaf4fc);
  border-color: #98bddb;
  color: #123d62;
  box-shadow: 0 5px 14px #174d7410;
}

:root:not([data-theme='dark']) .button-plain:hover {
  background: #dceefa;
  border-color: #3a92bf;
  color: #103352;
  box-shadow: 0 7px 18px #174d7418;
}

:root:not([data-theme='dark']) .page-intro {
  position: relative;
  overflow: hidden;
  padding: 36px 34px 32px;
  margin-top: 30px;
  margin-bottom: 24px;
  border: 1px solid #c5dbef;
  border-left: 5px solid #1594c7;
  border-radius: 10px;
  background: linear-gradient(115deg, #ffffff 0%, #eff7fe 62%, #d7edfb 100%);
  box-shadow: 0 12px 30px #1a4c7510;
}

:root:not([data-theme='dark']) .page-intro h1 {
  color: #103352;
}

:root:not([data-theme='dark']) .page-intro .breadcrumb {
  color: #456984;
}

:root:not([data-theme='dark']) .section-head h2::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 17px;
  border-radius: 2px;
  background: linear-gradient(90deg, #086eae, #45c0e4);
}

:root:not([data-theme='dark']) .advantages-section {
  background: linear-gradient(125deg, #deedf9, #edf6fc 65%, #dceefb);
  border-block: 1px solid #c5dced;
}

:root:not([data-theme='dark']) .process {
  background: linear-gradient(180deg, #fbfdff, #e7f2fc);
  border-color: #c5dbed;
}

:root:not([data-theme='dark']) .step {
  background: #ffffff;
  border-color: #bdd5e9;
  box-shadow: 0 9px 22px #1646690c;
}

:root:not([data-theme='dark']) .service-item,
:root:not([data-theme='dark']) .route-item {
  position: relative;
  background: linear-gradient(135deg, #ffffff 55%, #e9f5fd);
  border-color: #bed5e9;
  box-shadow: 0 10px 25px #164b7010;
}

:root:not([data-theme='dark']) .route-item {
  border-left: 3px solid #42a8d2;
  border-top-color: #0e80b9;
}

:root:not([data-theme='dark']) .service-item:not(.service-featured) {
  box-shadow:
    inset 0 3px #40a7cf,
    0 10px 25px #164b7010;
}

:root:not([data-theme='dark']) .service-featured {
  background: linear-gradient(130deg, #0f2e50, #16577e);
  border-color: #45aeda;
  box-shadow: 0 12px 30px #0f3a622b;
  color: #f6fbff;
}

:root:not([data-theme='dark']) .service-featured h3 {
  color: #a3e7ff;
}

:root:not([data-theme='dark']) .service-featured p {
  color: #deeffb;
}

:root:not([data-theme='dark']) .special-experience {
  background: linear-gradient(100deg, #ffffff, #e5f2fd);
  box-shadow: 0 8px 24px #194e7410;
  border: 1px solid #c2dbee;
  border-left: 4px solid #1588bd;
}

:root:not([data-theme='dark']) .contact-request,
:root:not([data-theme='dark']) .contact-card {
  border-color: #bcd6ec;
  box-shadow: 0 12px 28px #1a4e7410;
}

:root:not([data-theme='dark']) .contact-request {
  background: linear-gradient(135deg, #ffffff 70%, #f2f9ff);
  box-shadow:
    inset 0 4px #168ac1,
    0 12px 28px #1a4e7410;
}

:root:not([data-theme='dark']) .contact-details .contact-card:first-child {
  background: linear-gradient(125deg, #e4f2fc, #ffffff 78%);
  border-left: 4px solid #168ac1;
}

:root:not([data-theme='dark']) .service-contact-card {
  background: linear-gradient(125deg, #d9edfc, #f6fbff);
}

:root:not([data-theme='dark']) .request-dialog {
  background: linear-gradient(135deg, #ffffff 72%, #eaf6ff);
  border-top: 4px solid #168ac1;
}

:root:not([data-theme='dark']) .request-fields input,
:root:not([data-theme='dark']) .request-fields textarea {
  background: #f5faff;
  border-color: #b7d0e7;
  box-shadow: inset 0 1px 3px #173f5c08;
}

:root:not([data-theme='dark']) .request-fields input:focus,
:root:not([data-theme='dark']) .request-fields textarea:focus {
  background: #ffffff;
  border-color: #0c86bf;
}

:root:not([data-theme='dark']) .request-message-help {
  background: linear-gradient(100deg, #dceefa, #edf7fe);
  border-left-color: #168ac1;
}

:root:not([data-theme='dark']) .map-link {
  background: linear-gradient(120deg, #e0effb, #f5faff);
  border-color: #b7d2e9;
}

:root:not([data-theme='dark']) .address-map {
  border-color: #b5d0e7;
  box-shadow: 0 12px 30px #16496d12;
}

:root:not([data-theme='dark']) .address-map h2 {
  background: linear-gradient(100deg, #ddecf9, #f4f9fe);
  border-bottom: 1px solid #c8dcec;
}

:root:not([data-theme='dark']) .document-card {
  border-color: #b9d1e6;
  box-shadow: 0 10px 24px #154b7012;
}

:root:not([data-theme='dark']) .document-image {
  background: linear-gradient(135deg, #e5f1fb, #f6fbff);
}

:root:not([data-theme='dark']) .document-card .document-title {
  color: #123d62;
}

:root:not([data-theme='dark']) .gallery-arrow {
  background: #ffffff;
  border-color: #8ebbd9;
  color: #0d70a7;
  box-shadow: 0 5px 14px #12466c12;
}

:root:not([data-theme='dark']) .gallery-arrow:hover {
  background: #dceefa;
}

:root:not([data-theme='dark']) .faq-placeholder {
  background: linear-gradient(110deg, #e3f1fb, #f7fbff);
  border-color: #bad5ea;
  border-radius: 10px;
  padding: 26px;
}

:root:not([data-theme='dark']) .partner-logo {
  box-shadow: 0 7px 20px #19496b0d;
  border-color: #c1d8e9;
}

:root:not([data-theme='dark']) .fleet-table-wrap {
  border-color: #bdd6e9;
  box-shadow: 0 10px 26px #17496b0f;
}

:root:not([data-theme='dark']) .fleet-table thead {
  background: #dcecf8;
}

:root:not([data-theme='dark']) .service-prompt {
  background: linear-gradient(135deg, #ffffff, #e2f2fd);
  border-color: #9bc8e5;
  border-top-color: #158ac1;
  box-shadow: 0 18px 50px #123b6230;
}

:root:not([data-theme='dark']) .cases-home {
  background: linear-gradient(130deg, #e5f1fb, #f8fcff 70%);
  border-color: #c4dbed;
}

:root:not([data-theme='dark']) .case-preview,
:root:not([data-theme='dark']) .case-record {
  background: linear-gradient(135deg, #ffffff 65%, #f2f8fe);
  border-color: #bcd5e9;
  box-shadow: 0 10px 26px #17496b10;
}

:root:not([data-theme='dark']) .case-contact {
  background: linear-gradient(110deg, #dceefa, #f2f9ff);
  border-color: #b8d4e9;
  border-left-color: #168ac1;
}

:root:not([data-theme='dark']) .site-footer {
  background: linear-gradient(115deg, #dbeaf8, #edf5fc);
  color: #123556;
  border-top: 1px solid #bcd4e8;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  :root:not([data-theme='dark']) .page-intro {
    margin-top: 20px;
    padding: 26px 22px;
    border-left-width: 4px;
  }

  :root:not([data-theme='dark']) .section-head h2::before {
    margin-bottom: 13px;
    width: 32px;
  }

  :root:not([data-theme='dark']) .faq-placeholder {
    padding: 22px;
  }
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.home-metrics .home-capabilities {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  padding-bottom: 30px;
  margin-bottom: 32px;
  border-bottom: 1px solid #80b9e233;
}

.home-shortcut-section {
  padding-block: 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.home-shortcut {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 76px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.home-shortcut-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--accent);
}

.home-shortcut-icon svg {
  width: 27px;
  height: 27px;
  display: block;
}

.home-shortcut:hover {
  border-color: var(--accent);
  background: var(--soft);
  box-shadow: 0 7px 20px #0b507214;
  transform: translateY(-2px);
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:not([data-theme='dark']) .home-shortcut {
  border-color: #bfd7ec;
  background: linear-gradient(130deg, #ffffff, #edf6fd);
  box-shadow: 0 5px 15px #0c4b7410;
}

:root:not([data-theme='dark']) .home-shortcut:hover {
  background: linear-gradient(130deg, #edf7ff, #dcedfb);
}

:root .site-header .button-emphasis,
:root .hero-actions .button-emphasis {
  color: #fff;
  background: linear-gradient(115deg, #095cb5 0%, #087eae 60%, #087e96 100%);
  border: 1px solid #66cbf2;
  box-shadow:
    0 0 0 3px #159bd51c,
    0 8px 24px #0870a52e;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

:root .site-header .button-emphasis:hover,
:root .hero-actions .button-emphasis:hover {
  color: #fff;
  background: linear-gradient(115deg, #075394, #066f99 60%, #066f85);
  border-color: #9ae1fc;
  box-shadow:
    0 0 0 3px #159bd52b,
    0 11px 28px #0870a545;
}

:root[data-theme='dark'] .site-header .button-emphasis,
:root[data-theme='dark'] .hero-actions .button-emphasis {
  background: linear-gradient(110deg, #0878b7, #08729e);
  border-color: #79d7f9;
  box-shadow:
    0 0 0 4px #50c2ef1a,
    0 8px 28px #020d1b50;
}

:root[data-theme='dark'] .site-header .button-emphasis:hover,
:root[data-theme='dark'] .hero-actions .button-emphasis:hover {
  background: linear-gradient(110deg, #096aa5, #086486);
  border-color: #a7e5fc;
  box-shadow:
    0 0 0 4px #50c2ef30,
    0 10px 30px #020d1b65;
}

:root .hero-actions .services-button {
  color: #0b3559;
  background: linear-gradient(115deg, #ffffff, #d9f1ff);
  border: 1px solid #91d7f6;
  box-shadow:
    0 0 0 3px #92dcff18,
    0 8px 24px #031c3740;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

:root .hero-actions .services-button:hover {
  color: #082d4e;
  background: linear-gradient(115deg, #e9f9ff, #bde7fc);
  border-color: #b3e6fc;
  box-shadow:
    0 0 0 3px #92dcff30,
    0 10px 27px #031c3750;
}

:root .site-header .button-emphasis:focus-visible,
:root .hero-actions .button:focus-visible,
.home-shortcut:focus-visible {
  outline: 3px solid #5cc9f4;
  outline-offset: 5px;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1100PX ===== */
@media (max-width: 1100px) {
  .home-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .home-shortcut {
    min-height: 70px;
    padding: 16px 20px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .home-shortcut {
    min-height: 73px;
    padding: 14px;
    gap: 10px;
    font-size: 12px;
  }

  .home-shortcut-icon {
    width: 25px;
    height: 25px;
  }

  .home-shortcut-icon svg {
    width: 24px;
    height: 24px;
  }

  .home-shortcut-section {
    padding-block: 23px;
  }

  .home-metrics .home-capabilities {
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 27px;
    margin-bottom: 30px;
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  .home-shortcut,
  :root .site-header .button-emphasis,
  :root .hero-actions .button {
    transition: none;
  }

  .home-shortcut:hover {
    transform: none;
  }
}

/* ===== ЭТАПЫ РАБОТЫ ===== */
.process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ui-section);
  color: var(--ui-focus);
}

.process-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

#process .process-grid > .step {
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}

#process .process-grid > .step.is-process-current {
  border-color: var(--ui-focus);
  box-shadow:
    inset 0 3px 0 var(--ui-focus),
    0 10px 28px #1488be30;
}

#process .step.is-process-current .process-icon {
  color: #fff;
  border-color: #47b7df;
  background: linear-gradient(115deg, #0969b0, #087f9f);
  animation: process-icon-float 1s ease-in-out infinite alternate;
}

#process.process-motion-running .process-connector {
  opacity: 0.35;
  transition: opacity 0.4s;
}

#process.process-motion-running .step.is-process-current .process-connector {
  opacity: 1;
  color: var(--ui-focus);
}

#process .step.is-process-current .process-connector svg {
  animation: process-arrow-glow 0.95s ease-in-out infinite alternate;
}

/* ===== АНИМАЦИИ ===== */
@keyframes process-icon-float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-4px);
  }
}

@keyframes process-arrow-glow {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 1;
    filter: drop-shadow(0 0 4px #30b8eb80);
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  #process .step,
  #process .process-icon,
  #process .process-connector,
  #process .process-connector svg {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root {
  --ui-surface: #fff;
  --ui-end: #edf6fd;
  --ui-section: #e8f2fb;
  --ui-title: #dceffc;
  --ui-shadow: 0 9px 24px #123d6512;
  --ui-header: #f8fcfff5;
  --ui-focus: #0c80bd;
}

:root:root[data-theme='dark'] {
  --ui-surface: #13283f;
  --ui-end: #17344e;
  --ui-section: #102338;
  --ui-title: #183d59;
  --ui-shadow: 0 9px 24px #020c191f;
  --ui-header: #0d1e31f5;
  --ui-focus: #51bce8;
}

:root:root body {
  background:
    radial-gradient(ellipse at 100% 0, var(--ui-title), transparent 34rem),
    var(--bg);
}

:root:root .site-header {
  background: var(--ui-header);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--ui-shadow);
}

:root:root .utility {
  background: linear-gradient(100deg, #0d2d50, #15527c);
  color: #e5f3ff;
}

:root:root .utility a {
  color: #e5f3ff;
}

:root:root .page-intro {
  position: relative;
  overflow: hidden;
  padding: 36px 34px 32px;
  margin-top: 30px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid #1594c7;
  border-radius: 10px;
  background: linear-gradient(
    115deg,
    var(--ui-surface),
    var(--ui-end) 62%,
    var(--ui-title)
  );
  box-shadow: var(--ui-shadow);
}

:root:root .page-intro h1 {
  color: var(--ink);
}

:root:root .page-intro .breadcrumb {
  color: var(--muted);
}

:root:root .section-head h2::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 17px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0879b4, #45c0e4);
}

:root:root .advantages-section,
:root:root .process,
:root:root .cases-home {
  background: linear-gradient(125deg, var(--ui-section), var(--bg));
  border-block: 1px solid var(--line);
}

:root:root .step,
:root:root .service-item,
:root:root .route-item,
:root:root .case-preview,
:root:root .case-record,
:root:root .contact-card,
:root:root .contact-request,
:root:root .special-experience,
:root:root .home-shortcut {
  background: linear-gradient(135deg, var(--ui-surface) 55%, var(--ui-end));
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: var(--ui-shadow);
}

:root:root .route-item {
  border-left: 3px solid #42a8d2;
  border-top-color: #0e80b9;
}

:root:root .service-item:not(.service-featured) {
  box-shadow:
    inset 0 3px #40a7cf,
    var(--ui-shadow);
}

:root:root .service-featured {
  background: linear-gradient(130deg, #0f2e50, #16577e);
  border-color: #45aeda;
  color: #f6fbff;
}

:root:root .service-featured h3 {
  color: #a3e7ff;
}

:root:root .service-featured p {
  color: #deeffb;
}

:root:root .special-experience,
:root:root .contact-details .contact-card:first-child,
:root:root .case-contact {
  border-left: 4px solid #168ac1;
}

:root:root .contact-details .contact-card:first-child {
  background: linear-gradient(125deg, var(--ui-section), var(--ui-surface) 78%);
}

:root:root .contact-request {
  box-shadow:
    inset 0 4px #168ac1,
    var(--ui-shadow);
}

:root:root .request-dialog,
:root:root .service-prompt {
  background: linear-gradient(135deg, var(--ui-surface), var(--ui-end));
  border-color: var(--line);
  border-top: 4px solid #168ac1;
  box-shadow: 0 18px 50px #031a3830;
}

:root:root .request-fields input,
:root:root .request-fields textarea {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: inset 0 1px 3px #173f5c08;
}

:root:root .request-fields input:focus,
:root:root .request-fields textarea:focus {
  background: var(--ui-surface);
  border-color: var(--ui-focus);
}

:root:root .request-message-help,
:root:root .map-link,
:root:root .case-contact,
:root:root .faq-placeholder {
  background: linear-gradient(110deg, var(--ui-section), var(--ui-end));
  border-color: var(--line);
}

:root:root .faq-placeholder {
  border-radius: 10px;
  padding: 26px;
}

:root:root .request-message-help {
  border-left-color: #168ac1;
}

:root:root .document-card,
:root:root .partner-logo,
:root:root .fleet-table-wrap,
:root:root .address-map {
  border-color: var(--line);
  box-shadow: var(--ui-shadow);
}

:root:root .document-image {
  background: linear-gradient(135deg, #e5f1fb, #f6fbff);
}

:root:root .document-card .document-title {
  color: var(--ink);
}

:root:root .fleet-table thead,
:root:root .address-map h2 {
  background: var(--ui-section);
  border-color: var(--line);
}

:root:root .gallery-arrow,
:root:root .theme-button,
:root:root .mobile-toggle {
  background: var(--ui-surface);
  border-color: var(--line);
  color: var(--ui-focus);
  box-shadow: var(--ui-shadow);
}

:root:root .gallery-arrow:hover {
  background: var(--ui-section);
}

:root:root .site-footer {
  background: linear-gradient(115deg, var(--ui-section), var(--ui-end));
  color: var(--ink);
  border-top: 1px solid var(--line);
}

:root:root .button {
  color: #fff;
  background: linear-gradient(115deg, #0969b0, #087f9f);
  border-color: #40a8cf;
  box-shadow: 0 7px 20px #0878b62b;
}

:root:root .button:hover {
  color: #fff;
  background: linear-gradient(115deg, #085b98, #086d8a);
  border-color: #65c5e6;
  box-shadow: 0 10px 26px #0878b638;
}

:root:root .button-plain {
  color: var(--ink);
  background: linear-gradient(115deg, var(--ui-surface), var(--ui-end));
  border-color: var(--line);
}

:root:root .button-plain:hover {
  color: var(--ink);
  background: var(--ui-section);
}

:root:root .site-header .button-emphasis,
:root:root .hero-actions .button-emphasis {
  color: #fff;
  background: linear-gradient(115deg, #095cb5, #087eae 60%, #087e96);
  border-color: #66cbf2;
  box-shadow:
    0 0 0 3px #159bd51c,
    0 8px 24px #0870a52e;
}

:root:root .site-header .button-emphasis:hover,
:root:root .hero-actions .button-emphasis:hover {
  background: linear-gradient(115deg, #075394, #066f99 60%, #066f85);
  border-color: #9ae1fc;
  box-shadow:
    0 0 0 3px #159bd52b,
    0 11px 28px #0870a545;
}

:root:root .hero-actions .services-button {
  color: #0b3559;
  background: linear-gradient(115deg, #fff, #d9f1ff);
  border-color: #91d7f6;
}

:root:root .hero-actions .services-button:hover {
  color: #082d4e;
  background: linear-gradient(115deg, #e9f9ff, #bde7fc);
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  :root:root .page-intro {
    margin-top: 20px;
    padding: 26px 22px;
    border-left-width: 4px;
  }

  :root:root .section-head h2::before {
    margin-bottom: 13px;
    width: 32px;
  }

  :root:root .faq-placeholder {
    padding: 22px;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .page-intro {
  overflow: visible;
  padding: 44px 0 12px;
  margin: 0 auto 24px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

:root:root .hero-actions .services-button {
  gap: 0;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding-inline: 23px;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised .hero-background {
  left: auto;
  right: 0;
  width: 70%;
  object-fit: cover;
  object-position: 70% 42%;
  filter: none;
}

.hero-revised::before {
  background: linear-gradient(
    90deg,
    #081b32 0%,
    #081b32f5 34%,
    #081b329e 55%,
    #081b3222 85%
  );
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .home-shortcut-section {
  background: var(--ui-section);
  border-block: 1px solid var(--line);
}

:root:root .home-shortcut {
  background: linear-gradient(120deg, #123957, #14638a);
  border: 1px solid #2c83ad;
  color: #fff;
  box-shadow: 0 6px 14px #0b365626;
}

:root:root .home-shortcut-icon {
  color: #8fddff;
}

:root:root .home-shortcut:hover {
  background: linear-gradient(120deg, #174d72, #14769d);
  border-color: #55b9e3;
}

:root:root .document-card {
  background: linear-gradient(120deg, #12344f, #175775);
  border: 1px solid #5c91b1;
  box-shadow: 0 10px 24px #143f6924;
}

:root:root .document-card .document-title {
  color: #fff;
}

:root:root .document-card .document-action {
  color: #c6eafb;
}

:root:root .document-image {
  background: #dce9f5;
  border-bottom: 1px solid #9abbd2;
}

:root:root .partner-logo {
  background: #fff;
  border: 2px solid #83aecb;
  box-shadow: 0 7px 20px #173f6226;
}

:root:root .partners-section {
  border-top: 1px solid var(--line);
}

:root:root .home-metrics {
  background: var(--ui-section);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

:root:root .home-capabilities {
  padding-bottom: 0;
  border-bottom: 0;
  gap: 22px;
}

:root:root .home-capabilities > div {
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-top: 3px solid #2497c6;
  border-radius: 10px;
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow);
}

:root:root .home-capabilities strong {
  color: var(--ui-focus);
}

:root:root .home-capabilities p {
  color: var(--muted);
}

:root:root .home-metrics .ring-metric {
  padding: 24px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ui-surface), var(--ui-end));
  box-shadow: var(--ui-shadow);
}

:root:root .home-metrics .metric-ring {
  background: var(--ui-surface);
  border-color: var(--ui-focus);
  box-shadow: inset 0 0 0 7px var(--ui-section);
}

:root:root .home-metrics .metric-ring strong {
  color: var(--ink);
}

:root:root .home-metrics .ring-metric h3 {
  color: var(--ink);
}

:root:not([data-theme='dark']) .home-metrics .metrics-note {
  color: #956100 !important;
}

:root:root .service-item {
  padding: 0;
  overflow: hidden;
  background: var(--ui-surface);
  border: 1px solid var(--line);
  box-shadow: var(--ui-shadow);
}

:root:root .service-item:not(.service-featured) {
  box-shadow: var(--ui-shadow);
}

/* ===== УСЛУГИ ===== */
.service-image {
  display: block;
  width: 100%;
  height: 174px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-content {
  padding: 25px;
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .service-content h3 {
  color: var(--ink);
  margin-top: 0;
}

:root:root .service-content p {
  color: var(--muted);
}

:root:root[data-theme='dark'] .service-item {
  background: linear-gradient(125deg, #102c47, #15506f);
  border-color: #2d6080;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  :root:root .home-metrics .ring-metric {
    flex-direction: column;
    text-align: center;
  }

  .hero-revised .hero-background {
    width: 85%;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  :root:root .page-intro {
    padding: 30px 0 5px;
    margin-bottom: 18px;
  }

  .hero-revised .hero-background {
    width: 100%;
    object-position: 65% center;
  }

  .hero-revised::before {
    background: linear-gradient(90deg, #081b32f5, #081b32c9 65%, #081b3290);
  }

  :root:root .home-metrics .ring-metric {
    flex-direction: row;
    text-align: left;
    padding: 20px;
    max-width: none;
  }

  :root:root .home-capabilities {
    gap: 15px;
  }

  .service-image {
    height: 185px;
  }
}

/* ===== АВТОПАРК ===== */
.fleet-request-button {
  margin-top: 24px;
  justify-content: center;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-revised .hero-background {
  left: 0;
  right: 0;
  width: 100%;
  object-position: center 50%;
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .partners-section .section-head h2::before {
  content: none;
  display: none;
}

:root:root .destination-grid .route-item {
  padding: 0;
  overflow: hidden;
}

/* ===== НАПРАВЛЕНИЯ ===== */
.route-image {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.route-image {
  object-position: center 15%;
}

.route-content {
  padding: 24px;
}

.route-content h2 {
  margin: 0;
  font-size: 25px;
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .route-enquiry {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

/* ===== НАПРАВЛЕНИЯ ===== */
.route-enquiry-content {
  padding: 30px;
  align-self: center;
}

.route-enquiry-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 700PX ===== */
@media (max-width: 700px) {
  .route-image {
    height: 185px;
  }

  :root:root .route-enquiry {
    grid-template-columns: 1fr;
  }

  .route-enquiry-content {
    padding: 25px;
  }

  .route-enquiry-image {
    height: 185px;
    min-height: 0;
  }

  .hero-revised .hero-background {
    object-position: 66% center;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .section-head h2::before {
  content: none;
  display: none;
}

:root:root .home-metrics {
  padding-block: 32px;
}

:root:root .home-metrics .home-capabilities {
  margin-bottom: 0;
}

:root:root .advantage-card .context-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 9px 14px;
  border: 1px solid #9cd8ee70;
  border-radius: 8px;
  background: #071e3566;
  color: #e1f5ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

:root:root .advantage-card .context-link:hover {
  background: #12658dcc;
  border-color: #8dd8f2;
  color: #fff;
}

.context-link:focus-visible {
  outline: 3px solid #5cc9f4;
  outline-offset: 4px;
}

:root:root .company-figures {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid #396987;
  border-radius: 10px;
  background: linear-gradient(120deg, #102c47, #15516e);
  box-shadow: var(--ui-shadow);
}

:root:root .company-figures .ring-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

:root:root .company-figures .ring-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  max-width: none;
  width: auto;
  margin: 0;
  padding: 28px 34px;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

:root:root .company-figures .ring-metric + .ring-metric {
  border-left: 1px solid #8dbbd44d;
}

:root:root .company-figures .metric-ring {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

:root:root .company-figures .metric-ring strong {
  display: block;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #f1f9ff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

:root:root .company-figures .metric-ring .year-value {
  font-size: 36px;
}

:root:root .company-figures h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  max-width: none;
  color: #c4e3f3;
  margin: 0;
}

:root:root .company-figures .animate-ring {
  animation: none;
}

:root:root .company-figures .animate-ring::after {
  content: none;
  display: none;
  animation: none;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  :root:root .company-figures .ring-metric {
    padding: 24px;
  }

  :root:root .company-figures .metric-ring strong {
    font-size: 36px;
  }

  :root:root .company-figures .metric-ring .year-value {
    font-size: 31px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  :root:root .company-figures .ring-grid {
    grid-template-columns: 1fr;
  }

  :root:root .company-figures .ring-metric {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    align-items: center;
    justify-content: initial;
    gap: 18px;
    padding: 22px 24px;
  }

  :root:root .company-figures .ring-metric + .ring-metric {
    border-left: 0;
    border-top: 1px solid #8dbbd44d;
  }

  :root:root .company-figures .metric-ring strong {
    font-size: 34px;
  }

  :root:root .company-figures .metric-ring .year-value {
    font-size: 29px;
  }

  :root:root .company-figures h3 {
    font-size: 13px;
  }
}

/* ===== ПОДВАЛ САЙТА ===== */
.footer-socials {
  margin-top: 22px;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .footer-socials .footer-socials-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ===== ПОДВАЛ САЙТА ===== */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--ui-surface);
  font-size: 13px;
  font-weight: 600;
}

.footer-social-link svg {
  width: 21px;
  height: 21px;
  color: var(--ui-focus);
}

.footer-social-link:hover {
  border-color: var(--ui-focus);
  color: var(--ui-focus);
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .footer-socials .footer-socials-description {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 235px;
  margin: 9px 0 0;
}

/* ===== УСЛУГИ ===== */
.sd-question-area {
  padding-block: 45px;
}

.sd-question-heading {
  display: block;
}

.sd-question-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 25px;
}

.sd-question-button {
  flex-shrink: 0;
  justify-content: center;
  gap: 0;
}

.sd-question-area .sd-faq-list {
  max-width: none;
}

.sd-question-area .sd-faq p {
  max-width: 850px;
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.home-faq-answers p {
  max-width: 780px;
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root #partners .section-head,
:root:root #partners .section-head h2.partners-visible-title {
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  position: static;
  clip: auto;
  clip-path: none;
  overflow: visible;
}

:root:root #partners .partners-visible-title {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

/* ===== ПОДВАЛ САЙТА ===== */
.footer-social-link:focus-visible {
  outline: 3px solid var(--ui-focus);
  outline-offset: 4px;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 600PX ===== */
@media (max-width: 600px) {
  .sd-question-heading h2 {
    max-width: 100%;
  }

  .sd-question-actions {
    justify-content: flex-start;
  }

  .sd-question-area {
    padding-block: 35px;
  }
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root:root .case-catalog {
  padding-top: 0;
}

:root:root .real-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

:root:root .real-case-record {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ui-surface), var(--ui-end));
  box-shadow: var(--ui-shadow);
}

/* ===== КЕЙСЫ ===== */
.case-card-figure {
  position: relative;
  margin: -20px -20px 0;
}

.case-card-figure img {
  display: block;
  width: 100%;
  height: 155px;
  border-radius: 11px 11px 0 0;
  object-fit: cover;
  background: var(--ui-surface);
}

.case-card-figure figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  margin: 0;
  padding: 3px 6px;
  border-radius: 4px;
  background: #08182cce;
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
}

.real-case-record .case-record-heading {
  display: block;
}

.real-case-record .case-record-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
}

.real-case-record .case-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.real-case-record .case-card-button {
  align-self: flex-start;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 11px 18px;
  font-size: 12px;
}

/* ===== ПЕРЕМЕННЫЕ И ЦВЕТА ТЕМЫ ===== */
:root.case-open {
  overflow: hidden;
}

/* ===== КЕЙСЫ ===== */
.case-dialog {
  width: min(800px, calc(100% - 36px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--ui-surface);
  box-shadow: 0 24px 90px #03101c66;
}

.case-dialog::backdrop {
  background: #03101ccc;
  backdrop-filter: blur(3px);
}

.case-dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--ui-surface);
}

.case-dialog-head h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.25;
  color: var(--ink);
}

.case-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ui-end);
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
}

.case-dialog-close:hover {
  border-color: var(--ui-focus);
  color: var(--ui-focus);
}

.case-dialog-body {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.case-dialog .case-detail-block h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.case-detail-result h3 {
  color: var(--ui-focus);
}

.case-dialog .case-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.case-dialog .case-detail-result h3 {
  color: var(--ui-focus);
}

.case-dialog .case-detail-result .case-description {
  color: var(--ink);
}

.case-card-button:focus-visible,
.case-dialog-close:focus-visible {
  outline: 3px solid var(--ui-focus);
  outline-offset: 3px;
}

.real-case-preview {
  display: flex;
  flex-direction: column;
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.home-case-picture {
  display: block;
  flex-shrink: 0;
  height: 180px;
  margin: -28px -28px 23px;
  overflow: hidden;
  background: var(--ui-surface);
}

.home-case-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-case-preview h3 {
  min-height: 2.6em;
  margin-top: 0;
}

.real-case-preview .case-preview-link {
  margin-top: auto;
  padding-top: 20px;
}

/* ===== КЕЙСЫ ===== */
.case-home-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.case-home-actions > .button {
  min-width: 170px;
  justify-content: center;
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 1000PX ===== */
@media (max-width: 1000px) {
  :root:root .real-case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 900PX ===== */
@media (max-width: 900px) {
  .home-case-picture {
    height: 185px;
    margin: -25px -25px 22px;
  }

  .real-case-preview h3 {
    min-height: 0;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 620PX ===== */
@media (max-width: 620px) {
  :root:root .real-case-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  .case-dialog-head {
    padding: 20px;
    gap: 12px;
  }

  .case-dialog-head h2 {
    font-size: 23px;
  }

  .case-dialog-body {
    padding: 22px 20px;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 940PX ===== */
@media (max-width: 940px) {
  .header-main {
    position: relative;
  }

  .header-main .mobile-toggle,
  .header-main .theme-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 23px;
  }

  .header-main .mobile-toggle {
    display: inline-flex;
  }

  .header-main .main-nav {
    left: 0;
    right: 0;
    top: calc(100% - 2px);
    width: 100%;
    padding: 12px 18px;
    gap: 4px 20px;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    background: var(--paper);
    box-shadow: 0 18px 30px #061b3328;
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .header-main .main-nav > a {
    min-height: 48px;
    font-size: 14px;
    line-height: 1.35;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 760PX ===== */
@media (max-width: 760px) {
  :root {
    scroll-padding-top: 170px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .utility .wrap {
    min-height: 34px;
    gap: 10px;
    font-size: 11px;
  }

  .utility .utility-email {
    display: none;
  }

  .utility-links {
    gap: 0;
  }

  .site-header .header-main {
    display: grid;
    grid-template-columns: 46px 46px minmax(0, 1fr) 100px;
    grid-template-rows: 46px 44px;
    gap: 8px;
    min-height: 0;
    padding-block: 12px;
  }

  .header-main .mobile-toggle {
    grid-column: 1;
    grid-row: 1;
  }

  .header-main .theme-button {
    grid-column: 2;
    grid-row: 1;
  }

  .header-main .brand {
    grid-column: 4;
    grid-row: 1 / span 2;
    margin: 0;
    justify-content: flex-end;
  }

  .header-main .brand-logo {
    width: 100px;
    height: 62px;
    object-fit: contain;
  }

  .header-main > .contact-button {
    grid-column: 1 / span 3;
    grid-row: 2;
    justify-self: start;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 11px 15px;
    font-size: 12px;
    justify-content: center;
    white-space: nowrap;
  }

  .header-main .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding-block: 44px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  h1 {
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  h3 {
    line-height: 1.25;
  }

  .lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions,
  .case-home-actions,
  .sd-next,
  .request-actions,
  .about-cta {
    justify-content: flex-start;
    text-align: left;
  }

  .button {
    min-height: 46px;
    font-size: 13px;
    padding: 13px 18px;
    max-width: 100%;
    justify-content: center;
  }

  .fleet-vehicle-order.button {
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-revised h1 {
    font-size: clamp(34px, 8.6vw, 48px);
    line-height: 1.12;
  }

  .hero-revised .hero-copy {
    font-size: 15px;
    line-height: 1.75;
  }

  .fleet-banner-inner .fleet-hero-copy {
    width: 100%;
  }

  .fleet-banner-inner h1 {
    font-size: 42px;
  }

  .fleet-vehicle {
    gap: 18px;
  }

  .fleet-vehicle-copy {
    min-width: 0;
  }

  .fleet-vehicle-specs {
    gap: 16px 14px;
  }

  .fleet-vehicle-specs dd {
    overflow-wrap: anywhere;
  }

  .case-contact {
    align-items: flex-start;
    gap: 16px;
  }

  .case-contact p {
    min-width: 0;
    flex-basis: 100%;
  }

  .request-fields input,
  .request-fields select,
  .request-fields textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .request-consent {
    align-items: flex-start;
    line-height: 1.6;
  }

  .request-consent input {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .request-dialog,
  .case-dialog {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .request-dialog-content {
    padding: 32px 20px 24px;
  }

  .request-close,
  .case-dialog-close {
    min-width: 44px;
    min-height: 44px;
  }

  .contact-layout {
    gap: 18px;
  }

  .contact-layout > .contact-details {
    gap: 18px;
  }

  .contact-layout > .contact-request,
  .contact-layout > .contact-socials,
  .contact-layout .contact-card {
    padding: 22px;
  }

  .contact-layout > .contact-socials {
    grid-template-columns: 1fr;
    grid-template-areas: 'title' 'intro' 'links';
  }

  .contact-socials > .contact-social-links {
    padding-top: 10px;
  }

  .contact-social-link {
    min-height: 70px;
  }

  .map-links {
    gap: 10px;
  }

  .map-link {
    min-width: 0;
    flex-basis: 100%;
  }

  .address-map {
    margin-top: 26px;
  }

  .address-map h2 {
    padding: 20px;
    font-size: 25px;
  }

  .address-map iframe {
    height: 300px;
  }

  .service-prompt {
    left: 16px;
    right: auto;
    bottom: 16px;
    width: calc(100% - 32px);
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
  }

  .service-prompt > .button {
    width: auto;
    margin-right: auto;
  }

  .sd-related-links {
    gap: 10px;
  }

  .sd-related-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .gallery-toolbar button {
    min-width: 44px;
    min-height: 44px;
  }

  .site-footer a {
    overflow-wrap: anywhere;
  }
}

/* ===== АДАПТИВ: ЭКРАНЫ ДО 420PX ===== */
@media (max-width: 420px) {
  .header-main .main-nav {
    grid-template-columns: 1fr;
  }

  .fleet-vehicle-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-actions > .button {
    width: auto;
  }

  .ring-metric {
    gap: 18px;
    padding: 20px;
  }

  .metric-ring {
    width: 94px;
    height: 94px;
  }
}

/* ===== ОТКЛЮЧЁННЫЕ АНИМАЦИИ ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
