/*
Theme Name: Affordable Security Shutters
Theme URI: https://affordablesecurityshutters.com
Author: Juan Palo Acosta
Author URI: 
Description: Custom WordPress Block Theme for Affordable Security Shutters. Optimized for LiteSpeed and Lead Generation.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affordablesecurityshutters
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1a5dad;
  --blue-dark: #0d3a6e;
  --blue-light: #2b7de9;
  --orange: #e85d04;
  --orange-dark: #c44d03;
  --dark: #111827;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* TOP BAR */
.top-bar {
  background: var(--gray-900);
  color: #d7d7d6;
  font-size: 0.8rem;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: #d7d7d6;
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--white); }
.top-bar-phone {
  font-weight: 700;
  color: #f5f5f4 !important;
}
.top-bar-phone-icon {
  color: inherit;
  display: inline-block;
  margin-right: 0.35rem;
}
.top-bar-phone-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
  fill: currentColor;
  stroke: currentColor;
}

/* MAIN NAV */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 1100;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo picture,
.logo img {
  display: block;
}

.logo img {
  width: auto;
  max-width: 180px;
  max-height: 48px;
}

@media (min-width: 1135px) {
  .logo img {
    max-width: 260px;
    max-height: 60px;
  }
}

@media (max-width: 943px) {
  .logo img {
    max-width: 260px;
    max-height: 60px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem 1rem;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--gray-100);
  color: var(--blue);
}
.nav-link .arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}
.nav-item:hover .nav-link .arrow { transform: rotate(180deg); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 6px !important;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
}

.nav-phone {
  font-weight: 700;
  color: var(--blue) !important;
  font-size: 1rem !important;
}

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 210%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  min-width: 800px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border: 1px solid var(--gray-300);
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.mega-intro {
  background: var(--gray-100);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.mega-intro h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--blue);
}
.mega-intro p {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.mega-intro a {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.mega-intro a:hover { text-decoration: underline; }

.mega-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.mega-link:hover { color: var(--blue); }
.mega-link small {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 400;
}

/* DROPDOWN (simpler) */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  min-width: 280px;
  border: 1px solid var(--gray-300);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section { margin-bottom: 1rem; }
.dropdown-section:last-child { margin-bottom: 0; }
.dropdown-section h4 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
}
.dropdown-link:hover {
  background: var(--gray-100);
  color: var(--blue);
}
.dropdown-link .icon { font-size: 1rem; }

/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1101;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* HERO */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg stroke='%231a5dad' stroke-width='1.2' fill='none' opacity='0.3'%3E%3Crect x='12' y='8' width='44' height='8' rx='2'/%3E%3Cline x1='14' y1='20' x2='54' y2='20'/%3E%3Cline x1='14' y1='26' x2='54' y2='26'/%3E%3Cline x1='14' y1='32' x2='54' y2='32'/%3E%3Cline x1='14' y1='38' x2='54' y2='38'/%3E%3Cline x1='14' y1='44' x2='54' y2='44'/%3E%3Crect x='10' y='6' width='48' height='42' rx='2'/%3E%3C/g%3E%3Cg stroke='%231a5dad' stroke-width='1.2' fill='none' opacity='0.25' transform='translate(75,12)'%3E%3Crect x='6' y='16' width='24' height='20' rx='3'/%3E%3Cpath d='M10,16 V10 a8,8 0 0 1 16,0 V16'/%3E%3Ccircle cx='18' cy='26' r='3'/%3E%3Cline x1='18' y1='29' x2='18' y2='32'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
.hero-pattern svg {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,93,173,0.1);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
header.hero h1 {
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero p {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

/* REPAIR HERO variant */
.hero-repair {
  background: linear-gradient(135deg, #1f2937, #111827);
  padding: 5rem 2rem;
  min-height: unset;
}
.hero-repair h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-repair p {
  color: rgba(255,255,255,.9);
  margin: 1rem 0 2rem;
  font-size: 1.1rem;
  max-width: none;
}
.hero-repair .hero-buttons { justify-content: flex-start; margin-bottom: 0; }
.hero-repair .badge {
  background: var(--orange);
  color: var(--white);
  border-radius: 4px;
  padding: .4rem .8rem;
  font-size: .85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}
.hero-repair .btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  background: transparent;
}
.hero-repair .btn-outline:hover { border-color: var(--white); }

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,93,4,0.35);
}

.btn-secondary {
  background: var(--blue);
  color: white;
}
.btn-secondary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.section-dark .btn-outline {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.section-dark .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  color: var(--white);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}
.hero-trust .divider {
  color: var(--gray-300);
}

/* INDUSTRIES BAR */
.industries-bar {
  background: var(--gray-900);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.industries-bar span {
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.industry-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* SECTIONS */
.section {
  padding: 5rem 2rem;
}
/* Collapse padding between consecutive sections with same background */
.section.section-alt + .section.section-alt { padding-top: 0; }
.section.section-dark + .section.section-dark { padding-top: 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--gray-900); color: var(--white); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
}
.section-dark .section-header p { color: var(--gray-400); }

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--blue);
}

.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Benefits grid — center-align cards */
.benefits-grid .feature-card {
  text-align: center;
}
.benefits-grid .feature-icon {
  font-size: 3rem;
  margin: 0 auto 1rem;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.product-img {
  height: 140px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-info {
  padding: 1.25rem;
}
.product-info h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.product-info p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

/* INDUSTRIES GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.industry-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s;
}
.industry-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}
.industry-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.industry-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
}
.industry-card.featured {
  border-color: var(--orange);
  background: rgba(232,93,4,0.1);
}

/* AREAS */
.areas-flex,
.areas-grid {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.areas-section {
  text-align: center;
}
.areas-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.areas-section > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}
.area-tag {
  background: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}
.area-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section .btn-primary {
  background: var(--orange);
}
.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-bottom a {
  color: var(--gray-400);
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer-bottom a:hover { color: var(--white); }

/* RESPONSIVE */
@media(max-width: 1384px) {
  .nav-link.nav-phone { display: none; }
}

@media (min-width: 944px) and (max-width: 1246px) {
  .main-nav {
    padding: 0 5px;
    gap: 0.75rem;
  }

  .nav-menu {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.1rem;
  }

  .nav-link {
    padding: 0.75rem 0.7rem;
    font-size: 0.84rem;
  }
}

@media (min-width: 944px) and (max-width: 1120px) {
  .main-nav {
    padding: 0 5px;
    gap: 0.75rem;
  }

  .logo {
    min-width: 0;
    flex: 0 0 auto;
  }

  .logo img {
    max-width: 205px;
    max-height: 50px;
  }

  .nav-menu {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 0;
  }

  .nav-link {
    padding: 0.75rem 0.55rem;
    font-size: 0.8rem;
  }
}

@media(max-width: 943px) {
  .hamburger { display: block; }

  .main-nav {
    padding: 0 1rem;
    gap: 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 0.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex !important;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    z-index: 1099;
    margin: 0;
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 1rem;
    width: 100%;
    justify-content: space-between;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    display: block !important;
    width: 100%;
    padding: 1rem !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
  }


  /* ── Mobile submenus ── */

  /* Hide by default; JS adds .open to parent .nav-item to reveal */
  .mega-menu,
  .dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    width: 100%;
    background: transparent;
  }

  /* Show when parent is open */
  .nav-item.open > .mega-menu,
  .nav-item.open > .dropdown {
    display: block;
  }

  /* Flatten mega-menu grid into a single column */
  .mega-menu {
    display: none; /* keep hidden until .open */
    grid-template-columns: 1fr;
  }
  .nav-item.open > .mega-menu {
    display: block;
  }
  .mega-menu .mega-col {
    padding: 0;
  }
  .mega-menu .mega-col h4,
  .mega-menu .mega-intro {
    display: none;
  }

  /* Submenu links */
  .mega-link,
  .dropdown-link {
    display: block;
    padding: 0.65rem 1rem 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-left: 3px solid var(--gray-200);
    margin-bottom: 2px;
  }
  .mega-link:hover,
  .dropdown-link:hover {
    color: var(--blue);
    border-left-color: var(--blue);
  }
  .dropdown-section h4 {
    padding: 0.4rem 1rem 0.2rem 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-500);
    margin: 0;
  }

  /* Toggle chevron button */
  .mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 0.65rem;
    flex-shrink: 0;
    transition: transform 0.25s, border-color 0.2s, color 0.2s;
  }
  .nav-item.open > .mobile-submenu-toggle {
    transform: rotate(180deg);
    border-color: var(--blue);
    color: var(--blue);
  }

  /* Nav items with submenus: flex row so chevron sits beside link */
  .nav-item.has-submenu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-item.has-submenu > .nav-link {
    flex: 1;
  }
  .nav-item.has-submenu > .nav-link .arrow {
    display: none;
  }
  .nav-item.has-submenu > .mega-menu,
  .nav-item.has-submenu > .dropdown {
    flex: 0 0 100%;
  }
}


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

@media(max-width: 768px) {
  .top-bar { display: none; }
  .main-nav { padding: 0 1rem; }
  .hero-content { padding: 2rem 1rem; }
  .section { padding: 3rem 1rem; }
  .industries-bar { gap: 1.5rem; }
  .industries-bar span { width: auto; text-align: inherit; }
  
  .features-grid { 
    grid-template-columns: 1fr; 
    gap: 1rem;
  }

  .feature-card {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
    text-align: left;
  }

  .feature-icon {
    width: 48px; 
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .feature-card h3 {
    margin-top: 0.25rem;
    font-size: 1rem;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* =============================================
   PAGE HEADER (shared across inner pages)
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   PRODUCTS ARCHIVE PAGE
   ============================================= */

/* Featured Products Grid */
.featured-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card-large {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  transition: all 0.3s;
}
.product-card-large:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: var(--blue);
}

.product-card-large .product-img {
  height: 180px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.product-card-large .product-content {
  padding: 1.75rem;
}

.product-card-large h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.product-card-large > .product-content > p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.product-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-features li:before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
}

.product-tag {
  display: inline-block;
  background: rgba(26,93,173,0.1);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.product-tag.popular {
  background: rgba(232,93,4,0.1);
  color: var(--orange);
}

/* Product Card (smaller) - overrides for archive context */
.product-card .product-content {
  padding: 1.25rem;
}
.product-card .product-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.product-card .product-content p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Comparison Table */
.comparison-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  min-width: 600px;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.comparison-table th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr:hover td {
  background: var(--gray-100);
}
.comparison-table td {
  font-size: 0.9rem;
  color: var(--gray-700);
}
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--dark);
}
.check {
  color: var(--blue);
  font-weight: 700;
}

/* Add-Ons Grid */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.addon-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.addon-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--blue-light);
}
.addon-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.addon-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.addon-card p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Button Variants */
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: var(--gray-100);
}

/* ─────────────────────────────
   FORMS
   ───────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Contact form wrapper */
.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-300);
}
.contact-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.contact-form-wrapper > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Quote form wrapper */
.quote-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-300);
}
.quote-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.quote-form-wrapper > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Form status messages (AJAX feedback) */
.form-status {
  margin: 1rem 0;
  padding: 0;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
}
.form-status.form-status-success,
.form-status.form-status-error {
  display: block;
  padding: 1rem 1.25rem;
}
.form-status-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Loading state on submit button */
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ──────────────────────────────────
   WHY-US PAGE
   ────────────────────────────────── */
.page-id-28 .hero {
  background: linear-gradient(135deg, #0f172a, #1d3b72);
  color: var(--white);
  min-height: auto;
  padding: 6rem 2rem 4rem;
}
.page-id-28 .hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  padding: 0;
}
.page-id-28 .hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
}
.page-id-28 .hero p {
  color: rgba(255,255,255,.85);
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.page-id-28 .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 0;
  margin-top: 2rem;
}
.page-id-28 .btn-outline {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.page-id-28 .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}
.why-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(255,255,255,.12);
  padding: .6rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-list {
  list-style: none;
  color: rgba(255,255,255,.85);
}
.hero-list li {
  margin-bottom: .8rem;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.hero-list li::before {
  content: "✓";
  color: #a7f3d0;
  font-weight: 700;
}
.hero-card {
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
}
.hero-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--white);
}
.hero-card p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--gray-200, #e5e7eb);
  padding: 2rem;
  box-shadow: 0 20px 35px rgba(0,0,0,.05);
}
.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: .6rem;
  color: var(--blue-dark);
}
.pillar-card p {
  color: var(--gray-600);
  font-size: .95rem;
}

/* Proof / metrics */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.metric-card {
  background: var(--dark);
  color: var(--white);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
}
.metric-card h4 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.metric-card span {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
}

/* Testimonials grid */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.test-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200, #e5e7eb);
  padding: 1.8rem;
  position: relative;
}
.test-card::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--gray-300);
  position: absolute;
  top: -10px;
  left: 20px;
}
.test-card p {
  color: var(--gray-700);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.test-author {
  font-weight: 700;
  color: var(--blue-dark);
}
.test-role {
  font-size: .85rem;
  color: var(--gray-500);
}

/* Timeline / steps */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.step-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--gray-200, #e5e7eb);
  padding: 1.5rem;
  text-align: center;
}
.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.step-card h4 {
  margin-bottom: .4rem;
  color: var(--blue-dark);
}
.step-card p {
  color: var(--gray-600);
  font-size: .9rem;
}

/* CTA (why-us variant with gradient bg) */
.cta-gradient {
  background: linear-gradient(120deg, #0d3a6e, #1a5dad);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-gradient h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-gradient p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
}
.cta-gradient .hero-buttons {
  justify-content: center;
  margin-bottom: 0;
}
.cta-gradient .btn-outline {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.cta-gradient .btn-outline:hover {
  border-color: var(--white);
}

/* ──────────────────────────────────
   ABOUT PAGE
   ────────────────────────────────── */
/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-image {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.story-image .icon { font-size: 8rem; opacity: .3; }
.story-image .badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  color: var(--blue);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.story-content h2 { font-size: 2rem; margin-bottom: 1.5rem; line-height: 1.3; }
.story-content p { color: var(--gray-700); margin-bottom: 1.25rem; line-height: 1.8; font-size: 1.05rem; }
.story-content .signature { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-300); }
.story-content .signature .name { font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.story-content .signature .title { color: var(--gray-500); font-size: .9rem; }

/* Stats bar */
.stats-section { background: var(--blue); padding: 3rem 2rem; }
.stats-section .stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat { color: var(--white); }
.stat .number { font-size: 3rem; font-weight: 800; display: block; line-height: 1; margin-bottom: .5rem; }
.stat .label { font-size: .9rem; color: rgba(255,255,255,.8); }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  transition: all .3s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-color: var(--blue);
}
.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.value-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* Why Different */
.different-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.different-content h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.different-content p { color: var(--gray-700); margin-bottom: 1.5rem; line-height: 1.8; }
.different-list { list-style: none; }
.different-list li {
  padding: .75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: var(--gray-700);
}
.different-list li .icon {
  width: 28px;
  height: 28px;
  background: rgba(26,93,173,.1);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.trust-box {
  background: var(--gray-900);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
}
.trust-box h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.trust-item:last-child { border-bottom: none; }
.trust-item .icon { font-size: 1.25rem; flex-shrink: 0; }
.trust-item h4 { font-size: 1rem; margin-bottom: .25rem; }
.trust-item p { font-size: .85rem; color: var(--gray-400); }

/* Industries served (about) */
.industries-served { text-align: center; }
.industries-served h2 { font-size: 2rem; margin-bottom: 1rem; }
.industries-served > p { color: var(--gray-400); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.industry-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.industry-tag {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: all .3s;
  color: inherit;
  text-decoration: none;
}
.industry-tag:hover { background: rgba(255,255,255,.1); border-color: var(--blue-light); }

/* Testimonial large */
.testimonial-large {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--gray-300);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.testimonial-large::before {
  content: "\201C";
  font-size: 8rem;
  color: var(--blue);
  opacity: .1;
  position: absolute;
  top: -1rem;
  left: 1rem;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-large .quote {
  font-size: 1.35rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.testimonial-large .author-info { display: flex; align-items: center; gap: 1rem; }
.testimonial-large .author-avatar {
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 4px var(--white), 0 0 0 6px var(--blue);
}
.testimonial-large .author-name { font-weight: 700; color: var(--dark); }
.testimonial-large .author-role { font-size: .9rem; color: var(--gray-500); }

/* ──────────────────────────────────
   INDUSTRY PAGES (shared)
   ────────────────────────────────── */
/* Default primary (blue) — overridden per industry page */
:root {
  --primary: #1a5dad;
  --primary-dark: #0d3a6e;
  --primary-light: #2b7de9;
}

/* Auto Dealership — red */
.postid-29 { --primary: #b91c1c; --primary-dark: #991b1b; --primary-light: #dc2626; }

/* Industry Hero */
.industry-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 5rem 2rem;
}
.industry-hero .hero-content {
  padding: 0;
  max-width: none;
  text-align: left;
}
.industry-hero .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 0;
}

/* Location Hero */
.location-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 5rem 2rem;
}
.location-hero .hero-content {
  padding: 0;
  max-width: none;
  text-align: left;
}
.location-hero .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 0;
}
.location-hero .hero-badge {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.location-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.location-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.location-hero .btn-outline {
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
}
.location-hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  color: var(--white);
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.industry-hero .hero-badge {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.industry-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.industry-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.industry-hero .btn-outline {
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
}
.industry-hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.hero-box {
  background: rgba(0,0,0,.2);
  padding: 2rem;
  border-radius: 16px;
}
.hero-box h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-box ul { list-style: none; }
.hero-box li {
  padding: .6rem 0;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
}
.hero-box li::before {
  content: "✓";
  background: var(--white);
  color: var(--primary-dark);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* TIER GRID – pricing table block */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--blue);
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.pricing-card:nth-child(2n) { border-color: var(--orange); }
.pricing-header h3 {
  font-size: 1rem;
  color: inherit;
  margin-bottom: .25rem;
}
.pricing-header .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
  margin: .25rem 0 0;
}
.pricing-body {
  flex: 1;
  margin: 1rem 0;
}
.pricing-body ul { list-style: none; text-align: left; }
.pricing-body li {
  padding: .4rem 0;
  color: var(--gray-700);
  font-size: .95rem;
}
.pricing-body li::before { content: "✓ "; color: var(--orange); font-weight: 700; }
.pricing-footer { margin-top: auto; }
.btn-full {
  width: 100%;
  justify-content: center;
}
@media (max-width: 600px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* Stats Bar */
.stats-bar {
  background: var(--primary);
  padding: 2.5rem 2rem;
}
.stats-bar .stats-grid {
  max-width: 900px;
  margin: 0 auto;
}

/* Alert Box */
.alert-box {
  background: #fef2f2;
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}
.alert-box .icon { font-size: 1.5rem; flex-shrink: 0; }
.alert-box h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: .25rem; }
.alert-box p { font-size: .9rem; color: var(--gray-700); line-height: 1.6; }

/* Feature Box (dealership-box etc.) */
.dealership-box {
  background: linear-gradient(135deg, var(--gray-900), var(--primary-dark));
  color: var(--white);
  padding: 3rem;
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.dealership-box .icon { font-size: 5rem; }
.dealership-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.dealership-box p { color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 1.5rem; }
.dealership-box .features { display: flex; flex-wrap: wrap; gap: .75rem; }
.dealership-box .feature {
  background: rgba(255,255,255,.1);
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
}

/* Feature Box (24/7 style) */
.feature-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3rem;
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 3rem 0;
}
.feature-box .icon { font-size: 5rem; }
.feature-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-box p { color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 1.5rem; }
.feature-box .features { display: flex; flex-wrap: wrap; gap: .75rem; }
.feature-box .feature {
  background: rgba(255,255,255,.15);
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}

/* Challenges Grid */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.challenge-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  border-left: 4px solid var(--primary);
}
.challenge-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.challenge-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--dark); }
.challenge-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* Problems Grid (dispensary, etc.) */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.problem-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  border-left: 4px solid #dc2626;
}
.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.problem-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* Compliance Box */
.compliance-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3rem;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.compliance-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.compliance-box p { color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 1.5rem; }
.compliance-list { list-style: none; }
.compliance-list li {
  padding: .5rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.compliance-list li:before { content: "✓"; font-weight: 700; }

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.solution-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  transition: all .3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-color: var(--primary);
}
.solution-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.solution-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.solution-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* Dealership Types */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.type-card {
  background: var(--white);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  text-align: center;
  transition: all .3s;
}
.type-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.type-card .icon { font-size: 2rem; margin-bottom: .5rem; display: block; }
.type-card h4 { font-size: .9rem; color: var(--dark); }

/* Protect Grid (dark bg) */
.protect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.protect-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.75rem;
  border-radius: 12px;
  text-align: center;
  transition: all .3s;
}
.protect-item:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}
.protect-item .icon { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.protect-item h4 { font-size: 1rem; margin-bottom: .25rem; color: var(--white); }
.protect-item p { font-size: .8rem; color: var(--gray-400); }

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.why-content h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.why-content p { color: var(--gray-700); margin-bottom: 1.25rem; line-height: 1.8; }
.why-list { list-style: none; margin-top: 1.5rem; }
.why-list li {
  padding: .6rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.why-list li .icon {
  width: 28px;
  height: 28px;
  background: rgba(185,28,28,.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}
.why-image {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  color: var(--white);
}
.why-image .icon { font-size: 5rem; margin-bottom: 1rem; }
.why-image h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.why-image p { color: rgba(255,255,255,.8); }

/* Process Steps (industry) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1rem;
  top: 2rem;
  color: var(--gray-300);
  font-size: 1.5rem;
}
.process-step .step-number {
  background: var(--primary);
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
}
.process-step h4 { font-size: 1rem; margin-bottom: .5rem; }
.process-step p { font-size: .85rem; color: var(--gray-500); line-height: 1.5; }

/* Testimonial (industry) */
.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--gray-300);
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}
.testimonial .quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial .author { font-weight: 700; color: var(--dark); }
.testimonial .role { font-size: .9rem; color: var(--gray-500); }

/* Other Industries (cross-links) */
.other-industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.industry-link {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  transition: all .3s;
}
.industry-link:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-3px);
}
.industry-link .icon { font-size: 2rem; margin-bottom: .5rem; display: block; }
.industry-link h4 { font-size: .95rem; font-weight: 600; }

@media(max-width: 1000px) {
  .page-id-28 .hero-content,
  .pillars-grid,
  .proof-grid,
  .testimonials,
  .timeline,
  .story-grid,
  .different-grid,
  .stats-section .stats-grid,
  .hero-container,
  .why-grid,
  .process-steps,
  .dealership-box,
  .feature-box,
  .compliance-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .feature-box .icon { font-size: 3.5rem; }
  .feature-box h3 { font-size: 1.25rem; }
  .process-step:not(:last-child)::after { display: none; }
}

@media(max-width: 768px) {
  .featured-products {
    grid-template-columns: 1fr;
  }
  .page-header { padding: 3rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper,
  .quote-form-wrapper {
    padding: 1.5rem;
  }
}

/* =========================================
   FAQ PAGE
   ========================================= */

/* Quick links */
.quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.quick-link {
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s;
}

.quick-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(26,93,173,0.05);
}

/* FAQ category */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue);
}

.faq-category-header .icon {
  font-size: 1.5rem;
}

.faq-category-header h2 {
  font-size: 1.35rem;
  color: var(--dark);
}

/* FAQ item */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--blue);
}

/* Toggle circle — shows + (closed) or − (open) */
.faq-question .toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}

.faq-item.active .faq-question .toggle {
  background: var(--blue);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Flat list variant (financing page, etc.) — always show answers */
.faq-list .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.faq-answer a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Still have questions box */
.questions-box {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
}

.questions-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.questions-box p {
  color: var(--gray-400);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.questions-box .buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Product page overrides ─────────────────────────────────────── */
/* manual-shutters (postid-81) is the only product with a light hero background;
   override the default white H1 rule so text stays readable */
.postid-81 header.hero h1 {
  color: var(--dark);
}

/* CTA section phone button on dark-blue background needs white text */
.single-product .cta .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.single-product .cta .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
}
