:root {
  --ink: #08090a;
  --graphite: #111315;
  --steel: #232629;
  --smoke: #6f7478;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f2f1ed;
  --white: #fff;
  --success: #9be49b;
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--white); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, height .3s;
}
.site-header.scrolled { height: 74px; background: rgba(8, 9, 10, .9); border-color: var(--line); backdrop-filter: blur(18px); }
.site-header.scrolled .brand { width: 170px; height: 66px; }
.brand { width: 210px; height: 90px; display: flex; align-items: center; justify-content: flex-start; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: center; image-rendering: auto; }
.site-footer img { width: 100%; aspect-ratio: 2.05 / 1; object-fit: contain; object-position: center; image-rendering: auto; }
.primary-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; letter-spacing: .04em; }
.primary-nav > a:not(.nav-action) { color: #c7c9ca; transition: color .2s; }
.primary-nav > a:hover { color: var(--white); }
.nav-action { padding: 13px 18px; border: 1px solid #777b7e; }
.menu-button { display: none; border: 0; background: none; color: white; width: 42px; height: 42px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; margin: 7px auto; transition: transform .25s; }

.hero { position: relative; min-height: 820px; height: 100svh; padding: 170px max(28px, calc((100vw - var(--max)) / 2)) 80px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 8vw; overflow: hidden; background: radial-gradient(circle at 77% 40%, #24272a 0, #111315 23%, #08090a 57%); }
.hero::after { content: "RK"; position: absolute; right: -2vw; bottom: -14vw; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.045); font-size: min(45vw, 650px); font-weight: 800; line-height: 1; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: #b7babc; font-size: 11px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #5f6366; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 30px; font-size: clamp(50px, 6.1vw, 92px); line-height: .98; letter-spacing: -.055em; font-weight: 550; }
h1 em { color: #8f9498; font-style: normal; font-weight: 350; }
.hero-description { max-width: 640px; color: #aeb1b3; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 42px; }
.button { display: inline-flex; justify-content: center; padding: 16px 22px; font-size: 13px; font-weight: 650; }
.button-light { background: var(--white); color: var(--ink); }
.text-link { font-size: 13px; color: #d6d7d7; }
.text-link span { margin-left: 8px; }
.hero-visual { min-height: 500px; margin: 0; display: flex; align-items: center; justify-content: center; }
.hero-truck { position: relative; z-index: 2; width: min(58vw, 850px); max-width: none; margin-left: -6vw; filter: drop-shadow(0 34px 30px rgba(0,0,0,.52)); transform: translateY(-10px); }
.truck-aura { position: absolute; z-index: 0; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.11), rgba(255,255,255,.015) 52%, transparent 70%); box-shadow: 0 0 0 60px rgba(255,255,255,.012), 0 0 0 120px rgba(255,255,255,.008); }
.hero-visual figcaption { position: absolute; z-index: 3; top: 32px; right: 0; min-width: 220px; padding: 17px 18px; border: 1px solid var(--line); background: rgba(8,9,10,.68); backdrop-filter: blur(14px); }
.hero-visual figcaption p { margin: 8px 0 0; color: #777b7e; font-size: 10px; }
.live-indicator { font-size: 10px; color: #b5b8ba; text-transform: uppercase; letter-spacing: .1em; }
.live-indicator i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(155,228,155,.08); }
.operations-stats { position: absolute; z-index: 3; right: 0; bottom: 4px; width: min(100%, 510px); display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(8,9,10,.72); backdrop-filter: blur(12px); }
.operations-stats div { padding-left: 18px; border-left: 1px solid var(--line); }
.operations-stats strong, .operations-stats span { display: block; }
.operations-stats strong { margin-bottom: 5px; font-size: 20px; font-weight: 500; }
.operations-stats span { color: #73777a; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.hero-index { position: absolute; right: max(28px, calc((100vw - var(--max)) / 2)); bottom: 38px; color: #787c80; font-size: 11px; letter-spacing: .16em; }
.hero-index span { margin: 0 7px; color: #3b3e40; }

.tracking-section, .fleet-section, .services-section, .contact-section { background: var(--paper); color: var(--ink); }
.tracking-section { padding: 120px max(28px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; }
.section-intro h2, .services-heading h2, .contact-main h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.045em; font-weight: 500; }
.tracking-panel { align-self: end; }
.tracking-form label { display: block; margin-bottom: 14px; color: #666a6d; font-size: 11px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.tracking-control { display: flex; border-bottom: 1px solid #a6a8a7; }
.tracking-control:focus-within { border-color: var(--ink); }
.tracking-control input { flex: 1; min-width: 0; padding: 18px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.tracking-control input::placeholder { color: #a2a4a4; }
.tracking-control button { border: 0; background: transparent; color: var(--ink); font-weight: 650; cursor: pointer; }
.tracking-control button span { margin-left: 14px; }
.tracking-form > p { min-height: 18px; margin-top: 13px; color: #777a7a; font-size: 12px; }
.tracking-status.error { color: #8c2929; }.tracking-status.success { color: #276b40; }
.tracking-result { display: grid; gap: 6px; margin-top: 18px; padding: 18px 20px; border-left: 3px solid var(--ink); background: #e7e6e1; }
.tracking-result[hidden] { display: none; }
.tracking-result strong { color: var(--ink); font-size: 18px; }
.tracking-result span { color: #46494a; font-size: 13px; line-height: 1.5; }
.tracking-result small { color: #6d7071; font-size: 11px; letter-spacing: .02em; }
.tracking-note { display: flex; gap: 14px; margin-top: 38px; padding: 22px; background: #e7e6e1; }
.tracking-note > span { font-size: 24px; }
.tracking-note p { margin: 0; color: #676a6b; font-size: 12px; line-height: 1.6; }
.tracking-note strong { display: block; color: var(--ink); font-size: 13px; }

.company-section { position: relative; padding: 150px max(28px, calc((100vw - var(--max)) / 2)); background: var(--graphite); overflow: hidden; }
.section-number { position: absolute; top: 80px; right: 7vw; color: rgba(255,255,255,.025); font-size: 280px; font-weight: 750; line-height: 1; }
.company-copy { max-width: 820px; }
.company-copy h2, .coverage-copy h2 { margin-bottom: 35px; font-size: clamp(45px, 6vw, 78px); line-height: 1.04; letter-spacing: -.05em; font-weight: 500; }
.company-copy > p:last-child, .coverage-copy > p:last-child { max-width: 690px; color: #9b9fa2; font-size: 17px; line-height: 1.8; }
.company-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 95px; background: var(--line); }
.company-values article { padding: 30px 0 8px 32px; background: var(--graphite); }
.company-values span, .service-item > span { color: #606467; font-size: 10px; letter-spacing: .15em; }
.company-values h3 { margin: 55px 0 15px; font-size: 20px; font-weight: 500; }
.company-values p { max-width: 280px; color: #777b7e; font-size: 13px; line-height: 1.65; }
.company-manifesto { max-width: 870px; margin: 90px 0 0 auto; padding: 0 0 0 36px; border-left: 1px solid #55595c; color: #d4d6d7; font-size: clamp(25px, 3vw, 42px); font-weight: 300; line-height: 1.35; letter-spacing: -.025em; }

.fleet-section { padding: 130px max(28px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; border-bottom: 1px solid #d0cfca; }
.fleet-heading h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.045em; font-weight: 500; }
.fleet-details { display: grid; grid-template-columns: repeat(3, 1fr); align-self: end; }
.fleet-details article { min-height: 250px; padding: 24px; border-left: 1px solid #c9c8c2; display: flex; flex-direction: column; justify-content: space-between; }
.fleet-details strong { font-size: clamp(40px, 4.5vw, 64px); font-weight: 450; letter-spacing: -.05em; }
.fleet-details strong span { color: #929493; font-weight: 300; }
.fleet-details p { margin: 0; color: #696c6d; font-size: 13px; line-height: 1.7; }
.fleet-assurances { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 9px; padding-top: 42px; border-top: 1px solid #d0cfca; }
.fleet-assurances span { position: relative; padding: 11px 14px 11px 31px; border: 1px solid #cfcec9; color: #626566; font-size: 11px; }
.fleet-assurances span::before { content: "✓"; position: absolute; left: 13px; color: var(--ink); font-weight: 750; }

.services-section { padding: 140px max(28px, calc((100vw - var(--max)) / 2)); }
.services-heading { margin-bottom: 80px; }
.service-item { display: grid; grid-template-columns: 70px .85fr 1.15fr; gap: 30px; align-items: baseline; padding: 30px 0; border-top: 1px solid #c9c8c2; }
.service-item:last-child { border-bottom: 1px solid #c9c8c2; }
.service-item h3 { font-size: 23px; font-weight: 500; }
.service-item p { max-width: 520px; color: #656869; line-height: 1.7; }
.distribution-strip { margin-top: 80px; padding-top: 28px; border-top: 1px solid #c9c8c2; }
.distribution-strip > p { color: #7b7e7f; font-size: 10px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.client-logos { display: grid !important; grid-template-columns: repeat(7, 1fr); gap: 0 !important; margin-top: 24px; border-top: 1px solid #cfcec9; border-bottom: 1px solid #cfcec9; }
.client-logos figure { height: 105px; margin: 0; padding: 20px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #cfcec9; overflow: hidden; }
.client-logos figure:last-child { border-right: 0; }
.client-logos img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .56; mix-blend-mode: multiply; transition: filter .25s, opacity .25s, transform .25s; }
.client-logos figure:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

.coverage-section { padding: 140px max(28px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .78fr 1.22fr; gap: 5vw; align-items: center; background: #0b0c0d; overflow: hidden; }
.coverage-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; color: #777b7e; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.coverage-legend span { display: flex; align-items: center; gap: 8px; }
.coverage-legend i { width: 7px; height: 7px; display: inline-block; border: 1px solid #777b7e; border-radius: 50%; }
.coverage-legend .primary-dot { border-color: #fff; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.coverage-map { position: relative; margin: 0; min-width: 0; }
.coverage-map::before { content: ""; position: absolute; inset: 9% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.055), transparent 65%); }
.coverage-map svg { position: relative; display: block; width: 100%; height: auto; color: rgba(255,255,255,.035); }
.mexico-silhouette { opacity: .13; filter: grayscale(1); }
.map-country-label { fill: rgba(255,255,255,.18); font-size: 9px; font-family: Inter, "Segoe UI", Arial, sans-serif; font-weight: 650; letter-spacing: .2em; }
.route-lines path { fill: none; stroke: #b9bdc0; stroke-width: 1.4; stroke-dasharray: 5 6; animation: routeFlow 22s linear infinite; }
.route-lines .extended-route { stroke: #5e6366; }
.map-node circle:first-child { fill: #0b0c0d; stroke: #82878a; stroke-width: 2; }
.map-node.primary circle:first-child { fill: #fff; stroke: #fff; filter: url(#node-glow); }
.map-node .pulse { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1; }
.map-node line { stroke: #5e6366; stroke-width: 1; }
.map-node text { fill: #858a8d; stroke: rgba(11,12,13,.96); stroke-width: 3px; paint-order: stroke fill; stroke-linejoin: round; font-size: 9px; font-family: Inter, "Segoe UI", Arial, sans-serif; letter-spacing: .04em; }
.map-node.primary text { fill: #d5d7d8; }
.coverage-map figcaption { margin-top: -18px; padding-top: 18px; border-top: 1px solid #26292b; color: #626669; font-size: 10px; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.coverage-map figcaption a { margin-left: 8px; color: #777b7e; text-decoration: underline; text-decoration-color: #3d4143; text-underline-offset: 3px; }
@keyframes routeFlow { to { stroke-dashoffset: -220; } }

.contact-section { padding: 130px max(28px, calc((100vw - var(--max)) / 2)) 70px; }
.contact-main { display: flex; align-items: center; justify-content: space-between; padding-bottom: 80px; border-bottom: 1px solid #c9c8c2; }
.circle-link { width: 145px; height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 50%; background: var(--ink); color: white; font-size: 13px; transition: transform .25s; }
.circle-link:hover { transform: scale(1.05); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 55px; }
.contact-details p { color: #656869; font-size: 14px; line-height: 1.7; }
.contact-details span { display: block; margin-bottom: 10px; color: #8b8e8f; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.contact-details a { color: var(--ink); }
.site-footer { min-height: 170px; padding: 40px max(28px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 40px; color: #64686a; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .brand { width: 154px; height: 62px; }
  .menu-button { display: block; z-index: 2; }
  .menu-button[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; background: rgba(8,9,10,.98); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s; font-size: 20px; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-action { margin-top: 12px; }
  .hero { height: auto; min-height: 100svh; grid-template-columns: 1fr; padding-top: 135px; gap: 65px; }
  .hero-visual { min-height: 430px; }
  .hero-truck { width: min(115vw, 830px); margin-left: -7vw; }
  .hero-visual figcaption { top: 0; right: 3vw; }
  .client-logos { grid-template-columns: repeat(4, 1fr); }
  .client-logos figure { border-bottom: 1px solid #cfcec9; }
  .tracking-section, .fleet-section, .coverage-section { grid-template-columns: 1fr; }
  .fleet-details { margin-top: 20px; }
  .company-values { grid-template-columns: 1fr; }
  .company-values article { padding-bottom: 24px; }
  .company-values h3 { margin-top: 25px; }
  .service-item { grid-template-columns: 45px 1fr; }
  .service-item p { grid-column: 2; }
  .coverage-map { margin-top: 30px; }
}

@media (max-width: 560px) {
  h1 { font-size: 48px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { min-height: 340px; margin-top: -24px; }
  .hero-truck { width: 142vw; margin-left: -29vw; }
  .truck-aura { width: 280px; height: 280px; }
  .hero-visual figcaption { top: -8px; right: 0; min-width: 185px; }
  .operations-stats { bottom: -25px; }
  .operations-stats strong { font-size: 17px; }
  .operations-stats span { font-size: 8px; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .client-logos figure { height: 94px; }
  .tracking-section, .company-section, .fleet-section, .services-section, .coverage-section, .contact-section { padding: 95px 20px; }
  .fleet-details { grid-template-columns: 1fr; }
  .fleet-details article { min-height: 190px; border-top: 1px solid #c9c8c2; border-left: 0; }
  .tracking-control { align-items: stretch; }
  .tracking-control input { font-size: 16px; }
  .tracking-control button { padding-left: 10px; }
  .company-values { margin-top: 55px; }
  .company-manifesto { margin-top: 55px; padding-left: 22px; }
  .fleet-assurances { padding-top: 28px; }
  .service-item { grid-template-columns: 30px 1fr; gap: 12px; }
  .contact-main { align-items: flex-start; flex-direction: column; gap: 40px; }
  .circle-link { width: 120px; height: 120px; }
  .contact-details { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
  .coverage-map { width: 125%; margin-left: -14%; }
  .coverage-map figcaption { margin-left: 12%; }
}
