/* ── ООО «АБА» — премиальная тема ── */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=PT+Serif:ital,wght@0,600;0,700;1,600&family=Sora:wght@500;600;700&display=swap");

:root {
  --bg: #eceae4;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border: rgba(20, 36, 64, 0.18);
  --border-strong: rgba(20, 36, 64, 0.32);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-highlight: rgba(255, 255, 255, 0.9);
  --gold: #142a52;
  --gold-light: #1e4080;
  --gold-dim: #0c1a30;
  --accent-copper: #7a4e1a;
  --accent-copper-light: #9a6528;
  --accent-steel: #3a5070;
  --text: #0a0e18;
  --text-muted: #2e3540;
  --text-dim: #4a5260;
  --shadow: 0 24px 64px rgba(10, 20, 40, 0.12);
  --shadow-gold: 0 12px 40px rgba(20, 42, 82, 0.18);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-brand-legal: "PT Serif", "Times New Roman", serif;
}

body {
  color: var(--text);
  background: var(--bg);
}

/* ── Фон: автовоз ── */
.ambient {
  background: #eceae4;
}

.ambient__image {
  display: block !important;
  opacity: 0.52;
  mix-blend-mode: normal;
  filter: saturate(1.12) contrast(1.06) brightness(1.02);
  object-position: 72% center;
}

.ambient::after {
  display: block;
  background:
    linear-gradient(90deg, rgba(236, 234, 228, 0.96) 0%, rgba(236, 234, 228, 0.82) 34%, rgba(236, 234, 228, 0.48) 52%, rgba(236, 234, 228, 0.12) 72%, transparent 90%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 42%, rgba(236, 234, 228, 0.55) 100%);
}

/* ── Шапка ── */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(20, 42, 82, 0.12);
  box-shadow: 0 4px 24px rgba(10, 20, 40, 0.08);
}

.header.is-scrolled {
  background: #fff;
  border-color: rgba(20, 42, 82, 0.16);
  box-shadow: 0 8px 32px rgba(10, 20, 40, 0.1);
}

.header .brand__icon {
  height: 74px;
  width: auto;
  max-width: 190px;
  display: block;
  filter:
    drop-shadow(0 10px 20px rgba(10, 20, 40, 0.28))
    drop-shadow(0 4px 10px rgba(28, 45, 74, 0.18))
    drop-shadow(0 1px 3px rgba(61, 124, 196, 0.24));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.header .brand:hover .brand__icon {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 12px 24px rgba(10, 20, 40, 0.32))
    drop-shadow(0 5px 12px rgba(28, 45, 74, 0.22))
    drop-shadow(0 2px 4px rgba(61, 124, 196, 0.3));
}

.brand--footer .brand__icon {
  height: 52px;
  width: auto;
  max-width: 150px;
  filter:
    drop-shadow(0 6px 14px rgba(10, 20, 40, 0.2))
    drop-shadow(0 2px 6px rgba(28, 45, 74, 0.12));
}

.tracker__brand-icon {
  filter:
    drop-shadow(0 8px 16px rgba(10, 20, 40, 0.22))
    drop-shadow(0 3px 8px rgba(61, 124, 196, 0.18));
}

.brand__legal-text {
  font-family: var(--font-brand-legal);
  font-weight: 600;
  letter-spacing: 0.01em;
  filter: none;
}

.brand__legal-dark {
  color: var(--text);
  -webkit-text-fill-color: currentColor;
  background: none;
  text-shadow: none;
}

.brand__legal-blue {
  background: linear-gradient(135deg, #1c2d4a, #3d5a80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.brand__legal-line {
  background: linear-gradient(90deg, var(--accent-copper) 0%, var(--gold) 100%);
  box-shadow: none;
}

.header .brand__legal {
  min-width: 156px;
  max-width: 196px;
}

.nav a:hover,
.nav__link:hover,
.nav a.is-active,
.nav__link.is-active {
  color: var(--gold);
  text-shadow: none;
}

/* ── Кнопки ── */
.btn--primary {
  background: linear-gradient(180deg, #243d63 0%, #1c2d4a 100%);
  color: #fff;
  border: 1px solid rgba(28, 45, 74, 0.2);
  box-shadow: 0 6px 20px rgba(28, 45, 74, 0.2);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #2d4568 0%, #243d63 100%);
  box-shadow: 0 10px 28px rgba(28, 45, 74, 0.28);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: rgba(28, 45, 74, 0.28);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn--outline:hover {
  background: rgba(28, 45, 74, 0.05);
  border-color: var(--gold);
}

.btn--ghost:hover {
  color: var(--gold);
  background: rgba(28, 45, 74, 0.04);
  border-color: rgba(28, 45, 74, 0.1);
}

/* ── Hero ── */
.hero__content::before,
.hero__content::after {
  display: none;
}

.hero__content .eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  background-image: none;
  -webkit-text-fill-color: #fff;
  border: 1px solid rgba(20, 42, 82, 0.25);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(20, 42, 82, 0.25);
  text-shadow: none;
  filter: none;
  animation: none;
}

.hero__content .eyebrow::before,
.hero__content .eyebrow::after {
  display: none;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.hero__route {
  display: grid;
  grid-template-columns: auto minmax(72px, 1fr) auto auto;
  align-items: center;
  column-gap: 10px;
  width: 100%;
  max-width: 520px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.92) 100%);
  border: 1.5px solid #52b788;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 0 22px rgba(82, 183, 136, 0.42),
    0 8px 24px rgba(45, 106, 79, 0.14);
}

.hero__route-node,
.hero__route-node--dest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf5 0%, #fff3e6 100%);
  border: 1.5px solid #d4a056;
  box-shadow:
    0 0 16px rgba(212, 160, 86, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 2px 8px rgba(122, 78, 26, 0.12);
}

.hero__route-node {
  color: #14532d;
}

.hero__route-node--dest {
  color: #4a3010;
}

.hero__route-track {
  position: relative;
  display: flex;
  align-items: center;
  align-self: center;
  width: 100%;
  height: 28px;
  padding: 0 2px;
}

.hero__route-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #86efac 0%, #22c55e 55%, #16a34a 100%);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
  transform: translateY(-50%);
  animation: hero-route-fill 5.5s linear infinite;
  pointer-events: none;
}

.hero__route-dash {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(34, 197, 94, 0.55) 0,
    rgba(34, 197, 94, 0.55) 5px,
    transparent 5px,
    transparent 10px
  );
}

.hero__route-shuttle {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #15803d;
  background: #f0fdf4;
  border: 2px solid #4ade80;
  box-shadow:
    0 0 16px rgba(74, 222, 128, 0.75),
    0 0 28px rgba(34, 197, 94, 0.35);
  transform: translate(-50%, -50%);
  animation:
    hero-route-shuttle 5.5s linear infinite,
    hero-route-shuttle-glow 2s ease-in-out infinite;
}

.hero__route-shuttle svg {
  width: 13px;
  height: 13px;
}

.hero__route-time {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 18px rgba(74, 222, 128, 0.65),
    0 4px 14px rgba(22, 163, 74, 0.35);
  animation: hero-route-time-glow 2.2s ease-in-out infinite;
}

@keyframes hero-route-shuttle-glow {
  0%, 100% {
    box-shadow:
      0 0 14px rgba(74, 222, 128, 0.6),
      0 0 24px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow:
      0 0 22px rgba(74, 222, 128, 0.95),
      0 0 36px rgba(34, 197, 94, 0.55);
  }
}

@keyframes hero-route-time-glow {
  0%, 100% {
    box-shadow:
      0 0 14px rgba(74, 222, 128, 0.55),
      0 4px 12px rgba(22, 163, 74, 0.3);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      0 0 26px rgba(74, 222, 128, 0.95),
      0 0 40px rgba(34, 197, 94, 0.45),
      0 4px 16px rgba(22, 163, 74, 0.4);
    filter: brightness(1.08);
  }
}

@keyframes hero-route-shuttle {
  0% {
    left: 0%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  86% {
    left: 100%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  90% {
    left: 100%;
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  91% {
    left: 0%;
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  94% {
    left: 0%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    left: 0%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes hero-route-fill {
  0% {
    width: 0%;
    opacity: 1;
  }
  86% {
    width: 100%;
    opacity: 1;
  }
  90% {
    width: 100%;
    opacity: 0;
  }
  91%, 100% {
    width: 0%;
    opacity: 0;
  }
}

.eyebrow {
  color: var(--accent-copper);
  background: #fff;
  border: 1px solid rgba(122, 78, 26, 0.3);
  font-weight: 700;
}

.hero__title {
  background: none;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
  filter: none;
  font-weight: 800;
  text-shadow:
    -1px 0 0 rgba(255, 255, 255, 0.95),
    1px 0 0 rgba(255, 255, 255, 0.95),
    0 -1px 0 rgba(255, 255, 255, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 16px rgba(255, 255, 255, 0.55);
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.65);
  paint-order: stroke fill;
}

.hero__title em {
  background: none;
  -webkit-text-fill-color: #142a52;
  color: #142a52;
  animation: none;
  filter: none;
  font-style: normal;
  font-weight: 800;
  text-shadow:
    -1px 0 0 rgba(255, 255, 255, 0.98),
    1px 0 0 rgba(255, 255, 255, 0.98),
    0 -1px 0 rgba(255, 255, 255, 0.98),
    0 1px 0 rgba(255, 255, 255, 0.98),
    0 2px 14px rgba(255, 255, 255, 0.5);
  -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.75);
  paint-order: stroke fill;
}

.hero__lead {
  color: #121820 !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  line-height: 1.75 !important;
  letter-spacing: 0.01em;
  text-shadow:
    -0.5px 0 0 rgba(255, 255, 255, 0.92),
    0.5px 0 0 rgba(255, 255, 255, 0.92),
    0 -0.5px 0 rgba(255, 255, 255, 0.92),
    0 0.5px 0 rgba(255, 255, 255, 0.92),
    0 1px 12px rgba(255, 255, 255, 0.45) !important;
  max-width: 540px;
}

.hero__meta {
  color: #0a0e18 !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  text-shadow:
    -0.5px 0 0 rgba(255, 255, 255, 0.9),
    0.5px 0 0 rgba(255, 255, 255, 0.9),
    0 0 8px rgba(255, 255, 255, 0.35) !important;
}

.hero__meta .dot {
  background: var(--accent-copper);
  box-shadow: none;
}

.hero__content {
  position: relative;
  padding: 28px 32px 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(20, 42, 82, 0.14);
  border-radius: 22px;
  box-shadow:
    0 24px 64px rgba(10, 20, 40, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.hero__tag {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #121820;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(28, 45, 74, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.hero__tag:hover {
  color: var(--gold);
  border-color: rgba(28, 45, 74, 0.22);
  transform: translateY(-1px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 22px;
  padding: 14px 16px;
  list-style: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.92) 100%);
  border: 1.5px solid #52b788;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 0 20px rgba(82, 183, 136, 0.35),
    0 6px 18px rgba(45, 106, 79, 0.1);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #14532d;
  text-shadow: none;
}

.hero__trust-item svg {
  flex-shrink: 0;
  color: #16a34a;
  filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.55));
}

/* ── Трекер ── */
.tracker {
  background: #fff;
  border: 2px solid rgba(20, 42, 82, 0.16);
  box-shadow: var(--shadow);
}

.tracker--neon {
  background: #fff;
  border: 2px solid rgba(20, 42, 82, 0.18);
  box-shadow:
    0 20px 60px rgba(10, 20, 40, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tracker--neon::before {
  background: linear-gradient(135deg, rgba(20, 42, 82, 0.5), rgba(122, 78, 26, 0.35));
  opacity: 0.55;
}

.tracker--neon .tracker__badge {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 42, 82, 0.25);
  animation: none;
  text-shadow: none;
  border-color: rgba(20, 42, 82, 0.25);
}

.tracker__badge {
  color: #fff;
  background: var(--gold);
  border-color: rgba(20, 42, 82, 0.25);
  box-shadow: 0 4px 14px rgba(20, 42, 82, 0.2);
  text-shadow: none;
}

.tracker__route {
  color: var(--text) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.tracker__label {
  color: var(--text-dim) !important;
  font-weight: 600 !important;
}

.tracker__step.is-done .tracker__label,
.tracker__step.is-active .tracker__label {
  color: var(--gold) !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.tracker__bar {
  background: rgba(20, 42, 82, 0.1) !important;
  box-shadow: inset 0 1px 3px rgba(10, 20, 40, 0.12) !important;
}

.tracker__bar span {
  background: linear-gradient(90deg, #142a52, #1e4080, #7a4e1a);
  animation: none;
}

.tracker__pct {
  color: var(--text-dim) !important;
  font-weight: 700 !important;
}

.tracker__step.is-done .tracker__pct,
.tracker__step.is-active .tracker__pct {
  color: var(--gold-light) !important;
  text-shadow: none !important;
}

.tracker__note {
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  border-top-color: rgba(20, 42, 82, 0.14) !important;
}

.tracker__brand-line {
  background: linear-gradient(90deg, var(--accent-copper), var(--gold-light)) !important;
  box-shadow: none !important;
  animation: none !important;
}

.tracker__brand-blue,
.tracker__brand .brand__legal-blue {
  background: linear-gradient(135deg, #1c2d4a, #3d5a80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tracker__brand .brand__legal-dark {
  color: var(--text);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.tracker__step.is-active .tracker__label {
  color: var(--gold);
}

/* ── Статистика ── */
.stat {
  background: #fff;
  border: 2px solid rgba(20, 42, 82, 0.14);
  box-shadow: 0 8px 32px rgba(10, 20, 40, 0.1);
}

.stat::before {
  display: none;
}

.stat::after {
  background: radial-gradient(ellipse at center, rgba(28, 45, 74, 0.04) 0%, transparent 70%);
}

.stat:hover {
  border-color: rgba(28, 45, 74, 0.18);
}

.stat__icon {
  color: var(--gold);
  background: rgba(28, 45, 74, 0.06);
  border: 1px solid rgba(28, 45, 74, 0.1);
  box-shadow: none;
}

.stat strong {
  background: none;
  -webkit-text-fill-color: var(--gold);
  color: var(--gold);
  text-shadow: none;
  font-weight: 800;
}

.stat span:last-child {
  color: var(--text-muted) !important;
  font-weight: 600 !important;
}

/* ── Hub cards ── */
.hub::before {
  background: linear-gradient(180deg, transparent, rgba(243, 241, 236, 0.85) 12%);
}

.hub-card {
  background: #fff;
  border: 2px solid rgba(20, 42, 82, 0.14);
  box-shadow: 0 8px 32px rgba(10, 20, 40, 0.1);
}

.hub-card::before {
  background: linear-gradient(
    120deg,
    rgba(28, 45, 74, 0.08) 0%,
    rgba(154, 115, 73, 0.18) 50%,
    rgba(28, 45, 74, 0.08) 100%
  );
  animation: none;
  opacity: 0.55;
}

.hub-card:hover {
  background: #fff;
  border-color: rgba(28, 45, 74, 0.2);
  box-shadow: 0 16px 48px rgba(20, 32, 52, 0.1);
  transform: translateY(-4px);
}

.hub-card__num {
  color: var(--accent-copper);
  background: none;
  opacity: 1;
  font-weight: 700;
  align-self: flex-start;
  font-size: 0.875rem;
}

.hub-card h2 {
  color: var(--text);
}

.hub-card p {
  color: var(--text-muted);
  font-weight: 500;
}

.hub-card__arrow {
  color: var(--gold);
}

/* ── Карточки страниц ── */
.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 74, 0.08);
  box-shadow: 0 8px 28px rgba(20, 32, 52, 0.05);
}

.card:hover {
  background: #fff;
  border-color: rgba(28, 45, 74, 0.16);
  box-shadow: 0 16px 40px rgba(20, 32, 52, 0.08);
}

.card__icon {
  background: var(--gold);
  color: #fff;
  opacity: 1;
}

/* ── Timeline, FAQ, etc. ── */
.timeline__num,
.back-link {
  color: var(--accent-copper);
}

.timeline__item {
  border-left-color: rgba(28, 45, 74, 0.15);
}

.faq__item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 74, 0.08);
}

.faq__item[open] {
  border-color: rgba(28, 45, 74, 0.16);
  box-shadow: 0 8px 28px rgba(20, 32, 52, 0.06);
}

.requisites__card,
.contact__channels .channel,
.form,
.guarantee-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(28, 45, 74, 0.08);
}

.checklist li::before {
  background: var(--accent-copper);
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(28, 45, 74, 0.03) 20%, rgba(28, 45, 74, 0.03) 80%, transparent);
}

/* ── Footer ── */
.footer {
  background: linear-gradient(180deg, transparent, rgba(28, 45, 74, 0.03));
  border-top: 1px solid rgba(28, 45, 74, 0.08);
}

.footer__nav a:hover,
.footer__legal a {
  color: var(--gold);
}

/* ── Прочее ── */
.to-top {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 24px rgba(28, 45, 74, 0.22);
}

.lang-switch__btn.is-active {
  background: var(--gold);
  color: #fff;
}

.mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(28, 45, 74, 0.1);
}

.burger span {
  background: var(--text);
}

.section__lead,
.hero__lead,
.hero__meta,
p {
  color: var(--text-muted);
}

.hero__title {
  color: var(--text);
}

.section__head h2,
.page-hero h1 {
  color: var(--text);
}

.section__lead {
  color: var(--text-muted);
  font-weight: 500;
}

.nav a,
.nav__link {
  font-weight: 600;
}

.nav a:hover,
.nav__link:hover,
.nav a.is-active,
.nav__link.is-active {
  color: var(--gold);
  text-shadow: none;
}

.footer__nav a {
  transition: color 0.2s;
}

.back-link {
  font-weight: 700;
}

.back-link:hover {
  color: var(--gold-light);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
}

/* ── Формы ── */
.form input,
.form textarea {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(28, 45, 74, 0.12);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(28, 45, 74, 0.08);
}

.form.is-success .form__submit {
  background: linear-gradient(180deg, #2d6a4f 0%, #1b4332 100%);
}

/* ── Портфолио и карусели ── */
.carousel-frame {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 74, 0.1);
  box-shadow: 0 12px 40px rgba(20, 32, 52, 0.07);
}

.carousel-frame::before {
  background: linear-gradient(
    120deg,
    rgba(28, 45, 74, 0.06) 0%,
    rgba(154, 115, 73, 0.14) 50%,
    rgba(28, 45, 74, 0.06) 100%
  );
  animation: none;
  opacity: 0.5;
}

.media-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(28, 45, 74, 0.1);
  box-shadow: 0 8px 32px rgba(20, 32, 52, 0.06);
}

.media-card::before {
  animation: none;
  opacity: 0.45;
}

.photo-track .photo-card {
  border: 1px solid rgba(28, 45, 74, 0.12);
  box-shadow: 0 4px 16px rgba(20, 32, 52, 0.08);
}

.carousel__btn {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(28, 45, 74, 0.12);
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(20, 32, 52, 0.06);
}

.carousel__btn:hover:not(:disabled) {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 20px rgba(28, 45, 74, 0.18);
}

/* ── Договор и прочие блоки ── */
.contract__toolbar {
  background: rgba(28, 45, 74, 0.03);
}

.contract__pages {
  color: var(--gold-light);
  background: rgba(28, 45, 74, 0.05);
}

.contract__viewer {
  background: #e8eaee;
}

.page-hero {
  border-bottom-color: rgba(28, 45, 74, 0.08);
}

.channel:hover {
  border-color: rgba(28, 45, 74, 0.16);
  background: #fff;
}

.review-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(28, 45, 74, 0.1);
  box-shadow: 0 8px 32px rgba(20, 32, 52, 0.06);
}

.review-card::before {
  animation: none;
  opacity: 0.45;
}

.portfolio-cta {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 74, 0.1);
  box-shadow: var(--shadow);
}

.inline-link:hover {
  color: var(--gold);
}

/* ── Отключение неоновых эффектов из базовой темы ── */
.tracker__bar span,
.hub-card::before,
.stat::before,
.hero__title em,
.hero__content .eyebrow,
.hero__content .eyebrow::before,
.hero__content .eyebrow::after,
.carousel-frame::before,
.media-card::before,
.review-card::before,
.tracker__brand-line {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero__route-shuttle,
  .hero__route-track::after,
  .hero__route-time {
    animation: none !important;
  }

  .hero__route-shuttle {
    left: 88%;
  }

  .hero__route-track::after {
    width: 100%;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero__content {
    padding: 22px 20px 24px;
  }

  .hero__intro {
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero__route {
    grid-template-columns: auto 1fr auto;
    row-gap: 8px;
    max-width: none;
    padding: 10px 12px;
  }

  .hero__route-time {
    grid-column: 1 / -1;
    justify-self: start;
    padding-left: 0;
    min-height: 0;
  }

  .hero__trust {
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }

  .ambient__image {
    opacity: 0.3;
    object-position: 60% 40%;
  }

  .ambient::after {
    background:
      linear-gradient(90deg, rgba(236, 234, 228, 0.97) 0%, rgba(236, 234, 228, 0.9) 50%, rgba(236, 234, 228, 0.5) 75%, transparent 95%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 38%, rgba(236, 234, 228, 0.7) 100%);
  }
}
