/* ===== Главная — федеральная ===== */

.hero--home {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 140, 0, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 140, 0, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  pointer-events: none;
}

.hero--home .container {
  position: relative;
  z-index: 1;
}

.hero--home .hero__grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero--home .hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  letter-spacing: -0.02em;
}

.hero--home .hero__title span {
  background: linear-gradient(135deg, var(--orange) 0%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero__pill {
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--gray);
  background: rgba(20, 20, 20, 0.8);
}

.hero__pill--hot {
  border-color: rgba(255, 140, 0, 0.45);
  color: var(--orange);
  background: var(--orange-dim);
}

.hero__visual-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(20, 20, 20, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: rgba(255, 140, 0, 0.35);
  transform: translateX(4px);
}

.stat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--orange-dim);
  border: 1px solid rgba(255, 140, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-top: 0.15rem;
}

/* Города */
.section--glow {
  position: relative;
}

.section--glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.4;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.875rem;
}

.city-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s;
  color: var(--white);
}

.city-card:hover {
  border-color: var(--orange);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.city-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.city-card__meta {
  font-size: 0.6875rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.city-card--live {
  border-color: rgba(255, 140, 0, 0.35);
}

.city-card--live .city-card__meta {
  color: var(--orange);
}

.city-card__badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--orange);
  color: #000;
  border-radius: 4px;
}

/* Трассы */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.route-card {
  display: block;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  color: var(--white);
  transition: all 0.2s;
}

.route-card:hover {
  border-color: var(--orange);
  border-left-width: 4px;
  transform: translateY(-2px);
}

.route-card__highway {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.route-card__name {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.route-card__text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

.route-card__regions {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-dark);
}

/* Услуги — крупные */
.service--big {
  padding: 2rem;
  text-align: center;
}

.service--big .service__icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.service--big .service__title {
  font-size: 1.125rem;
}

/* CTA полоса */
.cta-band {
  padding: 4rem 0;
  background:
    linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, transparent 50%),
    var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  max-width: 520px;
}

.cta-band__text {
  color: var(--gray);
  margin-top: 0.5rem;
  font-size: 0.9375rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 1.5rem;
}

.section-link:hover {
  gap: 0.6rem;
}

/* Десктоп: визуал грузовика. На мобильном остаётся прежний первый экран. */
@media (min-width: 769px) {
  .hero--home {
    isolation: isolate;
    background:
      linear-gradient(90deg, #080808 0%, rgba(8, 8, 8, 0.96) 35%, rgba(8, 8, 8, 0.44) 65%, rgba(8, 8, 8, 0.14) 100%),
      linear-gradient(0deg, rgba(8, 8, 8, 0.66), transparent 44%),
      url("hero-federal-highway.png") center right / cover no-repeat;
  }

  .hero--home::before {
    z-index: -1;
    background:
      radial-gradient(ellipse 70% 58% at 13% 72%, rgba(255, 140, 0, 0.1) 0%, transparent 56%),
      linear-gradient(90deg, rgba(255, 140, 0, 0.08), transparent 34%);
  }

  .hero--home::after {
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.16), transparent 32%);
    mask-image: linear-gradient(90deg, black, transparent 55%);
  }

  .hero--home .hero__visual-stack {
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .hero--home {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .hero--home .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual-stack {
    order: -1;
  }

  .stat-card {
    padding: 1rem 1.25rem;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }
}
