/* ============================================================
   TRUCK WRAPS PAGE — additional styles
   Loaded AFTER styles.css; inherits all base tokens & components
   ============================================================ */

/* ---- Breadcrumb ---- */

/* ---- Minimal trust strip ---- */
.trust-strip {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.trust-stat:last-child { border-right: none; }
.trust-n {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.trust-l {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 760px) {
  .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .trust-stat:nth-child(3) { border-right: none; }
}
@media (max-width: 480px) {
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .trust-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-stat:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .hero-text .eyebrow {
    white-space: normal;
    line-height: 1.45;
  }
  .hero-text h1 {
    font-size: 2.2rem;
    text-wrap: wrap;
  }
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 100;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: rgba(255,255,255,.85); font-weight: 100; }

/* ---- Intro 2-col ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.intro-grid > * { min-width: 0; }
.intro-text p { margin-top: 1rem; }
.intro-text p:first-of-type { margin-top: 1.5rem; }
.intro-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  position: sticky;
  top: 96px;
}
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-photo { position: static; }
}

/* ---- Truck type cards (6-up) ---- */
.truck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.truck-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--ease), box-shadow var(--ease);
}
.truck-card .ph {
  position: absolute; inset: 0; z-index: 0;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}
.truck-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 20%, rgba(15,23,42,.4) 50%, rgba(11,17,32,.96) 85%);
  transition: background var(--ease);
}
.truck-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -10px rgba(15,23,42,.25); }
.truck-card:hover .ph { transform: scale(1.05); }
.truck-card:hover::after {
  background: linear-gradient(180deg, transparent 15%, rgba(3,105,161,.45) 50%, rgba(8,47,73,.96) 85%);
}
.truck-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.25rem;
  color: white;
}
.truck-card-body h3 { color: white; font-size: 1.4rem; font-weight: 500; margin-bottom: 0.35rem; }
.truck-card-body p { color: rgba(255,255,255,.85); font-size: 0.85rem; line-height: 1.5; }
.truck-card .pop-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 5px;
  background: var(--blue);
  color: white;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 4px 12px rgba(3,105,161,.35);
}
/* Expandable truck descriptions */
.truck-card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(.2,.7,.2,1);
  color: rgba(255,255,255,.75);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-top: 0;
}
.truck-card.expanded .truck-card-expand { max-height: 200px; margin-top: 0.6rem; }
.truck-card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--blue-light);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0.65rem 0.5rem;
  min-height: 44px;
  margin-left: -0.5rem;
}
.truck-card-toggle .icon { transition: transform var(--ease); display: inline-block; }
.truck-card.expanded .truck-card-toggle .icon { transform: rotate(180deg); }
@media (max-width: 860px) { .truck-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .truck-grid { grid-template-columns: 1fr; } }

/* ---- Pricing table ---- */
.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.pricing-table thead th {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.pricing-table tbody tr { border-bottom: 1px solid var(--border-soft); transition: background var(--ease); }
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: rgba(3,105,161,.03); }
.pricing-table td {
  padding: 1rem 1.25rem;
  color: var(--text-2);
  vertical-align: middle;
}
.pricing-table td:first-child {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.pricing-table .price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}
.pricing-table .pop-row { background: rgba(3,105,161,.04); }
.pricing-table .pop-row td:first-child::after {
  content: 'POPULAR';
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  background: var(--blue);
  color: white;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.pricing-note {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.pricing-note p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---- Industry table ---- */
.ind-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
}
.ind-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.ind-table thead th {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.ind-table tbody tr { border-bottom: 1px solid var(--border-soft); }
.ind-table tbody tr:last-child { border-bottom: none; }
.ind-table tbody tr:hover { background: rgba(3,105,161,.03); }
.ind-table td { padding: 0.85rem 1.25rem; color: var(--text-2); }
.ind-table td:first-child {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* ---- Portfolio gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default;
  isolation: isolate;
}
.gallery-item .ph {
  position: absolute; inset: 0; z-index: 0;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(11,17,32,.85) 100%);
  opacity: 0;
  transition: opacity var(--ease);
}
.gallery-item:hover .ph { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 0.75rem 0.85rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: none; }
.gallery-cap strong { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.82rem; display: block; margin-bottom: 0.1rem; }

@media (hover: none), (max-width: 860px) {
  .gallery-item::after { opacity: 1; }
  .gallery-cap { opacity: 1; transform: none; }
  .gallery-item:hover .ph { transform: none; }
}
.gallery-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-featured { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-featured { grid-column: span 1; } }

/* ---- Related services ---- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.related-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  text-decoration: none;
  color: white;
  transition: transform var(--ease), box-shadow var(--ease);
}
.related-card .ph { position: absolute; inset: 0; z-index: 0; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.related-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(11,17,32,.95) 100%);
  transition: background var(--ease);
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -10px rgba(15,23,42,.25); color: white; }
.related-card:hover .ph { transform: scale(1.05); }
.related-card:hover::after {
  background: linear-gradient(180deg, transparent 25%, rgba(3,105,161,.5) 65%, rgba(8,47,73,.96) 100%);
}
.related-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.5rem;
}
.related-body h3 { color: white; font-size: 1.25rem; margin-bottom: 0.35rem; }
.related-body p { color: rgba(255,255,255,.82); font-size: 0.92rem; }
.related-body .link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  color: var(--blue-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
}
.related-body .link .arr { transition: transform var(--ease); }
.related-card:hover .link .arr { transform: translateX(3px); }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }

/* ---- Industry cards (replaces table) ---- */

/* ---- Simple service area (no map) ---- */
.area-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.area-simple-left {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(14,165,233,.1), transparent 60%),
    rgba(255,255,255,.02);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  position: relative;
}
.area-simple-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.area-simple-stats {
  position: relative; z-index: 1;
  display: inline-flex;
  gap: 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  align-self: flex-start;
}
.area-simple-stats .stat { display: flex; flex-direction: column; }
.area-simple-stats .stat .n {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--blue-light);
  letter-spacing: -0.03em;
  line-height: 1;
}
.area-simple-stats .stat .n small { font-size: 0.55em; font-weight: 700; color: rgba(255,255,255,.6); margin-left: 2px; }
.area-simple-stats .stat .l {
  font-size: 0.72rem;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  font-weight: 600;
}

.area-simple-hq {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(11,17,32,.85);
  border: 1px solid rgba(56,189,248,.35);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  align-self: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
}
.area-simple-hq .hq-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.area-simple-hq .hq-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: white;
}
.area-simple-hq .hq-text small {
  display: block;
  color: var(--blue-light);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.area-simple-cta {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 0.55rem 0.55rem 0.55rem 1.15rem;
  align-self: flex-start;
}
.area-simple-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--blue);
  color: white;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  transition: background var(--ease);
}
.area-simple-cta a:hover { background: var(--blue-hover); color: white; }

.area-simple-right {
  background: rgba(255,255,255,.03);
  border-left: 1px solid rgba(255,255,255,.08);
  padding: 2rem;
  overflow-y: auto;
  max-height: 540px;
}
.area-simple-right h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

@media (max-width: 860px) {
  .area-simple { grid-template-columns: 1fr; }
  .area-simple-left { min-height: auto; gap: 2rem; padding: 1.5rem; }
  .area-simple-right { border-left: none; border-top: 1px solid rgba(255,255,255,.08); max-height: none; }
}

@media (max-width: 560px) {
  .area-simple > * { min-width: 0; }
  .area-simple-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 1rem;
    gap: 1rem;
    align-self: stretch;
  }
  .area-simple-cta {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius);
    flex-direction: column;
    align-items: stretch;
  }
  .area-simple-cta a { justify-content: center; text-align: center; white-space: normal; }
}

.ind-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ind-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ind-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -12px rgba(3,105,161,.18);
}
.ind-card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(3,105,161,.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ind-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
  color: var(--navy);
}
.ind-card-row {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border-soft);
}
.ind-card-row:first-of-type { border-top: none; padding-top: 0; }
.ind-card-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ind-card-val {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.45;
}
@media (max-width: 960px) { .ind-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-cards-grid { grid-template-columns: 1fr; } }
