/* ============================================================
   CLIFFPALM — public site sections (home + track)
   Companion to cliffpalm-ui.css — public pages only
   ============================================================ */

/* ---- Image fill utility (replaces React placeholder) ---- */
.img-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-aspect-4-3 { aspect-ratio: 4 / 3; overflow: hidden; }
.img-aspect-3-2 { aspect-ratio: 3 / 2; overflow: hidden; }
.img-aspect-3-4 { aspect-ratio: 3 / 4; overflow: hidden; }
.img-aspect-4-5 { aspect-ratio: 4 / 5; overflow: hidden; }

/* ============================================================
   HERO — shared base
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.hero__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,12,.56) 0%, rgba(10,10,12,.22) 38%, rgba(10,10,12,.78) 100%),
              radial-gradient(90% 120% at 15% 90%, rgba(var(--red-rgb),.34), transparent 60%); }
.hero__inner { position: relative; z-index: 3; padding-top: 108px; padding-bottom: 100px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-family: var(--mono);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 28px; opacity: .9;
  background: rgba(10,10,12,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px; border-radius: 3px; border: 1px solid rgba(255,255,255,.07); }
.hero__loc { color: var(--red); font-weight: 700; }
.hero__div { width: 28px; height: 1px; background: rgba(255,255,255,.4); }
.hero__title { color: #fff; font-size: clamp(48px, 9vw, 132px); }
.hero__title--xl { font-size: clamp(52px, 9.5vw, 138px); }
.hero__accent { color: var(--red); }
.hero__sub { color: rgba(255,255,255,.82); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; max-width: 50ch; margin: 32px 0 36px; text-wrap: pretty; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__track-wrap { margin-top: 38px; max-width: 580px; }

/* Hero slideshow */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img,
.hero__slide video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Entrance animations */
.hero__eyebrow { animation: heroUp .9s var(--ease-out) both; }
.hero__title   { animation: heroUp .9s .08s var(--ease-out) both; }
.hero__sub     { animation: heroUp .9s .18s var(--ease-out) both; }
.hero__ctas    { animation: heroUp .9s .28s var(--ease-out) both; }
.hero__track-wrap { animation: heroUp .9s .38s var(--ease-out) both; }
@keyframes heroUp { from { opacity:0; transform:translateY(38px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero__title, .hero__sub, .hero__ctas, .hero__track-wrap { animation: none; }
}

/* Rotating word */
.kw { position: relative; display: inline-grid; vertical-align: top; }
.kw__w { grid-area: 1/1; color: var(--red); opacity: 0; transform: translateY(0.45em); transition: opacity 0.42s var(--ease-out), transform 0.42s var(--ease-out); }
.kw__w.is-on  { opacity: 1; transform: translateY(0); }
.kw__w.is-out { opacity: 0; transform: translateY(-0.45em); transition: opacity 0.26s ease-in, transform 0.26s ease-in; }
.kw__ghost { grid-area: 1/1; visibility: hidden; }

/* Mini hero track form */
.herotrack { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 3px; padding: 8px 8px 8px 18px; box-shadow: 0 24px 60px -22px rgba(0,0,0,.6); }
.herotrack svg { color: var(--grey); flex: none; }
.herotrack input { flex: 1; border: none; outline: none; font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--ink); background: none; min-width: 0; letter-spacing: .04em; text-transform: uppercase; padding: 10px 0; }
.herotrack input::placeholder { color: var(--grey-2); text-transform: none; font-weight: 400; letter-spacing: 0; }

/* Ticker */
.hero__ticker { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; background: var(--red); overflow: hidden; }
.ticker { overflow: hidden; padding: 12px 0; }
.ticker__track { display: inline-flex; white-space: nowrap; animation: tickerScroll 32s linear infinite; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.ticker__item { color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; display: inline-flex; align-items: center; }
.ticker__sep { margin: 0 30px; opacity: .45; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* Hero background video — handled by .hero__slide img / video above */

/* ============================================================
   IN ACTION — shipping & procurement videos
   ============================================================ */
.inaction { padding-bottom: clamp(60px, 8vw, 120px); }

/* ── Stage (main viewer) ── */
.inaction__stage { position: relative; height: clamp(300px, 56vh, 640px); background: #000; overflow: hidden; }

/* Both video and image fill the stage; JS toggles opacity */
#ia-video,
#ia-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .35s ease;
}

/* ── Stage overlay bar ── */
.inaction__stage-bar { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px var(--gut) 20px; background: linear-gradient(transparent, rgba(0,0,0,.78)); display: flex; align-items: flex-end; gap: 12px; pointer-events: none; }
.ia-type-pill { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .14em; color: #fff; background: var(--red); padding: 2px 7px; border-radius: 2px; flex: none; line-height: 1.8; }
.inaction__stage-num { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .08em; flex: none; line-height: 1.6; }
.inaction__stage-title { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Prev / Next nav on stage ── */
.ia-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 2px;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .18s, border-color .18s;
  z-index: 3;
}
.ia-nav:hover { background: rgba(0,0,0,.7); border-color: rgba(255,255,255,.4); }
.ia-nav--prev { left: 16px; }
.ia-nav--next { right: 16px; }

/* ── Filmstrip wrapper (arrows + scrollable rail) ── */
.ia-strip-wrap { display: flex; align-items: center; gap: 8px; }

.ia-strip-arrow {
  flex: none; width: 36px; height: 36px; border-radius: 2px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.ia-strip-arrow:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ── Thumbnail rail ── */
.inaction__rail { flex: 1; display: flex; gap: 12px; overflow-x: auto; padding: 24px 0 8px; scrollbar-width: none; -ms-overflow-style: none; }
.inaction__rail::-webkit-scrollbar { display: none; }

.inaction-card { flex: none; width: 180px; background: #111; border: 2px solid rgba(255,255,255,.08); border-radius: 2px; cursor: pointer; padding: 0; text-align: left; transition: border-color .18s; overflow: hidden; }
.inaction-card:hover { border-color: rgba(255,255,255,.3); }
.inaction-card.is-active { border-color: var(--red); }

/* Preview area — 16:9 */
.inaction-card__preview { position: relative; aspect-ratio: 16/9; background: #0a0a0a; overflow: hidden; display: flex; align-items: center; justify-content: center; }

/* Image thumbnails fill the card */
.inaction-card__preview img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.inaction-card:hover .inaction-card__preview img { opacity: .85; }

/* Video thumbnail: dark tile + centered play icon */
.inaction-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: background .18s; }
.inaction-card:hover .inaction-card__play { background: rgba(255,255,255,.06); }

.inaction-card__label { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.45); padding: 8px 10px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 1px solid rgba(255,255,255,.07); }
.inaction-card.is-active .inaction-card__label { color: rgba(255,255,255,.85); }

@media (max-width: 900px) {
  .inaction-card { width: 160px; }
  .ia-strip-arrow { display: none; }
}
@media (max-width: 560px) {
  .inaction-card { width: 140px; }
  .inaction__stage-bar { padding: 14px 16px 12px; }
  .inaction__stage-title { font-size: 13px; }
  .ia-nav { width: 36px; height: 36px; }
  .ia-nav--prev { left: 8px; }
  .ia-nav--next { right: 8px; }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { background: var(--surface); padding: clamp(50px,6vw,86px) 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { padding-left: 24px; border-left: 3px solid var(--red); }
.stat__num { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(44px,5.5vw,78px); color: var(--ink); line-height: .92; display: flex; align-items: baseline; letter-spacing: -0.02em; }
.stat__suf { color: var(--red); }
.stat__label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 14px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--surface); }
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.svc__img { aspect-ratio: 4/3; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc:hover .svc__img img { transform: scale(1.04); }
.svc__body { padding: 28px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.svc__n { font-family: var(--mono); font-size: 12px; color: var(--red); font-weight: 700; letter-spacing: .1em; }
.svc__title { font-size: 24px; margin: 12px 0 12px; }
.svc__desc { font-size: 15px; line-height: 1.6; color: var(--grey); flex: 1; text-wrap: pretty; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; transition: gap .25s, color .25s; }
.svc:hover .svc__more { color: var(--red); gap: 13px; }

/* ============================================================
   FLEET CATEGORIES (accordion + item lightbox)
   ============================================================ */
.fleet { background: var(--ink); padding-bottom: clamp(60px,8vw,110px); }
.fleet .sec__head { padding-top: clamp(70px,10vw,150px); }

.fleet-cats { display: flex; flex-direction: column; gap: 10px; }

.fleet-cat { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; }

.fleet-cat__header {
  display: flex; align-items: center; gap: 20px;
  width: 100%; padding: 16px 20px;
  background: none; border: none; cursor: pointer; text-align: left; color: #fff;
  transition: background .25s;
}
.fleet-cat__header:hover { background: rgba(255,255,255,.04); }

.fleet-cat__img { flex-shrink: 0; width: 120px; height: 80px; border-radius: 3px; overflow: hidden; }
.fleet-cat__img img { width: 100%; height: 100%; object-fit: cover; }

.fleet-cat__meta { flex: 1; min-width: 0; }
.fleet-cat__title { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(20px,2.6vw,28px); letter-spacing: -.01em; color: #fff; margin: 0 0 4px; }
.fleet-cat__desc { font-size: 14px; line-height: 1.5; color: var(--grey-2); margin: 0 0 6px; max-width: 60ch; text-wrap: pretty; }
.fleet-cat__count { font-family: var(--mono); font-size: 11px; color: var(--grey-2); letter-spacing: .08em; text-transform: uppercase; }

.fleet-cat__chevron { flex-shrink: 0; color: var(--grey-2); transition: transform .3s var(--ease-out), color .25s; }
.fleet-cat__header[aria-expanded="true"] .fleet-cat__chevron { transform: rotate(180deg); color: var(--red); }

.fleet-cat__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.fleet-cat__panel.is-open { grid-template-rows: 1fr; }
.fleet-cat__panel-inner { overflow: hidden; }

.fleet-cat__items { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 4px 20px 20px; }

.fleet-item {
  background: var(--ink); border: 1px solid var(--line-dark); border-radius: 3px; overflow: hidden;
  text-align: left; padding: 0; cursor: pointer; transition: border-color .25s, transform .25s;
}
.fleet-item:hover { transform: translateY(-4px); border-color: var(--red); }
.fleet-item__img { aspect-ratio: 3/2; overflow: hidden; }
.fleet-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.fleet-item:hover .fleet-item__img img { transform: scale(1.06); }
.fleet-item__body { padding: 12px 13px 14px; }
.fleet-item__name { color: #fff; font-family: var(--display); font-weight: 700; font-size: 13.5px; }
.fleet-item__spec { display: block; font-family: var(--mono); color: var(--grey-2); font-size: 10.5px; margin-top: 4px; letter-spacing: .02em; }

.fleet-cat__empty { padding: 4px 20px 24px; color: var(--grey-2); font-size: 14px; }

/* Fleet item lightbox */
.fleet-lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8,8,10,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.fleet-lightbox[hidden] { display: none; }
.fleet-lightbox__close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s; z-index: 1;
}
.fleet-lightbox__close:hover { background: var(--red); }

.fleet-lightbox__card {
  display: grid; grid-template-columns: 1.3fr 1fr;
  max-width: 1100px; width: 100%; max-height: 88vh;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px;
  overflow: hidden;
}
.fleet-lightbox__gallery { display: flex; flex-direction: column; background: #000; min-width: 0; }
.fleet-lightbox__main { flex: 1; min-height: 0; }
.fleet-lightbox__main img { width: 100%; height: 100%; object-fit: contain; max-height: 70vh; display: block; }
.fleet-lightbox__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: rgba(255,255,255,.03); }
.fleet-lightbox__thumb { flex-shrink: 0; width: 64px; height: 48px; border-radius: 2px; overflow: hidden; border: 1px solid var(--line-dark); padding: 0; cursor: pointer; }
.fleet-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fleet-lightbox__info { padding: 28px; overflow-y: auto; color: #fff; }
.fleet-lightbox__info h3 { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(22px,2.8vw,32px); letter-spacing: -.01em; margin: 0 0 8px; }
.fleet-lightbox__spec { display: block; font-size: 12px; color: var(--red); letter-spacing: .06em; margin-bottom: 14px; }
.fleet-lightbox__desc { font-size: 14px; line-height: 1.6; color: var(--grey-2); margin: 0 0 18px; text-wrap: pretty; }
.fleet-lightbox__table { width: 100%; border-collapse: collapse; }
.fleet-lightbox__table tr { border-top: 1px solid var(--line-dark); }
.fleet-lightbox__table tr:first-child { border-top: none; }
.fleet-lightbox__table th, .fleet-lightbox__table td { text-align: left; padding: 9px 0; font-size: 13px; font-weight: 400; }
.fleet-lightbox__table th { font-family: var(--mono); color: var(--grey-2); width: 42%; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.fleet-lightbox__table td { color: #fff; font-family: var(--mono); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
.about__media { position: relative; }
.about__img { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; right: -16px; bottom: -16px; background: var(--red); color: #fff; padding: 20px 24px; border-radius: 3px; box-shadow: 0 24px 50px -20px rgba(var(--red-rgb),.7); }
.about__badge-num { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 40px; line-height: 1; }
.about__badge-txt { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; opacity: .9; display: block; margin-top: 5px; }
.about__lead { font-size: clamp(18px,1.7vw,22px); line-height: 1.5; color: var(--ink); margin: 22px 0 16px; font-weight: 500; text-wrap: pretty; }
.about__p { font-size: 16px; line-height: 1.72; color: var(--grey); text-wrap: pretty; }
.about__pts { margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.about__pt { display: flex; align-items: center; gap: 13px; font-family: var(--display); font-weight: 600; font-size: 16px; }
.about__ptck { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; font-size: 13px; }

/* ============================================================
   OUR PEOPLE
   ============================================================ */
.team { background: var(--ink); padding-bottom: clamp(60px,8vw,110px); }
.team .sec__head { padding-top: clamp(60px,8vw,110px); }
.team .sec__title { color: #fff; }
.team .eyebrow { opacity: .85; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .25s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--red); }

.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .55s var(--ease-out);
  display: block;
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }

.team-card__body {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line-dark);
}
.team-card__name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: -.01em;
}
.team-card__role {
  display: block;
  font-size: 11px;
  color: var(--red);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 5px;
}

@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs { background: var(--surface-2); }
.certs__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; text-align: left; transition: transform .3s var(--ease-out), box-shadow .3s; cursor: pointer; }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(0,0,0,.28); }
.cert-card__img { aspect-ratio: 3/4; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.cert-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cert-card__placeholder { font-family: var(--mono); font-size: 11px; color: var(--grey-2); text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 24px; line-height: 1.6; }
.cert-card__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 17px; font-family: var(--display); font-weight: 700; font-size: 13.5px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tms { background: var(--ink); }
.tms .sec__title { color: #fff; }
.tms .eyebrow { opacity: .9; }
.tms__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tm { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px; padding: 34px 30px; display: flex; flex-direction: column; }
.tm__q { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.52; color: #fff; margin: 0 0 26px; flex: 1; letter-spacing: -.01em; }
.tm__cap { display: flex; align-items: center; gap: 14px; }
.tm__avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; object-fit: cover; overflow: hidden; }
.tm__name { color: #fff; font-size: 15px; font-weight: 700; display: block; }
.tm__role { color: var(--grey-2); font-family: var(--mono); font-size: 11px; display: block; margin-top: 3px; letter-spacing: .03em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,88px); }
.contact__lead { font-size: 17px; line-height: 1.6; color: var(--grey); margin: 22px 0 30px; max-width: 42ch; text-wrap: pretty; }
.contact__rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.contact__row { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.contact__row em { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); font-style: normal; margin-bottom: 3px; font-weight: 700; }
.contact__ic { width: 46px; height: 46px; border-radius: 3px; background: var(--surface-2); color: var(--red); display: grid; place-items: center; flex: none; font-size: 18px; }
.contact__map { aspect-ratio: 16/7; border-radius: 3px; background: var(--surface-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.contact__map-ph { font-family: var(--mono); font-size: 11.5px; color: var(--grey-2); text-align: center; padding: 20px; line-height: 1.8; }
.contact__form { background: var(--ink); border-radius: 4px; padding: clamp(28px,4vw,46px); }
.contact__form-heading { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 28px; color: #fff; margin-bottom: 26px; }
.contact__success { text-align: center; padding: 30px 0; color: #fff; }
.contact__success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--st-delivered); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 26px; }
.contact__success h3 { font-size: 28px; margin-bottom: 10px; }
.contact__success p { color: var(--grey-2); line-height: 1.6; margin-bottom: 24px; }

/* ============================================================
   TRACK PAGE
   ============================================================ */
.trk { min-height: 100vh; background: var(--surface); }
.trk__hero { position: relative; background: var(--ink); padding: 152px 0 72px; overflow: hidden; transition: padding .4s; }
.trk__hero--compact { padding: 130px 0 56px; }
.trk__hero-bg { position: absolute; inset: 0; z-index: 0; }
.trk__hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.trk__hero-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,rgba(10,10,12,.62),rgba(10,10,12,.8)),
              radial-gradient(80% 120% at 85% 10%,rgba(var(--red-rgb),.28),transparent 55%); }
.trk__hero-inner { position: relative; z-index: 3; }
.trk__title { font-family: var(--display); font-weight: 800; font-stretch: 118%; color: #fff; font-size: clamp(40px,6.5vw,86px); margin: 16px 0; letter-spacing: -.02em; line-height: .92; }
.trk__lead { color: rgba(255,255,255,.8); font-size: clamp(16px,1.5vw,20px); max-width: 48ch; margin-bottom: 34px; line-height: 1.55; }
.trk__form { display: flex; gap: 14px; max-width: 720px; }
.trk__input-wrap { flex: 1; display: flex; align-items: center; gap: 13px; background: #fff; border-radius: 3px; padding: 0 20px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); }
.trk__input-wrap input { flex: 1; border: none; outline: none; background: none; font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: .05em; color: var(--ink); padding: 22px 0; text-transform: uppercase; min-width: 0; }
.trk__input-wrap input::placeholder { color: #c8c8c4; letter-spacing: .04em; font-weight: 400; text-transform: none; }
.trk__egs { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.trk__egs .mono { color: rgba(255,255,255,.55); font-size: 13px; }
.trk__eg { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 8px 13px; border-radius: 2px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; transition: all .2s; cursor: pointer; }
.trk__eg:hover { background: var(--red); border-color: var(--red); }
.trk__body { padding: clamp(36px,5vw,68px) var(--gut) 100px; max-width: var(--maxw); margin-inline: auto; }
.trk__loading { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 80px 0; font-family: var(--display); font-weight: 600; color: var(--grey); font-size: 17px; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.trk__error { display: flex; gap: 20px; max-width: 640px; margin: 28px auto; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--st-delayed); border-radius: 3px; padding: 28px 30px; }
.trk__error-icon { color: var(--st-delayed); font-size: 24px; flex: none; }
.trk__error h3 { font-size: 22px; margin-bottom: 8px; }
.trk__error p { color: var(--grey); line-height: 1.6; margin-bottom: 8px; font-size: 15px; }
.trk__error-hint { font-family: var(--mono); font-size: 12px; color: var(--grey-2); }
.trk__error-hint a { color: var(--red); font-weight: 700; cursor: pointer; }

/* Track result */
.res { max-width: 1180px; margin: 0 auto; }
.res__head { background: var(--ink); color: #fff; border-radius: 5px; padding: clamp(26px,3.5vw,42px); margin-bottom: 22px; position: relative; overflow: hidden; }
.res__head::after { content: ""; position: absolute; right: -50px; top: -50px; width: 260px; height: 260px; background: radial-gradient(circle,rgba(var(--red-rgb),.28),transparent 70%); pointer-events: none; }
.res__head-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.res__id { font-family: var(--mono); color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .12em; display: block; margin-bottom: 14px; }
.res__route { display: flex; align-items: center; gap: 20px; }
.res__city { font-family: var(--display); font-weight: 800; font-size: clamp(26px,3.4vw,44px); text-transform: uppercase; font-stretch: 112%; line-height: .95; }
.res__city em { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; font-style: normal; color: var(--grey-2); letter-spacing: .14em; margin-top: 5px; }
.res__route-line { color: var(--red); display: flex; align-items: center; padding: 0 4px; }
.res__route-line::before, .res__route-line::after { content: ""; width: clamp(16px,3.5vw,44px); height: 2px; background: repeating-linear-gradient(90deg,var(--red) 0 6px,transparent 6px 11px); }
.res__mode-icon { font-size: 20px; }
.res__status-box { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.res__eta .mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--grey-2); display: block; margin-bottom: 3px; }
.res__eta-val { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(20px,2.6vw,30px); color: #fff; line-height: 1; }
.res__loc { display: flex; align-items: center; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.82); font-size: 15px; position: relative; z-index: 1; }
.res__loc-pulse { width: 9px; height: 9px; border-radius: 50%; flex: none; animation: locPulse 1.8s infinite; }
@keyframes locPulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }
.res__loc b { color: #fff; }
.res__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: start; }
.res__side { display: flex; flex-direction: column; gap: 22px; }
.res__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.res__dl > div { display: flex; flex-direction: column; gap: 4px; }
.res__dl-full { grid-column: 1/-1; }
.res__dl dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.res__dl dd { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.4; }

/* ============================================================
   RESPONSIVE — public pages
   ============================================================ */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: 1fr; }
  .tms__grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-cat__items { grid-template-columns: repeat(3, 1fr); }
  .fleet-lightbox__card { grid-template-columns: 1fr; max-height: 92vh; }
  .fleet-lightbox__main img { max-height: 42vh; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .res__grid { grid-template-columns: 1fr; }
  .res__head-top { flex-direction: column; }
  .res__status-box { align-items: flex-start; }
}

@media (max-width: 640px) {
  .tms__grid { grid-template-columns: 1fr; }
  .fleet-cat__items { grid-template-columns: repeat(2, 1fr); }
  .trk__form { flex-direction: column; }
  .trk__form .btn { justify-content: center; }
  .res__dl { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1; justify-content: center; }
}

/* ── Phones ≤ 560px ──────────────────────────────────────────── */
@media (max-width: 560px) {
  /* Hero */
  .hero__inner { padding-top: 86px; padding-bottom: 60px; }
  .hero__title--xl { font-size: clamp(34px, 10vw, 56px); }
  .hero__sub { font-size: 15px; margin: 16px 0 20px; }
  .hero__eyebrow { font-size: 10px; gap: 10px; padding: 8px 12px; letter-spacing: .14em; }
  .hero__track-wrap { margin-top: 20px; }
  .herotrack { flex-wrap: wrap; padding: 10px 14px; gap: 8px; }
  .herotrack input { font-size: 14px; padding: 8px 0; }
  .herotrack .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stat { padding-left: 16px; border-left-width: 2px; }
  .stat__num { font-size: clamp(22px, 6.5vw, 32px); }
  .stat__label { font-size: 10px; margin-top: 8px; letter-spacing: .08em; }

  /* Services */
  .svc__body { padding: 20px 18px 22px; }
  .svc__title { font-size: 20px; }

  /* Fleet */
  .fleet-cat__header { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .fleet-cat__img { width: 84px; height: 60px; }
  .fleet-cat__title { font-size: 17px; }
  .fleet-cat__desc { display: none; }
  .fleet-cat__items { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 4px 14px 16px; }
  .fleet-item__body { padding: 8px 10px 10px; }
  .fleet-item__name { font-size: 12px; }
  .fleet-item__spec { font-size: 10px; }
  .fleet-lightbox { padding: 0; }
  .fleet-lightbox__card { max-height: 100vh; height: 100%; border-radius: 0; }
  .fleet-lightbox__main img { max-height: 34vh; }
  .fleet-lightbox__info { padding: 18px; }

  /* About */
  .about__badge { right: 0; bottom: -10px; padding: 14px 18px; }
  .about__badge-num { font-size: 30px; }

  /* Testimonials */
  .tm { padding: 22px 18px; }
  .tm__q { font-size: 16px; }

  /* Contact */
  .contact__form { padding: 22px 18px; }
  .contact__form-heading { font-size: 22px; }

  /* Certs */
  .certs__grid { grid-template-columns: 1fr 1fr; }

  /* Ticker */
  .ticker { padding: 9px 0; }
  .ticker__item { font-size: 11px; }
  .ticker__sep { margin: 0 16px; }

  /* In Action */
  .inaction__stage { height: clamp(190px, 52vw, 360px); }
}

/* ── Very small phones ≤ 400px ───────────────────────────────── */
@media (max-width: 400px) {
  .hero__title--xl { font-size: clamp(28px, 11vw, 40px); }
  .stats__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .fleet-cat__items { grid-template-columns: 1fr 1fr; gap: 6px; }
}
