/* =========================================================
   Right Logistics — shared styles
   ========================================================= */

:root {
  --navy-900: #050f24;
  --navy-800: #0a1f44;
  --navy-700: #122d5c;
  --navy-600: #1c3d75;
  --navy-100: #e6eaf2;
  --navy-50:  #f1f3f8;

  --ink:      #0b1220;
  --ink-2:    #2a3447;
  --muted:    #5a6478;
  --muted-2:  #8b94a6;
  --line:     #d9dbe3;
  --line-2:   #e8e9ee;

  --paper:    #f6f4ee;
  --paper-2:  #eeebe2;
  --white:    #ffffff;

  --accent:   #f26b1f;
  --accent-2: #e25e15;
  --accent-ink: #3a1a08;

  --ok:       #1f8a5b;
  --err:      #b3261e;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-1: 0 1px 0 rgba(10,31,68,.06), 0 1px 2px rgba(10,31,68,.04);
  --shadow-2: 0 8px 24px -10px rgba(10,31,68,.18), 0 2px 6px rgba(10,31,68,.06);

  --t-fast: 140ms cubic-bezier(.2,.7,.2,1);
  --t-base: 240ms cubic-bezier(.2,.7,.2,1);

  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.2; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--accent { color: var(--accent-2); }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section--navy {
  background: var(--navy-800);
  color: #d8def0;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: rgba(255,255,255,.55); }

.section--paper-2 { background: var(--paper-2); }

.divider-thin {
  height: 1px;
  background: var(--line);
  margin: 0;
  border: 0;
}

/* =========================================================
   Logo
   ========================================================= */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-800);
}
.section--navy .logo { color: #fff; }

.logo__mark {
  width: 32px;
  height: 32px;
  background: var(--navy-800);
  position: relative;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}
.section--navy .logo__mark { background: #fff; }

.logo__mark::before,
.logo__mark::after {
  content: "";
  position: absolute;
  background: var(--paper);
  height: 3px;
  border-radius: 1px;
}
.section--navy .logo__mark::before,
.section--navy .logo__mark::after { background: var(--navy-800); }

.logo__mark::before {
  top: 11px;
  left: 6px;
  width: 14px;
  transform: rotate(35deg);
  transform-origin: left center;
}
.logo__mark::after {
  bottom: 11px;
  left: 6px;
  width: 14px;
  transform: rotate(-35deg);
  transform-origin: left center;
}

.logo__accent {
  position: absolute;
  right: 5px;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.logo__type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__type-row {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.logo__type-row b {
  font-weight: 700;
}
.logo__type-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.section--navy .logo__type-tag { color: rgba(255,255,255,.55); }

/* =========================================================
   Header / Nav
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 238, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav__link:hover { color: var(--navy-800); }
.nav__link[aria-current="page"] {
  color: var(--navy-800);
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  display: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  align-items: center;
  gap: 6px;
}
.phone-link:hover { color: var(--navy-800); }
.phone-link::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(31,138,91,.18);
}
@media (min-width: 900px) {
  .phone-link { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}
@media (min-width: 880px) {
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: none;
  padding: 12px var(--gutter) 24px;
  border-top: 1px solid var(--line-2);
  background: var(--paper);
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 879px) {
  .nav { display: none; }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.005em;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 -1px 0 rgba(0,0,0,.12);
}
.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(226,94,21,.45);
}

.btn--dark {
  background: var(--navy-800);
  color: #fff;
}
.btn--dark:hover { background: var(--navy-700); }

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn--ghost:hover { background: var(--navy-800); color: #fff; }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn--lg { padding: 17px 26px; font-size: 16px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }

.btn .arr {
  width: 14px; height: 10px;
  transition: transform var(--t-fast);
}
.btn:hover .arr { transform: translateX(3px); }

/* =========================================================
   Reusable bits
   ========================================================= */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(10,31,68,.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section--navy .pill {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.8);
}
.pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(31,138,91,.18);
}

.lede {
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.kicker .line {
  flex: 0 0 36px;
  height: 1px;
  background: var(--accent);
}

/* Placeholder image — for "drop a real photo here" slots */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(10,31,68,.04) 0 10px,
      rgba(10,31,68,.07) 10px 11px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.placeholder__label {
  background: var(--navy-800);
  color: #fff;
  padding: 6px 10px;
  margin: 14px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  border-radius: 2px;
}
.placeholder--dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.04) 0 10px,
      rgba(255,255,255,.08) 10px 11px);
  border-color: rgba(255,255,255,.12);
}
.placeholder--dark .placeholder__label { background: #fff; color: var(--navy-800); }

/* Stats */
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy-800);
  line-height: 1;
}
.section--navy .stat__num { color: #fff; }
.stat__num .unit { color: var(--accent); }
.stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.section--navy .stat__label { color: rgba(255,255,255,.65); }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
  font-size: 14.5px;
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* =========================================================
   Animations
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =========================================================
   v2 — visual polish layer
   ========================================================= */

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 92px; }

/* Subtle dotted texture so pale sections feel less flat */
.section--paper-2 {
  background-color: var(--paper-2);
  background-image: radial-gradient(rgba(10,31,68,.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

/* Richer primary button */
.btn--primary {
  background: linear-gradient(180deg, #f7792d 0%, var(--accent) 52%, var(--accent-2) 100%);
}
.btn--primary:hover { box-shadow: 0 12px 24px -10px rgba(226,94,21,.6); }

/* Animated nav underline */
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.nav__link:hover::after { transform: scaleX(1); }

/* Hero — warm glow, depth, accent-gradient emphasis line */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(540px 340px at 90% -8%, rgba(242,107,31,.14), transparent 62%),
    radial-gradient(680px 420px at 4% 116%, rgba(10,31,68,.10), transparent 60%);
}
.hero > .hero__inner { position: relative; z-index: 1; }
.hero h1 .hero__h1-em {
  background: linear-gradient(92deg, var(--accent) 0%, #f6954a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}

/* Service-strip cards — accent bar + lift on hover */
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base); z-index: 2;
}
.svc:hover::before { transform: scaleX(1); }
.svc:hover { box-shadow: var(--shadow-2); z-index: 1; }
.svc .svc__num { color: var(--accent-2); }

/* Free-standing cards lift on hover */
.value, .more-card, .spec-card, .fleet-card {
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base), background var(--t-base);
}
.value:hover, .more-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--navy-100);
}
.fleet-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242,107,31,.55);
  background: rgba(255,255,255,.07);
}

/* Navy sections get a soft depth glow */
.section--navy { position: relative; overflow: hidden; }
.section--navy > .container { position: relative; z-index: 1; }
.section--navy::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(720px 380px at 100% 0%, rgba(242,107,31,.10), transparent 60%);
}

/* Process steps (services) react on hover */
.process__step { transition: background var(--t-base); }
.process__step:hover { background: var(--navy-50); }

/* Accent hairline on the footer */
.site-footer { border-top: 3px solid var(--accent); }


/* =========================================================
   v3 — premium type + logo
   ========================================================= */

body {
  font-size: 16.5px;
  line-height: 1.62;
  letter-spacing: -0.006em;
  font-feature-settings: "cv11","ss01";
}
p { letter-spacing: -0.006em; }
.lede {
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.008em;
  color: var(--ink-2);
}
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.hero h1 { font-weight: 800; letter-spacing: -0.035em; }
.svc p, .more-card p, .why p, .value p, .timeline__card p, .faq__body, .service-row__copy .lede {
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
}

/* Premium logo mark — fast-forward chevrons */
.logo__mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Crect%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%229%22%20fill%3D%22%230a1f44%22%2F%3E%3Cpath%20d%3D%22M15%2012%20L26%2020%20L15%2028%20L9%2028%20L20%2020%20L9%2012%20Z%22%20fill%3D%22%23ffffff%22%2F%3E%3Cpath%20d%3D%22M24%2012%20L35%2020%20L24%2028%20L18%2028%20L29%2020%20L18%2012%20Z%22%20fill%3D%22%23f26b1f%22%2F%3E%3C%2Fsvg%3E");
  box-shadow: 0 2px 6px rgba(10,31,68,.18);
}
.logo__mark::before, .logo__mark::after { display: none !important; }
.logo__accent { display: none !important; }
.site-footer .logo__mark, .section--navy .logo__mark {
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Crect%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%229%22%20fill%3D%22%23ffffff%22%2F%3E%3Cpath%20d%3D%22M15%2012%20L26%2020%20L15%2028%20L9%2028%20L20%2020%20L9%2012%20Z%22%20fill%3D%22%230a1f44%22%2F%3E%3Cpath%20d%3D%22M24%2012%20L35%2020%20L24%2028%20L18%2028%20L29%2020%20L18%2012%20Z%22%20fill%3D%22%23f26b1f%22%2F%3E%3C%2Fsvg%3E");
  box-shadow: none;
}
.logo__type-row { font-weight: 500; letter-spacing: -0.02em; }
.logo__type-row b { font-weight: 800; }
