/* =========================================================
   ProFleet Recruitment — Design System
   Deep Navy / Teal, Swiss-neutral type, monospace technical accents.
   ========================================================= */

:root {
  /* Colors */
  --navy: #14213D;
  --navy-dark: #0c1830;
  --teal: #00BFA6;
  --teal-hover: #00d4b8;
  --teal-text: #00a892;
  --teal-tint: #eafaf6;
  --off-white: #F8F9FA;
  --white: #ffffff;
  --slate: #4F5D75;
  --border: #ebedf0;
  --border-2: #e6eaef;
  --amber-bg: #fdf0e6;
  --amber-text: #b9772a;
  --error: #e5484d;
  --error-dark: #ff9a9a;

  /* Type */
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* Shape */
  --radius-field: 11px;
  --radius-card: 17px;
  --radius-tile: 22px;
  --shadow-card: 0 18px 40px rgba(20,33,61,.10);
  --shadow-tile: 0 30px 70px rgba(0,0,0,.28);

  /* Spacing */
  --section-y: clamp(72px,9vw,120px);
  --section-x: clamp(20px,5vw,56px);
  --content-max: 1200px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  color: var(--navy);
  background: var(--off-white);
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* ---------- Motion keyframes ---------- */
@keyframes pf-streak { 0% { transform: translateX(-130%); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(130%); opacity: 0; } }
@keyframes pf-streak-rev { 0% { transform: translateX(130%); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(-130%); opacity: 0; } }
@keyframes pf-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pf-pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }
@keyframes pf-proc { 0% { transform: translateX(-100%); } 100% { transform: translateX(700%); } }
@keyframes pf-vmove { 0% { background-position: -60% 0, 0 0; } 100% { background-position: 160% 0, 0 0; } }
@keyframes pf-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pf-spin-slow { to { transform: rotate(360deg); } }

/* ---------- Layout helpers ---------- */
/* Brief crossfade while the seamless router fetches the next page - #main
   itself is never removed/recreated (only its children), so this is the one
   piece of the transition that needs its own styling. */
#main { transition: opacity .15s ease; outline: none; }
#main.pf-route-loading { opacity: .4; }
.pf-wrap { max-width: var(--content-max); margin: 0 auto; }
.pf-section { padding: var(--section-y) var(--section-x); }
.pf-eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--teal-text); text-transform: uppercase; }
.pf-eyebrow::before { content: ''; display: block; width: 54px; height: 2px; margin-bottom: 16px; border-radius: 2px; background-image: linear-gradient(90deg,transparent,var(--teal),transparent), linear-gradient(rgba(20,33,61,.13),rgba(20,33,61,.13)); background-size: 42% 100%, 100% 100%; background-repeat: no-repeat; animation: pf-vmove 2.6s linear infinite; }
.pf-eyebrow-onnavy::before { background-image: linear-gradient(90deg,transparent,var(--teal),transparent), linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.16)); }
.pf-eyebrow-onnavy { color: var(--teal); }

/* ---------- Reveal / count-up (progressive enhancement) ---------- */
[data-reveal] { transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); }
.pf-js [data-reveal] { opacity: 0; transform: translateY(22px); }
.pf-js [data-reveal].pf-in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
#pf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--section-x);
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.12);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: padding .3s ease, box-shadow .3s ease;
}
#pf-nav.pf-scrolled { padding-top: 11px; padding-bottom: 11px; box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.pf-logo { display: flex; align-items: center; gap: 10px; }
.pf-logo-mark { height: 34px; width: auto; flex-shrink: 0; object-fit: contain; }
.pf-logo-word { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.pf-logo-pro { color: var(--teal); font-style: italic; font-weight: 800; }
.pf-navlinks { display: flex; align-items: center; gap: 30px; }
.pf-navlink { color: rgba(255,255,255,.78); font-size: 14px; transition: color .22s ease, transform .22s ease; }
.pf-navlink:hover { color: var(--teal); transform: translateY(-3px); }
.pf-navlink.pf-active { color: var(--teal); font-weight: 600; }
.pf-navlink-home { display: flex; align-items: center; color: var(--teal); font-weight: 700; }
.pf-navlink-home:hover { color: var(--teal-hover); transform: translateY(-3px); }
/* .pf-btn.pf-navcta (compound selector, higher specificity) — needed because
   .pf-btn's own padding/font-size (defined later in this file) would
   otherwise win the cascade over a plain .pf-navcta rule at equal specificity. */
.pf-btn.pf-navcta { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--teal); border-radius: 8px; color: var(--navy-dark); font-size: 12.5px; font-weight: 700; transition: background .25s ease, transform .25s ease; }
.pf-btn.pf-navcta:hover { background: var(--teal-hover); transform: translateY(-2px); }

.pf-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; }
.pf-burger span { display: block; height: 2px; width: 22px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; margin: 0 auto; }
.pf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pf-mobilemenu { position: fixed; top: 0; right: 0; height: 100%; width: min(320px,84vw); background: var(--navy); z-index: 99; box-shadow: -10px 0 40px rgba(0,0,0,.4); transform: translateX(100%); transition: transform .32s cubic-bezier(.16,.8,.3,1); padding: 96px 28px 40px; display: flex; flex-direction: column; gap: 4px; }
.pf-mobilemenu.pf-open { transform: translateX(0); }
.pf-mobilemenu a { color: rgba(255,255,255,.85); font-size: 17px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pf-mobilemenu a.pf-active { color: var(--teal); }
.pf-mobilemenu a.pf-mobile-cta { margin-top: 20px; border: none; background: var(--teal); color: var(--navy-dark); text-align: center; border-radius: 12px; padding: 15px 4px; }
.pf-scrim { position: fixed; inset: 0; background: rgba(12,24,48,.55); z-index: 98; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.pf-scrim.pf-open { opacity: 1; pointer-events: auto; }

/* Raised from 900px: the nav now carries a home icon, 5 text links and the
   Contact CTA, which no longer fits comfortably on tablet-width screens
   (including iPad landscape ~1024-1112px) without this breakpoint. */
@media (max-width: 1150px) {
  .pf-navlinks { display: none; }
  .pf-burger { display: flex; }
}

/* ---------- Buttons ---------- */
.pf-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; font-weight: 700; cursor: pointer; border: none; font-size: 16px; padding: 17px 30px; }
.pf-btn-label { display: inline-flex; align-items: center; gap: 10px; transition: opacity .28s ease, transform .28s ease; }
.pf-arrow-wrap { display: inline-flex; align-items: center; transition: transform .34s cubic-bezier(.5,0,.2,1); }
.pf-btn.pf-go .pf-btn-label { opacity: 0; transform: translateX(-12px); }
.pf-btn.pf-go .pf-arrow-wrap { transform: translateX(160px); }
.pf-arrow { transition: transform .32s ease; width: 18px; height: 18px; flex-shrink: 0; }
.pf-btn:hover .pf-arrow { transform: rotate(180deg); }

.pf-btn-primary { background: var(--teal); color: var(--navy-dark); box-shadow: 0 6px 16px rgba(0,191,166,.28); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.pf-btn-primary:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,191,166,.36); }

.pf-btn-ghost { background: transparent; border: 1.5px solid var(--teal); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(0,191,166,.16); transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }
.pf-btn-ghost:hover { background: rgba(0,191,166,.14); box-shadow: 0 0 0 3px rgba(0,191,166,.18), 0 10px 22px rgba(0,191,166,.22); transform: translateY(-2px); }

.pf-btn-outline { background: var(--navy); border: 1.5px solid var(--navy); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(20,33,61,.32); transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.pf-btn-outline:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,33,61,.4); }

.pf-btn-sm { padding: 12px 20px; font-size: 14.5px; border-radius: 10px; }

.pf-textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-text); font-weight: 700; font-size: 15px; transition: gap .2s ease; }
.pf-textlink:hover { gap: 12px; }

/* ---------- Cards ---------- */
.pf-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 30px; transition: transform .28s cubic-bezier(.16,.8,.3,1), box-shadow .28s ease, border-color .28s ease; }
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: #cdeee8; }
.pf-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-text); display: flex; align-items: center; justify-content: center; }
.pf-card-icon svg { width: 23px; height: 23px; }
.pf-card-icon-navy { background: var(--navy); color: var(--teal); }

/* ---------- Unified contact tile (teal background variant) ---------- */
.pf-tile-teal .pf-cb-field { background: rgba(12,24,48,.07); border-color: rgba(12,24,48,.18); color: var(--navy-dark); }
.pf-tile-teal .pf-cb-field:focus { border-color: var(--navy-dark); background: rgba(12,24,48,.12); box-shadow: 0 0 0 3px rgba(12,24,48,.14); }
.pf-tile-teal .pf-cb-field::placeholder { color: rgba(12,24,48,.55); }
.pf-tile-teal .pf-eyebrow-onnavy { color: var(--navy-dark); }
.pf-tile-teal .pf-eyebrow-onnavy::before { background-image: linear-gradient(90deg,transparent,var(--navy-dark),transparent), linear-gradient(rgba(12,24,48,.18),rgba(12,24,48,.18)); }
.pf-tile-teal .pf-flink { color: rgba(12,24,48,.78); }
.pf-tile-teal .pf-flink:hover { color: var(--navy-dark); }
.pf-tile-teal .pf-foot-cta { background: rgba(12,24,48,.08); border-color: rgba(12,24,48,.2); color: var(--navy-dark); }
.pf-tile-teal .pf-foot-cta:hover { background: rgba(12,24,48,.16); }
.pf-tile-teal .pf-phone span:last-child, .pf-tile-teal .pf-contact-row-label { color: var(--navy-dark); }

/* Large ghost icon in the tile background, right side, behind the form —
   fills the empty space on wide screens without competing with the content. */
.pf-tile-ghost-icon { position: absolute; top: 50%; right: clamp(-60px,-2vw,10px); transform: translateY(-50%); opacity: .08; pointer-events: none; z-index: 0; color: #fff; }
.pf-tile-teal .pf-tile-ghost-icon { color: var(--navy-dark); opacity: .1; }
@media (max-width: 900px) { .pf-tile-ghost-icon { display: none; } }

/* ---------- Home hero photo treatment ---------- */
/* Right-anchored panel (not full-bleed) keeps the left ~45% of the hero
   clean navy for the heading/CTA text, with the photo as a supporting
   visual rather than a full-bleed background fighting the copy. */
.pf-hero-photo { position: absolute; right: 0; top: 0; bottom: 0; width: min(58%, 880px); z-index: 0; overflow: hidden; }
/* Grayscale the source first — the photo is warm orange/brown, and any
   overlay blend mode still let that hue bleed through. Stripping color
   before washing it in flat teal is the only way to reliably read as teal. */
/* Source is a tall aerial (2232x2975) straight down onto a busy multi-lane
   highway, most of the vehicles clustered in the upper-middle band - crop
   favours that over the emptier lower section with the road-marking text. */
/* Base scale matches the JS parallax's resting state (scale(1.12)) so there's
   no visible jump once main.js attaches on load; JS overrides transform on
   scroll, this is just the pre-JS / no-JS fallback frame. */
.pf-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 38%; filter: grayscale(1) contrast(1.08) brightness(.92); transform: scale(1.12); will-change: transform; }
.pf-hero-photo-teal { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,191,166,.4) 0%, rgba(0,191,166,.32) 50%, rgba(0,120,104,.44) 100%); mix-blend-mode: color; }
.pf-hero-photo-fade { position: absolute; inset: 0; background: linear-gradient(90deg, #14213D 0%, rgba(20,33,61,.85) 12%, rgba(20,33,61,.35) 26%, rgba(20,33,61,0) 42%); }
.pf-hero-photo-fade-v { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,33,61,.5) 0%, rgba(20,33,61,0) 16%, rgba(20,33,61,0) 82%, rgba(20,33,61,.35) 100%); }
@media (max-width: 900px) {
  .pf-hero-photo { width: 100%; opacity: .5; }
  .pf-hero-photo-fade { background: linear-gradient(180deg, #14213D 0%, rgba(20,33,61,.6) 40%, rgba(20,33,61,.85) 100%); }
}

/* ---------- Subpage hero ghost-icon accent (page-relevant motif) ---------- */
/* Used on subpages with no dedicated hero photo (e.g. Partnerships) - the
   other main subpages use a real photo instead, so this only needs to cover
   the no-photo case rather than every hero. */
.pf-hero-icon-ghost { position: absolute; top: 50%; right: clamp(0px,3vw,60px); transform: translateY(-50%); opacity: .07; color: var(--teal); pointer-events: none; z-index: 0; animation: pf-float 7s ease-in-out infinite; }
@media (max-width: 1100px) { .pf-hero-icon-ghost { transform: translateY(-50%) scale(.72); right: -20px; } }
@media (max-width: 760px) { .pf-hero-icon-ghost { display: none; } }

/* ---------- Chips ---------- */
.pf-chips { display: grid; gap: 12px; margin-top: 36px; }
.pf-chips-3 { grid-template-columns: repeat(3,1fr); }
.pf-chips-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 680px) { .pf-chips-3, .pf-chips-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px) { .pf-chips-3, .pf-chips-4 { grid-template-columns: 1fr; } }
.pf-chip { display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px 16px; background: #fff; border: 1px solid var(--border-2); border-radius: 999px; font-size: 15px; font-weight: 600; transition: border-color .2s ease, transform .2s ease; }
.pf-chip:hover { border-color: var(--teal); transform: translateY(-2px); }

/* ---------- Forms ---------- */
.pf-field { width: 100%; padding: 13px 15px; border: 1px solid #d6dbe2; border-radius: var(--radius-field); background: #fff; color: var(--navy); outline: none; font-family: inherit; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.pf-field:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,191,166,.16); }
textarea.pf-field { resize: vertical; min-height: 90px; }

.pf-cb-field { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; padding: 13px 15px; border-radius: var(--radius-field); outline: none; font-family: inherit; font-size: 15px; width: 100%; transition: border-color .2s ease, background .2s ease; }
.pf-cb-field:focus { border-color: var(--teal); background: rgba(0,191,166,.08); }
.pf-cb-field::placeholder { color: rgba(255,255,255,.45); }
textarea.pf-cb-field { resize: vertical; min-height: 90px; }

.pf-field.pf-invalid, .pf-cb-field.pf-invalid { border-color: var(--error) !important; }

.pf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 480px) { .pf-field-row { grid-template-columns: 1fr; } }

.pf-choicewrap { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-choice { position: relative; cursor: pointer; }
.pf-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.pf-choice span { display: inline-block; padding: 10px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 13.5px; color: rgba(255,255,255,.78); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.pf-choice:hover span { border-color: var(--teal); }
.pf-choice input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--navy-dark); font-weight: 700; }
.pf-choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.pf-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--slate); line-height: 1.5; cursor: pointer; }
.pf-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); flex-shrink: 0; }
.pf-consent-dark { color: rgba(255,255,255,.68); }

.pf-form-status { display: none; font-size: 13.5px; font-weight: 600; }
.pf-form-status.pf-show { display: block; }

.pf-success { text-align: center; padding: 30px 0; }
.pf-success-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(0,191,166,.16); color: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.pf-success h3 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.pf-success p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
.pf-success-dark h3 { color: #fff; }
.pf-success-dark p { color: rgba(255,255,255,.72); }
.pf-success-light h3 { color: var(--navy); }
.pf-success-light p { color: var(--slate); }

/* honeypot */
.pf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.pf-flink { color: rgba(255,255,255,.72); transition: color .2s ease; }
.pf-flink:hover { color: var(--teal); }
/* Email text carries its own inline color (varies navy/teal tile), so hover
   needs !important to win over that inline style — narrow, deliberate use. */
.pf-flink:hover .pf-email-text { color: var(--teal) !important; transition: color .2s ease; }
.pf-foot-cta { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .2s ease, border-color .2s ease; }
.pf-foot-cta:hover { background: rgba(0,191,166,.14); border-color: var(--teal); }
.pf-phone { pointer-events: none; cursor: default; }
@media (max-width: 860px) { .pf-phone { pointer-events: auto; cursor: pointer; } }

footer.pf-footer { background: var(--navy); color: #fff; padding: clamp(56px,7vw,88px) var(--section-x) 32px; }
.pf-footer-grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 40px; }
.pf-footer-heading { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: rgba(255,255,255,.4); text-transform: uppercase; }
.pf-footer-bottom { max-width: var(--content-max); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }

/* ---------- Tiles (CTA / dual path) ---------- */
.pf-tile { position: relative; overflow: hidden; border-radius: var(--radius-tile); }
.pf-tile-photo { position: relative; overflow: hidden; border-radius: var(--radius-tile); background: var(--navy); min-height: clamp(320px,40vh,440px); display: flex; align-items: center; }
.pf-tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pf-tile-photo-content { padding: clamp(36px,5vw,64px); position: relative; z-index: 2; }
.pf-tile-overlay-navy { position: absolute; inset: 0; background: linear-gradient(90deg,#14213D 0%, rgba(20,33,61,.94) 32%, rgba(20,33,61,.62) 68%, rgba(20,33,61,.34) 100%); }
.pf-tile-overlay-navy-v { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,33,61,.55) 0%, rgba(20,33,61,0) 42%); }
.pf-tile-overlay-teal { position: absolute; inset: 0; background: linear-gradient(90deg,#00BFA6 0%, rgba(0,170,146,.94) 32%, rgba(0,170,146,.6) 68%, rgba(0,160,138,.4) 100%); }
.pf-tile-overlay-teal-v { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,150,131,.5) 0%, rgba(0,191,166,0) 42%); }

.pf-dualpath { position: relative; overflow: hidden; border-radius: 24px; min-height: clamp(440px,72vh,680px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(30px,3.6vw,48px); transition: transform .32s cubic-bezier(.16,.8,.3,1); }
.pf-dualpath:hover { transform: translateY(-4px); }
.pf-dualpath img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,.8,.3,1); }
.pf-dualpath:hover img { transform: scale(1.06); }
.pf-tilecta { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 16.5px; transition: background .25s ease, color .25s ease, gap .25s ease; }
.pf-tilecta-emp { background: rgba(0,191,166,.16); color: var(--teal); }
.pf-dualpath:hover .pf-tilecta-emp { background: var(--teal); color: var(--navy-dark); gap: 12px; }
.pf-tilecta-can { background: rgba(12,24,48,.16); color: var(--navy-dark); }
.pf-dualpath:hover .pf-tilecta-can { background: var(--navy-dark); color: #fff; gap: 12px; }

/* Velocity streaks (reused inside navy tiles/hero) */
.pf-streaks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pf-streak { position: absolute; height: 2px; border-radius: 2px; background: linear-gradient(90deg,transparent,var(--teal),transparent); box-shadow: 0 0 12px rgba(0,191,166,.6); animation: pf-streak 5.5s linear infinite; }
.pf-streak.rev { background: linear-gradient(90deg,transparent,#3ad7c2,transparent); animation-name: pf-streak-rev; box-shadow: none; }
.pf-glow { position: absolute; border-radius: 50%; background: radial-gradient(circle,rgba(0,191,166,.16),transparent 68%); pointer-events: none; }
.pf-banner-logo-bg { position: absolute; top: 50%; left: 30%; transform: translate(-50%, -50%); width: 130px; height: auto; opacity: .1; pointer-events: none; z-index: 0; }
@media (max-width: 700px) { .pf-banner-logo-bg { display: none; } }

/* ---------- Sticky newsletter tab + modal ---------- */
.pf-newsletter-tab {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 11px; border: none; border-radius: 12px 0 0 12px;
  background: var(--teal); color: #fff; font-family: inherit;
  cursor: pointer; z-index: 90; box-shadow: -4px 4px 20px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: background-color .2s ease, transform .2s ease, opacity .3s ease, visibility .3s ease;
}
.pf-newsletter-tab.pf-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.pf-newsletter-tab:hover { background: var(--teal-hover); transform: translateY(-50%) translateX(-3px); }
.pf-newsletter-tab-label { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
@media (max-width: 760px) {
  .pf-newsletter-tab { flex-direction: row; top: auto; bottom: 20px; right: 16px; transform: none; border-radius: 50%; padding: 15px; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
  .pf-newsletter-tab:hover { transform: none; }
  .pf-newsletter-tab-label { display: none; }
}

/* ---------- Back to top ---------- */
/* Bottom-left (not right) so it never collides with the newsletter tab,
   which occupies the right edge on every screen size. */
.pf-backtotop {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--teal); color: var(--navy-dark); font-family: inherit;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: background-color .2s ease, transform .25s ease, opacity .3s ease, visibility .3s ease;
}
.pf-backtotop.pf-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.pf-backtotop:hover { background: var(--teal-hover); }
.pf-backtotop svg { transform: rotate(-90deg); }

.pf-newsletter-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(12,24,48,.62); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.pf-newsletter-overlay.pf-open { opacity: 1; visibility: visible; }
.pf-newsletter-modal {
  max-width: 480px; width: 100%; padding: clamp(32px,5vw,44px);
  background: radial-gradient(circle 480px at 82% 15%, #1a3550 0%, var(--navy) 60%, #0c1830 100%);
  box-shadow: var(--shadow-tile); transform: translateY(18px) scale(.97);
  transition: transform .3s cubic-bezier(.16,.8,.3,1);
}
.pf-newsletter-overlay.pf-open .pf-newsletter-modal { transform: translateY(0) scale(1); }
.pf-newsletter-logo-bg {
  position: absolute; top: 50%; right: -50px; transform: translateY(-50%);
  width: 300px; height: auto; opacity: .14; pointer-events: none; z-index: 0;
}
@media (max-width: 520px) { .pf-newsletter-logo-bg { width: 200px; } }
.pf-newsletter-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s ease;
}
.pf-newsletter-close:hover { background: rgba(255,255,255,.2); }
.pf-newsletter-body { position: relative; z-index: 2; }
body.pf-modal-open { overflow: hidden; }

/* ---------- Generic light modal (long-form content, e.g. Terms & Conditions) ---------- */
.pf-modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(12,24,48,.62); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.pf-modal-overlay.pf-open { opacity: 1; visibility: visible; }
.pf-modal-card {
  position: relative; background: #fff; border-radius: var(--radius-tile);
  max-width: 700px; width: 100%; max-height: 82vh; overflow-y: auto;
  padding: clamp(32px,5vw,48px); box-shadow: var(--shadow-tile);
  transform: translateY(18px) scale(.97); transition: transform .3s cubic-bezier(.16,.8,.3,1);
}
.pf-modal-overlay.pf-open .pf-modal-card { transform: translateY(0) scale(1); }
.pf-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(20,33,61,.08); color: var(--navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s ease;
}
.pf-modal-close:hover { background: rgba(20,33,61,.16); }
.pf-textlink-inline { background: none; border: none; padding: 0; margin: 0; color: var(--teal); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Hero (graphic, no photo) ---------- */
.pf-hero { position: relative; background: var(--navy); overflow: hidden; }
.pf-hero-lanes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pf-hero-lane { position: absolute; left: 0; right: 0; height: 1px; background: rgba(0,191,166,.08); }

/* Home hero graphic: abstracted route/network motif instead of a literal truck photo,
   so it scales cleanly at every breakpoint without awkward cropping. */
.pf-hero-graphic { position: absolute; right: 0; top: 0; bottom: 0; width: min(46%, 640px); z-index: 1; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.pf-hero-graphic-inner { position: relative; width: 100%; aspect-ratio: 1/1; max-width: 560px; }
.pf-hero-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0,191,166,.16); }
.pf-hero-ring.r1 { inset: 0; }
.pf-hero-ring.r2 { inset: 11%; border-color: rgba(0,191,166,.22); }
.pf-hero-ring.r3 { inset: 22%; border-color: rgba(0,191,166,.3); animation: pf-spin-slow 40s linear infinite; }
.pf-hero-node { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 16px 4px rgba(0,191,166,.6); animation: pf-pulse 2.4s ease-in-out infinite; }
.pf-hero-truckwrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; animation: pf-float 6s ease-in-out infinite; }
.pf-hero-truckwrap svg { width: 62%; height: 62%; color: var(--teal); filter: drop-shadow(0 20px 50px rgba(0,191,166,.25)); }
.pf-hero-fade-l { position: absolute; inset: 0; background: linear-gradient(90deg, #14213D 0%, rgba(20,33,61,0) 55%); }

@media (max-width: 900px) {
  .pf-hero-graphic { display: none; }
}

/* ---------- Hero rise-in (plays on load, no JS needed) ---------- */
.pf-hero-rise { animation: pf-rise .7s ease both; }
.pf-hero-rise.d1 { animation-delay: .08s; }
.pf-hero-rise.d2 { animation-delay: .16s; }
.pf-hero-rise.d3 { animation-delay: .24s; }
.pf-hero-rise.d4 { animation-delay: .32s; }

/* ---------- Stat row ---------- */
.pf-stats { display: flex; flex-wrap: wrap; gap: clamp(28px,5vw,64px); }
.pf-stat-num { font-family: var(--font-mono); font-size: clamp(26px,3.4vw,34px); font-weight: 700; color: #fff; }
.pf-stat-num.teal { color: var(--teal); }
.pf-stat-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 5px; }

/* ---------- Process connector ---------- */
.pf-process-line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: #e2e6ec; overflow: hidden; border-radius: 2px; }
.pf-process-pulse { position: absolute; top: 0; height: 2px; width: 60px; background: linear-gradient(90deg,transparent,var(--teal),transparent); animation: pf-proc 4.5s linear infinite; }
.pf-process-truckrail { position: absolute; left: 0; right: 0; top: 27px; height: 2px; pointer-events: none; }
.pf-process-truck { position: absolute; top: 50%; left: -3%; color: var(--teal); transform: translate(-50%,-50%); animation: pf-proc-truck 6s linear infinite; filter: drop-shadow(0 3px 8px rgba(0,191,166,.5)); }
@keyframes pf-proc-truck { 0% { left: -3%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 101%; opacity: 0; } }
.pf-step-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 18px; font-weight: 700; border: 3px solid var(--off-white); box-shadow: 0 0 0 1px var(--navy); }
.pf-step-circle.teal { background: var(--teal); color: var(--navy-dark); box-shadow: 0 0 0 1px var(--teal); }

/* ---------- Badges ---------- */
.pf-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; font-weight: 700; }
.pf-badge-standard { background: var(--teal-tint); color: var(--teal-text); }
.pf-badge-additional { background: var(--amber-bg); color: var(--amber-text); }

/* ---------- Preloader ---------- */
#pf-preloader { position: fixed; inset: 0; z-index: 99999; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; transition: opacity .5s ease; font-family: var(--font-body); }
#pf-preloader .pf-pl-word { display: flex; align-items: center; gap: 10px; }
#pf-preloader .pf-pl-word .pf-logo-mark { height: 26px; }
#pf-preloader .pf-pl-word .pf-pl-name { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
#pf-pl-track { position: relative; width: min(420px,72vw); height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; }
#pf-pl-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg,var(--teal),#3ad7c2); border-radius: 2px; box-shadow: 0 0 12px rgba(0,191,166,.6); }
#pf-pl-truck { position: absolute; top: 50%; left: 0; transform: translate(-50%,-62%); color: var(--teal); line-height: 0; transition: left .12s linear; }
#pf-pl-pct { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.55); }
body.pf-preloading { overflow: hidden; }
/* Set synchronously by an inline head script (before first paint) when
   sessionStorage shows the loading screen already played this visit -
   keeps it from ever flashing on repeat/direct loads within the session. */
html.pf-skip-preloader #pf-preloader { display: none !important; }
html.pf-skip-preloader body.pf-preloading { overflow: visible; }

/* ---------- FAQ accordion (native <details>, no JS required to function) ---------- */
.pf-faq { background: transparent; border-radius: 14px; overflow: hidden; }
.pf-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16px; color: #fff; background: var(--teal); transition: background-color .2s ease; }
.pf-faq:hover summary { background: var(--teal-hover); }
.pf-faq summary::-webkit-details-marker { display: none; }
.pf-faq-chevron { flex-shrink: 0; color: #fff; transition: transform .25s ease; }
.pf-faq p { padding: 20px 22px; margin: 0; font-size: 15px; line-height: 1.65; color: var(--slate); background: #fff; border: 1.5px solid var(--teal); border-top: none; border-radius: 0 0 14px 14px; }

/* Large background watermark spanning most of the FAQ section, same
   "ghost icon" language as the subpage hero accents — sits behind the
   content (z-index:0), never competes with the text for attention. */
.pf-faq-section { position: relative; overflow: hidden; }
/* top:50% previously centered on the *whole* (very tall, 8-item) section,
   which visually landed near the bottom relative to the heading. A negative
   top then pushed it past the section's own top edge, where overflow:hidden
   clipped it. Small positive offset keeps the whole circle inside the
   section while still reading as top/centre-right of the heading area. */
.pf-faq-watermark { position: absolute; top: clamp(20px,4vw,60px); right: clamp(-140px,-4vw,-20px); width: clamp(420px,46vw,680px); height: clamp(420px,46vw,680px); color: var(--teal); opacity: .06; pointer-events: none; z-index: 0; animation: pf-float 9s ease-in-out infinite; }
/* icon() sets an inline px size on the svg itself — !important is needed
   here so this element can actually be responsive instead of a fixed size. */
.pf-faq-watermark svg { width: 100% !important; height: 100% !important; }
@media (max-width: 760px) { .pf-faq-watermark { opacity: .05; width: 80vw; height: 80vw; right: -20vw; } }

/* ---------- Skip link (a11y) ---------- */
.pf-skiplink { position: absolute; left: -999px; top: 0; background: var(--teal); color: var(--navy-dark); padding: 12px 20px; font-weight: 700; border-radius: 0 0 10px 0; z-index: 10000; }
.pf-skiplink:focus { left: 0; }

/* ---------- Utility ---------- */
/* min(Xpx,100%) as the track floor (rather than a bare px value) stops the
   column from ever exceeding the container's own width - without it, a
   narrower-than-Xpx viewport (small phones) would force horizontal overflow
   instead of collapsing to a single column. */
.pf-grid-2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); gap: clamp(40px,6vw,72px); align-items: center; }
.pf-grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(280px,100%),1fr)); gap: 20px; }
.pf-grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
@media (max-width: 760px) { .pf-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .pf-grid-4 { grid-template-columns: 1fr; } }

.pf-grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
@media (max-width: 860px) { .pf-grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .pf-grid-3 { grid-template-columns: 1fr; } }

.pf-max-md { max-width: 640px; }
.pf-max-lg { max-width: 700px; }

h1, h2 { text-wrap: balance; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(36px,5.4vw,60px); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(30px,4.4vw,44px); line-height: 1.08; }
h3 { font-weight: 700; }
p { line-height: 1.6; }

.pf-body-lead { font-size: 18px; line-height: 1.6; color: var(--slate); }

/* ---------- Focus visibility (a11y) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
