:root {
  /* Core Palette */
  --color-navy: #0F172A;
  /* Midnight Navy */
  --color-wolf: #94A3B8;
  /* Concrete Wolf */
  --color-volt: #EAB308;
  /* Electric Volt */

  /* Neutrals */
  --color-white: #F8FAFC;
  /* Paper White */
  --color-graphite: #121619;
  /* Deep Graphite */
  --color-mist: #D4D9DD;
  /* Concrete Mist */

  /* Utility */
  --color-success: #16A34A;
  --color-warning: #DC2626;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;
}

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

html {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-graphite);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--color-navy);
  transition: color 0.2s;
}

a:hover {
  color: var(--color-volt);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #1e293b;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-primary:active {
  color: #FFFFFF;
  transform: translateY(0);
}

.btn-cta {
  background-color: var(--color-volt);
  color: var(--color-navy);
}

.btn-cta:hover {
  background-color: #facc15;
  color: var(--color-navy) !important;
  transform: translateY(-1px);
}

.btn-cta:active {
  color: var(--color-navy) !important;
  transform: translateY(0);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: 3rem 0;
}

/* Hero Section with Video */
/* ── Stitch Hero ─────────────────────────────────────── */
.stitch-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #051424;
}

.stitch-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stitch-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.stitch-hero__video--desktop { display: none; }
.stitch-hero__img--mobile { display: block; }
@media (min-width: 768px) {
  .stitch-hero__video--desktop { display: block; }
  .stitch-hero__img--mobile { display: none; }
}

/* Stitch's exact gradient — fades up from solid navy at bottom */
.stitch-hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(5,20,36,1) 0%, rgba(5,20,36,0.6) 40%, rgba(5,20,36,0) 100%);
}

/* Stitch's scanline texture */
.stitch-hero__scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
  background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.02) 50%);
  background-size: 100% 4px;
}

/* Bottom-anchored content — exactly as Stitch did it */
.stitch-hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 4rem 1.5rem 4rem;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

.stitch-hero__location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(212, 228, 250, 0.7);
  margin-bottom: 0.75rem;
}

.stitch-hero__headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 0.75rem;
}

.stitch-hero__sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(212, 228, 250, 0.75);
  margin-bottom: 2rem;
}

.stitch-hero__cta {
  display: inline-block;
  align-self: center;
  background: #EAB308;
  color: #121619;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.stitch-hero__cta:hover,
.stitch-hero__cta:active,
.stitch-hero__cta:visited {
  color: #121619;
}
.stitch-hero__cta:hover {
  background: #f5c518;
  transform: translateY(-1px);
}
.stitch-hero__cta:active {
  background: #d4a006;
  transform: translateY(0);
  opacity: 1;
}



/* Header */
header {
  background-color: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar {
  background-color: #020617;
  /* Darker Navy */
  color: var(--color-mist);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: var(--spacing-lg);
}

.top-bar-socials {
  display: flex;
  gap: var(--spacing-md);
}

.main-header {
  padding: var(--spacing-md) 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  align-items: flex-end;
}

.logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.logo-main span {
  color: var(--color-volt);
}

.logo-tagline {
  font-size: 0.6rem;
  color: var(--color-mist);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: right;
  margin-top: 0;
}

nav ul {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav li {
  position: relative;
}

nav a {
  color: var(--color-wolf);
  font-weight: 500;
  display: block;
  padding: 8px 0;
}

nav a:hover,
nav a.active {
  color: #FFFFFF;
}

/* Ensure CTA buttons maintain dark text even when active/hover in nav */
nav .btn-cta:hover,
nav .btn-cta.active {
  color: var(--color-navy) !important;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-navy);
  min-width: 200px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-sm) 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  z-index: 101;
}

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

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--color-wolf);
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-volt);
}

nav .btn-cta {
  padding: 8px 16px;
  font-size: 0.9rem;
  margin-left: var(--spacing-md);
}

/* Footer */
footer {
  background-color: var(--color-navy);
  color: var(--color-wolf);
  padding: var(--spacing-xl) 0;
  margin-top: auto;
  border-top: 4px solid var(--color-volt);
}

footer h4 {
  color: #FFFFFF;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

footer a {
  color: var(--color-wolf);
  display: block;
  margin-bottom: 8px;
}

footer a:hover {
  color: var(--color-volt);
  padding-left: 4px;
  /* Slight movement on hover */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-contact p {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links {
  display: flex;
  gap: var(--spacing-md);
}

.legal-links a {
  margin-bottom: 0;
  font-size: 0.85rem;
}

/* Accordion (FAQ) */
.accordion-item {
  border: 1px solid var(--color-mist);
  border-radius: 4px;
  margin-bottom: 1rem;
  background: white;
}

.accordion-header {
  padding: 1rem;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: #f1f5f9;
}

.accordion-content {
  padding: 1rem;
  display: none;
  border-top: 1px solid var(--color-mist);
  color: var(--color-graphite);
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-header {
  color: var(--color-navy);
}

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

.blog-card {
  background: white;
  border: 1px solid var(--color-mist);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  background-color: var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-wolf);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--color-wolf);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--color-graphite);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Blog Post Detail */
.post-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.post-content {
  flex: 2;
  min-width: 300px;
}

.post-sidebar {
  flex: 1;
  min-width: 250px;
}

.post-header {
  margin-bottom: 2rem;
}

.post-category {
  color: var(--color-volt);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.post-title {
  margin-top: 0.5rem;
  font-size: 2.5rem;
}

.post-date {
  color: var(--color-wolf);
  margin-top: 1rem;
}

.post-featured-image {
  background: var(--color-mist);
  height: auto;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-wolf);
  border-radius: 8px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-body {
  line-height: 1.8;
  color: var(--color-graphite);
}

.post-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-cta-box {
  background: #f1f5f9;
  padding: 2rem;
  border-left: 4px solid var(--color-volt);
  margin: 2rem 0;
}

.post-cta-box h3 {
  margin-bottom: 0.5rem;
}

.post-cta-box p {
  margin-bottom: 1rem;
}

.sidebar-widget {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-mist);
  margin-bottom: 2rem;
}

.sidebar-widget h4 {
  margin-bottom: 1rem;
}

.sidebar-widget p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.sidebar-widget ul {
  list-style: none;
  font-size: 0.9rem;
}

.sidebar-widget li {
  margin-bottom: 0.8rem;
}

.comments-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-mist);
}

.comments-form {
  margin-top: 1.5rem;
}

.comments-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-mist);
  border-radius: 4px;
  margin-bottom: 1rem;
  font-family: inherit;
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }
}

/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 28px;
  /* Explicit size for both ☰ and ✕ icons */
  line-height: 1;
}

.mobile-menu-btn:hover {
  color: var(--color-volt);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.2s ease;
}

/* Animate hamburger → X when open */
.mobile-menu-btn svg path {
  transition: d 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn.is-open svg path.top    { d: path("M5 5L19 19"); }
.mobile-menu-btn.is-open svg path.middle { opacity: 0; }
.mobile-menu-btn.is-open svg path.bottom { d: path("M19 5L5 19"); }

/* Mobile Responsiveness */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }


  /* Typography */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  /* Hero Section Mobile Optimization */
  .hero-section {
    padding: 1.5rem 0;
    /* Reduced from 4rem */
  }

  .hero-section h1 {
    font-size: 1.625rem;
    /* 26px - optimized for mobile */
    line-height: 1.3;
    margin-bottom: 1.25rem !important;
  }

  .hero-section p {
    font-size: 1rem !important;
    /* 16px - standard mobile size */
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
  }

  /* Hero Buttons - Stack Vertically */
  .hero-section .container>div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0 1.5rem;
  }

  .hero-section .btn {
    width: 100%;
    min-height: 48px;
    padding: 14px 24px;
    text-align: center;
  }

  /* Layout */
  .container {
    padding: 0 var(--spacing-md);
  }

  section {
    padding: 1.5rem 0;
  }

  /* Header */
  .top-bar {
    display: none;
    /* Hide top bar on mobile to save space */
  }

  .main-header {
    padding: 0.75rem 0;
  }

  .main-header .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  nav {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 4px solid var(--color-volt);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid var(--color-mist);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    padding: 1rem 0;
    width: 100%;
    color: var(--color-navy);
    background-color: transparent;
    /* Ensure no persistent background */
  }

  /* Mobile nav — force navy text, override desktop white */
  nav a,
  nav a:hover,
  nav a.active {
    color: var(--color-navy);
  }

  nav a:hover {
    background-color: rgba(234, 179, 8, 0.1);
  }

  nav a.active:not(.btn-cta) {
    background-color: rgba(234, 179, 8, 0.15);
    font-weight: 600;
  }

  nav .btn-cta {
    margin: 1rem 0 0 0;
    width: 100%;
    text-align: center;
    display: inline-block;
  }

  /* Ensure CTA stays yellow with dark text in mobile nav */
  nav .btn-cta,
  nav .btn-cta:hover,
  nav .btn-cta.active {
    background-color: var(--color-volt);
    color: var(--color-navy) !important;
  }

  /* Dropdowns on Mobile — tap-toggled, not hover */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: #f1f5f9;
    padding-left: 1rem;
    display: none;
  }

  .dropdown-menu.open {
    display: block;
  }

  nav li:hover .dropdown-menu {
    display: none; /* disable hover on mobile */
  }

  nav li.dropdown-open .dropdown-menu {
    display: block;
  }

  /* Comparison Table */
  .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Flex/Grid Adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .post-container {
    flex-direction: column;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .logo img {
    height: 44px;
    /* Optimized for mobile visibility */
  }

  .logo-main {
    font-size: 1rem;
    letter-spacing: -0.3px;
    white-space: nowrap;
  }

  .logo-tagline {
    font-size: 0.5rem;
  }
}

/* How It Works Section */
.how-it-works-section {
  background-color: var(--color-white);
  padding: 3rem 0;
  /* Reduced from 6rem */
  position: relative;
}

.how-it-works-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.how-it-works-section .section-header h2 {
  /* Inherit default h2 styles (2.5rem, 700 weight, standard color) */
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

.how-it-works-section .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-volt);
  border-radius: 2px;
}

.how-it-works-section .section-header p {
  color: var(--color-wolf);
  font-size: 1.125rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .how-it-works-section .section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    letter-spacing: normal;
  }

  .how-it-works-section .section-header h2::after {
    bottom: -0.5rem;
    width: 50px;
    height: 3px;
  }

  .how-it-works-section .section-header p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.process-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--color-volt);
}

.process-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.process-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.process-card:hover .process-image {
  transform: scale(1.05);
}

.step-number {
  position: absolute;
  top: 195px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--color-volt);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 10;
  border: 4px solid white;
}

.process-content {
  padding: 2.5rem 1.5rem 2rem;
  flex-grow: 1;
  text-align: center;
}

.process-content h3 {
  margin-bottom: 1rem;
  color: var(--color-navy);
  font-size: 1.5rem;
}

.process-content p {
  color: var(--color-wolf);
  line-height: 1.6;
}

/* Mobile Carousel Implementation for "How It Works" */
@media (max-width: 768px) {

  /* Section padding optimization */
  .how-it-works-section {
    padding: 1.5rem 0;
    /* Reduced from 4rem */
  }

  /* Section header optimization */
  .how-it-works-section .section-header {
    margin-bottom: 1.5rem;
    /* Reduced from 4rem */
  }

  .how-it-works-section .section-header h2 {
    font-size: 1.75rem;
    /* 28px - optimized for mobile */
    margin-bottom: 0.75rem;
  }

  .how-it-works-section .section-header p {
    font-size: 1rem;
    /* 16px - optimal readability */
    line-height: 1.5;
  }

  /* Carousel grid */
  .process-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    margin-top: 0;
    /* Remove any inherited margin */
    padding-bottom: 2rem;

    /* Full bleed logic */
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: calc(100% + 2rem);
    max-width: 100vw;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
  }

  .process-grid::-webkit-scrollbar {
    display: none;
  }

  /* Card optimization */
  .process-card {
    min-width: 85%;
    /* Peeking effect */
    max-width: 85%;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* Force one-card-at-a-time scrolling */
    margin-right: 0;
  }

  /* Image wrapper - reduced height */
  .process-image-wrapper {
    height: 180px;
    /* Reduced from 220px for mobile */
  }

  /* Step number - adjusted for new image height */
  .step-number {
    top: 155px;
    /* Adjusted for 180px image height */
    width: 45px;
    /* Slightly smaller for mobile */
    height: 45px;
    font-size: 1.25rem;
    border: 3px solid white;
    /* Thinner border */
  }

  /* Content padding optimization */
  .process-content {
    padding: 2rem 1.25rem 1.5rem;
    /* Reduced from 2.5rem/1.5rem/2rem */
  }

  /* Typography optimization */
  .process-content h3 {
    font-size: 1.25rem;
    /* 20px - optimal for mobile H3 */
    margin-bottom: 0.75rem;
    /* Tighter spacing */
    line-height: 1.2;
  }

  .process-content p {
    font-size: 0.9375rem;
    /* 15px */
    line-height: 1.6;
    /* Better readability */
  }
}

/* About Us Section */
.about-section {
  background-color: var(--color-white);
  padding: 3rem 0;
  /* Reduced from 8rem */
  position: relative;
  overflow: hidden;
}

/* Decorative background element */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(234, 179, 8, 0.03) 0%, transparent 20%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.section-badge {
  display: inline-block;
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--color-volt);
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -1px;
}

.about-content .lead-text {
  font-size: 1.25rem;
  color: var(--color-navy);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--color-wolf);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-volt);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image-wrapper {
  position: relative;
  z-index: 1;
}

.image-backdrop {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--color-navy);
  border-radius: 12px;
  z-index: -1;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
  transform: translateY(-5px) translateX(-5px);
}

@media (max-width: 900px) {
  .about-section {
    padding: 1.5rem 0;
    /* Reduced from 4rem */
    position: relative;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    /* Reduced from 4rem for tighter mobile spacing */
  }

  .about-content {
    order: 1;
  }

  .about-image-wrapper {
    order: 2;
    margin-right: 20px;
  }

  /* Typography Optimizations */
  .about-content h2 {
    font-size: 1.75rem;
    /* 28px - optimized for mobile */
    line-height: 1.2;
    margin-bottom: 1rem;
    /* Reduced spacing */
  }

  .about-content .lead-text {
    font-size: 1.0625rem;
    /* 17px - mobile optimized */
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .about-content p {
    font-size: 0.9375rem;
    /* 15px */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
  }

  .section-badge {
    font-size: 0.6875rem;
    /* 11px - smaller for mobile */
    padding: 5px 10px;
    margin-bottom: 1rem;
  }

  /* Stats Optimization */
  .about-stats {
    gap: 2rem;
    /* Reduced from 3rem */
    margin-top: 1.5rem;
    /* Reduced from 2rem */
    padding-top: 1.5rem;
    /* Reduced from 2rem */
  }

  .stat-number {
    font-size: 2rem;
    /* Reduced from 2.5rem for mobile */
  }

  .stat-label {
    font-size: 0.75rem;
    /* 12px */
  }
}

/* Value Prop / Comparison Section */
/* Value Proposition Section - Why Choose Task Force */
.value-prop-section {
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 50%, #f8fafc 100%);
  padding: 3rem 0;
  /* Reduced from 6rem */
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.value-prop-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.value-prop-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.value-prop-section .container {
  position: relative;
  z-index: 2;
}

.value-prop-section .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.value-prop-section .section-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(234, 179, 8, 0.08) 100%);
  color: #b8860b;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 6px;
  border-left: 4px solid var(--color-volt);
  display: inline-block;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.15);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

/* Competitor Cards */
.comparison-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.comparison-card.competitor {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  opacity: 0.95;
}

.comparison-card.competitor:hover {
  transform: translateY(-8px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.08);
  opacity: 1;
}

.comparison-card.competitor:hover .card-icon {
  transform: scale(1.1);
}

/* Featured Card - Task Force Garage */
.comparison-card.featured {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 3px solid var(--color-volt);
  transform: scale(1.08);
  z-index: 10;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.3),
    0 0 0 1px rgba(234, 179, 8, 0.2),
    0 0 60px rgba(234, 179, 8, 0.15);
  position: relative;
  overflow: visible;
}

.comparison-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.05) 0%, transparent 100%);
  border-radius: 14px;
  pointer-events: none;
}

.comparison-card.featured:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 28px 50px -12px rgba(15, 23, 42, 0.4),
    0 0 0 1px rgba(234, 179, 8, 0.3),
    0 0 80px rgba(234, 179, 8, 0.25);
  border-color: #facc15;
}

.comparison-card.featured h3 {
  color: white;
  font-size: 1.5rem;
}

.comparison-card.featured p {
  color: var(--color-mist);
}

.comparison-card.featured .card-icon {
  filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.4));
}

.comparison-card.featured:hover .card-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 30px rgba(234, 179, 8, 0.6));
}

.comparison-card.featured .feature-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-card.featured .feature-list li {
  color: var(--color-mist);
}

.comparison-card.featured .feature-list li.check {
  color: white;
  font-weight: 600;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-volt) 0%, #facc15 100%);
  color: var(--color-navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-card h3 {
  color: var(--color-navy);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.comparison-card p {
  color: var(--color-wolf);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  text-align: left;
  border-top: 2px solid #e2e8f0;
  padding-top: 1.5rem;
  margin-top: auto;
}

.feature-list li {
  margin-bottom: 0.85rem;
  padding-left: 2rem;
  position: relative;
  color: var(--color-graphite);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.feature-list li:hover {
  padding-left: 2.25rem;
}

.feature-list li.check::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 800;
  font-size: 1.1rem;
  background: rgba(22, 163, 74, 0.1);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.feature-list li.cross::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--color-warning);
  font-weight: 800;
  font-size: 1.1rem;
  background: rgba(220, 38, 38, 0.1);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.feature-list li.check {
  color: var(--color-navy);
  font-weight: 600;
}

@media (max-width: 900px) {
  .value-prop-section {
    padding: 1.5rem 0;
    /* Reduced from 4rem for mobile */
  }

  .comparison-grid {
    gap: 1.5rem;
  }

  .comparison-card.featured {
    transform: scale(1);
    order: -1;
    margin-bottom: 1.5rem;
  }

  .comparison-card.featured:hover {
    transform: translateY(-8px);
  }
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e293b 100%);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(234, 179, 8, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: var(--color-mist);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* Service Area Section */
.service-area-section {
  background-color: var(--color-white);
  padding: 3rem 0;
  /* Reduced from 6rem */
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.service-area-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-area-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.service-area-header p {
  color: var(--color-wolf);
  font-size: 1.1rem;
}

.service-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .service-area-section {
    padding: 1.5rem 0;
    /* Reduced from 4rem */
  }

  .service-area-header {
    margin-bottom: 2rem;
  }

  .service-area-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
}

.location-card {
  background: white;
  border: 1px solid var(--color-mist);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: var(--color-volt);
}

.location-map {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover .location-map img {
  transform: scale(1.05);
}

.location-content {
  padding: 1.5rem;
}

.location-content h3 {
  color: var(--color-navy);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-content p {
  color: var(--color-wolf);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Mobile Carousel Implementation for "AREA OF OPERATIONS" */
@media (max-width: 768px) {
  .service-locations-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 2rem;

    /* Full bleed logic */
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: calc(100% + 2rem);
    max-width: 100vw;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .service-locations-grid::-webkit-scrollbar {
    display: none;
  }

  .location-card {
    min-width: 85%;
    max-width: 85%;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
}

/* Mobile Carousel for "Why Choose Task Force" (Comparison) */
/* Mobile Carousel for "Why Choose Task Force" (Comparison) */
@media (max-width: 768px) {
  .value-prop-section .comparison-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity;
    /* Changed from mandatory for smoother scrolling */
    gap: 1.5rem;
    margin-top: 0;
    /* Override desktop 3rem - eliminates wasted space */
    padding-bottom: 2rem;
    scroll-behavior: smooth;
    /* Smooth scrolling */

    /* Full bleed logic */
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: calc(100% + 2rem);
    max-width: 100vw;

    /* Extra top padding for the "Recommended" badge */
    padding-top: 1.5rem;
    /* Reduced from 3rem - tighter spacing */

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .value-prop-section .comparison-grid::-webkit-scrollbar {
    display: none;
  }

  .value-prop-section .comparison-grid .comparison-card {
    min-width: 85%;
    max-width: 85%;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* Force stopping at each card */
    height: auto;
    margin-right: 0;
    padding: 1.5rem 1.25rem;
    /* 24px/20px - optimized from 40px/32px */
  }

  /* Typography optimizations for mobile */
  .value-prop-section .comparison-grid .comparison-card h3 {
    font-size: 1.25rem;
    /* 20px - optimal for mobile H3 */
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .value-prop-section .comparison-grid .comparison-card p {
    font-size: 0.9375rem;
    /* 15px - balanced for mobile */
    line-height: 1.5;
    /* Better readability */
    margin-bottom: 1.25rem;
  }

  .value-prop-section .comparison-grid .comparison-card .card-icon {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    margin-bottom: 1rem;
  }

  .value-prop-section .comparison-grid .comparison-card .feature-list {
    padding-top: 1rem;
    /* Reduced from 1.5rem */
    margin-top: 0.75rem;
  }

  .value-prop-section .comparison-grid .comparison-card .feature-list li {
    font-size: 0.875rem;
    /* 14px for list items */
    line-height: 1.5;
    margin-bottom: 0.625rem;
    /* Tighter spacing */
  }

  /* Reset previous mobile stack behavior */
  .comparison-card.featured {
    order: -1;
    margin-bottom: 0;
    transform: none !important;
    border: 3px solid var(--color-volt);
    /* Ensure border remains visible */
  }

  .comparison-card.featured:hover {
    transform: none !important;
  }

  /* Adjust popular badge for reduced padding */
  .value-prop-section .comparison-grid .comparison-card .popular-badge {
    top: -12px;
    /* Adjusted for new card padding */
    font-size: 0.65rem;
    /* Slightly smaller for mobile */
    padding: 5px 16px;
  }

  /* Enhanced Scroll Indicators */
  .mobile-scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Increased from 8px */
    margin-top: 1.5rem;
    /* More breathing room */
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    /* Increase touch area */
  }

  .indicator-dot {
    width: 10px;
    /* Larger from 8px */
    height: 10px;
    border-radius: 50%;
    background-color: rgba(148, 163, 184, 0.4);
    /* Better contrast */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }

  .indicator-dot.active {
    background-color: var(--color-volt);
    width: 28px;
    /* Increased from 24px */
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.3);
    /* Subtle glow */
  }

  /* Section header mobile optimization */
  .value-prop-section .section-header {
    margin-bottom: 1rem;
    /* Reduced from 2rem - minimizes wasted space between description and cards */
  }

  .value-prop-section .section-header h2 {
    font-size: 1.75rem;
    /* 28px for mobile */
    margin-bottom: 0.75rem;
  }

  .value-prop-section .section-header p {
    font-size: 1rem;
    /* 16px - optimal mobile readability */
    line-height: 1.5;
  }

  .value-prop-section .section-badge {
    font-size: 0.6875rem;
    /* 11px - slightly smaller */
    padding: 6px 16px;
    letter-spacing: 1.5px;
  }
}

/* Hide indicators on desktop */
@media (min-width: 769px) {
  .mobile-scroll-indicator {
    display: none;
  }
}



@media (max-width: 768px) {
  .cta-banner {
    padding: 2.5rem 0;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }
}

/* Before & After Sections */
.ba-section {
  padding: 3rem 0;
  /* Reduced from 6rem */
  background-color: #F8FAFC;
}

.ba-section.alt-bg {
  background-color: #FFFFFF;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ba-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ba-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(234, 179, 8, 0.3);
}

.ba-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-out;
}

.ba-card:hover .ba-image {
  transform: scale(1.03);
}

.ba-image.after {
  opacity: 0;
}

/* Toggle Logic */
.ba-toggle-input {
  display: none;
}

/* We use sibling selector to target the card from the input */
.ba-toggle-input:checked+.ba-card .ba-image.after {
  opacity: 1;
}

.ba-toggle-input:checked+.ba-card .ba-image.before {
  opacity: 0;
}

.ba-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: rgba(15, 23, 42, 0.85);
  padding: 5px;
  border-radius: 40px;
  z-index: 10;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ba-label {
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
}

.ba-label:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Active state for labels based on input checked status */
.ba-toggle-input:not(:checked)+.ba-card .ba-label.before-label,
.ba-toggle-input:checked+.ba-card .ba-label.after-label {
  background: var(--color-volt);
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
}

.ba-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: white;
  position: relative;
  z-index: 2;
}

.ba-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.ba-content p {
  color: var(--color-wolf);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.ba-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.ba-tag {
  background: #F1F5F9;
  color: var(--color-navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.ba-card:hover .ba-tag {
  background: rgba(234, 179, 8, 0.1);
  color: #b45309;
}

/* Option 2: Featured + Mini Gallery */
.ba-featured-container {
  margin-top: 2.5rem;
}

.ba-featured-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: transform 0.4s ease;
}

.ba-featured-card:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 179, 8, 0.3);
}

.ba-featured-card .ba-image-container {
  height: 500px;
}

.ba-featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.ba-featured-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
  line-height: 1.1;
}

.ba-featured-content p {
  font-size: 1.15rem;
  color: var(--color-wolf);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.ba-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.ba-mini-grid .ba-image-container {
  height: 220px;
}

.ba-mini-grid .ba-content {
  padding: 1.5rem;
}

.ba-mini-grid .ba-content h3 {
  font-size: 1.1rem;
}

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

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

  .ba-featured-card {
    grid-template-columns: 1fr;
  }

  .ba-featured-card .ba-image-container {
    height: 400px;
  }

  .ba-featured-content {
    padding: 2.5rem;
  }
}

@media (max-width: 640px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }

  .ba-mini-grid {
    grid-template-columns: 1fr;
  }

  .ba-section {
    padding: 1.5rem 0;
    /* Reduced from 4rem for mobile */
  }

  .ba-featured-content h3 {
    font-size: 1.75rem;
  }

  .ba-image-container {
    height: 240px;
  }
}


/* Utility */
.text-center {
  text-align: center;
}

/* New Mission Button */
.btn-mission {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border: 2px solid var(--color-volt);
  padding: 16px 32px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.btn-mission:hover {
  background-color: var(--color-volt);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}


/* Mission Results Section (Before & After) */
/* Kill the outer #services wrapper's default section padding */
#services {
  padding: 0;
}

/* Hide dot indicators on non-mobile */
.carousel-dots-bar {
  display: none;
}

.mission-results-section {
  background-color: transparent;
  padding: 4rem 0;
  position: relative;
}

.mission-results-section .section-header {
  margin-bottom: 3rem;
}

.mission-results-section .section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.mission-results-section .section-header p {
  font-size: 1rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

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

.comparison-card {
  /* Completely transparent container - no visual styling on desktop */
  display: flex;
  flex-direction: column;
}

/* Ensure no container styling on larger screens for before/after section only */
@media (min-width: 901px) {
  .mission-results-section .comparison-card {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

.comparison-view {
  position: relative;
  width: 100%;
  padding-bottom: 72%;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  border-radius: 10px;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.2);
}

.comp-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Before Image (Overlay) */
.before-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid white;
  /* Will-change for performance */
  will-change: width;
}

.before-img {
  position: absolute;
  top: 0;
  left: 0;
  /* Width is set dynamically via JavaScript to prevent zoom effect */
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

/* Labels */
.label-badge {
  position: absolute;
  top: 0.75rem;
  padding: 3px 8px;
  background: rgba(15, 23, 42, 0.8);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.05em;
  z-index: 3;
  pointer-events: none;
}

.before-label {
  left: 0.75rem;
}

.after-label {
  right: 0.75rem;
  background: rgba(234, 179, 8, 0.9);
  color: var(--color-navy);
}

/* Slider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 40px;
  margin-left: -20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.handle-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.handle-circle {
  width: 40px;
  height: 40px;
  background: var(--color-volt);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.handle-circle svg {
  width: 20px;
  height: 20px;
  color: var(--color-navy);
}

.comp-info {
  padding: 0.75rem 0.85rem 0.7rem;
  background: white;
  text-align: center;
}

.comp-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--color-navy);
  line-height: 1.25;
}

.comp-info p {
  font-size: 0.875rem;
  color: var(--color-wolf);
  line-height: 1.35;
  margin-bottom: 0;
}

/* Mobile Responsiveness for Comparison */
@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .mission-results-section {
    padding: 1.5rem 0;
  }

  .mission-results-section .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {

  .mission-results-section .comparison-grid,
  .mission-results-section .comparison-grid.two-col-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0 1rem 1rem;
    /* negative margin so cards bleed to edges */
    margin-left: -1rem;
    margin-right: -1rem;
    /* hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-template-columns: unset;
  }

  .mission-results-section .comparison-grid::-webkit-scrollbar {
    display: none;
  }

  .mission-results-section .comparison-card {
    flex: 0 0 85vw;
    max-width: 340px;
    scroll-snap-align: center;
    padding: 0;
    border: none;
  }

  .mission-results-section .comparison-view {
    border-radius: 12px;
  }

  /* Make handle easier to grab on mobile */
  .handle-circle {
    width: 48px;
    height: 48px;
  }

  .mission-results-section {
    padding: 2rem 0 2.5rem;
  }

  .mission-results-section .section-header {
    padding: 0 1rem;
    margin-bottom: 1.25rem;
  }

  .mission-results-section .section-header h2 {
    font-size: 1.75rem;
  }

  .mission-results-section .section-header p {
    font-size: 0.9rem;
  }

  /* Dot indicators */
  .carousel-dots-bar {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
  }

  .carousel-dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #CBD5E1;
    transition: background 0.2s, transform 0.2s;
  }

  .carousel-dot-indicator.active {
    background: #EAB308;
    transform: scale(1.25);
  }

  .comparison-view {
    padding-bottom: 70%;
    /* Slightly taller on mobile for better visibility */
  }

  .comp-info {
    padding: 0.65rem 0.75rem 0.6rem;
  }

  .comp-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

}

/* Hero Comparison Grid (Contact Page) */
.hero-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  /* Increased gap slightly for better breathing room */
  width: 100%;
  max-width: 1600px;
  /* Constrain width so it's not infinite on huge screens */
  margin: 0 auto;
  /* Center the grid */
  padding: 0 3rem;
  /* Add gutters on left and right */
}

.hero-card {
  position: relative;
  width: 100%;

  /* Reset inherited styles from .comparison-card */
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.hero-card .comparison-view {
  padding-bottom: 75%;
  border-radius: 8px;
  /* Subtle radius */
  box-shadow: none;
  background: transparent;
  overflow: hidden;
  /* Ensure image stays inside radius */
}

.hero-card .comp-img {
  object-fit: cover;
}

/* Mobile Carousel for Hero Section */
@media (max-width: 900px) {
  .hero-comparison-grid {
    display: flex;
    /* Reset from Grid to Flex for carousel */
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 1rem 2rem 1rem;

    /* Full bleed adjustments */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-comparison-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-card {
    min-width: 85vw;
    /* Show part of next card */
    scroll-snap-align: center;
  }

  .hero-card .comparison-view {
    padding-bottom: 75%;
    /* Taller on mobile for better visibility */
  }
}

.reviews-section {
  background-color: var(--color-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.reviews-container-wrapper {
  position: relative;
  margin: 0 -1rem;
  /* Negative margin to fade to edges on mobile */
}

.reviews-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  align-items: flex-start;
  /* Prevent cards from stretching to match height of expanded card */
}

.reviews-grid::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Webkit */
}

/* Base Review Card - Shared Styles */
.review-card {
  background: #FFFFFF;
  border-radius: 12px;
  /* Slightly tighter radius for a modern feel */
  padding: 2rem;
  /* Increased padding for breathing room */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Softer, more diffuse shadow */
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Very subtle border */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  /* Ensure nothing spills out */
}

/* Hover State */
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(234, 179, 8, 0.3);
  /* Subtle highlight using brand color on hover */
}

/* Header Layout */
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Reviewer Avatar */
.reviewer-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-navy), #334155);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 16px;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reviewer-info {
  flex-grow: 1;
  overflow: hidden;
  /* Prevent long names from breaking layout */
}

.reviewer-name {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--color-wolf);
}

.review-stars {
  color: #FBBC05;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.review-date {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Google Icon */
.google-icon {
  width: 24px;
  height: 24px;
  opacity: 1;
  margin-left: 8px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

/* Review Body Text */
.review-body {
  color: var(--color-graphite);
  font-size: 0.975rem;
  line-height: 1.7;
  flex-grow: 1;
  position: relative;
}

.review-body p {
  margin: 0;
}

/* Read More Button */
.read-more-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.75rem;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  transition: color 0.2s ease;
}

.read-more-btn:hover {
  color: var(--color-volt);
  text-decoration: none;
}

/* Carousel Specific Overrides */
.reviews-grid .review-card {
  min-width: 340px;
  max-width: 340px;
  scroll-snap-align: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Reviews Page Grid Layout */
.all-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
  align-items: start;
  /* Prevent cards from stretching */
}

.all-reviews-grid .review-card {
  width: 100%;
  min-width: 0;
}


/* Fade Effects for Horizontal Scroll (Carousel) */
.reviews-fade-left,
.reviews-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 10;
}

.reviews-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--color-off-white), transparent);
}

.reviews-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--color-off-white), transparent);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .all-reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .review-card {
    padding: 1.5rem;
  }

  .reviews-grid .review-card {
    min-width: 85vw;
    max-width: 85vw;
  }
}

/* Reviews Page Header */
.page-header {
  background-color: var(--color-navy);
  padding: 6rem 0 5rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 70% 20%, rgba(234, 179, 8, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.page-header h1 {
  font-size: 3rem;
  margin-top: 1rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.page-header p {
  color: var(--color-mist);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.6;
}

.page-header .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--color-volt);
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}



/* Reviews Stats Section */
.reviews-stats-section {
  background-color: var(--color-white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-mist);
}

.reviews-summary-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

.summary-left {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.total-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.stars-large {
  color: #FBBC05;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}

.review-count {
  color: var(--color-wolf);
  font-weight: 500;
  font-size: 0.85rem;
}

.summary-right {
  flex-grow: 1;
  max-width: 400px;
  width: 100%;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-navy);
  font-weight: 500;
}

.rating-bar-row span:last-child {
  min-width: 3rem;
  text-align: right;
  color: var(--color-wolf);
}

.rating-bar-bg {
  flex-grow: 1;
  height: 8px;
  background-color: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background-color: #FBBC05;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .reviews-summary-card {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .summary-right {
    width: 100%;
    max-width: 100%;
  }
}

/* Reviews Page Main Section */
.reviews-page-section {
  padding: 5rem 0;
  background-color: #F8FAFC;
  /* Very light slate */
  background-image:
    radial-gradient(#e2e8f0 1px, transparent 1px),
    radial-gradient(#e2e8f0 1px, transparent 1px);
  background-position: 0 0, 25px 25px;
  background-size: 50px 50px;
  /* Subtle dot pattern */
}

@media (max-width: 768px) {
  .page-header {
    padding: 4rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .page-header p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
}

@media (min-width: 768px) {

  .reviews-container-wrapper {
    margin: 0;
  }

  .reviews-grid {
    padding: 2rem 0.5rem;
  }
}


/* -------------------------------------------
   TACTICAL QUOTE FLOW (PREMIUM REDESIGN)
------------------------------------------- */

.quote-flow-section {
  background-color: var(--color-white);
  padding: 4rem 0;
  min-height: 80vh;
  /* Subtle Background Pattern */
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.quote-container {
  max-width: 650px;
  /* Slightly wider for better card proportions */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  transition: max-width 0.5s ease;
  /* Smooth transition when widening */
}

/* Expanded state for Step 2 */
.quote-container.wide-mode {
  max-width: 1200px;
}

/* Header & Typography */
.quote-header {
  text-align: center;
  margin-bottom: 3rem;
}

.mission-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-volt);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mission-badge.success {
  background: var(--color-success);
  color: white;
}

.quote-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  text-transform: uppercase;
}

.quote-header p {
  color: var(--color-wolf);
  font-size: 1.15rem;
  margin-bottom: 0;
  font-weight: 500;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Tactical Form Card */
.tactical-card {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
  /* Deep Shadow */
  border: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
  overflow: hidden;
}

/* Decorative 'Tech' Border on Top */
.tactical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-volt) 100%);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--color-wolf);
  text-transform: uppercase;
}

/* Input Styles */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.2rem;
  opacity: 0.5;
  pointer-events: none;
}

.form-group input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  /* Left padding for icon */
  border: 2px solid #E2E8F0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--color-navy);
  background-color: #F8FAFC;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  background-color: white;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.form-group input::placeholder {
  color: #CBD5E1;
  font-weight: 400;
}

/* Buttons */
.btn-large {
  padding: 1.25rem;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 6px -1px rgba(234, 179, 8, 0.3);
  transition: all 0.2s ease;
  width: 100%;
  border: none;
  border-radius: 6px;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(234, 179, 8, 0.5);
}

.btn-icon {
  font-weight: 800;
  transition: transform 0.2s ease;
}

.btn-large:hover .btn-icon {
  transform: translateX(4px);
}

.micro-copy {
  text-align: center;
  color: var(--color-wolf);
  font-size: 0.8rem;
  margin-top: 1.5rem;
  font-weight: 500;
  opacity: 0.8;
}

/* Consent Checkbox */
.form-group .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-wolf);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-volt);
  cursor: pointer;
}

.consent-label a {
  color: var(--color-navy);
  text-decoration: underline;
}

/* Selection Grid (Step 2) */
.selection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tactical-option {
  background: white;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tactical-option:hover {
  border-color: var(--color-navy);
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tactical-option.primary {
  border-color: var(--color-volt);
  /* Highlighted border by default */
  background: linear-gradient(to right, #FEFCE8, white);
}

.badge-recommended {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-volt);
  color: var(--color-navy);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-bottom-left-radius: 8px;
  letter-spacing: 0.5px;
}

.option-icon-large {
  font-size: 2.5rem;
  background: #F1F5F9;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.tactical-option.primary .option-icon-large {
  background: rgba(234, 179, 8, 0.2);
}

.option-content h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.option-desc {
  font-size: 0.95rem;
  color: var(--color-wolf);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.btn-fake {
  display: inline-block;
  background: var(--color-navy);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tactical-option.primary .btn-fake {
  background: var(--color-volt);
  color: var(--color-navy);
}

.btn-fake.secondary {
  background: transparent;
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hidden {
  display: none !important;
}

/* Mission Results Hero Spacing */
.mission-results-hero {
  padding-top: 3.75rem;
  margin-top: 2rem;
}

.mission-results-hero .section-header {
  margin-bottom: 3.75rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .quote-flow-section {
    padding: 2rem 0;
  }

  .quote-header {
    margin-bottom: 2rem;
  }

  .quote-header h1 {
    font-size: 1.875rem;
    line-height: 1.2;
    color: var(--color-navy);
  }

  .quote-header p {
    font-size: 1.0625rem;
    line-height: 1.5;
  }

  .mission-badge {
    font-size: 0.8125rem;
  }

  .mission-results-hero {
    padding-top: 3rem;
  }



  .tactical-card {
    padding: 1.5rem;
  }

  .form-group label {
    font-size: 0.8125rem;
  }

  .form-group input {
    font-size: 1.0625rem;
    padding: 1.125rem 1rem 1.125rem 3rem;
  }

  .btn-large {
    font-size: 1.125rem;
    padding: 1.125rem;
  }

  .micro-copy {
    font-size: 0.875rem;
    line-height: 1.5;
  }

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

  .tactical-option {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .option-content h3 {
    font-size: 1.125rem;
    color: var(--color-navy);
  }

  .option-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .selection-grid {
    grid-template-columns: 1fr;
    /* Stack on mobile */
  }
}

/* -------------------------------------------
   Step 2 Layout & Sidebar
------------------------------------------- */

.step-2-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Desktop-only optimizations for Step 2 */
@media (min-width: 769px) {
  .step-2-layout {
    grid-template-columns: 1fr 340px;
    gap: 3rem;
  }

  .selection-grid {
    grid-template-columns: 1fr 1fr;
    /* Side-by-side but wider */
    gap: 2rem;
  }

  .tactical-option {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    height: 100%;
    gap: 1.5rem;
    justify-content: flex-start;
  }

  .option-icon-large {
    width: 90px;
    height: 90px;
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }

  .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .option-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
  }

  .option-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-wolf);
  }

  .btn-fake {
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    width: 100%;
    justify-content: center;
    margin-top: auto;
  }

  .contact-sidebar {
    padding: 2.5rem;
    height: fit-content;
  }
}

.contact-sidebar {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
  /* Sticky sidebar */
}

.contact-sidebar h3 {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 1rem;
}

.sidebar-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sidebar-contact-list .icon {
  font-size: 1.25rem;
  background: #F8FAFC;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-contact-list .details {
  display: flex;
  flex-direction: column;
}

.sidebar-contact-list .details strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-wolf);
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.sidebar-contact-list .details a,
.sidebar-contact-list .details span {
  color: var(--color-navy);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

.sidebar-contact-list .details a:hover {
  color: var(--color-volt);
  text-decoration: underline;
}

.service-areas-refined {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.area-item {
  display: flex;
  flex-direction: column;
  padding-left: 0.75rem;
  border-left: 2px solid #E2E8F0;
}

.area-name {
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.area-detail {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 2px;
}

/* Mobile Adjustments for Step 2 */
@media (max-width: 900px) {
  .step-2-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-sidebar {
    position: static;
    order: 2;
    /* Ensure sidebar is below selection on mobile */
  }

  .contact-sidebar h3 {
    font-size: 1.125rem;
    color: var(--color-navy);
  }

  .sidebar-contact-list .details strong {
    font-size: 0.8125rem;
  }

  .sidebar-contact-list .details a,
  .sidebar-contact-list .details span {
    font-size: 1rem;
    line-height: 1.5;
  }

  .area-tags span {
    font-size: 0.8125rem !important;
  }
}/* =========================================
   New Services Showcase Section (Modern)
   ========================================= */
.services-showcase {
    padding: 4.25rem 0 5rem 0;
    background-color: #141414;
    /* Bulletproof Black */
    background-image:
        radial-gradient(circle at 20% 50%, rgba(245, 148, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 148, 19, 0.05) 0%, transparent 50%);
}

/* Services Section Header - Solid Gold Style (Matches NEXT STEPS) */
.services-showcase .section-badge {
    background: #f59413;
    color: #1A1A1A;
    border-left: none;
    /* Override global style */

    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 1.5rem;

    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;

    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(245, 148, 19, 0.2);
}

.services-showcase .section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    /* Tighter gap to subtitle */
    color: #FFFFFF !important;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.services-showcase .section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #A9A9A9;
    /* Polished Gray — visible on dark bg */
    line-height: 1.6;
    margin-bottom: 2.5rem;
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 500px;
}



/* Highlight First Card (Garages - Flagship Gold) */
.service-card-new:nth-child(1) {
    border: 2px solid rgba(245, 148, 19, 0.6);
    /* Gold border for flagship */
    box-shadow: 0 10px 25px -5px rgba(245, 148, 19, 0.15);
}

.service-card-new:nth-child(1)::before {
    content: "Most Popular";
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59413 0%, #912e12 100%);
    /* Gold gradient */
    color: #1A1A1A;
    /* Dark text on gold */
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    z-index: 5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Gloss Physics Effect */
.service-card-new {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(245, 148, 19, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: block;
    text-decoration: none;
    border: 1px solid rgba(245, 148, 19, 0.2);
    background: #1a1a1a;
    /* Surface warm tone */
}

.service-card-new::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.15),
            transparent 40%);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card-new:hover::after {
    opacity: 1;
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3), 0 0 30px rgba(245, 148, 19, 0.2);
    border-color: rgba(245, 148, 19, 0.5);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.service-card-new:hover .service-card-image {
    transform: scale(1.05);
    opacity: 1;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(26, 26, 26, 0.05) 0%,
            rgba(26, 26, 26, 0.3) 50%,
            rgba(26, 26, 26, 0.85) 100%);
    z-index: 1;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2.5rem 1.25rem 2.5rem;
    z-index: 4;
    /* Above gloss */
    color: white;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-new:hover .service-content {
    transform: translateY(0);
}

/* Typography Refresh */
.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

.service-feature {
    display: inline-block;
    font-size: 0.75rem;
    /* Standard readable size */
    font-weight: 800;
    color: #1A1A1A;
    background: linear-gradient(135deg, #e19c29 0%, #f59413 100%);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(245, 148, 19, 0.3);
}

.service-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    max-width: 90%;
    line-height: 1.5;
    /* Hidden initially */
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 400;
    transform: translateY(10px);
}

.service-card-new:hover .service-desc {
    opacity: 1;
    height: auto;
    margin-bottom: 1.5rem;
    transform: translateY(0);
}

.service-link-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: white;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease 0.1s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-new:hover .service-link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Optimization: Horizontal Scroll Carousel */
@media (max-width: 768px) {

    /* Reduce section padding - less wasted space */
    .services-showcase {
        padding: 2.5rem 0;
    }

    /* Tighten header spacing */
    .services-showcase .section-badge {
        margin-bottom: 0.5rem;
    }

    .services-showcase .section-header h2 {
        font-size: 1.5rem;
        /* Reduced to fit on one line */
        margin-bottom: 0.5rem;
        letter-spacing: -0.5px;
    }

    .services-showcase .section-header p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    /* Scrollable carousel container */
    .services-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none;
        grid-auto-rows: auto;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
        margin: 0 -1.5rem;
    }

    /* Hide Scrollbar */
    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .services-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .service-card-new {
        min-width: 90vw;
        /* Bigger peek effect - shows next card */
        max-width: 90vw;
        height: 400px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-title {
        font-size: 1.75rem;
    }

    .service-desc {
        display: block;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    /* Ensure Flagship Badge fits */
    .service-card-new:nth-child(1)::before {
        top: 1rem;
        right: 1rem;
        font-size: 0.75rem;
    }
}


/* Touch Device Optimizations */
@media (hover: none) {
    .service-card-new:hover {
        transform: none;
        /* Disable lift on touch */
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        /* Reset shadow */
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* Ensure Flagship stays highlighted */
    .service-card-new:nth-child(1) {
        transform: translateY(0);
        /* padding removed to fix border issue */
    }

    .service-link-icon {
        opacity: 1;
        transform: translateX(0);
    }

    .service-desc {
        opacity: 1;
        height: auto;
        margin-bottom: 1rem;
        transform: translateY(0);
    }
}
/* ==============================
   Concrete Coatings Page - Carousel (mobile)
   ============================== */
.carousel-nav-mobile {
  display: none;
}

@media (max-width: 768px) {
  .carousel-nav-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
  }

  .carousel-arrow {
    background: rgba(185, 255, 0, 0.15);
    border: 2px solid var(--color-volt);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-volt);
    padding: 0;
  }

  .carousel-arrow:active {
    background: var(--color-volt);
    color: var(--color-navy);
    transform: scale(0.95);
  }

  .carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .carousel-dot.active {
    background: var(--color-volt);
    width: 12px;
    height: 12px;
    box-shadow: 0 0 10px rgba(185, 255, 0, 0.5);
  }
}

/* =========================================
   Gallery Page
   ========================================= */
.gallery-header {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1E3A5F 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  color: white;
}

.gallery-header h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gallery-header p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--color-border);
  background: white;
  color: var(--color-navy);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  border-color: var(--color-volt);
  color: var(--color-volt);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--color-volt);
  border-color: var(--color-volt);
  color: var(--color-navy);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(185,255,0,0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.gallery-caption p {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  margin: 0;
}

.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: white;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: var(--color-volt);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: rgba(185,255,0,0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* Zoom icon affordance on gallery items */
.gallery-item::after {
  content: '⤢';
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

/* Result count */
.gallery-count {
  text-align: center;
  color: var(--color-muted, #6b7280);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-img { height: 220px; }
}

@media (max-width: 768px) {
  .gallery-header { padding: 2.5rem 0 2rem; }

  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 0.5rem 1rem 1rem;
    margin: 1.5rem -1rem 1.5rem;
    gap: 0.6rem;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }

  .filter-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .gallery-img { height: 190px; }

  .gallery-caption {
    transform: translateY(0);
    padding: 0.5rem 0.6rem 0.55rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  }

  .gallery-caption h4 { font-size: 0.78rem; margin-bottom: 0; line-height: 1.2; }
  .gallery-caption p { display: none; }

  .gallery-item:hover { transform: none; }
  .gallery-item::after { opacity: 1; }

  /* Reduce bottom padding on gallery section */
  .gallery-section { padding-bottom: 3rem !important; }

  /* Mobile lightbox */
  .lightbox-content-wrapper {
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    justify-content: center;
    padding-bottom: 80px;
    padding-top: env(safe-area-inset-top, 0);
  }

  .lightbox-image {
    max-height: 60vh;
    border-radius: 4px;
    width: 95vw;
  }

  .lightbox-caption {
    font-size: 0.9rem;
    margin-top: 0.75rem;
    padding: 0 1rem;
  }

  .lightbox-close {
    top: max(12px, env(safe-area-inset-top, 12px));
    right: 12px;
    font-size: 2rem;
    width: 44px;
    height: 44px;
  }

  /* Nav arrows move below image on mobile */
  .lightbox-nav {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    transform: none;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .lightbox-nav:hover { transform: scale(1.1); }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}
