/* =========================================================
   ProActive Truck & Dispatch — Landing Page Template Styles
   Enqueued only on page-proactive-dispatch.php (see
   functions-snippet.php). Fonts loaded via Google Fonts link
   in functions.php — no self-hosted woff2 needed.
   ========================================================= */

.ptd-page,
.ptd-page * { box-sizing: border-box; }
.ptd-page { margin: 0; font-family: 'Manrope', system-ui, sans-serif; background: #F8FAFC; color: #0A2540; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
.ptd-wrap { font-family: 'Manrope', sans-serif; overflow-x: hidden; }

@keyframes ptd-float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes ptd-floats  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ptd-pulse   { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes ptd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ptd-rise    { from { transform: translateY(20px); opacity:0; } to { transform: translateY(0); opacity:1; } }
@media (prefers-reduced-motion: no-preference) {
  .ptd-reveal { animation: ptd-rise .7s cubic-bezier(.22,.61,.36,1); }
}

/* ---------- buttons ---------- */
.ptd-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; padding: 16px 26px; border-radius: 13px; font-weight: 700; font-size: 16px; }
.ptd-btn-sm { padding: 11px 20px; font-size: 14px; border-radius: 11px; }
.ptd-btn-primary { background: linear-gradient(135deg,#2563EB,#1d4ed8); color: #fff; box-shadow: 0 16px 36px rgba(37,99,235,0.5); }
.ptd-btn-ghost { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; backdrop-filter: blur(8px); }
.ptd-call-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #34d399; color: #06281b; font-size: 11px; }

/* ---------- nav ---------- */
.ptd-nav-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(10,37,64,0.82); border-bottom: 1px solid rgba(255,255,255,0.08); }
.ptd-nav { max-width: 1240px; margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ptd-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ptd-logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg,#2563EB,#1d4ed8); box-shadow: 0 8px 22px rgba(37,99,235,0.45); }
.ptd-logo-mark-bar { display: block; width: 18px; height: 11px; border-radius: 2px; background: #fff; position: relative; }
.ptd-logo-mark-tab { position: absolute; right: -7px; top: 1px; width: 8px; height: 9px; border-radius: 2px; background: rgba(255,255,255,0.8); }
.ptd-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.ptd-logo-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px; color: #fff; letter-spacing: -0.01em; }
.ptd-logo-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #7aa7ff; }
.ptd-nav-right { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ptd-nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.ptd-nav-links a { text-decoration: none; color: rgba(255,255,255,0.78); font-size: 14.5px; font-weight: 600; }

/* ---------- hero ---------- */
.ptd-hero { position: relative; background: radial-gradient(1100px 600px at 75% -10%, rgba(37,99,235,0.35), transparent 60%), linear-gradient(160deg,#0A2540 0%,#0d2c4f 55%,#0A2540 100%); color: #fff; overflow: hidden; }
.ptd-hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.04) 1px,transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(900px 500px at 70% 10%, #000, transparent 75%); -webkit-mask-image: radial-gradient(900px 500px at 70% 10%, #000, transparent 75%); }
.ptd-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 74px 28px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(440px,1fr)); gap: 54px; align-items: center; }
.ptd-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px; background: rgba(37,99,235,0.18); border: 1px solid rgba(122,167,255,0.35); font-size: 13px; font-weight: 600; color: #a9c6ff; letter-spacing: 0.02em; }
.ptd-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.2); animation: ptd-pulse 2s infinite; }
.ptd-h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(34px,4.6vw,58px); line-height: 1.04; letter-spacing: -0.025em; margin: 22px 0 0; }
.ptd-grad-text { background: linear-gradient(120deg,#60a5fa,#2563EB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ptd-lead { margin: 22px 0 0; font-size: clamp(16px,1.4vw,19px); line-height: 1.6; color: rgba(255,255,255,0.74); max-width: 560px; }
.ptd-tagline { margin: 14px 0 0; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; color: #9fc0ff; }
.ptd-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ptd-hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.ptd-hero-stat-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 24px; }
.ptd-hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); }
.ptd-divider { width: 1px; background: rgba(255,255,255,0.12); }

.ptd-hero-visual { position: relative; }
.ptd-hero-photo-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 40px 90px rgba(0,0,0,0.5); background: repeating-linear-gradient(135deg,#11365f,#11365f 13px,#0e2f53 13px,#0e2f53 26px); }
.ptd-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.ptd-hero-photo-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(to top, rgba(10,37,64,0.9), transparent); pointer-events: none; }

.ptd-float-card { position: absolute; }
.ptd-float-card--rate { top: -22px; left: -18px; animation: ptd-float 6s ease-in-out infinite; }
.ptd-float-card--track { bottom: 18px; right: -20px; animation: ptd-floats 5s ease-in-out infinite; padding: 14px 16px; border-radius: 15px; background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 18px 40px rgba(0,0,0,0.35); min-width: 172px; }
.ptd-float-card-inner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 15px; background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.ptd-float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-weight: 800; }
.ptd-float-icon--rate { background: linear-gradient(135deg,#34d399,#10b981); color: #06281b; }
.ptd-float-sub { font-size: 12px; color: rgba(255,255,255,0.65); }
.ptd-float-main { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: #fff; }
.ptd-track-top { display: flex; align-items: center; justify-content: space-between; }
.ptd-track-pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: ptd-pulse 1.6s infinite; display: inline-block; }
.ptd-track-route { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: #fff; margin-top: 6px; }
.ptd-track-bar { margin-top: 9px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.15); overflow: hidden; }
.ptd-track-bar-fill { height: 100%; width: 68%; border-radius: 99px; background: linear-gradient(90deg,#2563EB,#60a5fa); }
.ptd-track-eta { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 6px; }

/* ---------- trust marquee ---------- */
.ptd-marquee-wrap { position: relative; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); overflow: hidden; }
.ptd-marquee-track { display: flex; width: max-content; animation: ptd-marquee 26s linear infinite; }
.ptd-marquee-set { display: flex; }
.ptd-marquee-item { display: inline-flex; align-items: center; gap: 11px; padding: 16px 30px; font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,0.72); white-space: nowrap; }
.ptd-marquee-check { color: #2563EB; font-size: 16px; }

/* ---------- generic section heads ---------- */
.ptd-section { max-width: 1240px; margin: 0 auto; padding: 96px 28px 30px; }
.ptd-section-head { text-align: center; max-width: 680px; margin: 0 auto; }
.ptd-section-head--light { max-width: 640px; }
.ptd-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #2563EB; }
.ptd-eyebrow--light { color: #7aa7ff; }
.ptd-h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(28px,3.6vw,44px); line-height: 1.1; letter-spacing: -0.02em; margin: 14px 0 0; color: #0A2540; }
.ptd-h2--light { color: #fff; }
.ptd-section-sub { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: #5b6b7d; }

/* ---------- services ---------- */
.ptd-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px,1fr)); gap: 22px; margin-top: 46px; }
.ptd-service-card { position: relative; padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid #e7edf5; box-shadow: 0 1px 2px rgba(10,37,64,0.04); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.ptd-service-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(10,37,64,0.14); border-color: #cdddf7; }
.ptd-service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg,#eef4ff,#dbe8ff); border: 1px solid #d4e3fb; }
.ptd-service-icon-chip { display: block; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg,#2563EB,#1d4ed8); box-shadow: 0 6px 14px rgba(37,99,235,0.4); }
.ptd-service-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin: 20px 0 0; color: #0A2540; }
.ptd-service-desc { margin: 11px 0 0; font-size: 14.5px; line-height: 1.62; color: #5b6b7d; }
.ptd-service-rule { margin-top: 18px; height: 1px; background: #eef2f7; }
.ptd-service-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 700; font-size: 13.5px; color: #2563EB; }

.ptd-secondary-banner { margin-top: 34px; padding: 26px; border-radius: 20px; background: linear-gradient(135deg,#0A2540,#0d3055); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; }
.ptd-secondary-copy { min-width: 220px; }
.ptd-secondary-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; }
.ptd-secondary-sub { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.ptd-secondary-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ptd-chip { padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.9); }

/* ---------- why / stats ---------- */
.ptd-why { position: relative; margin-top: 70px; background: radial-gradient(900px 500px at 15% 0%, rgba(37,99,235,0.3), transparent 60%), linear-gradient(160deg,#0A2540,#0d2c4f); color: #fff; }
.ptd-why-inner { max-width: 1240px; margin: 0 auto; padding: 84px 28px; }
.ptd-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 18px; margin-top: 50px; }
.ptd-stat-card { padding: 30px 26px; border-radius: 20px; background: rgba(255,255,255,0.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.12); text-align: center; }
.ptd-stat-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(38px,5vw,52px); line-height: 1; background: linear-gradient(120deg,#fff,#9fc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ptd-stat-label { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.78); }

/* ---------- process ---------- */
.ptd-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px,1fr)); gap: 22px; margin-top: 48px; }
.ptd-step-card { position: relative; padding: 30px 24px; border-radius: 20px; background: #fff; border: 1px solid #e7edf5; }
.ptd-step-top { display: flex; align-items: center; justify-content: space-between; }
.ptd-step-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg,#2563EB,#1d4ed8); color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; box-shadow: 0 10px 22px rgba(37,99,235,0.35); }
.ptd-step-ghost-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 40px; color: #eef2f8; }
.ptd-step-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; margin: 18px 0 0; color: #0A2540; }
.ptd-step-desc { margin: 9px 0 0; font-size: 14px; line-height: 1.6; color: #5b6b7d; }

/* ---------- testimonials ---------- */
.ptd-testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 22px; margin-top: 46px; }
.ptd-testimonial-card { display: flex; flex-direction: column; padding: 30px 28px; border-radius: 20px; background: #fff; border: 1px solid #e7edf5; box-shadow: 0 1px 2px rgba(10,37,64,0.04); }
.ptd-stars { color: #f5b400; font-size: 16px; letter-spacing: 2px; }
.ptd-quote { margin: 16px 0 0; font-size: 15.5px; line-height: 1.66; color: #33414f; flex: 1; }
.ptd-testimonial-foot { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #eef2f7; }
.ptd-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,#0A2540,#2563EB); color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; }
.ptd-testimonial-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: #0A2540; }
.ptd-testimonial-role { font-size: 13px; color: #5b6b7d; }

/* ---------- industries ---------- */
.ptd-industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 14px; margin-top: 44px; }
.ptd-industry-card { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid #e7edf5; transition: transform .3s ease, border-color .3s ease; }
.ptd-industry-card:hover { transform: translateY(-4px); border-color: #cdddf7; }
.ptd-industry-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg,#eef4ff,#dbe8ff); border: 1px solid #d4e3fb; }
.ptd-industry-icon-chip { width: 14px; height: 14px; border-radius: 4px; background: #2563EB; display: block; }
.ptd-industry-label { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; color: #0A2540; }

/* ---------- CTA ---------- */
.ptd-cta-section { max-width: 1240px; margin: 96px auto 0; padding: 0 28px; }
.ptd-cta-box { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px,6vw,72px); background: radial-gradient(700px 400px at 85% 20%, rgba(37,99,235,0.45), transparent 60%), linear-gradient(140deg,#0A2540,#0d3157); color: #fff; text-align: center; box-shadow: 0 40px 90px rgba(10,37,64,0.4); }
.ptd-cta-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.05) 1px,transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(600px 300px at 50% 0, #000, transparent 70%); -webkit-mask-image: radial-gradient(600px 300px at 50% 0, #000, transparent 70%); }
.ptd-cta-inner { position: relative; }
.ptd-cta-copy { margin: 18px auto 0; max-width: 640px; font-size: clamp(16px,1.4vw,18px); line-height: 1.6; color: rgba(255,255,255,0.76); }
.ptd-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- footer ---------- */
.ptd-footer { margin-top: 80px; background: #0A2540; color: rgba(255,255,255,0.74); }
.ptd-footer-grid { max-width: 1240px; margin: 0 auto; padding: 64px 28px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 40px; }
.ptd-footer-brand { display: flex; align-items: center; gap: 12px; }
.ptd-footer-brand-text { line-height: 1.1; }
.ptd-footer-brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 16px; color: #fff; }
.ptd-footer-brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #7aa7ff; }
.ptd-footer-desc { margin: 18px 0 0; font-size: 14px; line-height: 1.6; max-width: 300px; }
.ptd-footer-col-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: #fff; letter-spacing: 0.04em; }
.ptd-footer-links { display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }
.ptd-footer-links a { text-decoration: none; color: rgba(255,255,255,0.7); font-size: 14px; }
.ptd-footer-contact span { font-size: 14px; }
.ptd-footer-link-accent { color: #7aa7ff !important; }
.ptd-footer-bottom-wrap { border-top: 1px solid rgba(255,255,255,0.1); }
.ptd-footer-bottom { max-width: 1240px; margin: 0 auto; padding: 20px 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.5); }
