/* ==========================================================================
   Partner Sync (partnersync.us) — Main Stylesheet
   Clean static stylesheet ready for Cloudflare Workers / Pages
   ========================================================================== */

:root {
  --navy: #040d64;
  --navy-deep: #070d26;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-soft: #eff6ff;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --surface: #f8fafc;
  --surface-alt: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.14);
  --success: #16a34a;
  --danger: #dc2626;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 50px -12px rgba(4, 13, 100, 0.18);
  --container: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5.5rem 0;
}

.section-sm {
  padding: 3.75rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-dark {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.eyebrow-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fde68a;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-head {
  max-width: 700px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.section-head p {
  font-size: 1.06rem;
  color: var(--muted);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.88rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(29, 78, 216, 0.5);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.45);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
}

.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--body);
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-phone:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-drawer a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.mobile-drawer a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 7.5rem;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 13, 38, 0.94) 0%, rgba(4, 13, 100, 0.78) 55%, rgba(7, 13, 38, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.8vw, 3.85rem);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

/* Overlap Feature Cards */
.features-overlap {
  position: relative;
  z-index: 5;
  margin-top: -4.25rem;
  padding-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 78, 216, 0.35);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

/* Split Spotlight */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.split-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.split-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(7, 13, 38, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.split-badge strong {
  display: block;
  font-size: 1.15rem;
  color: var(--accent);
}

.split-badge span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Dispatch Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.04);
}

.service-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 1.25rem;
}

.service-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--primary);
  margin-top: 0.5rem;
}

.fleet-banner {
  margin-top: 1.75rem;
  background: linear-gradient(125deg, var(--navy) 0%, #102a8c 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.fleet-banner h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.fleet-banner p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-width: 680px;
}

/* Metrics / Stats Band */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-card {
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
}

.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.05;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

/* Kinetic Marquee Banner */
.marquee-band {
  background: var(--navy);
  color: var(--white);
  padding: 1.35rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
}

.marquee-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Page Sub-Hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.38) 0%, transparent 70%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3rem);
  max-width: 760px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 660px;
  margin: 0;
}

/* 3-Step Onboarding */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.15rem;
}

.step-card h3 {
  font-size: 1.2rem;
}

.step-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Value Pillars (Carrier Setup) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pillar-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.pillar-item h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.pillar-item p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
}

.pricing-callout {
  background: linear-gradient(125deg, #0a1128 0%, #040d64 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.pricing-callout h3 {
  color: var(--white);
  font-size: 1.75rem;
}

.pricing-callout p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.pricing-highlights {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.pricing-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.field-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label,
.field-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.req {
  color: var(--danger);
}

.form-control {
  width: 100%;
  font-family: inherit;
  font-size: 0.96rem;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.choice-pill input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.file-box {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.file-box:hover {
  border-color: var(--primary);
}

.file-hint {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  display: none;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.form-status.success {
  display: block;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* Contact Page Grid */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.94rem;
  color: var(--body);
  margin: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.97rem;
  color: var(--ink);
}

.testimonial-author {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

/* Blogs Grid & Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--body);
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-deep);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.blog-card p {
  font-size: 0.93rem;
  color: var(--muted);
  flex: 1;
}

.read-more-btn {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more-btn:hover {
  color: var(--navy);
}

/* Article Reader Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 38, 0.72);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 740px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--surface);
}

/* Legal Content */
.prose {
  max-width: 820px;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(125deg, var(--navy-deep) 0%, var(--navy) 60%, #1d4ed8 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.cta-band .btn-group {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1.25fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 42px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-links {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.93rem;
}

.footer-contact-links a {
  color: var(--white);
  font-weight: 600;
}

.footer-contact-links a:hover {
  color: var(--accent);
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover {
  color: var(--white);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.64);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Floating WhatsApp Button */
.whatsapp-fab {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #16a34a;
  color: #ffffff;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 14px 30px -6px rgba(22, 163, 74, 0.5);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-fab:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-grid,
  .blog-grid,
  .testimonials-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-grid,
  .contact-layout,
  .pricing-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .header-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .section {
    padding: 4rem 0;
  }
  .hero {
    min-height: 520px;
    padding: 4rem 0 6rem;
  }
  .features-grid,
  .services-grid,
  .blog-grid,
  .testimonials-grid,
  .steps-grid,
  .pillars-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .fleet-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-card {
    padding: 1.5rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
