/* ==========================================================================
   ТРЭК 227 — единая таблица стилей
   ========================================================================== */

/* ---------- Шрифты ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_28pt-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_28pt-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Переменные ---------- */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eef4ff;
  --ink: #0f172a;
  --text: #3b4759;
  --muted: #6b7789;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow: 0 10px 34px rgba(15, 23, 42, .09);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, .14);

  --container: 1180px;
  --gap: 24px;
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
iframe { max-width: 100%; }

img {
  height: auto;
  display: block;
}

a { color: var(--brand); }

a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(28px, 5.2vw, 50px); }
h2 { font-size: clamp(24px, 3.6vw, 36px); }
h3 { font-size: clamp(18px, 2.2vw, 21px); }

p { margin: 0 0 1em; }

p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ---------- Раскладка ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: clamp(48px, 7vw, 88px) 0; }

.section--soft { background: var(--bg-soft); }

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.section__head p {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18px);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.grid { display: grid; gap: var(--gap); }

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

.lead {
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.6;
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1200;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .12s, box-shadow .2s;
}

.btn:active { transform: translateY(1px); }

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}

.btn--primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: #fff;
}

.btn--light {
  background: #fff;
  color: var(--brand-dark);
}

.btn--light:hover {
  background: #f1f5ff;
  color: var(--brand-dark);
}

.btn--wide { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}

.header.is-stuck { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.logo img {
  width: 52px;
  height: auto;
  flex: none;
}

.logo__name {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
}

.logo__sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s, color .18s;
}

.nav a:hover {
  background: var(--bg-soft);
  color: var(--brand-dark);
}

.nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

/* Телефон в шапке — заметный номер, не кнопка */
.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  flex: none;
}

.header__phone .icon-circle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.header__phone .icon-circle svg {
  width: 20px;
  height: 20px;
}

.header__phone b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .18s;
}

.header__phone span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.header__phone:hover b { color: var(--brand-dark); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.burger svg {
  width: 24px;
  height: 24px;
}

.burger .icon-close { display: none; }

.burger[aria-expanded="true"] .icon-close { display: block; }
.burger[aria-expanded="true"] .icon-open { display: none; }

/* ---------- Герой ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(900px 420px at 85% -10%, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr);
  gap: clamp(28px, 3.6vw, 48px);
  align-items: center;
}

/* Слоган над заголовком */
.hero__slogan {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.hero__slogan::before {
  content: "";
  flex: none;
  width: clamp(26px, 3vw, 40px);
  height: 4px;
  margin-top: calc(.62em - 2px); /* по центру первой строки, даже если слоган перенесётся */
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #7ba7f8);
}

.hero h1 { margin-bottom: 18px; }

.hero .lead {
  color: var(--text);
  max-width: 560px;
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.hero__points svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
}

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.hero__badge svg {
  width: 26px;
  height: 26px;
  color: var(--brand);
  flex: none;
}

.hero__badge b {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.hero__badge span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

/* Крупный номер телефона (десктоп) */
.phone-callout {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.phone-callout .icon-circle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.phone-callout .icon-circle svg {
  width: 22px;
  height: 22px;
}

.phone-callout b {
  display: block;
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.15;
  white-space: nowrap;
}

.phone-callout span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.phone-callout:hover {
  border-color: var(--brand);
  color: inherit;
}

.phone-callout:hover b { color: var(--brand-dark); }

/* ---------- Карточки ---------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfdcf6;
}

.card__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body h3 { margin-bottom: 8px; }

.card__body p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.card__link svg {
  width: 18px;
  height: 18px;
  transition: transform .18s;
}

.card--link:hover .card__link svg { transform: translateX(4px); }

/* Карточка-преимущество */
.feature {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s, box-shadow .18s;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* Шаги работы */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.steps h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- Текстовые блоки ---------- */
.prose {
  max-width: 820px;
  font-size: 17px;
}

.prose h2 { margin-top: 1.4em; }

.prose h2:first-child { margin-top: 0; }

.prose--center {
  margin: 0 auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split--reverse .split__media { order: 2; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
}

.checklist svg {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
  margin-top: 2px;
}

/* Список грузов */
.cargo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: cargo;
}

.cargo-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
  overflow-wrap: break-word;
}

.cargo-list li::before {
  counter-increment: cargo;
  content: counter(cargo);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  flex: none;
}

/* Регионы */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tags li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.tags svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: none;
}

/* ---------- Заголовок внутренней страницы ---------- */
.page-hero {
  padding: clamp(32px, 4.5vw, 60px) 0 clamp(28px, 3.5vw, 44px);
  background:
    radial-gradient(700px 300px at 80% -20%, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: 12px; }

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.9vw, 19px);
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--brand); }

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #c3ccdb;
}

/* ---------- Контакты ---------- */
.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfdcf6;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.contact-card strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.contact-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Призыв к действию ---------- */
.cta {
  padding: clamp(40px, 6vw, 72px) 0;
  background: linear-gradient(135deg, var(--brand) 0%, #1e40af 100%);
  color: #dbe6ff;
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta p {
  margin: 0;
  font-size: 17px;
  max-width: 560px;
}

.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  text-decoration: none;
  color: #fff;
  transition: background-color .2s;
}

.cta__phone:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.cta__phone svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.cta__phone b {
  display: block;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.15;
  white-space: nowrap;
}

.cta__phone span {
  display: block;
  font-size: 13px;
  color: #cddcff;
}

/* ---------- Подвал ---------- */
.footer {
  background: var(--ink);
  color: #97a4b8;
  padding: clamp(40px, 5vw, 64px) 0 28px;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}

.footer p { color: #97a4b8; }

.footer a {
  color: #cbd5e6;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__logo .badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  flex: none;
  padding: 6px;
}

.footer__logo b {
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  display: block;
}

.footer__logo span {
  display: block;
  color: #97a4b8;
  font-size: 13px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__contact {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer__contact svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex: none;
  margin-top: 3px;
}

.footer__contact b {
  color: #fff;
  font-size: 19px;
  display: block;
  line-height: 1.3;
}

.footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 14px;
  color: #7d8ba1;
}

/* ---------- Кнопка «Позвонить» — только на телефонах ---------- */
.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, .1);
}

.callbar .btn { min-height: 54px; }

/* ---------- Мобильное меню ---------- */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 0 20px;
}

.mobile-menu.is-open { display: block; }

.mobile-menu__links {
  display: grid;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu__links a:hover { background: var(--bg-soft); }

.mobile-menu__links a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  text-decoration: none;
}

.mobile-menu__phone svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
  flex: none;
}

.mobile-menu__phone b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.mobile-menu__phone span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Страница пароля ---------- */
.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--bg-soft);
}

.auth__card {
  width: 100%;
  max-width: 400px;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.auth__card img {
  width: 76px;
  margin: 0 auto 18px;
}

.auth__card h1 { font-size: 26px; }

.auth__card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
}

.auth__card label {
  display: block;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.auth__card input[type="password"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}

.auth__card input[type="password"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

.auth__error {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 15px;
}

.auth__back {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .header__phone {
    padding-left: 14px;
  }

  .header__phone b { font-size: 17px; }

  .nav a {
    padding: 10px 12px;
    font-size: 15px;
  }
}

@media (max-width: 920px) {
  .header__inner { min-height: 66px; }

  .nav { display: none; }

  /* Номер остаётся в шапке на планшетах, меню уезжает в бургер */
  .header__phone {
    margin-left: auto;
    padding-left: 0;
    border-left: none;
  }

  .header__phone span span { display: none; }

  .burger {
    display: flex;
    margin-left: 12px;
  }

  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media { order: 0; }

  .hero__media { aspect-ratio: 3 / 2; }

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

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

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

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

@media (max-width: 719px) {
  body {
    font-size: 16px;
    padding-bottom: 84px; /* место под кнопку «Позвонить» */
  }

  .callbar { display: block; }

  /* На телефонах номер живёт в кнопке «Позвонить» и в меню */
  .header__phone { display: none; }

  .burger { margin-left: auto; }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__media { aspect-ratio: 4 / 3; }

  .hero__actions .btn { width: 100%; }

  .phone-callout {
    width: 100%;
    justify-content: flex-start;
  }

  .cargo-list { grid-template-columns: 1fr; }

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

  .cta__inner { gap: 20px; }

  .cta__phone { width: 100%; }

  .map {
    aspect-ratio: 3 / 4;
    min-height: 380px;
  }

  .section__head,
  .prose--center { text-align: left; }
}

@media (max-width: 380px) {
  .logo img { width: 44px; }
  .logo__name { font-size: 18px; }
  .logo__sub { display: none; }
}

/* ---------- Печать и доступность ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .header,
  .callbar,
  .mobile-menu,
  .cta,
  .map { display: none !important; }

  body { padding-bottom: 0; }
}
