/* ==========================================================================
   Estonia-Transfer.ee — стили сайта
   ========================================================================== */

:root {
  --navy: #0a1f33;
  --navy-2: #0f2c49;
  --blue: #0072ce;
  --blue-light: #4db3ff;
  --ink: #16232e;
  --muted: #5c6b7a;
  --bg: #f4f7fa;
  --white: #ffffff;
  --line: #dde5ec;
  --green: #1faa53;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 31, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 51, 0.18);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
h3 { font-size: 1.15rem; font-weight: 700; }

.section { padding: 72px 0; }
.section--white { background: var(--white); }
.section--white#contacts { padding-bottom: 36px; }
.section__eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section__lead { color: var(--muted); max-width: 720px; margin-bottom: 36px; }

.privacy-hero {
  padding: 64px 0 56px;
  background: var(--navy);
  border-bottom: 4px solid var(--blue-light);
  color: var(--white);
}
.privacy-hero__inner { max-width: 1140px; }
.privacy-hero__eyebrow {
  margin-bottom: 12px;
  color: var(--blue-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.privacy-hero h1 { margin-bottom: 14px; color: var(--white); font-size: 2.5rem; }
.privacy-hero__lead { max-width: 720px; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; }
.privacy-hero__updated { margin-top: 22px; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.privacy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.privacy-nav { align-self: start; position: sticky; top: 92px; }
.privacy-nav h2 { margin-bottom: 12px; font-size: 1rem; }
.privacy-nav ul { list-style: none; }
.privacy-nav li + li { margin-top: 3px; }
.privacy-nav a {
  display: block;
  padding: 8px 10px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.privacy-nav a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.privacy-content { min-width: 0; }
.privacy-content section { padding: 0 0 28px; scroll-margin-top: 92px; }
.privacy-content section + section { padding-top: 28px; border-top: 1px solid var(--line); }
.privacy-content h2 { margin-bottom: 12px; font-size: 1.4rem; }
.privacy-content p { max-width: 760px; color: var(--muted); }
.privacy-content p + p { margin-top: 12px; }
.privacy-content a { font-weight: 700; }

@media (max-width: 760px) {
  .privacy-hero { padding: 48px 0 40px; }
  .privacy-hero h1 { font-size: 2rem; }
  .privacy-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; }
  .privacy-nav { position: static; }
  .privacy-nav ul { display: flex; flex-wrap: wrap; gap: 4px 10px; }
  .privacy-nav li { flex: 1 1 160px; }
  .privacy-nav li + li { margin-top: 0; }
}

  .operator-hero { overflow: hidden; background: var(--navy); color: var(--white); }
  .operator-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .operator-hero__eyebrow { margin-bottom: 16px; color: var(--blue-light); font-size: 0.84rem; font-weight: 800; text-transform: uppercase; }
  .operator-hero h1 { margin-bottom: 18px; color: var(--white); }
  .operator-hero h1 span { display: block; color: var(--blue-light); }
  .operator-hero__lead { max-width: 560px; color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; }
  .operator-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .operator-hero__media { min-width: 0; }
  .operator-hero__media img { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; object-fit: cover; }
  .operator-hero__media figcaption { margin-top: 10px; color: rgba(255, 255, 255, 0.62); font-size: 0.82rem; }
  .operator-facts { background: var(--white); border-bottom: 1px solid var(--line); }
  .operator-facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .operator-fact { min-width: 0; padding: 24px 20px; border-left: 1px solid var(--line); }
  .operator-fact:last-child { border-right: 1px solid var(--line); }
  .operator-fact__label { color: var(--muted); font-size: 0.84rem; }
  .operator-fact__value { margin-top: 4px; color: var(--navy); font-size: 1.08rem; font-weight: 800; overflow-wrap: anywhere; }
  .operator-section { padding: 64px 0; }
  .operator-section--white { background: var(--white); }
  .operator-section__head { max-width: 720px; margin-bottom: 32px; }
  .operator-section__head p { margin-top: 10px; color: var(--muted); }
  .operator-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .operator-details__copy p { max-width: 620px; color: var(--muted); }
  .operator-details__copy p + p { margin-top: 14px; }
  .operator-table { width: 100%; border-collapse: collapse; }
  .operator-table th, .operator-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
  .operator-table th { width: 44%; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
  .operator-table td { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
  .operator-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .operator-point { padding-top: 18px; border-top: 2px solid var(--blue); }
  .operator-point h3 { margin-bottom: 8px; }
  .operator-point p { color: var(--muted); }
  .operator-contact { padding: 38px 0; background: var(--navy-2); color: var(--white); }
  .operator-contact__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .operator-contact h2 { margin-bottom: 6px; color: var(--white); }
  .operator-contact p { color: rgba(255, 255, 255, 0.75); }
  .operator-promo { padding: 56px 0; background: var(--navy-2); color: var(--white); }
  .operator-promo__head { max-width: 760px; margin-bottom: 30px; }
  .operator-promo__eyebrow { margin-bottom: 8px; color: var(--blue-light); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; }
  .operator-promo__head h2 { margin-bottom: 10px; color: var(--white); }
  .operator-promo__head > p:last-child { color: rgba(255, 255, 255, 0.78); }
  .operator-promo__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .operator-promo__fact { display: block; min-width: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.28); color: var(--white); animation: operator-promo-reveal 520ms ease-out both; }
  .operator-promo__fact:nth-child(2) { animation-delay: 90ms; }
  .operator-promo__fact:nth-child(3) { animation-delay: 180ms; }
  .operator-promo__fact:nth-child(4) { animation-delay: 270ms; }
  .operator-promo__fact:first-child strong { animation: operator-rating-flash 700ms 500ms ease-out both; }
  .operator-promo__fact:hover { color: var(--white); text-decoration: none; }
  .operator-promo__fact span, .operator-promo__fact strong { display: block; }
  .operator-promo__fact span { color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; }
  .operator-promo__fact strong { margin: 3px 0; font-size: 1.08rem; }
  .operator-promo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

  @keyframes operator-promo-reveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes operator-rating-flash {
    0%, 100% { text-shadow: none; }
    45% { text-shadow: 0 0 16px rgba(255, 207, 83, 0.9); }
  }
  @media (prefers-reduced-motion: reduce) {
    .operator-promo__fact, .operator-promo__fact:first-child strong { animation: none; }
  }

  @media (max-width: 760px) {
    .operator-hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; padding-bottom: 44px; }
    .operator-hero__media img { aspect-ratio: 16 / 10; }
    .operator-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .operator-fact:nth-child(3) { border-left: 1px solid var(--line); }
    .operator-fact:nth-child(3), .operator-fact:nth-child(4) { border-top: 1px solid var(--line); }
    .operator-details { grid-template-columns: 1fr; gap: 30px; }
    .operator-points { grid-template-columns: 1fr; gap: 22px; }
    .operator-contact__inner { align-items: flex-start; flex-direction: column; }
    .operator-promo__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.65; cursor: wait; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #005fa9; box-shadow: 0 8px 20px rgba(0, 114, 206, 0.35); }


.btn--whatsapp { background: var(--green); color: var(--white); }
.btn--whatsapp:hover { background: #178a43; box-shadow: 0 8px 20px rgba(31, 170, 83, 0.35); }

.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: rgba(0, 114, 206, 0.08); }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }

.btn--small { padding: 9px 18px; font-size: 0.92rem; }
.btn--wide { width: 100%; }

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 31, 51, 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--blue-light); }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--white); text-decoration: none; }
.nav a.is-active { color: var(--blue-light); }

.header__phone { flex-shrink: 0; }

/* ---------- Переключатель языков ---------- */

.lang-switch {
  position: relative;
  flex-shrink: 0;
  z-index: 20;
}
.lang-switch__summary {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.lang-switch__summary::-webkit-details-marker { display: none; }
.lang-switch__summary::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 120ms ease;
}
.lang-switch[open] .lang-switch__summary::after { transform: rotate(225deg); }
.lang-switch__summary:hover,
.lang-switch__summary:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}
.lang-switch__summary:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 140px;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}
.lang-switch__menu a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-switch__code { color: rgba(255, 255, 255, 0.58); font-size: 0.7rem; font-weight: 700; }
.lang-switch__menu a:hover,
.lang-switch__menu a:focus-visible { color: var(--white); background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.lang-switch__menu a.is-active,
.lang-switch__menu a[aria-current="true"] { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.lang-switch__menu a:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 1px; }

/* ---------- Верхняя плашка ---------- */

.topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  text-align: center;
  padding: 9px 20px;
}
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; }
.topbar__message { display: block; }
.topbar__license { color: rgba(255, 255, 255, 0.94); font-weight: 700; }
.topbar strong { color: var(--blue-light); font-weight: 800; }

/* ---------- Полоса ключевых фактов ---------- */

.stats {
  background: var(--navy);
  color: var(--white);
  padding: 34px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.stat { text-align: center; }
.stat__top { min-height: 22px; font-size: 0.95rem; line-height: 1.4; }
.stat__value { font-size: 1.55rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.stat__label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); margin-top: 2px; }
.vehicle-showcase { border-block: 1px solid var(--line); background: var(--bg); }
.vehicle-showcase__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 40px; }
.vehicle-showcase__media { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #e7edf2; box-shadow: var(--shadow); }
.vehicle-showcase__viewport { width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x; }
.vehicle-showcase__viewport::-webkit-scrollbar { display: none; }
.vehicle-showcase__track { display: flex; width: 100%; }
.vehicle-showcase__slide { display: grid; flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 2; place-items: center; margin: 0; background: #e7edf2; scroll-snap-align: start; scroll-snap-stop: always; }
.vehicle-showcase__slide--3d { background: #f2f2f2; }
.vehicle-showcase__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms cubic-bezier(0.2, 0.7, 0.25, 1); }
.vehicle-showcase__image--3d { object-fit: contain; }
.vehicle-showcase__overlay { position: absolute; inset: 0 0 auto; aspect-ratio: 3 / 2; pointer-events: none; }
.vehicle-showcase__footer { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--white); }
.vehicle-showcase__badge { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--navy); font-size: 0.8rem; font-weight: 800; line-height: 1.2; }
.vehicle-showcase__badge::before { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--green); content: ""; }
.vehicle-showcase__thumbnails { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.vehicle-showcase__thumbnail { width: 56px; height: 40px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 5px; background: #e7edf2; cursor: pointer; opacity: 0.7; transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease; }
.vehicle-showcase__thumbnail.is-active { border-color: var(--blue); opacity: 1; }
.vehicle-showcase__thumbnail:hover { opacity: 1; transform: translateY(-1px); }
.vehicle-showcase__thumbnail:focus-visible { outline: 3px solid rgba(0, 114, 206, 0.4); outline-offset: 2px; }
.vehicle-showcase__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vehicle-showcase__thumbnail-image--3d { object-fit: contain !important; }
.vehicle-showcase__arrow { position: absolute; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 50%; background: rgba(255, 255, 255, 0.82); box-shadow: 0 4px 16px rgba(10, 31, 51, 0.2); color: var(--navy); cursor: pointer; pointer-events: auto; transform: translateY(-50%); backdrop-filter: blur(10px); transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease; }
.vehicle-showcase__arrow[data-gallery-prev] { left: 14px; }
.vehicle-showcase__arrow[data-gallery-next] { right: 14px; }
.vehicle-showcase__arrow:hover:not(:disabled) { background: var(--white); transform: translateY(-50%) scale(1.05); }
.vehicle-showcase__arrow:disabled { opacity: 0.45; cursor: default; }
.vehicle-showcase__counter { position: absolute; top: 14px; right: 14px; min-width: 52px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 5px; background: rgba(10, 31, 51, 0.72); color: var(--white); font-size: 0.78rem; font-variant-numeric: tabular-nums; line-height: 1; text-align: center; backdrop-filter: blur(10px); }
.vehicle-showcase__arrow svg { width: 20px; height: 20px; }
.vehicle-showcase__arrow:focus-visible { outline: 3px solid rgba(0, 114, 206, 0.4); outline-offset: 2px; }
.vehicle-showcase__content { min-width: 0; }
.vehicle-showcase__content h2 { margin-bottom: 12px; }
.vehicle-showcase__content > p { max-width: 620px; color: var(--muted); }
.vehicle-showcase__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.vehicle-showcase__facts li { display: grid; grid-template-columns: 8px minmax(0, 1fr); align-items: start; gap: 9px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 0.86rem; line-height: 1.45; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.vehicle-showcase__facts li::before { width: 8px; height: 8px; margin-top: 0.42em; border-radius: 50%; background: var(--blue); content: ""; }
.vehicle-showcase__media.will-reveal, .vehicle-showcase__facts li.will-reveal { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease var(--stagger, 0ms), transform 520ms cubic-bezier(0.2, 0.7, 0.25, 1) var(--stagger, 0ms); }
.vehicle-showcase__media.is-visible, .vehicle-showcase__facts li.is-visible { opacity: 1; transform: translateY(0); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vehicle-showcase__slide:hover .vehicle-showcase__image { transform: scale(1.025); }
  .vehicle-showcase__facts li:hover { transform: translateY(-2px); border-color: rgba(0, 114, 206, 0.32); box-shadow: 0 8px 18px rgba(10, 31, 51, 0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .vehicle-showcase__media, .vehicle-showcase__media.will-reveal, .vehicle-showcase__facts li, .vehicle-showcase__facts li.will-reveal, .vehicle-showcase__image { opacity: 1; transform: none; animation: none; transition: none; }
  .vehicle-showcase__viewport { scroll-behavior: auto; }
  .vehicle-showcase__arrow, .vehicle-showcase__thumbnail { transition: none; }
}
.driver-profile__inner { display: grid; grid-template-columns: 76px minmax(0, 720px); align-items: center; gap: 0 20px; }
.driver-profile__avatar { display: grid; width: 76px; height: 76px; grid-row: span 2; place-items: center; border: 3px solid rgba(77, 179, 255, 0.5); border-radius: 50%; background: var(--navy); box-shadow: 0 8px 20px rgba(10, 31, 51, 0.14); color: var(--white); font-size: 2rem; font-weight: 800; line-height: 1; }
.driver-profile__heading { align-self: end; }
.driver-profile__heading .section__eyebrow { margin-bottom: 4px; }
.driver-profile__heading h2 { margin-bottom: 0; }
.driver-profile__text { grid-column: 2; max-width: 720px; color: var(--muted); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(8, 24, 40, 0.92) 0%, rgba(8, 24, 40, 0.72) 45%, rgba(8, 24, 40, 0.45) 100%),
    url("../img/airport-transfer.png") center center / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, transparent 44%, rgba(255, 255, 255, 0.11) 50%, transparent 56%);
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: hero-light-sweep 1.6s 180ms ease-out both;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}
.hero__grid > * { min-width: 0; }
.hero__grid > div:first-child { display: flex; flex-direction: column; align-self: stretch; }

.hero h1 { color: var(--white); margin-bottom: 18px; animation: hero-intro-in 620ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.82); margin-bottom: 28px; animation: hero-intro-in 620ms 100ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.booking { animation: hero-intro-in 620ms 180ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }

.hero__badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}
.badge svg { width: 16px; height: 16px; stroke: var(--blue-light); }
.badge--detail {
  max-width: min(100%, 320px);
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: normal;
}
.badge--detail svg { flex: 0 0 16px; margin-top: 2px; }
.badge__text { display: block; min-width: 0; line-height: 1.4; }
.badge__text strong { color: var(--blue-light); font-weight: 800; }
.badge--detail:hover { background: rgba(255, 255, 255, 0.15); text-decoration: none; }

.hero__badges .badge--detail {
  --badge-accent: #80cfff;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 78px;
  box-sizing: border-box;
  gap: 12px;
  padding: 13px 13px 13px 16px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  animation: trust-badge-enter 0.55s cubic-bezier(0.2, 0.7, 0.25, 1) both;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.hero__badges .badge--detail:nth-child(2) { --badge-accent: #70dfb0; animation-delay: 310ms; }
.hero__badges .badge--detail:nth-child(3) { --badge-accent: #80cfff; animation-delay: 380ms; }
.hero__badges .badge--detail:nth-child(4) { --badge-accent: #ffa28f; animation-delay: 450ms; }
.hero__badges .badge--detail.badge--google { --badge-accent: #f5b301; }
.google-rating__mark { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid rgba(245, 179, 1, 0.28); border-radius: 8px; background: rgba(245, 179, 1, 0.12); color: #4285f4; font-size: 1.25rem; font-weight: 800; line-height: 1; text-shadow: 1px 0 #ea4335, 0 1px #fbbc04, -1px 0 #34a853; }
.google-rating__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.google-rating__value { min-width: 42px; padding: 2px 7px; border: 1px solid rgba(245, 179, 1, 0.3); border-radius: 999px; background: rgba(245, 179, 1, 0.12); color: #ffd166; text-align: center; font-variant-numeric: tabular-nums; }
.hero__badges .badge__stars { display: block; margin-top: 2px; color: #f5b301; font-size: 1rem; letter-spacing: 0.08em; line-height: 1.2; white-space: nowrap; }
.google-rating__caption { display: block; margin-top: 1px; color: rgba(255, 255, 255, 0.68); font-size: 0.72rem; line-height: 1.2; }
.hero__badges .badge--google::after { position: absolute; top: -35%; bottom: -35%; left: -42%; width: 34%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent); content: ""; pointer-events: none; transform: skewX(-20deg) translateX(-180%); animation: google-badge-flash 1.15s cubic-bezier(0.2, 0.7, 0.25, 1) 950ms 1 both; }
.hero__badges .badge--google .badge__stars { animation: google-stars-flash 900ms ease-out 1.2s 1 both; }
.hero__badges .badge--detail::before {
  position: absolute;
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--badge-accent);
  content: "";
  opacity: 0.85;
}
.hero__badges .badge--detail svg {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  box-sizing: border-box;
  padding: 9px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--badge-accent) 16%, transparent);
  stroke: var(--badge-accent);
}
.hero__badges .badge__text strong { color: var(--badge-accent); }
.hero__badges .badge--detail:hover,
.hero__badges .badge--detail:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.65);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-decoration: none;
}
.hero__badges .badge--google:hover { border-color: rgba(245, 179, 1, 0.6); }

@media (max-width: 760px) {
  .hero__badges .badge--detail { backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
  .hero__badges .badge--google::after { display: none; animation: none; }
  .hero__badges .badge--google .badge__stars { animation: none; }
}

@keyframes hero-intro-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-light-sweep {
  0% { opacity: 0; transform: translateX(-100%); }
  18% { opacity: 1; }
  78%, 100% { opacity: 0; transform: translateX(100%); }
}

@keyframes trust-badge-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes google-badge-flash {
  0%, 15% { opacity: 0; transform: skewX(-20deg) translateX(-180%); }
  35% { opacity: 1; }
  75%, 100% { opacity: 0; transform: skewX(-20deg) translateX(480%); }
}
@keyframes google-stars-flash {
  0%, 100% { text-shadow: none; }
  45% { text-shadow: 0 0 12px rgba(245, 179, 1, 0.85); }
}

.hero__contacts { display: flex; flex-wrap: wrap; gap: 12px; animation: hero-intro-in 620ms 520ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.hero__contacts .hero__booking-link { text-align: center; }
.hero-process { margin-top: clamp(32px, 5vh, 56px); padding-top: 0; }
.hero-process h2 { margin-bottom: 12px; color: var(--white); font-size: 1.05rem; animation: hero-intro-in 520ms 560ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.hero-process__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: hero-process; }
.hero-process__steps li { min-width: 0; padding: 13px 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.24); counter-increment: hero-process; animation: trust-badge-enter 520ms 620ms cubic-bezier(0.2, 0.7, 0.25, 1) both; transition: border-color 180ms ease, transform 180ms ease; }
.hero-process__steps li:nth-child(2) { animation-delay: 700ms; }
.hero-process__steps li:nth-child(3) { animation-delay: 780ms; }
.hero-process__steps li + li { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.hero-process__steps li:hover { transform: translateY(-3px); border-top-color: var(--blue-light); }
.hero-process__steps li::before { display: block; margin-bottom: 7px; color: var(--blue-light); content: "0" counter(hero-process); font-size: 0.76rem; font-weight: 800; }
.hero-process__steps strong { display: block; color: var(--white); font-size: 0.88rem; line-height: 1.35; }
.hero-process__steps span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.72); font-size: 0.78rem; line-height: 1.5; }
.hero-business { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.22); animation: hero-intro-in 620ms 620ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.hero-business__copy { max-width: 390px; }
.hero-business__eyebrow { display: block; margin-bottom: 5px; color: var(--blue-light); font-size: 0.74rem; font-weight: 800; }
.hero-business h2 { margin: 0 0 5px; color: var(--white); font-size: 1rem; }
.hero-business p { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 0.8rem; line-height: 1.45; }
.hero-business__link { flex: 0 0 auto; color: var(--blue-light); font-size: 0.84rem; font-weight: 800; text-underline-offset: 3px; transition: color 180ms ease, transform 180ms ease; }
.hero-business__link:hover, .hero-business__link:focus-visible { color: var(--white); transform: translateX(3px); }
.hero-business__link:hover { color: var(--white); }
.hero-rate { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 16px; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.22); animation: hero-intro-in 620ms 700ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.hero-rate__amount { color: var(--blue-light); font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.hero-rate p { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 0.8rem; line-height: 1.45; }
.hero-rate a { color: var(--blue-light); font-size: 0.82rem; font-weight: 800; text-underline-offset: 3px; transition: color 180ms ease, transform 180ms ease; }
.hero-rate a:hover { color: var(--white); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.hero-proof__item { display: flex; min-width: 0; min-height: 76px; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.055); color: rgba(255, 255, 255, 0.76); text-decoration: none; animation: trust-badge-enter 540ms 820ms cubic-bezier(0.2, 0.7, 0.25, 1) both; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.hero-proof__item:nth-child(2) { animation-delay: 900ms; }
.hero-proof__item:nth-child(3) { animation-delay: 980ms; }
.hero-proof__item > svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--blue-light); }
.hero-proof__stars { color: #f5b301; font-size: 0.9rem; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.hero-proof__copy { display: block; min-width: 0; line-height: 1.3; }
.hero-proof__copy strong { display: block; color: var(--white); font-size: 0.95rem; }
.hero-proof__copy small { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.72); font-size: 0.72rem; line-height: 1.3; }
.hero-proof__item:hover,
.hero-proof__item:focus-visible { transform: translateY(-3px); border-color: rgba(125, 211, 252, 0.55); background: rgba(255, 255, 255, 0.1); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); text-decoration: none; }
.hero-assurance { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 0 12px; margin-top: 18px; padding: 14px; border-left: 3px solid var(--blue-light); border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.82); font-size: 0.84rem; line-height: 1.5; animation: hero-intro-in 620ms 440ms cubic-bezier(0.2, 0.7, 0.25, 1) both; transition: border-color 180ms ease, background 180ms ease; }
.hero-assurance:hover { border-left-color: #70dfb0; background: rgba(255, 255, 255, 0.12); }
.hero-assurance__icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(125, 211, 252, 0.3); border-radius: 8px; background: rgba(125, 211, 252, 0.1); color: var(--blue-light); }
.hero-assurance__icon svg { width: 22px; height: 22px; }
.hero-assurance__content { min-width: 0; }
.hero-assurance__title { display: block; margin: 1px 0 11px; color: var(--white); font-size: 0.9rem; }
.hero-assurance__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hero-assurance__facts li { display: flex; gap: 7px; min-width: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.74rem; line-height: 1.4; }
.hero-assurance__facts li::before { flex: 0 0 auto; color: #70dfb0; content: "✓"; font-size: 0.9rem; font-weight: 800; }
.hero-assurance__facts li > span { display: block; min-width: 0; }
.hero-assurance__facts strong { display: block; margin-bottom: 2px; color: var(--white); font-size: 0.76rem; }
.hero-assurance__help { margin: 11px 0 0; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.7); font-size: 0.76rem; }
.hero-assurance a { color: var(--blue-light); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.hero-assurance a:hover { color: var(--white); }

@media (max-width: 960px) {
  .header__inner { height: 64px; gap: 8px; }
  .logo { flex: 1 1 auto; min-width: 0; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; }
  .header__phone { display: inline-flex; flex: 0 0 auto; padding: 8px 10px; font-size: 0.78rem; }
  .lang-switch { margin-left: auto; }
  .lang-switch__summary { min-height: 36px; padding: 5px 8px; font-size: 0.74rem; }
  .burger { display: flex; flex: 0 0 auto; margin-left: 2px; padding: 8px 4px; }
  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 8px 20px 16px;
    background: var(--navy);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
  }
  .nav.is-open { display: flex; }
  .nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 760px) {
  .hero-assurance__facts { grid-template-columns: 1fr; gap: 9px; }
  .hero-proof { grid-template-columns: 1fr; }
}

@keyframes payment-note-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 114, 206, 0); }
  35% { box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.14); }
}

@keyframes payment-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes payment-icon-flash {
  0%, 72%, 100% { opacity: 0; transform: translateX(-160%) skewX(-18deg); }
  76% { opacity: 0.8; }
  88% { opacity: 0; transform: translateX(260%) skewX(-18deg); }
}

@keyframes payment-method-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero h1, .hero__lead, .booking, .hero__badges .badge--detail, .hero__contacts,
  .hero-assurance, .hero-process h2, .hero-process__steps li, .hero-business,
  .hero-rate, .hero-proof__item { animation: none; transition: none; transform: none; }
  .hero__badges .badge--google::after, .hero__badges .badge--google .badge__stars { animation: none; }
}

/* ---------- Форма бронирования ---------- */

.booking {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.booking h2 { font-size: 1.3rem; margin-bottom: 4px; }
.booking__sub { color: var(--muted); font-size: 0.9rem; line-height: 1.45; margin-bottom: 14px; }
.booking__payment { margin-bottom: 14px; padding: 13px 14px; border: 1px solid rgba(0, 114, 206, 0.18); border-left: 3px solid var(--blue); border-radius: 8px; background: linear-gradient(115deg, #f2f8fc, #f8fbfd); animation: payment-note-glow 1.4s 650ms ease-out 1 both; }
.booking__payment-heading { display: flex; align-items: center; gap: 10px; }
.booking__payment-icon { position: relative; display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; overflow: hidden; border-radius: 9px; background: linear-gradient(140deg, var(--blue), #12a68a); color: var(--white); box-shadow: 0 4px 10px rgba(0, 114, 206, 0.2); animation: payment-icon-float 3.2s 900ms ease-in-out infinite; }
.booking__payment-icon::after { position: absolute; inset: -20% auto -20% -45%; width: 38%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent); content: ""; animation: payment-icon-flash 4.8s 1.2s ease-in-out infinite; }
.booking__payment-icon svg { width: 23px; height: 23px; }
.booking__payment strong { display: block; color: var(--navy); font-size: 0.88rem; line-height: 1.35; }
.booking__payment-methods { display: block; margin-top: 3px; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.booking__payment-options { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.booking__payment-options li { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 9px; border: 1px solid rgba(0, 114, 206, 0.12); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 0.74rem; font-weight: 700; line-height: 1.25; animation: payment-method-enter 520ms cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.booking__payment-options li:nth-child(2) { animation-delay: 120ms; }
.booking__payment-options li:nth-child(3) { animation-delay: 240ms; }
.booking__payment-options li:nth-child(4) { animation-delay: 360ms; }
.booking__payment-method-icon { width: 16px; height: 16px; flex: 0 0 16px; color: var(--blue); }
.booking__payment .booking__payment-receipt { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(0, 114, 206, 0.12); color: var(--muted); font-size: 0.76rem; line-height: 1.4; }
.booking__payment-receipt svg { width: 15px; height: 15px; flex: 0 0 15px; }
@media (prefers-reduced-motion: reduce) {
  .booking__payment, .booking__payment-icon, .booking__payment-icon::after, .booking__payment-options li { animation: none; }
}

.booking__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.booking label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
}

.booking input,
.booking textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.booking input:focus,
.booking textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.15);
}
.booking textarea { resize: vertical; min-height: 56px; }
.booking__consent {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 8px;
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.booking .booking__consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
}
.booking .booking__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--blue);
}
.booking__consent a { color: var(--blue); }

.booking-addon {
  margin: 6px 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f9fc;
}
.booking-addon legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  max-width: 100%;
  padding: 2px 6px 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}
.booking-addon__title { flex: 1 1 180px; min-width: 0; }
.booking-addon__price {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 114, 206, 0.1);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.booking .booking-addon__check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  cursor: pointer;
}
.booking .booking-addon__check input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--blue);
}
.booking-addon p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.booking-addon .booking-addon__status {
  color: var(--blue);
  font-weight: 700;
}

.booking__actions { display: grid; gap: 10px; margin-top: 6px; }
.booking__note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }

.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 0.9rem;
  display: none;
}
.form-status.is-ok { display: block; background: #e7f7ec; color: #146c36; }
.form-status.is-error { display: block; background: #fdeaea; color: #a32a2a; }

/* ---------- Карточки услуг ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, #4db3ff 100%);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(0, 114, 206, 0.25);
  transition: transform 0.25s ease;
}
.card:hover .card__icon { transform: scale(1.06) rotate(-3deg); }
.card__icon svg { width: 26px; height: 26px; stroke: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Маршруты ---------- */

.routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px);
  box-shadow: 0 2px 8px rgba(10, 31, 51, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.route.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.25s ease;
  transition-delay: var(--stagger, 0ms);
}
.route.is-visible:hover,
.route.is-visible:focus-visible {
  transition-delay: 0ms;
}

/* Бегущая подсветка по карточке */
.route::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--blue) 82%, var(--blue-light) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.route:hover::before {
  opacity: 1;
  animation: route-spin 2.6s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes route-spin { to { --angle: 360deg; } }

.route:hover {
  border-color: rgba(0, 114, 206, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Градиентная полоска сверху при наведении */
.route .route__path::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.route:hover .route__path::after { transform: scaleX(1); }

/* Мягкое свечение внутри при наведении */
.route::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(77, 179, 255, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.route:hover::after { opacity: 1; }

.route__path { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 1.18rem; line-height: 1.3; }
.route__path svg { width: 26px; height: 26px; stroke: var(--blue); flex-shrink: 0; transition: transform 0.3s ease; }
.route:hover .route__path svg { transform: scale(1.12); }

.route__meta { display: flex; gap: 18px; font-size: 0.95rem; color: var(--muted); }
.route__meta span { display: inline-flex; align-items: center; gap: 6px; }
.route__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); opacity: 0.7; }
.route__price { font-size: 1.12rem; color: var(--green); font-weight: 800; letter-spacing: 0.01em; }
.route__link { margin-top: auto; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.25s ease; }
.route:hover .route__link { gap: 10px; }
/* Растягиваем ссылку на всю карточку — клик по любому месту ведёт на страницу */
.route__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.route-group { margin-top: 44px; }
.route-group:first-of-type { margin-top: 0; }
.route-group__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.route-group__flag {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(10, 31, 51, 0.12);
}

/* ---------- Частые вопросы (FAQ) ---------- */

.faq {
  max-width: 800px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(16, 42, 74, 0.04);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(17, 123, 220, 0.22);
  box-shadow: 0 18px 32px rgba(17, 123, 220, 0.08), 0 0 0 1px rgba(17, 123, 220, 0.04);
  transform: translateY(-2px);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(240, 245, 252, 0.65), rgba(255, 255, 255, 0));
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  cursor: default;
  list-style: none;
  user-select: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.faq-q__label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-q__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(17, 123, 220, 0.10), rgba(255, 255, 255, 0.96));
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(17, 123, 220, 0.10), 0 12px 22px rgba(17, 123, 220, 0.12), 0 2px 8px rgba(18, 36, 58, 0.08);
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] .faq-q__icon {
  transform: translateY(-1px) scale(1.05);
  box-shadow: inset 0 0 0 1px rgba(17, 123, 220, 0.12), 0 18px 28px rgba(17, 123, 220, 0.18), 0 6px 14px rgba(18, 36, 58, 0.10);
}
.faq-q__icon svg {
  width: 40px;
  height: 40px;
  display: block;
  filter: drop-shadow(0 8px 12px rgba(18, 36, 58, 0.18)) drop-shadow(0 2px 5px rgba(17, 123, 220, 0.12));
  animation: floatIcon 3.5s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-3px) scale(1.06) rotate(-1.5deg); }
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.9;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(17, 123, 220, 0.4);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(17, 123, 220, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(17, 123, 220, 0); }
  100% { box-shadow: 0 0 0 0 rgba(17, 123, 220, 0); }
}
.faq-q:hover { color: var(--navy); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s ease, opacity 0.45s ease, transform 0.45s ease;
}
details[open] .faq-a {
  max-height: 420px;
  padding: 0 22px 18px;
  opacity: 1;
  transform: translateY(0);
}
.faq-kicker {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 700;
}
.faq-a p {
  margin-bottom: 10px;
  animation: fadeInText 0.45s ease both;
}
@keyframes fadeInText {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Для компаний ---------- */

.biz {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
}
.biz__eyebrow {
  display: inline-block;
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.biz h2 { color: var(--white); }
.biz__lead { color: rgba(255, 255, 255, 0.78); max-width: 760px; margin-bottom: 28px; }
.biz__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  list-style: none;
  margin-bottom: 30px;
}
.biz__grid li {
  position: relative;
  padding-left: 34px;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.85);
}
.biz__grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(77, 179, 255, 0.14) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234db3ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat;
}
.biz__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Google reviews block ---------- */

.google-reviews-section { padding: 20px 0; border-block: 1px solid var(--line); background: var(--bg); }
.google-reviews__header { display: grid; min-height: 107px; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 26px; }
.google-reviews__brand { display: flex; min-width: 0; align-items: center; gap: 16px; }
.google-reviews__wordmark { display: inline-flex; flex: 0 0 auto; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.google-reviews__wordmark span:nth-child(1), .google-reviews__wordmark span:nth-child(4) { color: #4285f4; }
.google-reviews__wordmark span:nth-child(2), .google-reviews__wordmark span:nth-child(6) { color: #ea4335; }
.google-reviews__wordmark span:nth-child(3) { color: #fbbc04; }
.google-reviews__wordmark span:nth-child(5) { color: #34a853; }
.google-reviews__eyebrow { display: block; margin-bottom: 4px; color: var(--blue); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }
.google-reviews__brand h2 { margin: 0; color: var(--navy); font-size: 1.45rem; }
.google-reviews__rating { display: flex; align-items: center; gap: 12px; }
.google-reviews__rating > strong { color: var(--navy); font-size: 2.25rem; font-variant-numeric: tabular-nums; line-height: 1; }
.google-reviews__rating > div { display: grid; gap: 4px; }
.google-reviews__stars { color: #fbbc04; font-size: 1rem; letter-spacing: 0.06em; white-space: nowrap; }
.google-reviews__count { color: var(--muted); font-size: 0.8rem; }
.google-reviews__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.google-reviews__actions .btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border-width: 1px; border-radius: 6px; font-size: 0.88rem; font-weight: 700; line-height: 1; white-space: nowrap; transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease; }
.google-reviews-section .btn--reviews-view { border: 1px solid var(--blue); background: var(--white); color: var(--blue); }
.google-reviews-section .btn--reviews-view:hover { transform: translateY(-1px); border-color: #005fa9; background: #f2f8fc; }
.google-reviews-section .btn--review { border: 1px solid var(--blue); background: var(--blue); color: var(--white); box-shadow: 0 2px 6px rgba(0, 114, 206, 0.18); }
.google-reviews-section .btn--review:hover { transform: translateY(-1px); border-color: #005fa9; background: #005fa9; box-shadow: 0 4px 12px rgba(0, 114, 206, 0.24); }
.review-button__star { color: #ffd166; font-size: 1.05em; line-height: 1; }
.google-reviews-section .google-reviews__actions .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 960px) {
  .google-reviews__header { grid-template-columns: minmax(0, 1fr) auto; }
  .google-reviews__actions { grid-column: 1 / -1; }
  .google-reviews__actions .btn { flex: 1 1 180px; }
}
@media (max-width: 760px) {
  .google-reviews-section { padding: 28px 0; }
  .google-reviews__header { min-height: 0; grid-template-columns: 1fr; gap: 18px; }
  .google-reviews__rating { justify-self: start; }
  .google-reviews__actions { grid-column: auto; }
}
@media (max-width: 420px) {
  .google-reviews__actions { display: grid; grid-template-columns: 1fr; }
  .google-reviews__actions .btn { width: 100%; min-height: 48px; }
}

/* ---------- Шаги ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px 26px;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, #4db3ff 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(0, 114, 206, 0.25);
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Списки условий ---------- */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  list-style: none;
}
.features li {
  position: relative;
  padding-left: 34px;
  font-size: 0.98rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(31, 170, 83, 0.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231faa53" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat;
}

/* ---------- CTA / контакты ---------- */

.cta {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 8px; }
.cta__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}
.cta__badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--white);
}
.cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Подвал ---------- */

.footer {
  --footer-background: #e9eff5;
  --footer-line: #d1dce6;
  --footer-muted: #536577;
  --footer-hover: #dfe8f0;
  position: relative;
  z-index: 160;
  border-top: 1px solid var(--footer-line);
  background: var(--footer-background);
  color: var(--footer-muted);
  padding: 36px 0 20px;
  font-size: 0.92rem;
}
.footer__service-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 8px 24px;
  padding-left: 14px;
  margin-bottom: 20px;
  border-left: 2px solid var(--green);
}
.footer__service-note strong { color: var(--navy); font-size: 0.96rem; line-height: 1.4; }
.footer__service-note span { max-width: 62ch; color: var(--footer-muted); font-size: 0.88rem; line-height: 1.5; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 32px;
  margin-bottom: 24px;
}
.footer__grid > div:first-child p { max-width: 35ch; line-height: 1.55; }
.footer__grid--popular {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "popular popular popular popular"
    "brand contacts company border";
  gap: 24px;
}
.footer__grid--popular > :first-child { grid-area: popular; }
.footer__grid--popular > :nth-child(2) { grid-area: brand; }
.footer__grid--popular > :nth-child(3) { grid-area: contacts; }
.footer__grid--popular > :nth-child(4) { grid-area: company; }
.footer__grid--popular > :nth-child(5) { grid-area: border; }
.footer__grid--popular > :nth-child(1) { align-self: start; }
.footer__grid--popular > :first-child h3 { font-size: 1.18rem; }
.footer__route-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 10px;
}
.footer__route-group { min-width: 0; }
.footer__route-group h4,
.footer__nav-subheading {
  color: var(--footer-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--footer-line);
}
.footer__nav-subheading {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--footer-line);
}
.footer__popular-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(36px, auto));
  grid-auto-flow: column;
  gap: 0 16px;
  margin-top: 0;
}
.footer__popular-routes li {
  min-width: 0;
  margin: 0;
  border-top: 1px solid var(--footer-line);
}
.footer__popular-routes a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.footer__popular-routes a > span:first-child { min-width: 0; }
.footer__popular-routes a:hover { background: var(--footer-hover); text-decoration: none; }
.footer__route-price {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 6px;
  color: var(--footer-muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.footer__all-routes {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--blue) !important;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}
.footer__all-routes:hover { gap: 10px; text-decoration: none; }
.footer__popular-routes a::after {
  content: "→";
  flex: 0 0 auto;
  color: var(--blue);
  opacity: 0.72;
  transition: transform 160ms ease, opacity 160ms ease;
}
.footer__popular-routes a:hover::after {
  opacity: 1;
  transform: translateX(3px);
}
.footer__popular-routes a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.footer .logo { margin-bottom: 12px; display: inline-block; color: var(--navy); }
.footer .logo span { color: var(--blue); }
.footer h3 {
  position: relative;
  padding-bottom: 9px;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--blue);
  content: "";
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a {
  color: var(--ink);
  transition: color 160ms ease;
}
.footer a:hover { color: var(--blue); }
.footer a[href^="tel:"] { color: var(--navy); font-weight: 700; }
.footer a[href^="https://wa.me"] { color: #167a3e; font-weight: 700; }
.footer a[href^="https://t.me"] { color: #178cbd; font-weight: 700; }
.footer a[href^="tel:"],
.footer a[href^="https://wa.me"],
.footer a[href^="https://t.me"],
.footer a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  text-decoration: none;
}
.footer a[href^="tel:"]::before,
.footer a[href^="https://wa.me"]::before,
.footer a[href^="https://t.me"]::before,
.footer a[href^="mailto:"]::before {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(0, 114, 206, 0.16);
  border-radius: 8px;
  background-color: rgba(0, 114, 206, 0.08);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 17px 17px;
  content: "";
}
.footer a[href^="tel:"]::before { background-image: url("../icons/footer-phone.svg"); }
.footer a[href^="https://wa.me"]::before {
  border-color: rgba(31, 170, 83, 0.18);
  background-color: rgba(31, 170, 83, 0.09);
  background-image: url("../icons/footer-message.svg");
}
.footer a[href^="https://t.me"]::before {
  border-color: rgba(34, 158, 217, 0.18);
  background-color: rgba(34, 158, 217, 0.09);
  background-image: url("../icons/footer-telegram.svg");
}
.footer a[href^="mailto:"]::before { background-image: url("../icons/footer-mail.svg"); }
.footer a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.footer__documents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer__documents a { color: var(--footer-muted); }
.footer__documents a:hover { color: var(--blue); }
.footer__documents a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.footer__legal {
  border-top: 1px solid var(--footer-line);
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- Счётчик посещений ---------- */

.visit-counter {
  margin-top: 14px;
  padding-top: 14px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--footer-muted);
  border-top: 1px solid var(--footer-line);
}
.visit-counter > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.visit-counter [id^="vc-label-"] { color: var(--footer-muted); font-size: 0.8rem; font-weight: 600; }
.visit-counter svg { width: 15px; height: 15px; stroke: var(--blue); }
.visit-counter strong {
  min-width: 2ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
  background: none;
}

/* ---------- PWA install prompt ---------- */

.install-prompt {
  position: fixed;
  left: calc(16px + env(safe-area-inset-left, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: rgba(10, 31, 51, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(4, 14, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: translateY(140%) scale(0.96);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.35s ease;
}
.install-prompt.is-visible { transform: translateY(0) scale(1); opacity: 1; }

.install-prompt__icon {
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 114, 206, 0.4);
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}
.install-prompt.is-visible .install-prompt__icon { transform: scale(1); }

.install-prompt__text { flex: 1 1 200px; min-width: 0; }
.install-prompt__text strong {
  display: block;
  font-size: 1.02rem;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s ease 0.22s, opacity 0.4s ease 0.22s;
}
.install-prompt__text span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s ease 0.3s, opacity 0.4s ease 0.3s;
}
.install-prompt.is-visible .install-prompt__text strong,
.install-prompt.is-visible .install-prompt__text span { transform: translateY(0); opacity: 1; }

.install-prompt .btn {
  opacity: 0;
  transform: translateY(6px);
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.install-prompt.is-visible .btn[data-install-yes] { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }
.install-prompt.is-visible .btn[data-install-no] { opacity: 1; transform: translateY(0); transition-delay: 0.46s; }
.install-prompt .btn--ghost { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.4); }

/* Пульсация кнопки «Установить» */
@keyframes install-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 179, 255, 0.55), 0 4px 14px rgba(0, 114, 206, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(77, 179, 255, 0), 0 4px 22px rgba(0, 114, 206, 0.65); }
}
.install-prompt.is-visible .btn[data-install-yes] {
  animation: install-pulse 2.2s ease-in-out 0.9s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .install-prompt.is-visible .btn[data-install-yes] { animation: none; }
}

/* ---------- Плавающая кнопка «Заказать» ---------- */

.quick-cta {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #e5322d 0%, #ff7a1a 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(229, 50, 45, 0.42);
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease;
  animation: quick-cta-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.8s backwards;
  -webkit-tap-highlight-color: transparent;
}
.quick-cta svg { width: 18px; height: 18px; stroke: #fff; }
.quick-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 38px rgba(255, 122, 26, 0.5); }
.quick-cta:active { transform: translateY(0) scale(0.98); }
.quick-cta.is-hidden { animation: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }
.quick-cta.is-hidden { animation: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }

/* Пульсация кнопки «Заказать» — усиленная */
@keyframes quick-cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 50, 45, 0.55), 0 12px 30px rgba(229, 50, 45, 0.42); }
  70% { box-shadow: 0 0 0 18px rgba(229, 50, 45, 0), 0 12px 36px rgba(255, 122, 26, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(229, 50, 45, 0), 0 12px 30px rgba(229, 50, 45, 0.42); }
}

/* Бегущий блик внутри кнопки */
.quick-cta { overflow: hidden; }
.quick-cta::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -40%;
  width: 34%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.35) 55%, transparent 100%);
  transform: skewX(-18deg) translateX(-120%);
  animation: quick-cta-shine 3.4s ease-in-out 1.8s infinite;
  pointer-events: none;
}
@keyframes quick-cta-shine {
  0%, 55% { transform: skewX(-18deg) translateX(-120%); opacity: 0; }
  62% { opacity: 1; }
  88% { transform: skewX(-18deg) translateX(460%); opacity: 0; }
  100% { transform: skewX(-18deg) translateX(460%); opacity: 0; }
}

/* Пульсация иконки телефона внутри кнопки */
@keyframes quick-cta-ring {
  0%, 100% { transform: rotate(0deg) scale(1); }
  4% { transform: rotate(-14deg) scale(1.12); }
  8% { transform: rotate(12deg) scale(1.12); }
  12% { transform: rotate(-9deg) scale(1.08); }
  16% { transform: rotate(7deg) scale(1.05); }
  20% { transform: rotate(-3deg) scale(1.02); }
  24% { transform: rotate(0deg) scale(1); }
}
.quick-cta svg { animation: quick-cta-ring 2.4s ease-in-out 1.6s infinite; transform-origin: 50% 50%; }

/* Покачивание (wiggle) каждые несколько секунд */
@keyframes quick-cta-wiggle {
  0%, 100% { transform: rotate(0deg); }
  3% { transform: rotate(-4deg); }
  6% { transform: rotate(4deg); }
  9% { transform: rotate(-3deg); }
  12% { transform: rotate(3deg); }
  15% { transform: rotate(-1deg); }
  18% { transform: rotate(0deg); }
}
.quick-cta {
  animation:
    quick-cta-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.8s backwards,
    quick-cta-pulse 2.4s ease-in-out 1.6s infinite,
    quick-cta-wiggle 6s ease-in-out 2s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .quick-cta { animation: quick-cta-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.8s backwards; }
  .quick-cta::before { animation: none; }
  .quick-cta svg { animation: none; }
}
@keyframes quick-cta-in {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- Модальное окно быстрых контактов ---------- */

.qmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 14, 24, 0.55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.qmodal-overlay.is-open { opacity: 1; }

.qmodal {
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(4, 14, 24, 0.4);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.25s ease;
}
.qmodal-overlay.is-open .qmodal { transform: translateY(0) scale(1); opacity: 1; }

.qmodal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.qmodal__close:hover { background: var(--line); color: var(--navy); }

.qmodal h3 { font-size: 1.25rem; margin-bottom: 6px; }
.qmodal__sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.qmodal__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.qmodal__phone:hover { border-color: var(--blue); background: #f0f6fc; text-decoration: none; }
.qmodal__phone svg { width: 20px; height: 20px; stroke: var(--blue); flex-shrink: 0; }

.qmodal__or {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.qmodal__or::before, .qmodal__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.qmodal__buttons { display: grid; gap: 10px; }
.qmodal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.qmodal__btn:hover { transform: translateY(-2px); }
.qmodal__btn svg { width: 19px; height: 19px; }
.qmodal__btn--wa { background: var(--green); color: #fff; }
.qmodal__btn--wa:hover { background: #178a43; box-shadow: 0 8px 20px rgba(31, 170, 83, 0.35); text-decoration: none; }
.qmodal__btn--booking { margin-bottom: 14px; background: var(--blue); color: #fff; }
.qmodal__btn--booking:hover { background: #005fa9; box-shadow: 0 8px 20px rgba(0, 114, 206, 0.3); text-decoration: none; }
.qmodal__btn--tg { background: #229ED9; color: #fff; }
.qmodal__btn--tg:hover { background: #1a86b8; box-shadow: 0 8px 20px rgba(34, 158, 217, 0.4); text-decoration: none; }
.qmodal__btn--vb { background: #7360f2; color: #fff; }
.qmodal__btn--vb:hover { background: #5d4bd6; box-shadow: 0 8px 20px rgba(115, 96, 242, 0.4); text-decoration: none; }

.install-prompt__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.install-prompt__close:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

/* ---------- Внутренние страницы ---------- */

.page-head {
  background:
    linear-gradient(100deg, rgba(8, 24, 40, 0.93) 0%, rgba(8, 24, 40, 0.70) 100%),
    url("../img/estonia-transfer-modern.webp?v=20261003-1") center 35% / cover no-repeat,
    var(--navy);
  color: var(--white);
  padding: 64px 0;
}
.page-head h1 { color: var(--white); margin-bottom: 10px; }
.page-head p { color: rgba(255, 255, 255, 0.8); max-width: 700px; }
.customs-page .page-head { padding: 56px 0 48px; }
.customs-page .page-head h1 { max-width: 820px; }

.crumbs { font-size: 0.85rem; margin-bottom: 14px; color: rgba(255, 255, 255, 0.6); }
.crumbs a { color: var(--blue-light); }
.customs__quickfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 1040px; margin-top: 26px; }
.customs__quickfacts > div { min-width: 0; padding: 13px 15px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; background: rgba(10, 31, 51, 0.46); }
.customs__quickfacts span, .customs__quickfacts strong { display: block; }
.customs__quickfacts span { color: var(--white); font-size: 0.9rem; font-weight: 800; }
.customs__quickfacts strong { margin-top: 4px; color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; }
.customs__crossings { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 16px; }
.customs__crossings > strong { display: grid; width: 40px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(77, 179, 255, 0.6); border-radius: 50%; background: rgba(0, 114, 206, 0.24); color: var(--white); font-size: 0.82rem; }
.customs__crossings div > span { display: block; margin-bottom: 2px; color: rgba(255, 255, 255, 0.66); font-size: 0.72rem; font-weight: 700; }
.customs__crossings p { margin: 0; color: var(--white); font-size: 0.94rem; font-weight: 700; }
.customs__crossings i { margin-inline: 5px; color: var(--blue-light); font-style: normal; }
.customs__lead { max-width: 760px !important; margin-top: 18px; font-size: 1rem; line-height: 1.55; }
.customs__checked { margin-top: 6px; color: rgba(255, 255, 255, 0.68) !important; font-size: 0.8rem; }
.customs__alert { margin-bottom: 18px; padding: 16px 18px; border: 1px solid rgba(0, 114, 206, 0.16); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: #f2f8fc; }
.customs__alert strong { display: block; margin-bottom: 4px; color: var(--navy); }
.customs__alert p { margin: 0; color: var(--muted); }
.customs__toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; max-width: 820px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.customs__toc strong { grid-column: 1 / -1; color: var(--navy); }
.customs__toc a { color: var(--blue); font-size: 0.9rem; text-underline-offset: 2px; }
.customs__category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; counter-reset: customs-category; }
.customs__category-grid article { position: relative; min-width: 0; padding: 15px 16px 15px 54px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.customs__category-grid article::before { position: absolute; top: 14px; left: 15px; display: grid; width: 27px; aspect-ratio: 1; place-items: center; border: 1px solid #efc7c3; border-radius: 50%; background: #fff; color: #a1241c; content: counter(customs-category, decimal-leading-zero); counter-increment: customs-category; font-size: 0.68rem; font-weight: 800; }
.customs__category-grid h3 { margin: 0 0 6px; font-size: 0.98rem; }
.customs__category-grid p { margin: 0; color: var(--muted); font-size: 0.88rem; }
#bez-poroga .customs__category-grid article { border-color: #efcfcc; border-left: 3px solid #b42318; background: #fffafa; }
#bez-poroga .customs__category-grid h3 { color: var(--navy); }
#bez-poroga .customs__category-grid p { color: #493a38; }
.customs__classification-note { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 12px; margin: 22px 0; padding: 16px 18px; border: 1px solid rgba(0, 114, 206, 0.2); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: #f2f8fc; }
.customs__classification-mark { display: grid; width: 34px; aspect-ratio: 1; place-items: center; border: 1px solid #cfe4f4; border-radius: 50%; background: var(--white); color: var(--blue); font-size: 0.7rem; font-weight: 800; }
.customs__classification-note strong { display: block; margin: 1px 0 4px; color: var(--navy); }
.customs__classification-note p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.customs__classification-note a { font-weight: 700; text-underline-offset: 2px; }
.customs__table tbody td:last-child { color: var(--navy); font-weight: 800; white-space: nowrap; }
.customs__personal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.customs__personal-case { min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 8px; background: #f6fbf7; }
.customs__personal-case--check { border-top-color: #d59a2a; background: #fffaf0; }
.customs__personal-case h3 { margin: 0 0 10px; color: var(--navy); font-size: 1rem; }
.customs__personal-case ul { margin: 0; padding-left: 20px; }
.customs__personal-case li { margin-bottom: 7px; color: var(--ink); font-size: 0.9rem; line-height: 1.45; }
.customs__personal-case li:last-child { margin-bottom: 0; }
.customs__personal-tip { margin: 14px 0 0; padding-left: 12px; border-left: 2px solid var(--blue); color: var(--muted); }
.customs__prohibited-alert { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; margin: 16px 0 22px; padding: 15px 17px; border: 1px solid #efc7c3; border-radius: 12px; background: #fff0ee; }
.customs__prohibited-alert-icon { display: grid; width: 24px; height: 24px; place-items: center; color: #b42318; }
.customs__prohibited-alert-icon svg { display: block; width: 21px; height: 21px; }
.customs__prohibited-alert strong { display: block; margin: 1px 0 5px; color: #a1241c; }
.customs__prohibited-alert p { margin: 0; color: #55413f; font-size: 0.9rem; line-height: 1.5; }
.customs__callout { margin: 20px 0; padding: 17px 18px; border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; background: rgba(31, 170, 83, 0.08); }
.customs__callout strong { color: var(--navy); }
.customs__callout p { margin: 5px 0 0; color: var(--muted); }
.customs__sources { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.customs__sources h2 { margin-top: 0; }
.customs__disclaimer { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 0.85rem; }
.customs__related { margin-top: 20px; font-weight: 700; }
.customs__related a { color: var(--blue); }
.border-summary__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 860px; margin-top: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.16); }
.border-summary__facts > div { padding: 13px 16px; background: rgba(10, 31, 51, 0.62); }
.border-summary__facts span, .border-summary__facts strong { display: block; }
.border-summary__facts span { margin-bottom: 4px; color: rgba(255, 255, 255, 0.66); font-size: 0.76rem; }
.border-summary__facts strong { color: var(--white); font-size: 0.9rem; }
.border-summary__data-state { display: flex; align-items: flex-start; gap: 10px; max-width: 820px; margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(255, 204, 102, 0.28); border-left: 3px solid #e0a437; border-radius: 0 8px 8px 0; background: rgba(8, 24, 40, 0.68); color: var(--white); }
.border-summary__data-state-icon { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border: 1px solid rgba(255, 204, 102, 0.65); border-radius: 50%; color: #ffd27c; font-size: 0.78rem; font-weight: 800; }
.border-summary__data-state strong, .border-summary__data-state div span { display: block; }
.border-summary__data-state strong { margin-bottom: 3px; font-size: 0.86rem; }
.border-summary__data-state div span { color: rgba(255, 255, 255, 0.76); font-size: 0.78rem; line-height: 1.45; }
.border-summary__data-state a { display: inline-block; margin-top: 6px; color: #ffd27c; font-size: 0.8rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.border-summary__visual-section { padding: 34px 0 0; background: var(--white); }
.border-summary__customs-warning { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; margin-bottom: 28px; padding: 20px; border: 1px solid rgba(189, 105, 16, 0.26); border-left: 4px solid #bd6910; border-radius: 8px; background: #fff8ed; }
.border-summary__customs-warning-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(189, 105, 16, 0.38); border-radius: 50%; color: #9a4e08; font-weight: 800; }
.border-summary__customs-warning .section__eyebrow { margin-bottom: 5px; color: #9a4e08; }
.border-summary__customs-warning h2 { margin: 0 0 8px; font-size: 1.18rem; }
.border-summary__customs-warning p { margin: 0 0 8px; color: #4b3b2b; font-size: 0.9rem; line-height: 1.5; }
.border-summary__customs-warning .border-summary__customs-rule { padding: 9px 11px; border-radius: 6px; background: rgba(189, 105, 16, 0.08); }
.border-summary__customs-rule strong { color: #733900; }
.border-summary__customs-warning .border-summary__customs-note { color: #6c5945; font-size: 0.8rem; }
.border-summary__customs-warning .btn { margin-top: 5px; }
.border-summary__visual { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 28px; align-items: center; }
.border-summary__visual-photo { min-width: 0; margin: 0; overflow: hidden; border-radius: 8px; background: var(--navy); }
.border-summary__visual-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.border-summary__visual-photo figcaption { padding: 8px 12px; color: rgba(255, 255, 255, 0.74); font-size: 0.76rem; }
.border-summary__route-map h2 { margin: 0 0 20px; font-size: 1.45rem; }
.border-summary__route-flow { position: relative; display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.border-summary__route-flow::before { position: absolute; top: 16px; bottom: 16px; left: 16px; width: 2px; background: linear-gradient(var(--blue), var(--green)); content: ""; }
.border-summary__route-flow li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.border-summary__route-node { display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid var(--white); border-radius: 50%; background: var(--blue); color: var(--white); font-size: 0.68rem; font-weight: 800; box-shadow: 0 0 0 1px rgba(0, 114, 206, 0.3); }
.border-summary__route-flow li:last-child .border-summary__route-node { background: var(--green); box-shadow: 0 0 0 1px rgba(31, 170, 83, 0.3); }
.border-summary__route-flow strong, .border-summary__route-flow small { display: block; }
.border-summary__route-flow strong { color: var(--navy); font-size: 0.92rem; }
.border-summary__route-flow small { margin-top: 2px; color: var(--muted); font-size: 0.78rem; }
.border-summary__route-map > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 0.82rem; }
.border-summary__notice { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 34px; padding: 17px 18px; border: 1px solid rgba(0, 114, 206, 0.16); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: #f2f8fc; }
.border-summary__notice-mark { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: rgba(0, 114, 206, 0.12); color: var(--blue); font-size: 0.82rem; font-weight: 800; }
.border-summary__notice strong { display: block; margin-bottom: 4px; color: var(--navy); }
.border-summary__notice p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.border-summary__notice .border-summary__source { margin-top: 10px; font-size: 0.78rem; }
.border-summary__source a, .border-summary__source-link { color: var(--blue); font-weight: 700; text-underline-offset: 2px; }
.border-summary__notice strong a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.border-summary__directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.border-summary__direction { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.border-summary__direction-label { color: var(--muted); font-size: 0.8rem; }
.border-summary__direction h3 { margin: 5px 0 14px; }
.border-summary__direction p { margin: 0 0 6px; color: var(--muted); font-size: 0.88rem; }
.border-summary__direction p strong { color: var(--navy); font-size: 1.05rem; }
.border-summary__direction time { display: block; margin: 0 0 8px; color: var(--muted); font-size: 0.76rem; }
.border-summary__freshness { margin-top: 12px; color: var(--muted); font-size: 0.8rem; }
.border-summary__source-link { display: inline-block; margin-top: 4px; font-size: 0.82rem; }
.border-summary__timeline { margin: 18px 0 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.border-summary__timeline li { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 18px; padding: 0 0 22px 20px; }
.border-summary__timeline li::before { position: absolute; top: 5px; left: -6px; width: 10px; height: 10px; border: 2px solid var(--white); border-radius: 50%; background: var(--blue); content: ""; }
.border-summary__timeline time { color: var(--muted); font-size: 0.8rem; }
.border-summary__timeline a { color: var(--navy); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(0, 114, 206, 0.35); text-underline-offset: 3px; }
.border-summary__timeline p { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }
.border-summary__contacts { margin-top: 16px; }
.border-summary__contacts th { width: 58%; }
.border-summary__contacts a { color: var(--blue); }
.border-summary__article { max-width: 800px; }
.border-summary__article-lead { color: var(--ink) !important; font-size: 1.05rem; }
.border-summary__image { margin: 28px 0; }
.border-summary__image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; }
.border-summary__image figcaption { margin-top: 8px; color: var(--muted); font-size: 0.8rem; }
.border-summary__data-state.will-reveal,
.border-summary__visual.will-reveal,
.border-summary__notice.will-reveal,
.border-summary__direction.will-reveal,
.border-summary__timeline li.will-reveal { opacity: 0; transform: translateY(16px); }
.border-summary__data-state.is-visible,
.border-summary__visual.is-visible,
.border-summary__notice.is-visible,
.border-summary__direction.is-visible,
.border-summary__timeline li.is-visible { opacity: 1; transform: translateY(0); transition: opacity 520ms ease var(--stagger, 0ms), transform 520ms cubic-bezier(0.2, 0.7, 0.25, 1) var(--stagger, 0ms); }
.border-summary__details { max-width: 800px; }
.border-summary__action { margin-top: 22px; }
.border-summary__directory-link { margin: 18px 0 30px; }

.border-guide__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: 1040px; margin-top: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.16); }
.border-guide__facts > div { padding: 13px 16px; background: rgba(10, 31, 51, 0.62); }
.border-guide__facts span, .border-guide__facts strong { display: block; }
.border-guide__facts span { margin-bottom: 4px; color: rgba(255, 255, 255, 0.66); font-size: 0.76rem; }
.border-guide__facts strong { color: var(--white); font-size: 0.9rem; }
.border-guide__intro { max-width: 850px; }
.border-guide__freshness { max-width: 920px; margin: 16px 0; padding: 13px 16px; border: 1px solid rgba(0, 114, 206, 0.16); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: #f2f8fc; color: #455a68; font-size: 0.88rem; }
.border-guide__freshness strong { color: var(--navy); }
.border-guide__table-wrap { margin: 18px 0; overflow-x: auto; }
.border-guide__ways-table { width: 100%; min-width: 960px; margin: 0; table-layout: fixed; }
.border-guide__ways-table th:nth-child(1) { width: 20%; }
.border-guide__ways-table th:nth-child(2) { width: 29%; }
.border-guide__ways-table th:nth-child(3) { width: 16%; }
.border-guide__ways-table th:nth-child(4) { width: 35%; }
.border-guide__ways-table th, .border-guide__ways-table td { vertical-align: top; }
.border-guide__ways-table td:last-child { min-width: 240px; white-space: normal; }
.border-guide__small-note { margin: 12px 0 0; color: var(--muted); font-size: 0.8rem; }
.border-guide__content, .border-guide__faq { max-width: 920px; }
.border-guide__choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.border-guide__choice-grid article { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.border-guide__choice-index, .border-guide__point-type { color: var(--blue); font-size: 0.7rem; font-weight: 800; }
.border-guide__choice-grid h3 { margin: 8px 0 6px; font-size: 1rem; }
.border-guide__choice-grid p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.border-guide__point-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.border-guide__point-grid article { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 8px; background: var(--white); }
.border-guide__point-grid h3 { margin: 7px 0 10px; font-size: 1.05rem; }
.border-guide__point-grid p { margin: 0 0 10px; color: var(--muted); font-size: 0.86rem; }
.border-guide__point-grid .border-guide__point-hours { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.78rem; }
.border-guide__prices { max-width: none; min-width: 650px; }
.border-guide__prices tbody td:last-child { color: var(--navy); font-weight: 800; white-space: nowrap; }
.border-guide__action { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.border-guide__phone { color: var(--navy); font-weight: 800; }
.border-guide__related { margin-top: 22px; font-weight: 700; }
.border-guide__related a { color: var(--blue); }

.prose { max-width: 800px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 24px; margin-bottom: 8px; }
.prose p, .prose li { color: #33424f; margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.route-description { margin: 34px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .border-summary__data-state.will-reveal,
  .border-summary__data-state.is-visible,
  .border-summary__visual.will-reveal,
  .border-summary__notice.will-reveal,
  .border-summary__direction.will-reveal,
  .border-summary__timeline li.will-reveal,
  .border-summary__visual.is-visible,
  .border-summary__notice.is-visible,
  .border-summary__direction.is-visible,
  .border-summary__timeline li.is-visible { opacity: 1; transform: none; transition: none; }
}

.info-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 20px 0;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.info-table th { color: var(--muted); font-weight: 600; width: 45%; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

.russia-route-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 34px;
}
.russia-route-fact {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #f5f8fc);
  box-shadow: 0 8px 22px rgba(16, 39, 68, 0.06);
  animation: route-fact-in 0.45s ease both;
}
.russia-route-fact:nth-child(2) { animation-delay: 70ms; }
.russia-route-fact:nth-child(3) { animation-delay: 140ms; }
.russia-route-fact span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.82rem; }
.russia-route-fact strong { display: block; color: var(--navy); font-size: 1.05rem; }
.russia-route-fact--price {
  border-color: rgba(17, 123, 220, 0.22);
  background: linear-gradient(145deg, rgba(17, 123, 220, 0.09), #fff 72%);
}
.russia-route-fact--price strong { color: var(--blue); }

@keyframes route-fact-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .russia-route-fact { animation: none; }
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 24px 0 40px;
  font-size: 0.95rem;
}
.route-table th, .route-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.route-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
.route-table tbody tr:hover { background: #f0f6fc; }
.route-table td:last-child { white-space: nowrap; color: var(--muted); }
.routes-page .prose { max-width: none; }
.routes-page #booking-section .prose { max-width: 800px; }
.routes-page-head { padding: 58px 0 52px; }
.routes-page-head h1 { max-width: 900px; font-size: 2.75rem; line-height: 1.12; }
.routes-page-head .hero__contacts { margin-top: 24px; }
.routes-page .routes-toc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 32px; }
.routes-page .routes-toc a { position: relative; display: flex; min-height: 102px; flex-direction: column; justify-content: center; gap: 3px; padding: 17px 18px 15px 54px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #f6fafc, #fff); color: var(--navy); text-decoration: none; transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.routes-page .routes-toc a:hover { transform: translateY(-2px); border-color: rgba(0, 114, 206, 0.42); box-shadow: 0 8px 20px rgba(16, 39, 68, 0.08); }
.routes-page .routes-toc a > span { position: absolute; top: 18px; left: 17px; color: var(--blue); font-size: 0.72rem; font-weight: 800; }
.routes-page .routes-toc strong { font-size: 0.98rem; line-height: 1.25; }
.routes-page .routes-toc small { color: var(--muted); font-size: 0.82rem; }
.routes-page .routes-price-note { display: grid; grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr); gap: 20px; align-items: start; margin: 0 0 42px; padding: 22px 24px; border: 1px solid #dbe8ed; border-left: 4px solid #168b82; border-radius: 8px; background: linear-gradient(110deg, #f0f8f6, #f7fafb 64%, #fff); }
.routes-page .routes-price-note .section__eyebrow { margin: 2px 0 8px; color: #168b82; }
.routes-page .routes-price-note h2 { margin: 0; font-size: 1.3rem; }
.routes-page .routes-price-note ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin: 0; padding-left: 19px; }
.routes-page .routes-price-note li { margin-bottom: 8px; font-size: 0.91rem; line-height: 1.45; }
.routes-page .prose > h2[id] { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.routes-page .route-table { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 7px 22px rgba(16, 39, 68, 0.055); }
.routes-page .routes-price-table {
  --route-accent: #168b82;
  width: 100%;
  table-layout: fixed;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  margin: 14px 0 44px;
  font-size: 0.9rem;
}
.routes-page .routes-price-table--border { --route-accent: #c78318; }
.routes-page .routes-price-table--estonia { --route-accent: #168b82; }
.routes-page .routes-price-table--baltics { --route-accent: #3979b8; }
.routes-page .routes-price-table--russia { --route-accent: #c05a48; }
.routes-page .routes-price-table thead th {
  padding: 0 14px 3px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}
.routes-page .routes-price-table thead th:first-child { width: 39%; }
.routes-page .routes-price-table thead th:nth-child(2) { width: 14%; }
.routes-page .routes-price-table thead th:nth-child(3) { width: 18%; }
.routes-page .routes-price-table thead th:nth-child(4) { width: 13%; }
.routes-page .routes-price-table thead th:last-child { width: 16%; }
.routes-page .routes-price-table tbody tr {
  background: var(--white);
  box-shadow: 0 5px 18px rgba(16, 39, 68, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.routes-page .routes-price-table tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(16, 39, 68, 0.1);
}
.routes-page .routes-price-table tbody td {
  padding: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.routes-page .routes-price-table tbody td:first-child {
  min-width: 0;
  border-left: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  box-shadow: inset 3px 0 var(--route-accent);
}
.routes-page .routes-price-table tbody td:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}
.routes-page .routes-price-table tbody td:first-child > a:first-child {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}
.routes-page .routes-price-table tbody td:first-child > a:first-child:hover {
  color: var(--route-accent);
  text-decoration: none;
}
.routes-page .routes-price-table tbody td:first-child small {
  display: inline-block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}
.routes-page .routes-price-table tbody td:nth-child(2),
.routes-page .routes-price-table tbody td:nth-child(3) { color: var(--muted); }
.routes-page .routes-price-table tbody td:nth-last-child(2) {
  color: var(--route-accent);
  font-size: 1.02rem;
  font-weight: 800;
  white-space: normal;
}
.routes-page .routes-price-table tbody td:last-child .btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.82rem;
}
@media (max-width: 960px) {
  .routes-page .routes-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .routes-page-head { padding: 40px 0 36px; }
  .routes-page-head h1 { font-size: 2rem; }
  .routes-page .header__phone,
  .routes-page .quick-cta { display: none; }
  .routes-page .routes-price-note { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .routes-page .routes-price-note ul { grid-template-columns: 1fr; }
  .routes-page .routes-toc a { min-height: 88px; padding: 12px; }
  .routes-page .routes-toc a > span { position: static; }
  .routes-page .routes-toc strong { font-size: 0.88rem; }
  .routes-page .routes-toc small { font-size: 0.76rem; }
  .routes-page .routes-price-table { display: block; overflow: visible; border-radius: 0; }
  .routes-page .routes-price-table thead { display: none; }
  .routes-page .routes-price-table tbody { display: grid; gap: 11px; }
  .routes-page .routes-price-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 14px;
    padding: 15px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--route-accent);
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(16, 39, 68, 0.06);
  }
  .routes-page .routes-price-table tbody td,
  .routes-page .routes-price-table tbody td:first-child,
  .routes-page .routes-price-table tbody td:last-child {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .routes-page .routes-price-table tbody td:first-child {
    grid-column: 1 / -1;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
  .routes-page .routes-price-table tbody td:first-child > a:first-child { font-size: 1rem; }
  .routes-page .routes-price-table tbody td:nth-child(2)::before,
  .routes-page .routes-price-table tbody td:nth-child(3)::before,
  .routes-page .routes-price-table tbody td:nth-last-child(2)::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
  }
  .routes-page .routes-price-table tbody td:nth-child(2)::before { content: "Расстояние"; }
  .routes-page .routes-price-table tbody td:nth-child(3)::before { content: "В пути"; }
  .routes-page .routes-price-table tbody td:nth-last-child(2)::before { content: "Стоимость"; }
  .routes-page .routes-price-table tbody td:nth-last-child(2) {
    align-self: center;
    font-size: 1.08rem;
  }
  .routes-page .routes-price-table tbody td:last-child .btn { min-height: 44px; }
}

.note-box {
  background: #fff8e6;
  border: 1px solid #f0dfae;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.95rem;
  color: #6b5a1e;
  margin: 24px 0;
}

.why-box {
  margin: 32px 0 16px;
  padding: 26px 24px 20px;
  background:
    linear-gradient(135deg, rgba(40, 88, 173, 0.10), rgba(119, 157, 222, 0.05)),
    var(--white);
  border: 1px solid rgba(39, 84, 156, 0.14);
  border-left: 5px solid var(--blue);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 42, 74, 0.08);
}
.why-box__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 123, 220, 0.08);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.why-box h2 {
  margin: 0 0 8px;
}
.why-box h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--navy);
}
.why-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Карта маршрута ---------- */

.route-map {
  margin: 24px 0;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface, #f7f9fc);
  text-align: center;
}
.route-map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
}
.route-map__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 16px;
}
@media (max-width: 760px) {
  .russia-route-facts { grid-template-columns: 1fr; }
  .route-map { padding: 20px; }
  .route-map iframe { height: 380px; }
}
@media (max-width: 420px) {
  .route-map iframe { height: 320px; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .vehicle-showcase__inner { grid-template-columns: 1fr; gap: 28px; }
  .customs__quickfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .routes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .footer__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 36px; }
  .footer__grid:not(.footer__grid--popular) > :first-child { grid-row: span 2; }
  .footer__grid--popular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "popular popular" "brand contacts" "company border";
    gap: 24px;
  }
  .footer__route-groups { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 560px); }
  .route { opacity: 1; transform: none; transition: none; }
  .vehicle-showcase__inner { gap: 24px; }
  .vehicle-showcase__facts { gap: 0 14px; }
  .driver-profile__inner { grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; }
  .driver-profile__avatar { width: 56px; height: 56px; grid-row: 1; font-size: 1.55rem; }
  .driver-profile__heading { align-self: center; }
  .driver-profile__text { grid-column: 1 / -1; margin-top: 16px; }
  .route { content-visibility: auto; contain-intrinsic-size: auto 220px; }
  .booking { content-visibility: auto; contain-intrinsic-size: auto 2000px; }
  .section { padding: 44px 0; }
  .section--white#contacts { padding-bottom: 28px; }
  .hero { padding: 44px 0 52px; }
  .footer { padding: 36px 0 calc(92px + env(safe-area-inset-bottom, 0px)); }
  .footer__service-note { grid-template-columns: 1fr; gap: 4px; margin-bottom: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid:not(.footer__grid--popular) > :first-child { grid-row: auto; }
  .footer__grid--popular {
    grid-template-columns: 1fr;
    grid-template-areas: "popular" "brand" "contacts" "company" "border";
    gap: 24px;
  }
  .footer__route-groups { gap: 18px; }
  .footer__popular-routes {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
  }
  html { scroll-padding-top: 76px; }
  .topbar .container { display: block; }
  .topbar__detail, .topbar__license { display: none; }
  .header__inner { height: 64px; gap: 8px; }
  .logo { flex: 1 1 auto; min-width: 0; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; }
  .header__phone { display: inline-flex; flex: 0 0 auto; padding: 8px 10px; font-size: 0.78rem; }
  .lang-switch { margin-left: auto; }
  .lang-switch__summary { min-height: 36px; padding: 5px 8px; font-size: 0.74rem; }
  .burger { display: flex; flex: 0 0 auto; margin-left: 2px; padding: 8px 4px; }
  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    padding: 8px 20px 16px;
    display: none;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
  }
  .nav.is-open { display: flex; }
  .nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  h1 { font-size: clamp(1.7rem, 8vw, 2.35rem); overflow-wrap: anywhere; }
  h2 { font-size: clamp(1.35rem, 6vw, 1.8rem); }
  .hero__lead { font-size: 1rem; }
  .hero__contacts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__contacts .hero__booking-link { grid-column: 1 / -1; }
  .hero-business { align-items: flex-start; flex-direction: column; }
  .hero-business__copy { max-width: none; }
  .hero-rate { grid-template-columns: auto 1fr; gap: 8px 12px; }
  .hero-rate p { grid-column: 1 / -1; grid-row: 2; }
  .hero-rate a { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; }
  .hero-process { margin-top: 28px; padding-top: 0; }
  .hero-process__steps { grid-template-columns: 1fr; }
  .hero-process__steps li { padding-right: 0; }
  .hero-process__steps li + li { padding-left: 0; border-left: 0; }
  .hero__badges { grid-template-columns: 1fr; }
  .hero__contacts .btn { width: 100%; padding-inline: 12px; }
  .hero__contacts .btn,
  .booking .btn,
  .qmodal__btn { min-height: 48px; }
  .booking { padding: 20px 16px; border-radius: 12px; }
  .booking label { margin-bottom: 14px; }
  .booking input,
  .booking textarea,
  .booking select { font-size: 16px; }
  .booking input,
  .booking select,
  .booking .btn { min-height: 48px; }
  .booking__row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .topbar { font-size: 0.78rem; padding: 8px 16px; }
  .biz { padding: 32px 24px; }
  .biz__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .prose { overflow-wrap: anywhere; }
  .route-table,
  .info-table { display: block; width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .route-table th, .route-table td { white-space: nowrap; }
  .route-table th, .route-table td { padding: 11px 12px; }
  .info-table th, .info-table td { padding: 11px 12px; overflow-wrap: anywhere; }
  .note-box { padding: 16px; }
  .page-head { padding: 44px 0; }
  .page-head h1 { overflow-wrap: anywhere; }
  .border-summary__facts { grid-template-columns: 1fr; margin-top: 22px; }
  .border-summary-page .page-head { padding: 32px 0 36px; }
  .border-summary-page .page-head p:not(.section__eyebrow) { line-height: 1.45; }
  .border-summary-page .border-summary__data-state { margin-top: 12px; padding: 10px 12px; }
  .border-summary-page .border-summary__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .border-summary-page .border-summary__facts > div { padding: 10px 12px; }
  .border-summary-page .border-summary__facts > div:nth-child(3) { grid-column: 1 / -1; }
  .customs__quickfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .customs-page .page-head { padding: 32px 0; }
  .customs__quickfacts > div { padding: 8px 10px; }
  .customs__quickfacts span { font-size: 0.82rem; }
  .customs__quickfacts strong { margin-top: 2px; font-size: 0.74rem; line-height: 1.35; }
  .customs__crossings { grid-template-columns: 36px minmax(0, 1fr); gap: 9px; margin-top: 12px; }
  .customs__crossings > strong { width: 36px; }
  .customs__crossings p { font-size: 0.86rem; }
  .customs__lead { margin-top: 12px; font-size: 0.91rem; line-height: 1.45; }
  .customs__category-grid { grid-template-columns: 1fr; }
  .customs__personal-grid { grid-template-columns: 1fr; }
  .customs__toc { grid-template-columns: 1fr; }
  .customs__toc strong { grid-column: auto; }
  .border-summary__visual { grid-template-columns: 1fr; gap: 20px; }
  .border-summary__customs-warning { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin-bottom: 22px; padding: 15px 13px; }
  .border-summary__customs-warning-icon { width: 26px; height: 26px; font-size: 0.78rem; }
  .border-summary__customs-warning h2 { font-size: 1.05rem; }
  .border-summary__directions { grid-template-columns: 1fr; }
  .border-summary__notice { padding: 15px; }
  .border-summary__timeline li { grid-template-columns: 1fr; gap: 4px; }
  .footer__legal { flex-direction: column; gap: 10px; }

  /* --- Мобильные: плавающая кнопка и окна --- */
  .quick-cta {
    padding: 12px 18px;
    font-size: 0.9rem;
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 28px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .quick-cta svg { width: 16px; height: 16px; }
  /* на маленьком экране wiggle и shine не отвлекают */
  .quick-cta {
    animation: none;
  }
  .quick-cta::before { animation: none; }
  .quick-cta svg { animation: none; }
  .hero h1,
  .hero__lead,
  .booking,
  .hero__badges .badge--detail,
  .hero__contacts,
  .hero-process h2,
  .hero-process__steps li,
  .hero-business,
  .hero-rate,
  .hero-proof__item,
  .hero-assurance,
  .booking__payment,
  .booking__payment-icon,
  .booking__payment-icon::after,
  .booking__payment-options li { animation: none; }
  .qmodal-overlay { padding: 14px; align-items: end; }
  .qmodal {
    width: 100%;
    max-height: 88dvh;
    overflow-y: auto;
    border-radius: 18px;
    padding: 24px 20px;
  }
  .install-prompt {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    padding: 14px 16px;
    gap: 10px;
  }
  .install-prompt .btn { min-height: 44px; }
  .install-prompt__icon { width: 40px; height: 40px; }
  .install-prompt__text span { display: none; }
  .visit-counter { gap: 10px; }
  .visit-counter > span { padding: 7px 13px; font-size: 0.8rem; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 24px); }
  .topbar { line-height: 1.35; }
  .header__inner { gap: 4px; }
  .header__phone { padding: 7px 6px; font-size: 0.68rem; }
  .logo { font-size: 0.92rem; }
  .lang-switch__summary { padding-inline: 6px; }
  .hero { padding-top: 34px; }
  .hero__contacts { grid-template-columns: 1fr; }
  .hero__badges { gap: 8px; margin-bottom: 24px; }
  .badge { width: 100%; padding: 8px 12px; }
  .stats__grid { gap: 12px 8px; }
  .stat__value { font-size: 1.3rem; }
  .stat__label { font-size: 0.75rem; }
  .booking { padding: 18px 14px; }
  .quick-cta { left: auto; right: calc(12px + env(safe-area-inset-right, 0px)); width: auto; }
}

@media (max-width: 360px) {
  .header__phone { width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 0; }
  .header__phone::before { content: "\260E"; font-size: 1.1rem; }
}

@media (max-width: 760px) {
  .border-guide__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
  .border-guide__facts > div { padding: 10px 12px; }
  .border-guide__choice-grid, .border-guide__point-grid { grid-template-columns: 1fr; }
  .border-guide__table-wrap { overflow: visible; }
  .border-guide__ways-table, .border-guide__prices { display: block; width: 100%; min-width: 0; margin: 18px 0; overflow: visible; border-collapse: separate; border-spacing: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .border-guide__ways-table thead, .border-guide__prices thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .border-guide__ways-table tbody, .border-guide__prices tbody { display: grid; gap: 10px; }
  .border-guide__ways-table tbody tr, .border-guide__prices tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
  .border-guide__ways-table tbody th[scope="row"], .border-guide__prices tbody th[scope="row"] { display: block; padding: 11px 12px; border: 0; background: #edf3f8; color: var(--navy); font-size: 0.9rem; white-space: normal; }
  .border-guide__ways-table tbody td, .border-guide__prices tbody td { display: block; padding: 7px 12px; border-bottom: 1px solid var(--line); font-size: 0.82rem; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
  .border-guide__ways-table tbody td::before, .border-guide__prices tbody td::before { margin-right: 7px; color: var(--blue); content: attr(data-label); font-size: 0.68rem; font-weight: 800; }
  .border-guide__ways-table tbody td:last-child, .border-guide__prices tbody td:last-child { min-width: 0; border-bottom: 0; white-space: normal; }
  .border-guide__freshness { padding: 12px 13px; }
}

