/* ============================================================
   SPECTRUM TRACKING — main.css
   Standalone stylesheet. Replaces all legacy CSS files.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --blue:        #1976d2;
  --blue-dark:   #1565c0;
  --blue-xdark:  #0d47a1;
  --blue-light:  #e3f2fd;
  --cyan:        #00bcd4;
  --dark:        #0f172a;
  --gray-900:    #1e293b;
  --gray-700:    #334155;
  --gray-500:    #64748b;
  --gray-300:    #94a3b8;
  --gray-200:    #e2e8f0;
  --gray-100:    #f1f5f9;
  --gray-50:     #f8fafc;
  --white:       #ffffff;
  --nav-h:       68px;
  --max-w:       1200px;
  --r-sm:        6px;
  --r:           10px;
  --r-lg:        16px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:      0 4px 6px rgba(0,0,0,.05), 0 10px 15px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 15px rgba(0,0,0,.08), 0 25px 50px rgba(0,0,0,.1);
  --t:           .2s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: color var(--t); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
p { margin-bottom: .875rem; line-height: 1.75; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--dark);
}
h1 { font-size: clamp(2rem,   5vw,  3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw,  2.5rem);  }
h3 { font-size: clamp(1.2rem, 2.5vw,1.875rem);}
h4 { font-size: 1.125rem; font-weight: 600; }

.eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .6rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }

.section-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.5rem;
}
.section-intro h2 { margin-bottom: .75rem; }
.section-intro p  { color: var(--gray-500); font-size: 1.05rem; }

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; }

.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .125rem;
}

.primary-nav > li { position: relative; }

.primary-nav > li > a {
  display: block;
  padding: .45rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}

.primary-nav > li > a:hover,
.primary-nav > li:hover > a {
  background: var(--blue-light);
  color: var(--blue);
}

/* Dropdown — padding-top bridges the gap so mouse can reach it */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  min-width: 210px;
  padding: .4rem;
  padding-top: calc(.4rem + 8px);
  margin-top: 0;
  z-index: 200;
}

.primary-nav > li:hover .nav-dropdown { display: block; }

/* Invisible bridge between nav item and dropdown so hover doesn't break */
.primary-nav > li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  display: none;
}
.primary-nav > li:hover::after { display: block; }

.nav-dropdown a {
  display: block;
  padding: .5rem .75rem;
  font-size: .875rem;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--gray-50); color: var(--blue); }

/* Nav right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--t);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .625rem 1.375rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 1px 4px rgba(25,118,210,.25);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(25,118,210,.3);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

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

.btn-lg { padding: .875rem 2rem; font-size: 1rem; }
.btn-sm { padding: .4rem .875rem; font-size: .82rem; }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15,23,42,.85) 0%, rgba(15,23,42,.55) 55%, rgba(15,23,42,.15) 100%);
}

.hero .container { position: relative; z-index: 1; }

.hero__content { max-width: 600px; padding: 80px 0; }

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--cyan); }

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 480px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-bar__label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  margin-bottom: 1.5rem;
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-bar__logos img {
  height: 30px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .4;
  transition: all var(--t);
}
.trust-bar__logos img:hover { filter: none; opacity: .9; }

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.split-content {
  background: var(--gray-50);
  display: flex;
  align-items: center;
  padding: 80px 72px;
}
.split-content__inner { max-width: 460px; }
.split-content__inner h2 { color: var(--blue); margin-bottom: 1rem; }
.split-content__inner p { color: var(--gray-500); margin-bottom: 1.25rem; }
.split-content__inner .btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.split-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-500);
  border-left: 3px solid var(--cyan);
  padding: .875rem 1.125rem;
  background: rgba(0,188,212,.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.split-image {
  background-size: cover;
  background-position: center;
}

/* White bg variant */
.split-content--white { background: var(--white); }

/* ============================================================
   FEATURE CARDS (advantages grid)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1.75rem;
  transition: all var(--t);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--blue-light);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 1rem;
}
.feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}
.feature-card__desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   FEATURE LIST (fleet key features)
   ============================================================ */
.feature-list-wrap {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.feature-list-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.feature-list-item:last-child { border-bottom: none; }

.feature-list-item__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .35rem;
}
.feature-list-item__title a { color: var(--dark); }
.feature-list-item__title a:hover { color: var(--blue); }
.feature-list-item p {
  font-size: .875rem;
  color: var(--gray-500);
  margin-bottom: .75rem;
}
.text-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: .1rem;
  transition: all var(--t);
}
.text-link:hover { color: var(--blue-dark); border-color: var(--blue-dark); }

.feature-list-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-list-sidebar img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* ============================================================
   BANNER CTA (road/dashcam panel)
   ============================================================ */
.banner-cta { padding: 40px 1.5rem; }

.banner-cta__inner {
  border-radius: var(--r-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 80px 72px;
  position: relative;
}
.banner-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.72);
}
.banner-cta__inner > * { position: relative; z-index: 1; }
.banner-cta__inner h2,
.banner-cta__inner h3 { color: var(--white); margin-bottom: .75rem; }
.banner-cta__inner p { color: rgba(255,255,255,.82); margin-bottom: 1.5rem; }

/* ============================================================
   FULL-WIDTH CTA SECTION
   ============================================================ */
.cta-section {
  background-size: cover;
  background-position: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.68);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: .75rem; }
.cta-section p  { color: rgba(255,255,255,.82); margin-bottom: 1.75rem; }
.cta-section .cta-inner { max-width: 580px; }

/* ============================================================
   LOGO SLIDER
   ============================================================ */
.logo-slider-section { padding: 56px 0; overflow: hidden; }
.logo-slider-section .section-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 2rem;
}
.logo-slider { overflow: hidden; }
.logo-slider figure {
  padding: 0 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-slider figure img {
  max-height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .4;
  transition: all var(--t);
}
.logo-slider figure:hover img { filter: none; opacity: .9; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  margin-top: var(--nav-h);
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.65);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.82); max-width: 560px; }

/* ============================================================
   PRODUCTS / CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--blue-light);
}
.product-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--gray-100);
}
.product-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .5rem;
}
.product-card__desc {
  font-size: .875rem;
  color: var(--gray-500);
  flex: 1;
  margin-bottom: 1.25rem;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--t);
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card__img  { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card__body { padding: 1.5rem; }
.blog-card__tag  {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: .4rem;
}
.blog-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: .5rem;
}
.blog-card__excerpt { font-size: .875rem; color: var(--gray-500); margin-bottom: 1rem; }

/* ============================================================
   SPEC / DETAIL PAGE
   ============================================================ */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.spec-image img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.spec-list { margin-top: 1.5rem; }
.spec-item {
  display: flex;
  gap: .75rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .9rem;
}
.spec-item:last-child { border-bottom: none; }
.spec-item__label { font-weight: 600; color: var(--dark); min-width: 140px; flex-shrink: 0; }
.spec-item__val   { color: var(--gray-500); }

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item summary {
  padding: 1.125rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--t);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.25rem; color: var(--gray-500); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding-top: 64px;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand__logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}
.footer-brand__socials { display: flex; gap: .5rem; margin-bottom: 1.75rem; }
.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: all var(--t);
}
.footer-social:hover { background: var(--blue); color: var(--white); }
.footer-brand__phone-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .3rem;
}
.footer-brand__phone a {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--t);
}
.footer-brand__phone a:hover { color: var(--white); }

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-col__heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  display: block;
  margin-bottom: .875rem;
}
.footer-col__links { list-style: none; padding: 0; }
.footer-col__links li { margin-bottom: .375rem; }
.footer-col__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t);
}
.footer-col__links a:hover { color: var(--white); }

.site-footer__sub {
  padding: 1.375rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal {
  display: flex;
  gap: .25rem 1.25rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.38); transition: color var(--t); }
.footer-legal a:hover { color: var(--white); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.28); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.82);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--r);
  width: 90%;
  max-width: 860px;
  overflow: hidden;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  padding: .35rem .7rem;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  z-index: 10;
  color: var(--gray-700);
  transition: background var(--t);
}
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 3rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-blue   { color: var(--blue); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--gray-500); }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }

/* ============================================================
   VIDEO button (legacy compat)
   ============================================================ */
.btn-video {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.375rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: all var(--t);
  cursor: pointer;
  font-family: inherit;
}
.btn-video:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .card-grid    { grid-template-columns: 1fr 1fr; }
  .blog-grid    { grid-template-columns: 1fr 1fr; }
  .feature-list-wrap { grid-template-columns: 1fr; }
  .feature-list-sidebar { display: none; }
  .spec-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; min-height: auto; }
  .split-content { padding: 56px 2rem; }
  .split-image { height: 300px; min-height: 300px; }
  .banner-cta__inner { padding: 60px 40px; }
  .site-footer__main { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  /* Nav collapse */
  .primary-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    overflow-y: auto;
    border-top: 1px solid var(--gray-200);
    gap: 0;
    z-index: 999;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > li > a {
    border-radius: 0;
    border-bottom: 1px solid var(--gray-200);
    padding: .9rem .25rem;
    font-size: 1rem;
  }
  .nav-dropdown {
    position: static;
    border: none;
    box-shadow: none;
    background: var(--gray-50);
    border-radius: 0;
    padding: .25rem 1rem;
    display: block;
    min-width: unset;
  }
  .nav-toggle { display: flex; }
  .nav-actions .btn-outline { display: none; }

  /* Hero */
  .hero { min-height: 520px; }
  .hero__content { padding: 64px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  /* Feature grid */
  .feature-grid  { grid-template-columns: 1fr; }
  .card-grid     { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }

  /* Trust bar */
  .trust-bar__logos { gap: 1.5rem; }
  .trust-bar__logos img { height: 24px; }

  /* Banner CTA */
  .banner-cta { padding: 24px 1rem; }
  .banner-cta__inner { padding: 48px 1.5rem; border-radius: var(--r); }

  /* Footer */
  .site-footer__sub { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .footer-nav-cols { grid-template-columns: 1fr; }
  .trust-bar__logos img { height: 20px; max-width: 80px; }
}

/* ============================================================
   LEGACY / COMPAT — styles for old HTML class names used
   across sub-pages that haven't been fully rewritten yet
   ============================================================ */

/* --- Hero (bgDesign) --------------------------------------- */
.bgDesign {
  position: relative;
  margin-top: var(--nav-h);
  overflow: hidden;
}
.bgDesign picture img,
.bgDesign > img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  filter: brightness(.52);
}
.bgDesign .container--wide,
.bgDesign .container {
  position: absolute;
  inset: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero--full__content,
.hero--full__content--home {
  max-width: 600px;
}
.site-title {
  font-size: clamp(2.2rem,5vw,3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}
.hero--full__content p,
.hero--full__content--home p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.75rem;
}
.hero--full__content a,
.hero--full__content--home a { color: var(--white); }

/* --- Sections (new_sec) ------------------------------------ */
.new_sec {
  padding: 72px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.new_sec.st { background: var(--gray-50); max-width: none; padding-left: 0; padding-right: 0; }
.new_sec.st > *:not(.new_row) { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.new_sec.st .new_row { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* --- Two-column row (new_row) ------------------------------ */
.new_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}
.new_row .left  { }
.new_row .right { }
.new_row .left.long { grid-column: span 1; }

/* --- Section headings ------------------------------------- */
.sectionTitle {
  font-size: clamp(1.4rem,2.5vw,2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

/* --- Section paragraphs ----------------------------------- */
.sectionP {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: .875rem;
}
.sectionP i.fas.fa-share {
  color: var(--blue) !important;
  font-size: 1rem !important;
  margin-top: .2rem;
  flex-shrink: 0;
}
/* Remove inline style on icons */
.new_sec i[style*="color:#1976d2"] { color: var(--blue) !important; }

/* --- Legacy buttons --------------------------------------- */
.button, .button4,
a.button, a.button4,
.button.button4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  font-family: inherit;
  background: var(--blue);
  color: var(--white);
  margin-top: 1.25rem;
}
.button:hover, .button4:hover,
a.button:hover, a.button4:hover,
.button.button4:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25,118,210,.3);
}

/* --- Responsive images ------------------------------------ */
.responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
}

/* --- Success stories (ev_sec / ev_row) -------------------- */
.ev_sec {
  padding: 72px 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.ev_sec h2 {
  font-size: clamp(1.5rem,3vw,2.25rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2.5rem;
  letter-spacing: -.02em;
}
.ev_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.item {}
.evbox {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--t);
  text-align: left;
}
.evbox:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.evbox img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
}
.evbox p {
  padding: .875rem 1rem .25rem;
  font-size: .875rem;
  color: var(--gray-500);
  margin: 0;
}
.evbox a.button, .evbox a.button4 {
  margin: .75rem 1rem 1rem;
  display: inline-flex;
  font-size: .8rem;
  padding: .5rem 1rem;
}

/* --- Spec / product pages --------------------------------- */
.tab_div, .tab_inner { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.spec-table th, .spec-table td { padding: .75rem 1rem; border: 1px solid var(--gray-200); text-align: left; }
.spec-table th { background: var(--gray-50); font-weight: 600; color: var(--dark); }
.spec-table tr:nth-child(even) td { background: var(--gray-50); }

/* --- Products page cart / buy layout ---------------------- */
.product_div, .buy_div {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 1.5rem;
}

/* --- Video page ------------------------------------------- */
.video_sec, .video-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 1.5rem;
}
.video_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.video_item { border-radius: var(--r); overflow: hidden; }
.video_item video, .video_item iframe { width: 100%; border-radius: var(--r); display: block; }

/* --- Blog listing page ------------------------------------ */
.blog_sec {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 1.5rem;
}

/* --- General page padding fix (pages with w3-include nav) - */
body > div[w3-include-html] + * { margin-top: 0; }
/* Ensure content starts below fixed nav on all pages */
body > main:first-of-type,
body > section:first-of-type,
body > div.bgDesign:first-of-type,
body > div[class]:not(.site-header):first-of-type {
  padding-top: 0;
}

/* Fix margin-top for pages using w3-include nav */
.bgDesign { margin-top: var(--nav-h); }

/* --- Legacy icon list (advantages) ------------------------ */
.icon-list__item { display: flex; gap: 1rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r); }
.icon-list__item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.icon-list__item__icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--blue); flex-shrink: 0; }
.icon-list__item__content h3 { font-size: .975rem; font-weight: 600; margin-bottom: .4rem; color: var(--dark); }
.icon-list__item__content p { font-size: .85rem; color: var(--gray-500); margin: 0; }
.u-bgColorPrimaryTint { background: var(--gray-50); padding: 60px 0; }
.icon-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1.5rem; }

/* --- Responsive fixes ------------------------------------- */
@media (max-width: 1024px) {
  .new_row { grid-template-columns: 1fr; gap: 2rem; }
  .new_row .left.long { grid-column: span 1; }
  .ev_row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .video_grid { grid-template-columns: 1fr 1fr; }
  .icon-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .bgDesign picture img, .bgDesign > img { height: 420px; }
  .ev_row { grid-template-columns: 1fr; }
  .video_grid { grid-template-columns: 1fr; }
  .icon-list { grid-template-columns: 1fr; }
  .new_sec { padding: 48px 1.5rem; }
}
