.home-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.home-hero__media,
.home-hero__media::before,
.home-hero__media::after {
  position: absolute;
  inset: 0;
}

.home-hero__media {
  z-index: -2;
  background: url("../../assets/images/home-hero-long-distance.webp?v=20260616r6") center / cover no-repeat;
  animation: hero-breathe 16s ease-in-out infinite alternate;
}

.home-hero__media::before {
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.96) 0%, rgba(4, 10, 18, 0.72) 45%, rgba(4, 10, 18, 0.12) 78%),
    linear-gradient(0deg, rgba(4, 10, 18, 0.94) 0%, transparent 48%);
  content: "";
}

.home-hero__media::after {
  background: linear-gradient(120deg, transparent 48%, rgba(243, 107, 22, 0.12));
  content: "";
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: 40px;
  align-items: end;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 72px;
}

.home-hero__content {
  animation: hero-copy-in 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.home-hero__kicker::before {
  width: 46px;
  height: 3px;
  background: var(--color-orange);
  content: "";
}

.home-hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6.4vw, 6.8rem);
  font-weight: 900;
  line-height: 1.05;
}

.home-hero h1 span {
  color: var(--color-orange-soft);
}

.home-hero__copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: #d5dbe3;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__proof {
  display: grid;
  justify-self: end;
  gap: 1px;
  border: 1px solid var(--color-line);
  background: var(--color-line);
  box-shadow: var(--shadow-heavy);
  animation: hero-proof-in 900ms 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-proof-item {
  min-width: 210px;
  padding: 18px 22px;
  background: rgba(8, 17, 29, 0.84);
  backdrop-filter: blur(14px);
}

.hero-proof-item strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.hero-proof-item span {
  color: var(--color-muted);
  font-size: 0.76rem;
}

.trust-rail {
  position: relative;
  overflow: clip;
  max-width: 100%;
  border-block: 1px solid var(--color-line);
  background: #09121f;
}

.trust-rail__track {
  display: flex;
  width: max-content;
  animation: rail-move 30s linear infinite;
}

.trust-rail__set {
  display: flex;
  align-items: center;
}

.trust-rail__set[aria-hidden="true"] {
  pointer-events: none;
}


.trust-rail__item {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding-inline: 34px;
  color: #dbe0e7;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.trust-rail__item::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 18px rgba(243, 107, 22, 0.72);
  content: "";
}

.routes-intro {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.routes-copy .section-title {
  font-size: clamp(2.3rem, 4.5vw, 4.7rem);
}

.route-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-block: 1px solid var(--color-line);
}

.route-stat {
  padding: 22px 0;
}

.route-stat + .route-stat {
  padding-right: 18px;
  border-right: 1px solid var(--color-line);
}

.route-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.route-stat span {
  color: var(--color-muted);
  font-size: 0.76rem;
}

.services-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.services-heading {
  position: sticky;
  top: 120px;
}

.services-list {
  counter-reset: service;
}

.service-row {
  position: relative;
  display: grid;
  min-height: 148px;
  grid-template-columns: 72px 1fr 32px;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--color-line);
  transition: padding 220ms ease, background 220ms ease;
}

.service-row:last-child {
  border-bottom: 1px solid var(--color-line);
}

.service-row::before {
  color: var(--color-orange);
  content: "0" counter(service);
  counter-increment: service;
  font-size: 0.82rem;
  font-weight: 900;
}

.service-row h3 {
  margin-bottom: 7px;
  font-size: clamp(1.22rem, 2vw, 1.65rem);
}

.service-row p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.service-row > svg {
  justify-self: end;
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  transition: color 180ms ease, transform 180ms ease;
}

.service-row:hover {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.service-row:hover > svg {
  color: var(--color-orange);
  transform: translateX(-6px);
}

.work-story {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
}

.work-story__primary,
.work-story__secondary {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}

.work-story__secondary {
  display: grid;
  min-height: 580px;
  grid-template-rows: 1fr auto;
}

.work-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-story__primary:hover img,
.work-story__secondary:hover img {
  transform: scale(1.035);
}

.work-story__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 70px 30px 28px;
  background: linear-gradient(0deg, rgba(5, 11, 19, 0.96), transparent);
}

.work-story__caption strong {
  display: block;
  font-size: 1.35rem;
}

.work-story__caption span {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-block: 1px solid var(--color-line);
}

.process-step {
  position: relative;
  min-height: 230px;
  padding: 34px 24px;
}

.process-step + .process-step {
  border-right: 1px solid var(--color-line);
}

.process-step span {
  display: block;
  margin-bottom: 32px;
  color: var(--color-orange);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.final-cta {
  overflow: hidden;
  padding-block: 120px;
  background:
    linear-gradient(90deg, rgba(6, 14, 24, 0.97), rgba(6, 14, 24, 0.6)),
    url("../../assets/images/article-intercity-hero.webp?v=20260616r6") center / cover no-repeat;
}

.final-cta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 900;
}

@keyframes hero-breathe {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-proof-in {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-proof-in-mobile {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rail-move {
  to { transform: translateX(50%); }
}

@media (max-width: 980px) {
  .home-hero__grid,
  .routes-intro,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .home-hero__grid {
    align-items: end;
  }

  .home-hero__proof {
    grid-template-columns: repeat(3, 1fr);
    justify-self: stretch;
  }

  .hero-proof-item {
    min-width: 0;
  }

  .services-heading {
    position: static;
  }

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

  .process-step:nth-child(3) {
    border-right: 0;
    border-top: 1px solid var(--color-line);
  }

  .process-step:nth-child(4) {
    border-top: 1px solid var(--color-line);
  }
}

@media (max-width: 700px) {
  .home-hero {
    min-height: 880px;
  }

  .home-hero__media {
    background-position: 64% center;
  }

  .home-hero__media::before {
    background:
      linear-gradient(0deg, rgba(4, 10, 18, 0.98) 0%, rgba(4, 10, 18, 0.74) 64%, rgba(4, 10, 18, 0.2) 100%);
  }

  .home-hero__grid {
    padding-bottom: 34px;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 14vw, 4.9rem);
  }

  .home-hero__proof {
    max-width: 100%;
    grid-template-columns: 1fr;
    animation: hero-proof-in-mobile 780ms 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero-proof-item {
    padding: 12px 16px;
  }



  .trust-rail {
    padding-block: 8px;
  }

  .trust-rail__track {
    display: block;
    width: auto;
    animation: none;
    transform: none;
  }

  .trust-rail__set {
    display: grid;
    gap: 0;
  }

  .trust-rail__set[aria-hidden="true"] {
    display: none;
  }

  .trust-rail__item {
    min-height: 54px;
    padding-inline: 20px;
  }

  .route-stats {
    grid-template-columns: 1fr;
  }

  .route-stat + .route-stat {
    padding-right: 0;
    border-top: 1px solid var(--color-line);
    border-right: 0;
  }

  .service-row {
    grid-template-columns: 38px 1fr 24px;
    gap: 12px;
  }

  .work-story {
    grid-template-columns: 1fr;
  }

  .work-story__primary,
  .work-story__secondary {
    min-height: 430px;
  }

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

  .process-step + .process-step {
    border-top: 1px solid var(--color-line);
    border-right: 0;
  }

  .final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
