﻿/* ===== Platinum Trucking -- shared stylesheet ===== */

@font-face {
  font-family: 'Pangram Black';
  src: url('../fonts/Pangram-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2d243a;
  --navy-dark: #1b1623;
  --navy-mid: #3c324e;
  --green: #ff5231;
  --green-dark: #d8462a;
  --green-light: #fff0ec;
  --ink: #1b232c;
  --gray-700: #445064;
  --gray-500: #6b7688;
  --gray-300: #d7dde4;
  --gray-100: #f3f5f8;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(45, 36, 58, 0.1);
  --shadow-lg: 0 20px 50px rgba(45, 36, 58, 0.16);
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; color: var(--gray-700); }

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

.section {
  padding: 88px 0;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--gray-100); }
.section--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.section--navy p { color: rgba(255,255,255,0.78); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--navy .eyebrow {
  color: var(--green);
  background: rgba(255, 82, 49, 0.14);
}

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h1 { font-size: clamp(34px, 4.5vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--green);
  color: var(--navy-dark);
  box-shadow: 0 12px 24px rgba(255, 82, 49, 0.28);
}
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-300);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand .mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; }
.brand .wordmark {
  display: inline-block;
  font-family: 'Pangram Black', Inter, sans-serif;
  font-weight: 900;
  font-size: 17px;
  color: var(--green);
  letter-spacing: -.01em;
  line-height: 0.92;
  transform: skewX(-8deg);
}
.brand .wordmark .tm {
  font-family: Inter, sans-serif;
  font-size: .48em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
}
.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gray-500);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-700);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  background: var(--gray-100);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--gray-300);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle { display: block; }
  .header-actions .btn--primary.hide-mobile { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(255, 82, 49, 0.18), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 96px 0 110px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin-top: 48px;
}
.hero-stats .stat b {
  display: block;
  font-size: 26px;
  color: var(--green);
}
.hero-stats .stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}
.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 28px;
}
.hero-visual .visual-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hero-visual .visual-card:last-child { margin-bottom: 0; }
.hero-visual .icon-box {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255, 82, 49, 0.16);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-visual .icon-box svg { width: 22px; height: 22px; }
.hero-visual h4 { color: var(--white); font-size: 15px; margin: 0 0 4px; }
.hero-visual p { color: rgba(255,255,255,0.65); font-size: 13.5px; margin: 0; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0 72px;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero p.lead { color: rgba(255,255,255,0.78); max-width: 620px; font-size: 17px; }

/* ===== Grids / cards ===== */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card .icon-box {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-box svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 14.5px; }
.card ul { margin-top: 12px; }
.card ul li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

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

/* department / people cards */
.dept-card { text-align: center; }
.dept-card .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.dept-card .avatar svg { width: 30px; height: 30px; }

/* ===== Stats strip ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
}
.stats-strip .stat { text-align: center; }
.stats-strip .stat b {
  display: block;
  font-size: 32px;
  color: var(--navy);
}
.stats-strip .stat span { font-size: 13.5px; color: var(--gray-500); }
@media (max-width: 700px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Logos strip ===== */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.logo-chip {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  flex: 1 1 auto;
  text-align: center;
  min-width: 150px;
}
.logo-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 14px 20px;
  height: 68px;
  width: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-card img {
  height: 34px;
  width: auto;
  max-width: 128px;
  object-fit: contain;
}

/* ===== Marquee ===== */
.logo-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: logo-scroll 45s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ===== Region / coverage list ===== */
.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.region-pill {
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
}

/* ===== Timeline / process ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
}
.process-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--navy-dark);
}
.cta-band h2 { color: var(--navy-dark); margin-bottom: 8px; }
.cta-band p { color: rgba(27,22,35,0.75); margin-bottom: 0; }
.cta-band .btn--primary { background: var(--navy-dark); color: var(--white); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--navy); }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-300); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td {
  text-align: left;
  padding: 16px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--gray-300);
}
th { background: var(--gray-100); color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: none; }
td .tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 2px 4px 2px 0;
}

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(255, 82, 49, 0.15);
}
textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .icon-box {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255, 82, 49, 0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-row .icon-box svg { width: 19px; height: 19px; }
.contact-info-row b { display: block; font-size: 14px; color: var(--white); }
.contact-info-row span { font-size: 13.5px; color: rgba(255,255,255,0.68); }

.notice {
  background: var(--green-light);
  border: 1px solid rgba(255, 82, 49, 0.3);
  color: var(--green-dark);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.notice--error {
  background: #fdecea;
  border-color: rgba(200, 40, 30, 0.35);
  color: #b3261e;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--green); }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 300px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
