/* ============================================
   Infinity Frontier Freight — Shared Stylesheet
   ============================================ */

:root {
  --navy: #0a2138;
  --navy-dark: #05101d;
  --navy-800: #102f4d;
  --teal: #10b7ac;
  --teal-dark: #0a8a82;
  --teal-light: #3fd7cb;
  --emerald: #0e9c86;
  --amber: #f4b23c;
  --gold-deep: #d99329;
  --grey-50: #f5f8fb;
  --grey-100: #eef2f6;
  --grey-200: #e2e8ef;
  --grey-300: #d3dce5;
  --grey-500: #7f8da0;
  --grey-600: #5d6b7d;
  --grey-700: #455265;
  --ink: #0f1a26;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(11, 35, 64, 0.06), 0 1px 3px rgba(11, 35, 64, 0.05);
  --shadow: 0 14px 40px rgba(11, 35, 64, 0.10), 0 4px 12px rgba(11, 35, 64, 0.06);
  --shadow-lg: 0 30px 70px rgba(11, 35, 64, 0.16);
  --shadow-teal: 0 12px 30px rgba(16, 183, 172, 0.34);

  --maxw: 1200px;

  --font-display: "Sora", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.018em;
}

h1 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 3.5rem); font-weight: 800; line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.1vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.012em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; color: var(--grey-700); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(16, 183, 172, 0.22); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 7vw, 104px) 0; }
.section-tight { padding: clamp(48px, 5vw, 64px) 0; }
.section-alt { background: var(--grey-50); border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100); }
.section-navy {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(16, 183, 172, 0.28), transparent 60%),
    radial-gradient(700px 400px at 5% 120%, rgba(244, 178, 60, 0.10), transparent 60%),
    linear-gradient(140deg, var(--navy-800) 0%, var(--navy) 45%, var(--navy-dark) 100%);
  color: var(--white);
}
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: rgba(255, 255, 255, 0.78); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(16, 183, 172, 0.10);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-navy .eyebrow {
  color: var(--amber);
  background: rgba(244, 178, 60, 0.14);
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.22rem);
  max-width: 640px;
  color: var(--grey-600);
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-light) -10%, var(--teal) 45%, var(--teal-dark) 110%);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--teal) -10%, var(--teal-dark) 60%, var(--emerald) 120%); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(16, 183, 172, 0.42); }
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-navy-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-navy-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 28, 51, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 45%, var(--amber) 130%);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-dark); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(16, 183, 172, 0.42);
  flex-shrink: 0;
}
.brand small { display: block; font-weight: 400; font-size: 0.64rem; color: var(--grey-300); letter-spacing: 0.09em; text-transform: uppercase; margin-top: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.15s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; line-height: 1; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 69px; left: 0; right: 0; background: var(--navy-dark);
    flex-direction: column; align-items: flex-start; padding: 22px 24px; gap: 18px;
    display: none; box-shadow: var(--shadow); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* Hero */
.hero {
  background:
    radial-gradient(720px 500px at 86% -12%, rgba(16, 183, 172, 0.40), transparent 62%),
    radial-gradient(620px 440px at -8% 118%, rgba(244, 178, 60, 0.16), transparent 60%),
    radial-gradient(500px 500px at 50% 130%, rgba(14, 156, 134, 0.16), transparent 65%),
    linear-gradient(140deg, var(--navy-800) 0%, var(--navy) 42%, var(--navy-dark) 88%);
  color: var(--white);
  padding: clamp(72px, 9vw, 116px) 0 clamp(64px, 8vw, 92px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255, 255, 255, 0.82); }
.hero .btn-row { margin-top: 30px; }
.page-hero { padding: clamp(56px, 6vw, 78px) 0 clamp(48px, 5vw, 66px); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.7rem); }

/* Stats bar */
.stats-bar {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: clamp(-56px, -4vw, -44px);
  position: relative;
  z-index: 3;
  padding: clamp(24px, 3vw, 34px) clamp(16px, 2vw, 28px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat { text-align: center; padding: 6px 20px; }
.stat + .stat { border-left: 1px solid var(--grey-200); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal-dark);
  display: block;
  line-height: 1;
}
.stat .label { font-size: 0.8rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; margin-top: 10px; display: block; }
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: 1fr; gap: 4px; }
  .stat { padding: 18px 10px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--grey-200); }
}

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(16, 183, 172, 0.35); }
.card .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 183, 172, 0.16), rgba(16, 183, 172, 0.06));
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 800;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.96rem; color: var(--grey-600); }

.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.card-dark h3, .card-dark p { color: var(--white); }
.card-dark p { color: rgba(255, 255, 255, 0.75); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 22px 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .step-num {
  position: absolute; top: -18px; left: 22px;
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 0.95rem;
  box-shadow: var(--shadow-teal);
}
.step h3 { margin-top: 6px; }
.step p { font-size: 0.94rem; }

/* Table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--grey-100); font-size: 0.95rem; }
.spec-table th { color: var(--grey-500); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.spec-table td { color: var(--grey-700); }
.spec-table tr td:first-child { color: var(--navy); font-weight: 700; width: 45%; }
.spec-table tr:last-child td { border-bottom: none; }

/* List check */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 13px; color: var(--grey-700); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.24em;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16, 183, 172, 0.12);
}
.check-list li::after {
  content: "✓";
  position: absolute; left: 5px; top: 0.1em;
  color: var(--teal-dark); font-weight: 800; font-size: 0.8rem;
}

/* Quote / testimonial */
.quote {
  background: var(--grey-50);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 24px 26px;
  font-size: 1.02rem;
  color: var(--grey-700);
  font-style: italic;
}
.quote cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; color: var(--navy); font-size: 0.88rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--teal-dark) 40%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.85); }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.72); padding: clamp(48px, 6vw, 66px) 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 42px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; font-size: 0.92rem; }
.site-footer a { transition: color 0.15s; }
.site-footer a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.5);
}
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700;
  transition: background 0.18s, transform 0.18s;
}
.social-row a:hover { background: var(--teal); transform: translateY(-2px); color: var(--white); }

/* Form */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16, 183, 172, 0.15); }

.map-placeholder {
  background: var(--grey-100);
  border-radius: var(--radius);
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-500);
  font-weight: 700;
  border: 1px dashed var(--grey-300);
  text-align: center;
  padding: 20px;
}

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 56px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--teal-light); }
