/* ═══════════════════════════════════════
   CALLIO FREIGHT BROKERING — Main Styles
   ═══════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────── */
:root {
  --navy-950: #06162b;
  --navy-900: #0d2847;
  --navy-700: #1a4d8f;
  --navy-600: #2563b8;
  --orange-500: #f97316;
  --orange-600: #ea6c0f;
  --orange-text: #c94a16;
  --teal: #0891b2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --green: #16a34a;

  --nav-h: 80px;
  --container-max: 1280px;
  --container-px: clamp(16px, 4vw, 40px);
  --section-py: clamp(64px, 9vw, 112px);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --shadow-card: 0 0 0 1px rgba(0,0,0,.05), 0 4px 20px rgba(0,0,0,.08);
  --shadow-card-hover: 0 0 0 2px var(--navy-700), 0 12px 36px rgba(26,77,143,.15);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* ── Utilities ──────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-600);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Focus ──────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── Scroll Animations ──────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

[data-animate-delay="1"] { transition-delay: 100ms; }
[data-animate-delay="2"] { transition-delay: 200ms; }
[data-animate-delay="3"] { transition-delay: 300ms; }

[data-animate].animate--in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; }
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--navy-700);
  color: var(--white);
  border-color: var(--navy-700);
}

.btn--primary:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,77,143,.35);
}

.btn--accent {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}

.btn--accent:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--navy-700);
}

.btn--nav {
  background: var(--orange-500);
  color: var(--white);
  padding: .55rem 1.25rem;
  font-size: .875rem;
  border-radius: var(--radius-sm);
}

.btn--nav:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn--sm {
  padding: .5rem 1rem;
  font-size: .825rem;
}

/* ── Navigation ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}

.site-header[data-scrolled] {
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar { padding: 0 var(--container-px); }

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.nav-brand__name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-700);
  letter-spacing: 2px;
}

.nav-brand__tagline {
  font-size: .65rem;
  color: var(--gray-600);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-brand__logo {
  height: 68px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-800);
  padding: .375rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy-700);
  border-color: var(--orange-500);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}

.nav-hamburger:hover { background: var(--gray-100); }

.hamburger-bar {
  width: 22px;
  height: 2.5px;
  background: var(--navy-700);
  border-radius: 2px;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-base) var(--ease);
  display: block;
}

.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.scroll-progress {
  height: 3px;
  background: var(--orange-500);
  width: 0%;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  z-index: 999;
  transition: width .1s linear;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, #1a3d6e 100%);
  color: var(--white);
  padding: clamp(90px,14vw,160px) var(--container-px) clamp(100px,15vw,170px);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
}

.hero__bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__orb--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,.25) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  animation: orb-float 8s ease-in-out infinite;
}

.hero__orb--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37,99,184,.35) 0%, transparent 70%);
  bottom: 60px;
  left: -60px;
  animation: orb-float 11s ease-in-out infinite reverse;
}

/* Hero logo — centerpiece card */
.hero__logo-wrap {
  margin-bottom: 2.25rem;
  display: flex;
  justify-content: center;
}

.hero__logo-card {
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  padding: 1.25rem 2.5rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: heroLogoIn 0.7s ease both;
}

.hero__logo {
  width: 340px;
  max-width: 80vw;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .hero__logo {
    width: 240px;
  }
  .hero__logo-card {
    padding: 1rem 1.75rem;
    border-radius: 18px;
  }
  .nav-brand__logo {
    height: 56px;
  }
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.95);
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 500;
}

.trust-badge__icon {
  width: 14px;
  height: 14px;
  fill: var(--orange-500);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero__title-accent {
  background: linear-gradient(90deg, var(--orange-500), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .9;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Quick Form */
.hero__quick-form {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-width: 860px;
  margin: 0 auto 3rem;
}

.quick-form__inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.quick-form__field {
  position: relative;
  flex: 1;
  min-width: 140px;
}

.quick-form__icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--gray-400);
}

.quick-form__field input,
.quick-form__field select {
  width: 100%;
  padding: .75rem .75rem .75rem 2.25rem;
  background: rgba(255,255,255,.95);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--gray-800);
  transition: border-color var(--dur-base);
}

.quick-form__field input:focus,
.quick-form__field select:focus {
  outline: none;
  border-color: var(--orange-500);
  background: var(--white);
}

.quick-form__field--select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 18px;
  padding-right: 2.25rem;
}

.quick-form__sep {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.5);
}

.quick-form__sep svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.quick-form__submit {
  white-space: nowrap;
  flex-shrink: 0;
  padding: .75rem 1.5rem;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  opacity: .85;
}

.hero__feature svg {
  width: 18px;
  height: 18px;
  fill: var(--orange-500);
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  animation: bounce 2s ease-in-out infinite;
  transition: border-color var(--dur-base);
}

.hero__scroll-cue:hover {
  border-color: rgba(255,255,255,.7);
}

.hero__scroll-cue svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Strip ────────────────────────────────── */
.stats-strip {
  background: var(--navy-700);
  padding: clamp(40px,5vw,60px) var(--container-px);
}

.stats-strip__container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--orange-500);
  line-height: 1;
  margin-bottom: .5rem;
}

.stat-item__label {
  font-size: .875rem;
  opacity: .85;
  font-weight: 500;
}

/* ── Services ───────────────────────────────────── */
.services {
  background: var(--white);
}

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

.service-card {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--dur-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  background: var(--white);
}

.service-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(26,77,143,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-card__icon-wrap--accent {
  background: rgba(249,115,22,.1);
}

.service-card__icon-wrap--accent .service-card__icon {
  fill: var(--orange-500);
}

.service-card__icon {
  width: 28px;
  height: 28px;
  fill: var(--navy-700);
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .75rem;
}

.service-card__desc {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: gap var(--dur-fast), color var(--dur-fast);
  margin-top: auto;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.service-card:hover .service-card__link {
  gap: .6rem;
  color: var(--orange-600);
}

/* ── How It Works ───────────────────────────────── */
.how-it-works {
  background: var(--gray-50);
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  margin-bottom: 3rem;
}

.hiw-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.hiw-step:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-lg);
}

.hiw-connector {
  flex-shrink: 0;
  width: clamp(20px, 4vw, 60px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange-500) 0,
    var(--orange-500) 8px,
    transparent 8px,
    transparent 16px
  );
  margin-top: 4rem;
  align-self: flex-start;
}

.hiw-step__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: .75rem;
}

.hiw-step__icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(26,77,143,.25);
}

.hiw-step__icon {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.hiw-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .75rem;
}

.hiw-step__desc {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.hiw-cta {
  text-align: center;
}

/* ── Testimonials ───────────────────────────────── */
.testimonials {
  background: var(--white);
}

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

.testimonial-card {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.testimonial-card:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card__stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1.25rem;
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
}

.testimonial-card__quote {
  font-size: .9375rem;
  color: var(--gray-800);
  line-height: 1.75;
  font-style: normal;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-card__quote p::before { content: '\201C'; }
.testimonial-card__quote p::after  { content: '\201D'; }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy-900);
}

.testimonial-card__role {
  display: block;
  font-size: .8rem;
  color: var(--gray-600);
  margin-top: .125rem;
}

/* ── Carriers ───────────────────────────────────── */
.carriers {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
}

.carriers-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.carriers-split__text .section-eyebrow {
  color: var(--orange-500);
}

.carriers-split__title {
  color: var(--white);
}

.carriers-split__lead {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.carriers-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.carriers-benefit {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}

.carriers-benefit__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(249,115,22,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}

.carriers-benefit__check svg {
  width: 16px;
  height: 16px;
  fill: var(--orange-500);
}

.carriers-benefit strong {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: .2rem;
  color: var(--white);
}

.carriers-benefit p {
  font-size: .875rem;
  opacity: .75;
}

/* Carrier Visual Card */
.carriers-visual-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

.carriers-vc__row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
}

.carriers-vc__icon {
  width: 32px;
  height: 32px;
  fill: var(--orange-500);
  flex-shrink: 0;
}

.carriers-vc__label {
  font-size: .8rem;
  opacity: .65;
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carriers-vc__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.carriers-vc__divider {
  height: 1px;
  background: rgba(255,255,255,.1);
}

/* ── Technology ─────────────────────────────────── */
.technology {
  background: var(--gray-50);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--dur-base) var(--ease);
}

.tech-card:hover {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1), var(--shadow-md);
  transform: translateY(-4px);
}

.tech-card__icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(249,115,22,.12) 0%, rgba(249,115,22,.06) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.tech-card__icon {
  width: 28px;
  height: 28px;
  fill: var(--orange-500);
}

.tech-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .625rem;
}

.tech-card__desc {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Quote Form ─────────────────────────────────── */
.quote-section {
  background: var(--white);
}

.quote-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.quote-split__panel {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
}

.quote-panel__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
  line-height: 1.25;
}

.quote-panel__sub {
  font-size: .9375rem;
  opacity: .8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.quote-panel__list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2.5rem;
}

.quote-panel__list li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9rem;
  opacity: .9;
}

.quote-panel__list svg {
  width: 18px;
  height: 18px;
  fill: var(--orange-500);
  flex-shrink: 0;
}

.quote-panel__contact p {
  font-size: .8rem;
  opacity: .6;
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quote-panel__phone {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .25rem;
}

.quote-panel__hours {
  font-size: .8rem;
  opacity: .6;
  margin-top: 0 !important;
}

.quote-split__form {
  background: var(--white);
  padding: 2.5rem;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: .5rem;
}

.step-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .875rem;
  border-radius: var(--radius-pill);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: all var(--dur-base);
  cursor: pointer;
  background: none;
  border: 2px solid var(--gray-200);
}

.step-btn__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background var(--dur-base), color var(--dur-base);
}

.step-btn--active {
  color: var(--navy-700);
  border-color: var(--navy-700);
}

.step-btn--active .step-btn__num {
  background: var(--navy-700);
  color: var(--white);
}

.step-btn--completed {
  color: var(--green);
  border-color: var(--green);
}

.step-btn--completed .step-btn__num {
  background: var(--green);
  color: var(--white);
}

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  transition: background var(--dur-base);
}

.step-connector--done {
  background: var(--green);
}

/* Form Fields */
.form-step {
  display: none;
  border: none;
}

.form-step--active {
  display: block;
}

.form-step__legend {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1.5rem 1rem .6rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--dur-base), background var(--dur-base);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-400);
  pointer-events: none;
  transition: all var(--dur-fast) var(--ease);
  background: transparent;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: .4rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: .5px;
}

.form-group--select label {
  top: .4rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: .5px;
  z-index: 1;
}

.form-group--select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.req { color: #dc2626; }

.form-hint {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: .375rem;
}

.form-nav {
  margin-top: 1.75rem;
}

.form-nav--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Review Step */
.review-summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.review-section {
  margin-bottom: 1.25rem;
}

.review-section:last-child { margin-bottom: 0; }

.review-section__title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange-600);
  margin-bottom: .625rem;
}

.review-row {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  padding: .3rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.review-row:last-child { border-bottom: none; }

.review-row__label { color: var(--gray-600); font-weight: 500; }
.review-row__value { color: var(--gray-800); font-weight: 600; }

/* Form Notification */
.form-notification {
  margin-top: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.form-notification:empty { display: none; }

.notif-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: .9rem;
}

.notif-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: .9rem;
}

/* ── Tools Section (Client Form) ────────────────── */
.tools-section {
  background: var(--gray-50);
}

.tools-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.tools-split__text .section-eyebrow {
  text-align: left;
}

.tools-split__text .section-title {
  text-align: left;
}

.tools-split__desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.tools-features {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2.25rem;
}

.tools-features li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--gray-700, var(--gray-800));
  font-weight: 500;
}

.tools-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--green);
  flex-shrink: 0;
}

/* Form Preview Card */
.form-preview-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
  transition: transform var(--dur-slow) var(--ease);
}

.form-preview-card:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.form-preview-card__header {
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.form-preview-card__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.form-preview-card__subtitle {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-preview-card__body {
  padding: 1.5rem;
}

.form-preview-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.fpr__label {
  height: 10px;
  background: var(--gray-200);
  border-radius: 4px;
  width: 80px;
  flex-shrink: 0;
}

.fpr__label--short { width: 60px; }

.fpr__value {
  height: 10px;
  background: var(--gray-100);
  border-radius: 4px;
  width: 120px;
}

.fpr__value--wide { width: 180px; }
.fpr__value--mid  { width: 140px; }

.form-preview-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 1rem 0;
}

.form-preview-btn {
  background: var(--orange-500);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: .5rem 1.25rem;
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  margin-top: .75rem;
}

/* ── Insights ───────────────────────────────────── */
.insights {
  background: var(--white);
}

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

.insight-card {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--dur-base) var(--ease);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-500);
}

.insight-card__category {
  display: inline-block;
  background: var(--navy-700);
  color: var(--white);
  padding: .3rem .875rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .5px;
}

.insight-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .75rem;
  line-height: 1.4;
}

.insight-card__desc {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: gap var(--dur-fast), color var(--dur-fast);
}

.insight-card__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.insight-card:hover .insight-card__link {
  gap: .6rem;
  color: var(--orange-600);
}

/* ── Contact ────────────────────────────────────── */
.contact {
  background: var(--gray-50);
}

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

.contact-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--dur-base) var(--ease);
}

.contact-card:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.contact-card__icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(26,77,143,.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.contact-card__icon {
  width: 30px;
  height: 30px;
  fill: var(--navy-700);
}

.contact-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .625rem;
}

.contact-card__primary {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-700);
  text-decoration: none;
  margin-bottom: .375rem;
}

.contact-card__primary:hover {
  color: var(--orange-600);
}

.contact-card__note {
  font-size: .8125rem;
  color: var(--gray-400);
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: var(--navy-950);
  color: var(--white);
}

.footer__top {
  padding: clamp(48px,6vw,72px) var(--container-px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.footer-brand__name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
}

.footer-brand__tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.5);
}

.footer-col__desc {
  font-size: .875rem;
  opacity: .65;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-col__heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange-500);
  margin-bottom: 1.25rem;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-col__list a,
.footer-col__list span {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--dur-fast);
}

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

.footer-col__list--contact li {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: rgba(255,255,255,.65);
}

.footer-col__list--contact svg {
  width: 16px;
  height: 16px;
  fill: var(--orange-500);
  flex-shrink: 0;
}

.footer__bottom {
  padding: 1.5rem var(--container-px);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}

.footer__bottom-right {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-right a {
  color: rgba(255,255,255,.45);
  transition: color var(--dur-fast);
}

.footer__bottom-right a:hover {
  color: rgba(255,255,255,.8);
}

/* ── Toast ──────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.toast {
  max-width: 380px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  animation: toast-in .3s var(--ease);
}

.toast--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.toast--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

@keyframes toast-in {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .quote-split {
    grid-template-columns: 1fr;
  }

  .quote-split__panel {
    display: none;
  }

  .carriers-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tools-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease);
    z-index: 998;
    border-top: 1px solid var(--gray-200);
  }

  .nav-menu--open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .nav-hamburger {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hiw-connector {
    width: 2px;
    height: 40px;
    background: repeating-linear-gradient(
      180deg,
      var(--orange-500) 0,
      var(--orange-500) 8px,
      transparent 8px,
      transparent 16px
    );
    margin-top: 0;
    align-self: auto;
  }

  .hiw-step {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .stats-strip__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero__quick-form {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-nav--split {
    flex-direction: column-reverse;
  }

  .form-nav--split .btn--outline {
    width: 100%;
    justify-content: center;
  }

  .footer__top-grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-btn__label {
    display: none;
  }

  .step-btn {
    padding: .5rem .625rem;
  }
}

@media (max-width: 480px) {
  .hero { clip-path: none; }

  .stats-strip__container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta-group .btn {
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    max-width: 100%;
  }

  .quick-form__inner {
    flex-direction: column;
  }

  .quick-form__sep {
    display: none;
  }

  .quick-form__field {
    width: 100%;
  }

  .quick-form__submit {
    width: 100%;
    justify-content: center;
  }
}

/* ── Footer Social Media ─────────────────────────── */
.footer-social {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: translateY(-2px);
  outline: none;
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.footer-social__link svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}

/* ══════════════════════════════════════════
   SERVICE CATEGORY TABS
   ══════════════════════════════════════════ */
.svc-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.svc-tab {
  padding: .6rem 1.35rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--gray-600);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
}

.svc-tab:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
}

.svc-tab--active,
.svc-tab[aria-selected="true"] {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
}

.svc-panel { display: none; }
.svc-panel--active { display: block; }

/* ══════════════════════════════════════════
   SHIPMENT TRACKING SECTION
   ══════════════════════════════════════════ */
.track-section {
  background: var(--navy-950);
  color: var(--white);
}

.track-section .section-eyebrow { color: var(--orange-500); }
.track-section .section-title   { color: var(--white); }
.track-section .section-subtitle { color: rgba(255,255,255,.65); }

.track-widget {
  max-width: 780px;
  margin: 0 auto;
}

.track-input-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.track-input-wrap {
  flex: 1 1 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.track-input-icon {
  position: absolute;
  left: 1.1rem;
  width: 18px;
  height: 18px;
  fill: var(--gray-400);
  pointer-events: none;
  flex-shrink: 0;
}

.track-input {
  width: 100%;
  padding: .85rem 1rem .85rem 3rem;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.track-input::placeholder { color: rgba(255,255,255,.35); }

.track-input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249,115,22,.2);
}

.track-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.track-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* Progress Steps */
.track-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: .25rem;
}

.track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.track-step__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.2);
  background: transparent;
  transition: all var(--dur-base) var(--ease);
  position: relative;
}

.track-step--done .track-step__dot {
  background: var(--green);
  border-color: var(--green);
}

.track-step--done .track-step__dot::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2l5 5L20 8.2 18.6 6.8 9 16.2z'/%3E%3C/svg%3E") center/16px no-repeat;
}

.track-step--active .track-step__dot {
  background: var(--orange-500);
  border-color: var(--orange-500);
  box-shadow: 0 0 0 5px rgba(249,115,22,.3);
}

.track-step__label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

.track-step--done .track-step__label,
.track-step--active .track-step__label {
  color: var(--white);
}

.track-connector {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  margin-top: -20px;
  transition: background var(--dur-base) var(--ease);
}

.track-connector--done { background: var(--green); }

/* Shipment detail cards */
.track-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.track-detail-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.track-detail-card__label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  margin-bottom: .35rem;
}

.track-detail-card__value {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
}

/* Error & note */
.track-error {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #fca5a5;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.track-error svg { width: 18px; height: 18px; fill: #fca5a5; flex-shrink: 0; }

.track-note {
  font-size: .825rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-top: 1.5rem;
}

.track-note a {
  color: var(--orange-500);
  text-decoration: underline;
}

/* ══════════════════════════════════════════
   RATE ESTIMATOR SECTION
   ══════════════════════════════════════════ */
.estimator-section { background: var(--gray-50); }

.estimator-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.estimator-form-area {
  padding: 2.5rem 2.5rem 2rem;
}

.est-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.est-label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--gray-600);
  margin-bottom: .5rem;
}

.est-input {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: auto;
}

.est-input:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26,77,143,.1);
  background: var(--white);
}

.est-calc-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.est-calc-btn svg { width: 18px; height: 18px; fill: currentColor; }

.estimator-result {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 2.5rem;
  text-align: center;
}

.est-result-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}

.est-result-range {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--orange-500);
  line-height: 1;
  margin-bottom: .75rem;
}

.est-result-sub {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}

.est-disclaimer {
  font-size: .775rem;
  color: rgba(255,255,255,.45);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.est-quote-btn {
  display: inline-block;
}

/* ══════════════════════════════════════════
   CARRIER LOAD BOARD
   ══════════════════════════════════════════ */
.loadboard-section { background: var(--white); }

.loadboard-wrap {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.lb-table-header {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 90px 90px 80px;
  gap: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: .85rem 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lb-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 90px 90px 80px;
  gap: 0;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
  font-size: .875rem;
  transition: background var(--dur-fast);
}

.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--gray-50); }

.lb-col--num { font-weight: 700; color: var(--navy-700); }

.lb-chip {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.chip-pending  { background: #fef3c7; color: #92400e; }
.chip-assigned { background: #dbeafe; color: #1e40af; }

.btn--sm {
  padding: .35rem .9rem;
  font-size: .8rem;
  border-radius: var(--radius-sm);
}

.lb-loading,
.lb-empty {
  padding: 2.5rem;
  text-align: center;
  color: var(--gray-400);
  font-size: .9rem;
}

.lb-empty a { color: var(--navy-700); text-decoration: underline; }

.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  font-size: .875rem;
  color: var(--gray-600);
}

.lb-footer a:not(.btn) {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .lb-table-header { display: none; }
  .lb-row {
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    font-size: .825rem;
  }
  .lb-col::before {
    content: attr(data-label);
    display: block;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--gray-400);
    margin-bottom: .1rem;
  }
}

@media (max-width: 560px) {
  .track-progress { gap: 0; }
  .track-step__label { font-size: .6rem; }
  .track-details { grid-template-columns: 1fr 1fr; }
  .est-row { grid-template-columns: 1fr; }
  .estimator-form-area { padding: 1.5rem; }
  .estimator-result { padding: 1.5rem; }
}
