/* ============================================
   VIRTUOSO LOGISTICS - Premium Website
   Dark Industrial Luxury Theme
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --color-bg: #0a0a0c;
  --color-bg-alt: #111114;
  --color-bg-card: #16161a;
  --color-bg-card-hover: #1c1c22;
  --color-surface: #1e1e24;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-light: rgba(255, 255, 255, 0.1);

  --color-text: #e8e6e3;
  --color-text-muted: #8a8a8e;
  --color-text-dim: #5a5a5e;

  --color-accent: #c8a456;
  --color-accent-light: #dabb6e;
  --color-accent-dark: #a68a3e;
  --color-accent-glow: rgba(200, 164, 86, 0.15);

  --color-white: #ffffff;
  --color-black: #000000;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 12vw, 160px);
  --container-max: 1280px;
  --container-pad: clamp(20px, 5vw, 48px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-line {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  animation: preloaderLine 1.2s var(--ease-in-out) infinite;
}

@keyframes preloaderLine {
  0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--color-text-muted);
}

/* --- Grain Overlay --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out-expo);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 65px;
  width: auto;
  transition: opacity 0.3s, height 0.3s;
}

.header.scrolled .nav-logo-img {
  height: 52px;
}

.nav-logo-img:hover {
  opacity: 0.85;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 75px;
  width: auto;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  color: var(--color-bg);
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 164, 86, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(200, 164, 86, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(100, 100, 120, 0.05) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* Hero Parallax Layers */
.hero-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-layer--horizon {
  bottom: 25%;
}

.horizon-line {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 86, 0.15), rgba(200, 164, 86, 0.25), rgba(200, 164, 86, 0.15), transparent);
}

.horizon-glow {
  position: absolute;
  bottom: -20px;
  left: 20%;
  right: 20%;
  height: 40px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(200, 164, 86, 0.06) 0%, transparent 70%);
}

.hero-layer--road {
  bottom: 10%;
  height: 200px;
  top: auto;
}

.road-svg {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  opacity: 0.6;
}

.hero-layer--truck {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 220px;
  height: 100px;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo);
  transform-origin: center center;
  z-index: 100;
  pointer-events: none;
}

.hero-layer--truck.visible {
  opacity: 1;
}

.truck-svg {
  width: 100%;
  height: 100%;
}

.hero-layer--dust {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 60px;
  height: 150px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(200, 164, 86, 0.06) 0%, transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 1s;
  z-index: 99;
  pointer-events: none;
}

.hero-layer--dust.visible {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid rgba(200, 164, 86, 0.2);
  border-radius: 100px;
  background: rgba(200, 164, 86, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-word {
  display: inline-block;
}

.hero-title-word--italic {
  font-style: italic;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 164, 86, 0.25);
}

.btn--primary svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn--primary:hover svg {
  transform: translateX(4px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--large {
  padding: 20px 40px;
  font-size: 15px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  right: var(--container-pad);
  bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  writing-mode: vertical-rl;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.hero-stat {
  padding: 40px;
  background: var(--color-bg);
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* --- Trust Bar --- */
.trust-bar {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  border-top: 1px solid rgba(200, 164, 86, 0.12);
  border-bottom: 1px solid rgba(200, 164, 86, 0.12);
  padding: 16px 0;
}

.trust-bar-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.trust-bar-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-bar-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
}

.trust-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.trust-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.3;
  flex-shrink: 0;
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  position: relative;
  padding-left: 32px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  color: var(--color-accent);
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* --- About Section --- */
.about {
  border-top: 1px solid var(--color-border);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.about-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  transition: all 0.4s var(--ease-out-expo);
}

.about-feature:hover {
  border-color: rgba(200, 164, 86, 0.2);
  background: var(--color-bg-card-hover);
  transform: translateX(8px);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

.about-feature h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* --- Services Section --- */
.services {
  background: var(--color-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 48px 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover {
  border-color: rgba(200, 164, 86, 0.15);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.service-icon {
  color: var(--color-accent);
  margin-bottom: 24px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.service-line {
  margin-top: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.service-card:hover .service-line {
  transform: scaleX(1);
}

/* --- Fleet Section --- */
.fleet {
  border-top: 1px solid var(--color-border);
}

.fleet-specs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.fleet-spec-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.fleet-spec-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.fleet-spec-value {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
}

.fleet-spec-bar {
  height: 3px;
  background: var(--color-surface);
  border-radius: 4px;
  overflow: hidden;
}

.fleet-spec-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
  border-radius: 4px;
  width: 0;
  transition: width 1.5s var(--ease-out-expo);
}

.fleet-spec-fill.animated {
  width: var(--target-width);
}

.fleet-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fleet-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.fleet-highlight:hover {
  border-color: rgba(200, 164, 86, 0.2);
  color: var(--color-text);
}

.fleet-highlight svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* --- Coverage Section --- */
.coverage {
  background: var(--color-bg-alt);
}

.coverage-map {
  margin-bottom: 60px;
}

.map-container {
  position: relative;
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  overflow: hidden;
}

.us-map {
  width: 100%;
  height: auto;
  max-height: 400px;
}

.state-path {
  fill: rgba(200,164,86,0.04);
  stroke: rgba(200,164,86,0.2);
  stroke-width: 0.8;
  opacity: 0;
  animation: fadeInState 2s ease forwards;
}

.state-path:nth-child(odd) {
  fill: rgba(200,164,86,0.06);
}

@keyframes fadeInState {
  to { opacity: 1; }
}

.state-path:nth-child(1)  { animation-delay: 0.3s; }
.state-path:nth-child(2)  { animation-delay: 0.35s; }
.state-path:nth-child(3)  { animation-delay: 0.4s; }
.state-path:nth-child(4)  { animation-delay: 0.45s; }
.state-path:nth-child(5)  { animation-delay: 0.5s; }
.state-path:nth-child(6)  { animation-delay: 0.55s; }
.state-path:nth-child(7)  { animation-delay: 0.6s; }
.state-path:nth-child(8)  { animation-delay: 0.65s; }
.state-path:nth-child(9)  { animation-delay: 0.7s; }
.state-path:nth-child(10) { animation-delay: 0.75s; }
.state-path:nth-child(11) { animation-delay: 0.8s; }
.state-path:nth-child(12) { animation-delay: 0.85s; }
.state-path:nth-child(n+13):nth-child(-n+24) { animation-delay: 0.9s; }
.state-path:nth-child(n+25):nth-child(-n+36) { animation-delay: 1.0s; }
.state-path:nth-child(n+37):nth-child(-n+48) { animation-delay: 1.1s; }

.route-line {
  stroke: var(--color-accent);
  stroke-width: 0.5;
  opacity: 0;
  stroke-dasharray: 8, 8;
  animation: showRoute 1s forwards, dashFlow 20s linear infinite;
}

.route-line--1 { animation-delay: 1.5s, 1.5s; }
.route-line--2 { animation-delay: 2s, 2s; }
.route-line--3 { animation-delay: 2.5s, 2.5s; }

@keyframes showRoute {
  to { opacity: 0.25; }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -100; }
}

.map-dot {
  fill: var(--color-accent);
  opacity: 0;
  animation: fadeDot 0.5s var(--ease-out-expo) forwards;
}

.map-dot:nth-child(4) { animation-delay: 1.8s; }
.map-dot:nth-child(5) { animation-delay: 2.1s; }
.map-dot:nth-child(6) { animation-delay: 1.5s; }
.map-dot:nth-child(7) { animation-delay: 2.4s; }
.map-dot:nth-child(8) { animation-delay: 2.7s; }
.map-dot:nth-child(9) { animation-delay: 3s; }

@keyframes fadeDot {
  to { opacity: 0.8; }
}

.map-dot--home {
  fill: var(--color-accent);
  opacity: 0;
  animation: fadeDot 0.5s var(--ease-out-expo) forwards 1.5s;
}

.map-pulse {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1;
  opacity: 0;
  animation: mapPulse 3s ease-out infinite 2s;
}

.map-pulse--delay {
  animation-delay: 3s;
}

@keyframes mapPulse {
  0% { r: 8; opacity: 0.6; }
  100% { r: 30; opacity: 0; }
}

.coverage-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coverage-route {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
}

.coverage-route:hover {
  border-color: rgba(200, 164, 86, 0.2);
  transform: translateY(-4px);
}

.route-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

.coverage-route h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}

.coverage-route p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(200, 164, 86, 0.08) 0%, transparent 60%);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-title em {
  font-style: italic;
  color: var(--color-accent);
}

.cta-text {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
  border-top: 1px solid var(--color-border);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-item a,
.contact-item span {
  font-size: 16px;
  color: var(--color-text);
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--color-accent);
}

/* Contact Form */
.contact-form {
  padding: 48px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8a8e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Footer --- */
.footer {
  padding: 80px 0 40px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text);
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  display: block;
  font-size: 14px;
  color: var(--color-text-dim);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-dim);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Hero-specific staggered reveals */
.hero .reveal:nth-child(1) { transition-delay: 0.2s; }
.hero .reveal:nth-child(2) { transition-delay: 0.35s; }
.hero .reveal:nth-child(3) { transition-delay: 0.5s; }
.hero .reveal:nth-child(4) { transition-delay: 0.65s; }
.hero .reveal:nth-child(5) { transition-delay: 0.8s; }

.hero-stats .reveal:nth-child(1) { transition-delay: 0.3s; }
.hero-stats .reveal:nth-child(2) { transition-delay: 0.45s; }
.hero-stats .reveal:nth-child(3) { transition-delay: 0.6s; }
.hero-stats .reveal:nth-child(4) { transition-delay: 0.75s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .coverage-routes {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links .nav-link {
    font-size: 24px;
    letter-spacing: 0.05em;
    color: var(--color-text);
  }

  .nav-links .nav-link--cta {
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }

  .hero-stat {
    padding: 24px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .fleet-highlights {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
  }

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

  .hero-stat-number {
    font-size: 32px;
  }

  .btn--large {
    padding: 16px 28px;
    font-size: 14px;
  }
}

/* --- Selection --- */
::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-dark);
}
