/* ============================================
   ASTERIS — modern trucking outsourcing landing
   Mirrors algogroup.us structure, modern visual
   ============================================ */

:root {
  /* Brand — matches Asteris LLC logo (deep navy-teal + light cyan-blue) */
  --brand-dark: #0A1F2E;
  --brand-dark-2: #0E2A3D;
  --brand-dark-3: #133A52;
  --brand-orange: #5BA6D1;        /* primary accent (mapped from logo blue) */
  --brand-orange-2: #8FC5E2;      /* lighter accent for gradients */
  --brand-orange-deep: #3E8FBA;   /* deeper accent for gradients */

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-soft-2: #F1F5F9;

  /* Text */
  --text: #0B1530;
  --text-2: #334155;
  --muted: #64748B;
  --on-dark: #F8FAFC;
  --on-dark-muted: #94A3B8;

  /* Border */
  --border: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 30px 80px rgba(8, 17, 31, 0.18);
  --shadow-orange: 0 12px 32px rgba(91, 166, 209, 0.32);

  /* Radius */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
}

/* ============= RESET ============= */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--brand-dark);
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Custom scrollbar (matches brand) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-blue-2, #8FC5E2), var(--brand-orange-deep));
  border-radius: 999px;
  border: 3px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-orange); }
html { scrollbar-color: var(--brand-orange) var(--bg-soft); scrollbar-width: thin; }
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }

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

/* ============= UTIL ============= */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--on-dark);
  backdrop-filter: blur(10px);
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(91, 166, 209, 0.4);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost-dark:hover {
  background: var(--bg-soft);
  border-color: var(--text-2);
  transform: translateY(-2px);
}

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(8, 17, 31, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--on-dark);
  letter-spacing: 0.04em;
}
.logo__mark { display: inline-flex; }
.logo__img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(143, 197, 226, 0.25), 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.logo:hover .logo__img {
  transform: scale(1.05);
  box-shadow: 0 0 0 1px rgba(143, 197, 226, 0.5), 0 8px 24px rgba(91, 166, 209, 0.3);
}
.logo__img--sm { width: 28px; height: 28px; border-radius: 6px; }
.logo__group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo__text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.logo__tagline {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange-2);
  margin-top: 4px;
  opacity: 0.85;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__menu > a,
.nav__menu .nav__link {
  color: rgba(248, 250, 252, 0.78);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.nav__menu > a:hover,
.nav__menu .nav__link:hover { color: var(--on-dark); }
.nav__menu > a::after,
.nav__menu .nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  height: 2px; width: 0;
  background: var(--brand-orange);
  transition: width .25s ease;
}
.nav__menu > a:hover::after,
.nav__menu .nav__link:hover::after { width: 100%; }

.nav__item--has-sub { position: relative; }
.nav__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: rgba(8, 17, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .25s ease, visibility .2s;
  z-index: 99;
}
.nav__item--has-sub:hover .nav__submenu,
.nav__item--has-sub:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__submenu a {
  display: block;
  padding: 10px 14px;
  color: rgba(248, 250, 252, 0.78);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.nav__submenu a:hover {
  background: rgba(91, 166, 209, 0.12);
  color: var(--brand-orange-2);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark);
  font-weight: 600;
  font-size: 14px;
}
.nav__phone svg { color: var(--brand-orange); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--brand-dark);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg) 95%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__grid {
  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: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
}
.hero__glow--1 {
  width: 520px; height: 520px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(91, 166, 209, 0.5), transparent 70%);
}
.hero__glow--2 {
  width: 600px; height: 600px;
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.35), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  margin: 22px 0;
  letter-spacing: -0.03em;
}
.hero__rotator {
  display: block;
  position: relative;
  height: 1.15em;
  margin-top: 12px;
  overflow: hidden;
}
.hero__rotator-item {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity .6s ease, transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__rotator-item.active {
  opacity: 1;
  transform: translateY(0);
}
.hero__subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(248, 250, 252, 0.72);
  max-width: 540px;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--brand-dark);
  margin-left: -8px;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: #FFB84D; font-size: 16px; letter-spacing: 2px; }
.hero__trust small { color: rgba(248, 250, 252, 0.6); font-size: 13px; }

/* Hero panel */
.hero__panel { position: relative; height: 480px; }
.panel-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
}
.panel-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.panel-card__title { font-weight: 600; font-size: 14px; color: rgba(248, 250, 252, 0.65); }
.panel-card__pulse { font-size: 12px; font-weight: 600; color: #34D399; letter-spacing: 0.04em; }
.panel-stat {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 22px; padding-bottom: 22px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.panel-stat small {
  display: block; font-size: 11px; color: rgba(248, 250, 252, 0.5);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px;
}
.panel-stat strong { font-family: var(--font-display); font-size: 22px; color: var(--on-dark); }
.panel-rows { display: flex; flex-direction: column; gap: 14px; }
.panel-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  font-size: 13px; color: rgba(248, 250, 252, 0.78);
}
.panel-row em { font-style: normal; font-size: 11px; font-weight: 600; color: rgba(248, 250, 252, 0.55); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }
.dot--orange { background: #F59E0B; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }
.dot--blue { background: #4F8EF7; box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.15); }

.panel-float {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(20, 35, 57, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.panel-float--top { top: -20px; right: 30px; }
.panel-float--bottom { bottom: -20px; left: -20px; animation-delay: -3s; }
.panel-float__icon { font-size: 22px; }
.panel-float small {
  display: block; font-size: 11px;
  color: rgba(248, 250, 252, 0.55);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.panel-float strong { font-family: var(--font-display); font-size: 17px; color: var(--on-dark); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============= SECTION BASICS ============= */
.section {
  padding: 110px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-soft);
}
.section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.section__sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============= ABOUT ============= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about__content .section__title { text-align: left; }
.about__content .section__sub { margin-bottom: 30px; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.about-stat {
  padding: 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-orange);
}
.about-stat:nth-child(2) { transform: translateY(20px); }
.about-stat:nth-child(2):hover { transform: translateY(16px); }
.about-stat:nth-child(3) { transform: translateY(-20px); }
.about-stat:nth-child(3):hover { transform: translateY(-24px); }
.about-stat .stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}
.about-stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}

/* ============= SERVICES ============= */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service--hidden {
  display: none;
}
.services.expanded .service--hidden {
  display: flex;
  animation: fadeUp .4s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.service__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, var(--brand-orange-2)), var(--c2, var(--brand-orange-deep)));
  margin-bottom: 18px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c2, var(--brand-orange-deep)) 35%, transparent);
}
.service h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 10px;
}
.service p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.service__link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--brand-orange);
  font-size: 14px;
  transition: gap .2s ease, color .2s ease;
  text-align: left;
  padding: 0;
}
.service__link:hover { color: var(--brand-orange-deep); }
.services__more {
  text-align: center;
  margin-top: 40px;
}

/* ============= COMPARE ============= */
.compare {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.compare__head,
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
}
.compare__head {
  background: var(--brand-dark);
  color: var(--on-dark);
}
.compare__head .compare__cell {
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.compare__head .compare__cell--us {
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.compare__head .compare__cell--versus { color: rgba(248, 250, 252, 0.65); }

.compare__row {
  border-top: 1px solid var(--border);
  transition: background .15s ease;
}
.compare__row:hover { background: var(--bg-soft); }
.compare__cell {
  padding: 18px 24px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.compare__cell--feature {
  font-weight: 700;
  color: var(--text);
  background: var(--bg-soft-2);
}
.compare__cell--versus { color: var(--muted); }
.compare__cell--us {
  color: var(--text);
  font-weight: 500;
  background: rgba(91, 166, 209, 0.04);
  border-left: 1px solid var(--border);
}
.compare .x {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.12);
  color: #E11D48;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.compare .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ============= WHY ============= */
.why {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.why__media { position: relative; height: 540px; }
.why__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: absolute;
}
.why__card--main { top: 0; left: 0; width: 360px; }
.why__metric small {
  display: block; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 6px;
}
.why__metric strong {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em; display: block;
}
.why__delta {
  display: inline-block;
  font-size: 13px; color: #059669;
  font-weight: 600; margin-top: 6px;
}
.why__bars {
  display: flex; align-items: flex-end; gap: 8px;
  height: 100px; margin-top: 24px;
}
.why__bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-orange-2), var(--brand-orange-deep));
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}
.why__bars span:nth-child(odd) {
  background: linear-gradient(180deg, #4F8EF7, #1E5BD8);
}
.why__card--small { width: 200px; padding: 22px; }
.why__card--small strong {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block; line-height: 1; margin-bottom: 8px;
}
.why__card--small small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.why__card--small:not(.why__card--orange) { bottom: 0; right: 0; }
.why__card--orange {
  top: 80px; right: 20px;
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  border-color: transparent;
  color: #fff;
}
.why__card--orange strong {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.why__card--orange small { color: rgba(255, 255, 255, 0.85); }
.why__card--small:nth-of-type(2) {
  top: auto; bottom: 30px; right: auto; left: 40px;
}
.why__content .section__title { text-align: left; }
.why__content .section__sub { margin-bottom: 30px; }

/* ============= TEAM ============= */
.team { position: relative; }
.team__viewport {
  overflow: hidden;
  border-radius: var(--r-xl);
}
.team__track {
  display: flex;
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.team__slide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  min-width: 100%;
  padding: 4px;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-orange);
}
.team-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}
.team-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 4px;
}
.team-card small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.team-card a {
  display: inline-flex;
  margin-top: 12px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: #1E5BD8;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.team-card a:hover {
  background: #1E5BD8;
  color: #fff;
  transform: translateY(-2px);
}

.team__controls,
.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.carousel-btn:hover {
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
}
.carousel-counter {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  min-width: 60px;
  text-align: center;
}
.carousel-counter span:first-child { color: var(--text); }

.team__powered {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}
.team__powered strong {
  color: var(--text);
  font-weight: 600;
}

/* ============= TRUSTED BY ============= */
.trusted {
  padding: 80px 0;
  background: var(--brand-dark);
  background-image:
    radial-gradient(ellipse at top left, rgba(91, 166, 209, 0.12), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(79, 142, 247, 0.1), transparent 50%);
  color: var(--on-dark);
  text-align: center;
}
.trusted__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.trusted__logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: rgba(248, 250, 252, 0.45);
  transition: color .2s ease;
}
.trusted__logos span:hover { color: rgba(248, 250, 252, 0.85); }

/* ============= TESTIMONIALS ============= */
.reviews { position: relative; }
.reviews__viewport {
  overflow: hidden;
  border-radius: var(--r-xl);
}
.reviews__track {
  display: flex;
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.reviews__slide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  min-width: 100%;
  padding: 4px;
}
.testimonial {
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial__stars { color: #FFB84D; letter-spacing: 2px; font-size: 15px; }
.testimonial blockquote {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: 14px; }
.testimonial__author small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ============= FAQ ============= */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq__head .section__title { text-align: left; }
.faq__head .section__sub { margin-bottom: 24px; }
.faq__head .btn { margin-top: 8px; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 4px 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item:hover { border-color: #CBD5E1; }
.faq__item[open] {
  border-color: var(--brand-orange);
  box-shadow: 0 8px 24px rgba(91, 166, 209, 0.08);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-orange);
  line-height: 1;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============= BLOG ============= */
.blog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card__img {
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.blog-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4));
}
.blog-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  z-index: 1;
  backdrop-filter: blur(4px);
}
.blog-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.blog-card__body time {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  font-weight: 600;
}
.blog-card__body h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.35;
  margin-bottom: 4px;
  flex-grow: 1;
}
.blog-card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--brand-orange);
  font-size: 13.5px;
  transition: gap .2s ease, color .2s ease;
}
.blog-card__link:hover { color: var(--brand-orange-deep); }
.blog__more { text-align: center; margin-top: 40px; }

/* ============= STATES ============= */
.states {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}
.states span {
  padding: 14px 8px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-2);
  cursor: default;
  transition: all .2s ease;
}
.states span:hover {
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

/* ============= FOOTER ============= */
.footer {
  background: var(--brand-dark);
  color: var(--on-dark);
  padding: 0 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: -100px -50px auto auto;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91, 166, 209, 0.18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.footer__hero {
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.footer__hero h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 28px;
  letter-spacing: -0.02em;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr;
  gap: 50px;
  padding: 70px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p {
  color: rgba(248, 250, 252, 0.6);
  max-width: 320px;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 250, 252, 0.7);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer__social a:hover {
  background: rgba(91, 166, 209, 0.15);
  color: var(--brand-orange-2);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--on-dark);
}
.footer__col a,
.footer__col span {
  display: block;
  color: rgba(248, 250, 252, 0.6);
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 12px;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--brand-orange-2); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(248, 250, 252, 0.5);
  font-size: 13px;
  position: relative;
  z-index: 1;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: rgba(248, 250, 252, 0.55); transition: color .2s ease; }
.footer__legal a:hover { color: var(--brand-orange-2); }

/* ============= FLOATING CTA ============= */
.cta-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: linear-gradient(135deg, var(--brand-orange-2), var(--brand-orange-deep));
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 36px rgba(91, 166, 209, 0.4);
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, box-shadow .25s ease;
  border: 0;
  cursor: pointer;
}
.cta-float.visible { opacity: 1; transform: translateY(0); }
.cta-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(91, 166, 209, 0.5);
}

/* ============= MODAL ============= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 31, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-xl);
  animation: modalIn .35s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.modal__close:hover {
  background: var(--bg-soft-2);
  color: var(--text);
  transform: rotate(90deg);
}
.modal__head { margin-bottom: 24px; }
.modal__head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.modal__head p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal__form label > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.modal__form em { color: var(--brand-orange); font-style: normal; }
.modal__form input,
.modal__form textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.modal__form input:focus,
.modal__form textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(91, 166, 209, 0.12);
}
.modal__form .checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}
.modal__form .checkbox input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-orange);
  cursor: pointer;
  padding: 0;
}
.modal__form .checkbox a {
  color: var(--brand-orange);
  text-decoration: underline;
}
.form__success {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  padding: 18px;
  color: #047857;
  text-align: center;
}
.form__success strong { display: block; margin-bottom: 4px; font-size: 16px; }
.form__success p { font-size: 14px; color: #064E3B; }

/* ============= REVEAL ============= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .panel-float { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { height: 420px; max-width: 520px; }
  .about, .why, .faq { grid-template-columns: 1fr; gap: 60px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .about-stat:nth-child(2),
  .about-stat:nth-child(3) { transform: none; }
  .why__media { max-width: 520px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .team__slide,
  .reviews__slide { grid-template-columns: repeat(2, 1fr); }
  .blog { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .compare__head,
  .compare__row { font-size: 13px; }
  .compare__cell { padding: 14px 16px; font-size: 13.5px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 130px 0 80px; }
  .hero__panel { height: 380px; }
  .panel-float--top { right: 0; }
  .panel-float--bottom { left: 0; }

  .nav__menu {
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    background: rgba(8, 17, 31, 0.96);
    backdrop-filter: blur(20px);
    padding: 30px 24px;
    align-items: flex-start;
    gap: 8px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__menu > a,
  .nav__menu .nav__link {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav__menu > a::after,
  .nav__menu .nav__link::after { display: none; }
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 12px;
    min-width: 0;
  }
  .nav__submenu a {
    padding: 8px 0;
    font-size: 15px;
    color: rgba(248, 250, 252, 0.55);
  }
  .nav__phone span { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn--primary { display: none; }
  .logo__tagline { display: none; }
  .logo__img { width: 38px; height: 38px; }

  .services { grid-template-columns: 1fr; }
  .blog { grid-template-columns: 1fr; }
  .team__slide,
  .reviews__slide { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }

  .why__media {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .why__card {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
  }
  .why__card--main { grid-column: span 2; }

  .compare__head,
  .compare__row { grid-template-columns: 1.2fr 1fr 1fr; }
  .compare__cell { padding: 12px; font-size: 12.5px; }

  .cta-float span { display: none; }
  .cta-float { padding: 14px; }
  .modal__dialog { padding: 30px 24px 24px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 36px; }
  .hero__panel { height: 360px; }
  .about__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-stat { padding: 20px; }
  .service { padding: 24px; }
  .trusted__logos { gap: 18px; }
  .trusted__logos span { font-size: 16px; }
  .states { grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); gap: 6px; }
  .states span { padding: 10px 6px; font-size: 13px; }
}
