/* ==========================================================
   TALL TREE TRUCKING LLC — Design System
   Display: Oswald (condensed, road-sign character)
   Body:    Work Sans
   Utility: IBM Plex Mono (stock numbers, specs, stats)
   ========================================================== */

:root{
  /* --- Color tokens --- */
  --asphalt:        #14171a;
  --asphalt-2:       #1d2226;
  --asphalt-3:       #262c31;
  --steel:          #5b6670;
  --steel-light:    #8b959d;
  --fog:            #eef1f0;
  --fog-2:          #e2e7e5;
  --white:          #ffffff;
  --ink:            #14171a;

  --orange:         #ff4e1f;
  --orange-dark:    #d93c12;
  --green:          #86c440;
  --green-dark:     #66992e;

  /* --- Type --- */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body:    'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* --- Layout --- */
  --maxw: 1200px;
  --radius: 6px;
  --shadow: 0 12px 32px rgba(20,23,26,0.14);
  --shadow-sm: 0 4px 14px rgba(20,23,26,0.10);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin:0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.55;
  -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{ font-family: var(--f-display); text-transform: uppercase; margin: 0 0 .4em; letter-spacing: .01em; line-height: 1.08; }
p{ margin: 0 0 1em; }

:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

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

.mono{ font-family: var(--f-mono); }

/* --- Buttons --- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  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(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--orange-dark); }
.btn-outline{
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,0.1); }
.btn-outline-dark{
  background: transparent;
  border-color: var(--asphalt);
  color: var(--asphalt);
}
.btn-outline-dark:hover{ background: var(--asphalt); color: var(--white); }
.btn-block{ width:100%; justify-content:center; }
.btn-sm{ padding: 10px 20px; font-size: 13px; }

/* ==========================================================
   HEADER / NAV
   ========================================================== */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: var(--fog);
  border-bottom: 3px solid var(--orange);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height: 54px; width:auto; }
.brand-text{ display:none; }

.top-contact{
  display:none;
  align-items:center;
  gap: 22px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--steel);
}
.top-contact a{ color: var(--ink); }
.top-contact a:hover{ color: var(--orange-dark); }
.top-contact .dot{ color: var(--green-dark); }

.main-nav{
  display:flex;
  align-items:center;
  gap: 4px;
}
.main-nav a{
  display:block;
  padding: 10px 16px;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .03em;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover{ color:var(--orange-dark); background: rgba(20,23,26,0.06); }
.main-nav a.active{ color: var(--orange-dark); }

.nav-cta{ display:none; }

.nav-toggle{
  display:flex;
  background:none;
  border:none;
  color: var(--ink);
  font-size: 26px;
  cursor:pointer;
  padding: 4px 8px;
}

@media (min-width: 900px){
  .brand-text{ display:block; }
  .brand-text .name{ font-family: var(--f-display); text-transform:uppercase; font-size:20px; color:var(--ink); letter-spacing:.02em; }
  .brand-text .tag{ font-family: var(--f-mono); font-size:11px; color: var(--green-dark); letter-spacing:.15em; text-transform:uppercase; }
  .top-contact{ display:flex; }
  .nav-toggle{ display:none; }
  .nav-cta{ display:inline-flex; }
  .main-nav{
    position: static;
    background: none;
    flex-direction: row;
    padding: 0;
    width: auto;
  }
}

@media (max-width: 899px){
  .main-nav{
    position: absolute;
    top: 100%; left:0; right:0;
    background: var(--fog);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    display:none;
    border-bottom: 3px solid var(--orange);
    box-shadow: var(--shadow-sm);
  }
  .main-nav.open{ display:flex; }
  .main-nav a{ padding:14px 18px; }
}

/* ==========================================================
   HERO — full-bleed photo, no on-image labels
   ========================================================== */
.hero{
  position: relative;
  min-height: 62vh;
  display:flex;
  align-items:flex-end;
  background-color: var(--asphalt);
  background-image: url('../images/hero/hero-truck.jpg');
  background-size: cover;
  background-position: center 65%;
  color: var(--white);
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(20,23,26,.25) 0%, rgba(20,23,26,.35) 35%, rgba(20,23,26,.94) 100%);
  z-index: 1;
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 56px;
  width: 100%;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 28px; height: 2px;
  background: var(--orange);
  display:inline-block;
}
.hero h1{
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--white);
  max-width: 16ch;
}
.hero h1 .accent{ color: var(--orange); }
.hero-sub{
  font-size: 19px;
  color: var(--fog-2);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap: 16px;
}

@media (min-width: 960px){
  .hero{ min-height: 82vh; }
}

@media (max-width: 599px){
  .hero{ min-height: 76vh; background-position: 70% center; }
}


/* dashed lane-line divider — echoes the road/motion in the logo */
.lane-divider{
  height: 0;
  border-top: 3px dashed var(--orange);
  opacity: .55;
  margin: 0;
}
.lane-divider.on-dark{ opacity:.35; }

/* ==========================================================
   TRUST / STAT STRIP
   ========================================================== */
.stat-strip{
  background: var(--asphalt-2);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat{
  padding: 28px 20px;
  text-align:center;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat:nth-child(2n){ border-right:none; }
.stat .num{
  font-family: var(--f-mono);
  font-size: 34px;
  color: var(--orange);
  display:block;
  line-height:1;
  margin-bottom: 8px;
}
.stat .label{
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--fog-2);
}
@media (min-width: 720px){
  .stat-grid{ grid-template-columns: repeat(4, 1fr); }
  .stat{ border-bottom:none; }
  .stat:last-child{ border-right:none; }
}

/* ==========================================================
   SECTIONS (generic)
   ========================================================== */
.section{ padding: 72px 0; }
.section-tight{ padding: 48px 0; }
.section-dark{ background: var(--asphalt); color: var(--white); }
.section-alt{ background: var(--white); }
.section-head{
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-dark .eyebrow{ color: var(--green); }
.section-alt .eyebrow, .section:not(.section-dark):not(.section-alt) .eyebrow{ color: var(--orange-dark); }
.section-lede{ font-size: 17px; color: var(--steel); max-width: 60ch; }
.section-dark .section-lede{ color: var(--fog-2); }

/* --- Why us / feature grid --- */
.feature-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px){ .feature-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (min-width: 1000px){ .feature-grid{ grid-template-columns: repeat(3, 1fr);} }

.feature-card{
  background: var(--white);
  border: 1px solid var(--fog-2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange);
}
.feature-card:nth-child(3n+2){ border-top-color: var(--green); }
.feature-card:nth-child(3n){ border-top-color: var(--steel); }
.feature-card h3{ font-size: 20px; margin-bottom: 10px; }
.feature-card p{ color: var(--steel); font-size: 15px; margin:0; }
.feature-card .icon{
  width: 44px; height:44px;
  margin-bottom: 16px;
  color: var(--orange);
}

/* ==========================================================
   PROCESS / "ROUTE MAP" — signature element
   A dashed route line connects numbered stop markers, echoing
   the arrow + swoosh motion in the logo. Each stop = one step
   of the rental process, in true sequential order.
   ========================================================== */
.route{
  position: relative;
  display:flex;
  flex-direction: column;
  gap: 0;
}
.route::before{
  content:"";
  position:absolute;
  left: 27px; top: 14px; bottom: 14px;
  border-left: 3px dashed var(--orange);
  opacity: .6;
}
.route-stop{
  position:relative;
  display:grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
}
.route-marker{
  position:relative;
  z-index:2;
  width: 56px; height:56px;
  border-radius: 50%;
  background: var(--asphalt);
  border: 3px solid var(--orange);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--f-mono);
  font-size: 18px;
  flex-shrink:0;
}
.route-stop:last-child .route-marker{ border-color: var(--green); background: var(--green-dark); }
.route-content h3{
  font-size: 20px;
  margin-bottom: 6px;
  display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;
}
.route-content .eta{
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--orange-dark);
  background: rgba(255,78,31,0.08);
  padding: 3px 10px;
  border-radius: 20px;
}
.route-content p{ color: var(--steel); margin:0; font-size:15px; max-width: 58ch; }

@media (min-width: 760px){
  .route::before{ left: 34px; }
  .route-stop{ grid-template-columns: 70px 1fr; gap: 28px; }
  .route-marker{ width:70px; height:70px; font-size:22px; }
}

/* ==========================================================
   INVENTORY CARDS
   ========================================================== */
.inv-notice{
  background: var(--asphalt-2);
  color: var(--white);
  border-left: 4px solid var(--orange);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 36px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: 14px;
  justify-content: space-between;
}
.inv-notice p{ margin:0; font-size: 15px; color: var(--fog-2); }
.inv-notice strong{ color:var(--white); }

.inv-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 680px){ .inv-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (min-width: 1020px){ .inv-grid{ grid-template-columns: repeat(3, 1fr);} }

.truck-card{
  background: var(--white);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--fog-2);
  display:flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.truck-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.truck-card .thumb{
  position: relative;
  aspect-ratio: 4/3;
  overflow:hidden;
  background: var(--asphalt-2);
}
.truck-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.truck-card .stock-tag{
  position:absolute; top:12px; left:12px;
  background: rgba(20,23,26,0.85);
  color:var(--white);
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
}
.truck-card .featured-tag{
  position:absolute; top:12px; right:12px;
  background: var(--orange);
  color:var(--white);
  font-family: var(--f-display);
  text-transform:uppercase;
  font-size: 11px;
  letter-spacing:.04em;
  padding: 5px 10px;
  border-radius: 4px;
}
.truck-card .body{ padding: 20px 20px 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.truck-card h3{ font-size: 19px; margin:0; }
.truck-card .spec-row{
  display:flex; flex-wrap:wrap; gap: 8px 16px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--steel);
}
.truck-card .spec-row span{ display:flex; align-items:center; gap:5px; }
.truck-card .spec-row span::before{ content:"•"; color: var(--orange); }
.truck-card p.blurb{ font-size: 14px; color:var(--steel); margin:0; flex:1; }
.truck-card .card-actions{ display:flex; gap:10px; margin-top:6px; }

/* ==========================================================
   DETAIL PAGE
   ========================================================== */
.detail-head{
  background: var(--asphalt);
  color: var(--white);
  padding: 32px 0;
}
.breadcrumb{
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--steel-light);
  margin-bottom: 14px;
}
.breadcrumb a:hover{ color: var(--orange); }
.detail-head h1{ color:var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.detail-head .sub{ font-family: var(--f-mono); color: var(--green); font-size: 14px; }

.gallery{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0;
}
.gallery .main-img{ border-radius: var(--radius); overflow:hidden; aspect-ratio: 16/10; }
.gallery .main-img img{ width:100%; height:100%; object-fit:cover; }
.gallery .thumbs{ display:grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap: 10px; }
.gallery .thumbs button{
  padding:0; border: 2px solid transparent; border-radius:4px; overflow:hidden; cursor:pointer; aspect-ratio:4/3; background:none;
}
.gallery .thumbs button.active{ border-color: var(--orange); }
.gallery .thumbs img{ width:100%; height:100%; object-fit:cover; }

.spec-table{
  width:100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec-table tr{ border-bottom: 1px solid var(--fog-2); }
.spec-table td{ padding: 12px 4px; }
.spec-table td:first-child{
  font-family: var(--f-mono);
  color: var(--steel);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing:.04em;
  width: 42%;
}
.spec-table td:last-child{ font-weight: 600; }

.detail-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 960px){ .detail-grid{ grid-template-columns: 1.4fr 1fr; } }

.feature-list li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
}
.feature-list li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  color: var(--green-dark);
  font-weight:700;
}

.sidebar-card{
  background: var(--white);
  border: 1px solid var(--fog-2);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.sidebar-card h3{ font-size: 18px; }
.sidebar-card .price-note{ color: var(--steel); font-size: 14px; margin-bottom: 20px; }
.sidebar-card .btn{ margin-bottom: 12px; }

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-banner{
  background: linear-gradient(120deg, var(--asphalt) 0%, #23292d 60%, var(--asphalt) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align:center;
  position: relative;
  overflow:hidden;
  border-top: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
}
.cta-banner h2{ color:var(--white); font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 12px; }
.cta-banner p{ color: var(--fog-2); font-size: 17px; max-width: 56ch; margin: 0 auto 28px; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer{
  background: var(--asphalt);
  color: var(--fog-2);
  padding: 56px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
@media (min-width: 760px){ .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand .logo-chip{
  display: inline-block;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  line-height: 0;
}
.footer-brand img{ height: 44px; display:block; }
.footer-brand p{ font-size: 14px; color: var(--steel-light); max-width: 32ch; }
.site-footer h4{ font-family: var(--f-display); text-transform:uppercase; font-size:15px; color:var(--white); margin-bottom:14px; letter-spacing:.03em; }
.site-footer ul li{ margin-bottom:10px; font-size:14px; }
.site-footer a:hover{ color: var(--orange); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 13px;
  color: var(--steel-light);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
}
.footer-bottom .mono{ color: var(--steel-light); }

/* ==========================================================
   FORMS (contact page)
   ========================================================== */
.form-grid{ display:grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px){ .form-grid{ grid-template-columns: 1fr 1fr; } }

.field{ margin-bottom: 20px; }
.field label{
  display:block;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing:.03em;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input, .field select, .field textarea{
  width:100%;
  padding: 13px 14px;
  border: 1.5px solid var(--fog-2);
  border-radius: 4px;
  font-family: var(--f-body);
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--orange);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 120px; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px){ .field-row{ grid-template-columns: 1fr; } }

.alert{
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 15px;
}
.alert-success{ background: #eaf6dd; border: 1px solid var(--green); color: #3d5c1f; }
.alert-error{ background: #fde8e2; border: 1px solid var(--orange); color: #9c2a0f; }

.contact-info-card{
  background: var(--asphalt);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3{ color:var(--white); font-size:18px; }
.contact-info-item{ display:flex; gap:14px; margin-bottom:22px; align-items:flex-start; }
.contact-info-item .ic{ color: var(--orange); flex-shrink:0; margin-top:2px; }
.contact-info-item .label{ font-family: var(--f-mono); font-size:11px; text-transform:uppercase; letter-spacing:.1em; color: var(--green); margin-bottom:4px; }
.contact-info-item a, .contact-info-item .val{ font-size:15px; color: var(--fog-2); }
.contact-info-item a:hover{ color: var(--orange); }
.map-link{
  display:inline-flex; align-items:center; gap:8px;
  margin-top: 8px; font-family: var(--f-mono); font-size:13px; color: var(--orange);
}

/* ==========================================================
   UTILITIES
   ========================================================== */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }
.hide-mobile{ display:none; }
@media (min-width:760px){ .hide-mobile{ display:initial; } }

.reveal{ opacity:0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in{ opacity:1; transform:none; }

.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin: 18px 0; }
.badge{
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--fog-2);
  color: var(--steel);
}
.section-dark .badge{ background: rgba(255,255,255,0.08); color: var(--fog-2); }
