/* Global Reach Logistics — custom polish beyond Tailwind CDN */

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(128, 42, 42, 0.06), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(11, 22, 44, 0.05), transparent 50%),
    #fff;
}

.hero-surface {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #0B162C;
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.03);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

.hero-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 22, 44, 0.92) 0%, rgba(11, 22, 44, 0.72) 42%, rgba(11, 22, 44, 0.35) 100%),
    linear-gradient(to top, rgba(11, 22, 44, 0.75), transparent 45%);
}

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

@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.track-bar {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
}

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 22, 44, 0.18), transparent);
}

.service-panel {
  position: relative;
  overflow: hidden;
}

.service-panel img {
  transition: transform 0.7s ease;
}

.service-panel:hover img {
  transform: scale(1.05);
}

.timeline-rail {
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-wine), rgba(11, 22, 44, 0.15));
}

.timeline-dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--brand-wine);
  background: var(--brand-wine);
}

.timeline-dot.is-pending {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(11, 22, 44, 0.25);
}

.quote-result {
  animation: fade-up 0.45s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-surface::before,
  .reveal,
  .quote-result {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
