/* ══════════════════════════════════════════════════════════════════
   L&T CONTRACTORS INC. — Executive UI Theme & 2026 Animation Physics
   Logo Palette: Background #ffffff, Royal Navy #16134b, Warm Accents
   ══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --logo-bg:             #ffffff;
  --logo-navy:           #16134b;
  --logo-navy-dark:      #0f172a;
  --logo-red:            #dc2626;
  --logo-red-hover:      #b91c1c;
  
  --bg-base:             #ffffff;
  --bg-surface:          #ffffff;
  --bg-subtle:           #f8fafc;
  
  --accent:              #dc2626;
  --accent-hover:        #b91c1c;
  
  --text-main:           #0f172a;
  --text-secondary:      #334155;
  --text-muted:          #64748b;
  
  --border-subtle:       #e2e8f0;
  --border-bright:       #cbd5e1;
  
  --font-main:           'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm:           0.5rem;
  --radius-md:           1rem;
  --radius-lg:           1.5rem;
  --radius-xl:           2rem;
  --radius-pill:         9999px;
  
  --shadow-sm:           0 2px 8px rgba(22, 19, 75, 0.04);
  --shadow-md:           0 8px 24px rgba(22, 19, 75, 0.08);
  --shadow-lg:           0 16px 40px rgba(22, 19, 75, 0.12);
  --shadow-glow:         0 0 25px rgba(220, 38, 38, 0.25);

  --ease-spring:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset & Base Styles ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4 { letter-spacing: -0.03em; font-weight: 800; line-height: 1.15; color: var(--text-main); font-feature-settings: 'kern' 1, 'liga' 1; }

/* ── Container ──────────────────────────────────────────────────── */
.container {
  max-width: 86rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════
   2026 HARDWARE-ACCELERATED SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════ */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.85s var(--ease-spring),
              transform 0.85s var(--ease-spring);
}

.reveal,
.reveal-up {
  transform: translate3d(0, 42px, 0);
}

.reveal-left {
  transform: translate3d(-45px, 0, 0);
}

.reveal-right {
  transform: translate3d(45px, 0, 0);
}

.reveal-scale {
  transform: scale(0.92) translate3d(0, 24px, 0);
}

/* Active State Triggered by IntersectionObserver */
.reveal.active,
.reveal.visible,
.reveal-up.active,
.reveal-up.visible,
.reveal-left.active,
.reveal-left.visible,
.reveal-right.active,
.reveal-right.visible,
.reveal-scale.active,
.reveal-scale.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger Delays */
.stagger-delay:nth-child(1), .stagger-1 { transition-delay: 0.08s; }
.stagger-delay:nth-child(2), .stagger-2 { transition-delay: 0.16s; }
.stagger-delay:nth-child(3), .stagger-3 { transition-delay: 0.24s; }
.stagger-delay:nth-child(4), .stagger-4 { transition-delay: 0.32s; }
.stagger-delay:nth-child(5), .stagger-5 { transition-delay: 0.40s; }
.stagger-delay:nth-child(6), .stagger-6 { transition-delay: 0.48s; }
.stagger-delay:nth-child(7), .stagger-7 { transition-delay: 0.56s; }
.stagger-delay:nth-child(8), .stagger-8 { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   BUTTON PHYSICS & SHEEN EFFECTS
   ══════════════════════════════════════════════════════════════════ */
.btn-primary, .nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--logo-red) 0%, var(--logo-red-hover) 100%);
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.28);
  transition: transform 0.35s var(--ease-spring),
              box-shadow 0.35s var(--ease-spring),
              background 0.35s var(--ease-spring);
  will-change: transform, box-shadow;
}

/* Sheen Light Sweep */
.btn-primary::after, .nav-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: transform 0.75s var(--ease-spring);
  pointer-events: none;
  z-index: 2;
}

.btn-primary:hover::after, .nav-btn:hover::after {
  transform: skewX(-25deg) translate3d(320%, 0, 0);
}

.btn-primary:hover {
  transform: translate3d(0, -3px, 0) scale(1.02);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.42);
}

.btn-primary:active, .nav-btn:active {
  transform: translate3d(0, 0, 0) scale(0.98);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-bright);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring),
              border-color 0.3s ease,
              background 0.3s ease,
              color 0.3s ease,
              box-shadow 0.35s var(--ease-spring);
  will-change: transform;
}
.btn-outline:hover {
  border-color: var(--logo-navy);
  color: var(--logo-navy);
  background: #f1f5f9;
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 6px 18px rgba(22, 19, 75, 0.08);
}

/* ══════════════════════════════════════════════════════════════════
   NAVBAR (Floating Pill Header with Shrink & Dynamic Blur)
   ══════════════════════════════════════════════════════════════════ */
.navbar-wrapper {
  position: fixed;
  top: 0.875rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.navbar {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  max-width: 86rem;
  padding: 0.625rem 1rem 0.625rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(22, 19, 75, 0.08);
  transition: padding 0.35s var(--ease-spring),
              background 0.35s var(--ease-spring),
              box-shadow 0.35s var(--ease-spring),
              border-color 0.35s var(--ease-spring);
  will-change: padding, background, box-shadow, border-color;
}

.navbar.scrolled {
  padding: 0.375rem 0.875rem 0.375rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(22, 19, 75, 0.15);
  box-shadow: 0 14px 38px rgba(22, 19, 75, 0.14);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}
.nav-brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: height 0.35s var(--ease-spring);
}
.navbar.scrolled .nav-brand img {
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
@media (max-width: 960px) { .nav-links { display: none; } }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--logo-navy);
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--logo-navy);
  background: #f1f5f9;
}
.nav-link.active {
  color: #ffffff !important;
  background: var(--logo-red) !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.38) !important;
  font-weight: 800 !important;
  border-radius: var(--radius-pill) !important;
}

.nav-dropdown-trigger.active {
  color: #ffffff !important;
  background: var(--logo-red) !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.38) !important;
  font-weight: 800 !important;
}
.nav-dropdown-trigger.active .dropdown-chevron {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.dropdown-item.active {
  background: rgba(220, 38, 38, 0.1) !important;
  border-left: 4px solid var(--logo-red) !important;
}
.dropdown-item.active .dropdown-item-icon {
  background: var(--logo-red) !important;
  color: #ffffff !important;
}
.dropdown-item.active .dropdown-item-title {
  color: var(--logo-red) !important;
  font-weight: 900 !important;
}

.mobile-nav a.active,
.mobile-nav-sub a.active {
  background: var(--logo-red) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  border-radius: 0.5rem !important;
  padding-left: 1rem !important;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--logo-navy);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--logo-red); background: rgba(220, 38, 38, 0.05); }
@media (max-width: 640px) { .nav-phone { display: none; } }

.nav-btn {
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--logo-navy);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-mobile-toggle:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}
@media (max-width: 960px) { .nav-mobile-toggle { display: flex; } }

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -8px 0 32px rgba(22, 19, 75, 0.15);
  transition: right 0.35s var(--ease-spring);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { right: 0; }

.mobile-menu-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-menu-header button { background: none; border: none; cursor: pointer; color: var(--logo-navy); }

.mobile-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
}
.mobile-nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--logo-navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8fafc;
  transition: color 0.2s ease;
}
.mobile-nav a:hover { color: var(--logo-red); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 19, 75, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ══════════════════════════════════════════════════════════════════
   HERO SLIDER (100% Viewport Height)
   ══════════════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--logo-navy);
  color: #ffffff;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-smooth);
  background-image: var(--slide-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.slide.active { opacity: 1; transform: scale(1); transition: opacity 1s var(--ease-smooth), transform 6s ease-out; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.68) 100%);
}

.slider-content {
  position: relative;
  z-index: 10;
  max-width: 58rem;
  text-align: center;
  padding: 7rem 1.5rem 3.5rem 1.5rem;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.slider-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-weight: 900;
  line-height: 1.15;
}

.slider-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.slider-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   SECTIONS & TYPOGRAPHY
   ══════════════════════════════════════════════════════════════════ */
.section-light { background: #ffffff; padding: 5.5rem 0; }
.section-gray { background: #f8fafc; padding: 5.5rem 0; border-top: 2px solid var(--logo-red); }

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem auto;
}

.eyebrow,
.eyebrow-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1e3a8a;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--logo-navy);
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* ══════════════════════════════════════════════════════════════════
   CARD HOVER PHYSICS & INTERACTION STYLES
   ══════════════════════════════════════════════════════════════════ */

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-spring),
              box-shadow 0.4s var(--ease-spring),
              border-color 0.4s var(--ease-spring),
              border-left 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
  will-change: transform, box-shadow;
  border-left: 0px solid var(--logo-red);
}
.service-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 20px 45px rgba(22, 19, 75, 0.14);
  border-color: var(--border-bright);
  border-left: 3px solid var(--logo-red);
}

.service-card-img {
  height: 230px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-spring);
  will-change: transform;
}
.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Pillars */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pillar-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-spring),
              box-shadow 0.35s var(--ease-spring),
              border-color 0.35s var(--ease-spring);
  will-change: transform, box-shadow;
}
.pillar-item:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 12px 30px rgba(22, 19, 75, 0.12);
  border-color: var(--border-bright);
}

/* Review Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease-spring),
              box-shadow 0.35s var(--ease-spring),
              border-color 0.35s var(--ease-spring);
  will-change: transform, box-shadow;
}
.review-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 16px 36px rgba(22, 19, 75, 0.12);
  border-color: var(--border-bright);
}
.review-stars {
  color: #f59e0b;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}
.review-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.review-author {
  font-weight: 800;
  color: var(--logo-navy);
  font-size: 0.9375rem;
}
.review-location {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════
   SMOOTH FAQ ACCORDION
   ══════════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.35s var(--ease-spring),
              box-shadow 0.35s var(--ease-spring),
              transform 0.35s var(--ease-spring);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
  transform: translate3d(0, -2px, 0);
}

.faq-item summary {
  font-weight: 800;
  font-size: 1.125rem;
  cursor: pointer;
  color: var(--logo-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--logo-red);
  transition: transform 0.35s var(--ease-spring);
  display: inline-block;
  margin-left: 0.75rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  overflow: hidden;
  will-change: height, opacity;
}

.faq-content-inner p {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════
   PROJECT GALLERY — Editorial Masonry System
   ══════════════════════════════════════════════════════════════════ */

/* Filter tabs */
.gallery-filters {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.75rem;
}
.gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.22s ease;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--logo-navy);
  color: #ffffff;
  border-color: var(--logo-navy);
}

/* Masonry-style editorial grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 0.875rem;
}

/* Span variants — make the grid feel editorial */
.gallery-item--wide  { grid-column: span 2; }
.gallery-item--tall  { grid-row:    span 2; }
.gallery-item--hero  { grid-column: span 2; grid-row: span 2; }

.gallery-item {
  position: relative;
  border-radius: 0.875rem;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.45s var(--ease-spring),
              box-shadow 0.45s var(--ease-spring);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-spring), filter 0.45s ease;
  will-change: transform, filter;
}

/* Hover lift */
.gallery-item:hover {
  transform: translate3d(0, -4px, 0) scale(1.005);
  box-shadow: 0 24px 60px rgba(22, 19, 75, 0.20);
  z-index: 2;
}
.gallery-item:hover img {
  transform: scale(1.09);
  filter: brightness(0.72);
}

/* Overlay — slides up on hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.375rem 1.25rem 1.25rem;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(15, 12, 45, 0.82) 80%,
    rgba(15, 12, 45, 0.95) 100%
  );
  transform: translateY(100%);
  transition: transform 0.42s var(--ease-spring);
}
.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Always-visible subtle bottom gradient (no hover needed) */
.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(15,12,45,0.55));
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after {
  opacity: 0; /* Let full overlay take over */
}

.gallery-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  background: rgba(251, 191, 36, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.gallery-caption-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.gallery-caption-loc {
  color: #cbd5e1;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Always-visible minimal caption (before hover) */
.gallery-caption-static {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption-static {
  opacity: 0;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 30, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.gallery-lightbox-inner {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.gallery-lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.gallery-lightbox-caption {
  color: #e2e8f0;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}
.gallery-lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.2s;
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* Responsive fallback */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 0.625rem;
  }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--hero { grid-column: span 2; grid-row: span 1; }
  .gallery-overlay { transform: translateY(0); }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item--wide,
  .gallery-item--hero { grid-column: span 1; }
}

/* ══════════════════════════════════════════════════════════════════
   PRICING SECTION — Responsive Split Layout
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .pricing-split-wrap {
    grid-template-columns: 1fr !important;
  }
  .pricing-dark-col {
    padding: 3.5rem 2rem !important;
  }
  .pricing-drivers-col {
    padding: 3rem 2rem !important;
    border-left: none !important;
    border-top: 1px solid #e2e8f0;
  }
}
@media (max-width: 900px) {
  /* Pricing guarantee + warning also stacks */
  #costs > div:last-child > div > div {
    grid-template-columns: 1fr !important;
  }
  #costs > div:last-child > div > div > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem 1.5rem !important;
  }
  #costs > div:last-child > div > div > div:last-child {
    padding: 2.5rem 1.5rem !important;
  }
  /* Pricing strips stack on mobile */
  #costs .pricing-strips-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  /* 3-col pricing strip → 1 col */
  #costs > div:nth-child(2) > div > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
}

/* Offer Section Collage */
.offer-section-full {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 6.5rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 4rem;
  align-items: center;
}

.offer-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.offer-feature-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  transition: transform 0.35s var(--ease-spring),
              box-shadow 0.35s var(--ease-spring),
              border-color 0.35s var(--ease-spring);
  will-change: transform;
}
.offer-feature-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 12px 28px rgba(22, 19, 75, 0.1);
  border-color: var(--logo-navy);
}
.offer-feature-card i {
  color: var(--logo-navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.offer-media-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.offer-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-subtle);
  height: 380px;
  transition: transform 0.4s var(--ease-spring),
              box-shadow 0.4s var(--ease-spring);
  will-change: transform;
}
.offer-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
  will-change: transform;
}
.offer-img-box:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 20px 48px rgba(22, 19, 75, 0.18);
}
.offer-img-box:hover img {
  transform: scale(1.08);
}

.offer-badge {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-pill);
  padding: 1rem 1.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  font-weight: 800;
  color: var(--logo-navy);
  transition: transform 0.35s var(--ease-spring);
}
.offer-badge:hover {
  transform: translateX(-50%) translate3d(0, -3px, 0);
}

.area-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--logo-navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
}
.area-card:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 8px 20px rgba(22, 19, 75, 0.1);
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--logo-navy-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
/* .footer-brand img removed — logo replaced with text wordmark */
.footer-brand span { font-weight: 800; color: #ffffff; font-size: 1.25rem; }

.footer-bottom {
  padding-top: 1.75rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .slider-content {
    padding: 6rem 1rem 3rem 1rem;
  }
  .slider-title {
    font-size: clamp(1.75rem, 6.2vw, 2.5rem);
    margin-bottom: 0.875rem;
  }
  .slider-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .offer-media-collage {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .offer-img-box {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  .slider-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .slider-cta .btn-primary,
  .slider-cta .btn-outline {
    width: 100%;
    padding: 0.875rem 1.25rem;
  }
  .section-light, .section-gray {
    padding: 3.75rem 0;
  }
  .offer-section-full {
    padding: 4rem 0;
  }
  .hero-tagline {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
  }
}

/* ══════════════════════════════════════════════════════════════════
   TOP ACCENT BAR + DROPDOWN NAV ENHANCEMENTS
   ══════════════════════════════════════════════════════════════════ */

/* Thin red accent line at very top of page */
body::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--logo-red);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* Offset the fixed navbar slightly for the top bar */
.navbar-wrapper { top: 1.125rem; }

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 3px;
  left: 0;
  height: 3px;
  background: var(--logo-red);
  z-index: 9998;
  width: 0%;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ── NAV DROPDOWN ───────────────────────────────── */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--logo-navy);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
  background: transparent;
  border: none;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-wrap:hover .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
  background: #f1f5f9;
  color: var(--logo-navy);
}
.nav-dropdown-trigger .dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}
.nav-dropdown-wrap:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 480px;
  background: #ffffff;
  border-radius: 1rem;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 20px 50px -10px rgba(15,23,42,0.18);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-spring), visibility 0.22s ease;
  z-index: 500;
  pointer-events: none;
}
.nav-dropdown-wrap:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* Red accent bar at top of dropdown panel */
.nav-dropdown-panel::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--logo-navy), var(--logo-red));
  border-radius: 2px;
  margin-bottom: 0.875rem;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  transition: background 0.18s ease;
  text-decoration: none;
}
.dropdown-item:hover {
  background: #f8fafc;
}
.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(22,19,75,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--logo-navy);
  transition: background 0.18s ease;
}
.dropdown-item:hover .dropdown-item-icon {
  background: rgba(220,38,38,0.1);
  color: var(--logo-red);
}
.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--logo-navy);
}
.dropdown-item-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

/* ── FREE ESTIMATE BTN PULSE ─────────────────────── */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.45); }
  60% { box-shadow: 0 0 0 7px rgba(220,38,38,0); }
}
.nav-btn {
  animation: ctaPulse 2.8s ease infinite;
}

/* ── MOBILE SERVICES ACCORDION ───────────────────── */
.mobile-nav-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--logo-navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8fafc;
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}
.mobile-nav-section-toggle:hover { color: var(--logo-red); }
.mobile-nav-section-toggle .toggle-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.mobile-nav-section-toggle.open .toggle-chevron {
  transform: rotate(180deg);
}
.mobile-nav-sub {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-left: 1rem;
  border-left: 2px solid #f1f5f9;
  margin: 0.375rem 0 0.5rem;
}
.mobile-nav-sub.open { display: flex; }
.mobile-nav-sub a {
  font-size: 0.9375rem;
  padding: 0.4rem 0;
  border-bottom: none;
  color: #475569;
}

/* ══════════════════════════════════════════════════════════════════
   SUBPAGE HERO — Full Viewport Static Hero (matches index slider)
   ══════════════════════════════════════════════════════════════════ */
.subpage-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Reads the --bg-image CSS custom property set via inline style on the element */
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.68) 100%);
  z-index: 1;
}
/* Both .hero-content wrapper and .container work as the content shell */
.subpage-hero .hero-content,
.subpage-hero .container {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 58rem;
  padding: 6rem 1.5rem 3rem;
  width: 100%;
}
/* Eyebrow pill — supports both class names used across pages */
.subpage-hero .hero-eyebrow,
.subpage-hero .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.subpage-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
/* Subtitle — supports both class names */
.subpage-hero .hero-subtitle,
.subpage-hero .subtitle {
  font-size: 1.25rem;
  color: #ffffff;
  line-height: 1.65;
  max-width: 46rem;
  margin: 0 auto 2.25rem;
  font-weight: 400;
}
.subpage-hero .hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
/* Secondary ghost button in hero */
.subpage-hero .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1.125rem 2rem;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.subpage-hero .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}
/* Trust row — supports both class names */
.subpage-hero .hero-trust-row,
.subpage-hero .hero-trust {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
}
.subpage-hero .hero-trust-row div,
.subpage-hero .hero-trust div {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
/* Yellow icons in the trust row */
.subpage-hero .hero-trust-row div svg,
.subpage-hero .hero-trust div svg,
.subpage-hero .hero-trust-row div i,
.subpage-hero .hero-trust div i {
  color: #fbbf24;
}
@media (max-width: 640px) {
  .subpage-hero h1 { font-size: clamp(2rem, 7vw, 2.75rem); }
  .subpage-hero .hero-subtitle,
  .subpage-hero .subtitle { font-size: 1.0625rem; }
  .subpage-hero .hero-trust-row,
  .subpage-hero .hero-trust { gap: 1rem; font-size: 0.8125rem; }
  .subpage-hero .hero-ctas { gap: 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════════
   UI UPGRADES
   ══════════════════════════════════════════════════════════════════ */

/* 1. Section Transitions */
.section-gray {
  border-top: 2px solid var(--logo-red);
}

/* 2. Button Shimmer sweep */
.btn-primary {
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 140%;
}

/* 5. Service card left-border accent */
.service-card {
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  border-color: var(--logo-red);
}

/* 6. Typography Refinement */
body {
  font-feature-settings: 'kern' 1, 'liga' 1;
}
h1, h2, h3, h4 {
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  text-rendering: optimizeLegibility;
}

/* ══════════════════════════════════════════════════════════════════
   MODERN WHITESPACE & LAYOUT UPGRADES
   ══════════════════════════════════════════════════════════════════ */

/* Wider, airier section padding */
.section-light,
.section-gray,
.section-navy {
  padding: 7rem 0;
}

/* Premium section heading style */
.section-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--logo-red);
  margin-bottom: 0.875rem;
}

/* Content max-width limiter for readability — wider than before */
.content-wrap {
  max-width: 72rem;
  margin: 0 auto;
}

/* Two-column editorial layout helper */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Three-column grid helper */
.three-col,
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .three-col, .three-col-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .three-col, .three-col-grid { grid-template-columns: 1fr; }
}

/* Premium stat/number display */
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--logo-navy);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* Divider accent line */
.accent-line {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--logo-red);
  border-radius: 2px;
  margin: 1.25rem 0;
}

/* Modern card upgrade */
.card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-modern:hover {
  box-shadow: 0 12px 40px -8px rgba(15,23,42,0.14);
  transform: translateY(-3px);
}

/* Remove yellow from hero slider trust row across index hero */
.slide-trust-row {
  color: #ffffff !important;
}
.slide-trust-row > div { color: #ffffff !important; }

/* Wider image/content sections */
@media (min-width: 1200px) {
  .container { padding: 0 2rem; }
}

/* ══════════════════════════════════════════════════════════════════
   HIGH-END EDITORIAL REFINEMENTS (Added for Pricing Refactor)
   ══════════════════════════════════════════════════════════════════ */

/* Sophisticated Typography */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.03em;
  font-weight: 400; /* Editorial feel */
}

/* Subtle 1px Border Dividers */
.editorial-divider {
  border-bottom: 1px solid var(--border-subtle);
}

/* High-End Hover Micro-Interactions */
.table-container tbody tr {
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.table-container tbody tr:hover {
  background-color: #f8fafc;
  transform: translateX(4px);
}

.trust-bar span {
  position: relative;
}
.trust-bar span::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--logo-navy);
  transition: width 0.3s ease;
}
.trust-bar span:hover::after {
  width: 100%;
}

/* ══════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE OPTIMIZATION — L&T CONTRACTORS INC
   Covers all viewports: 960px · 768px · 640px · 480px · 380px
   ══════════════════════════════════════════════════════════════════ */

/* ─── Shared: prevent horizontal scroll on all screens ──────────── */
html, body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ─── Utility: fluid images everywhere ──────────────────────────── */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT ≤ 960px  (Tablet / Large Mobile)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {

  .navbar-wrapper { top: 0.5rem; padding: 0 0.75rem; }
  .nav-links { display: none !important; }
  .nav-mobile-toggle { display: flex !important; }
  .nav-brand img { height: 36px; }

  /* Inline split grids stack */
  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .section-light, .section-gray, .section-navy { padding: 4.5rem 0; }

  /* Service cards 3-col → 2-col */
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }

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

  .offer-img-box { height: 280px; }

  /* Mobile menu width */
  .mobile-menu { width: 88%; max-width: 340px; }
  .mobile-nav a { font-size: 1.0625rem; padding: 0.625rem 0; }
}

/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT ≤ 768px  (Phones landscape / small tablet)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Navbar */
  .navbar-wrapper { top: 0.375rem; padding: 0 0.5rem; }
  .navbar { padding: 0.5rem 0.875rem 0.5rem 1rem; border-radius: 1.25rem; }
  .nav-brand img { height: 32px; }
  .nav-phone { display: none !important; }
  .nav-btn { padding: 0.5rem 1rem; font-size: 0.8125rem; }

  /* Hero */
  .hero-slider { min-height: 100dvh; height: 100dvh; }
  .slider-content { padding: 6.5rem 1.25rem 3rem; text-align: center; }
  .slider-title { font-size: clamp(1.75rem, 6.5vw, 2.5rem); line-height: 1.2; }
  .slider-subtitle { font-size: 1rem; color: #e2e8f0; }
  .slider-cta { flex-direction: column; align-items: center; gap: 0.75rem; }
  .slider-cta .btn-primary,
  .slider-cta .btn-outline { width: 100%; max-width: 340px; justify-content: center; }

  /* Subpage hero */
  .subpage-hero { min-height: 70vh; height: auto; }
  .subpage-hero .hero-content,
  .subpage-hero .container { padding: 7rem 1.25rem 2.5rem; }
  .subpage-hero h1 { font-size: clamp(1.875rem, 6.5vw, 3rem); }
  .subpage-hero .hero-subtitle,
  .subpage-hero .subtitle { font-size: 1rem; }
  .subpage-hero .hero-ctas { flex-direction: column; align-items: center; }
  .subpage-hero .hero-ctas a { width: 100%; max-width: 320px; justify-content: center; }
  .subpage-hero .hero-trust-row,
  .subpage-hero .hero-trust { gap: 0.875rem; font-size: 0.8125rem; }

  /* Trust bar */
  .trust-bar > .container > div {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: left !important;
  }

  /* Section headings */
  .section-header { margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.625rem, 5vw, 2.25rem); }
  .section-sub { font-size: 1rem; }

  /* Split grids — inline styles with fractional columns */
  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Service cards → 1 col */
  .services-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  /* Reviews → 1 col */
  .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Pillars → 1 col */
  .pillars-row { grid-template-columns: 1fr; }

  /* Offer */
  .offer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .offer-media-collage { grid-template-columns: 1fr !important; gap: 1rem; }
  .offer-img-box { height: 220px; }
  .offer-section-full { padding: 4rem 0; min-height: auto; }

  /* FAQ */
  .faq-item summary { font-size: 1rem; }
  .faq-item { padding: 1rem 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Sections */
  .section-light, .section-gray, .section-navy { padding: 3.75rem 0; }

  /* Pricing */
  .pricing-split-wrap { grid-template-columns: 1fr !important; }
  .pricing-dark-col { padding: 2.5rem 1.5rem !important; }
  .pricing-drivers-col {
    padding: 2.5rem 1.5rem !important;
    border-left: none !important;
    border-top: 1px solid #e2e8f0;
  }

  /* Auto-fit grids with large minmax → stack */
  .footer-grid { grid-template-columns: 1fr !important; }

  /* Pricing table horizontal scroll */
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.875rem;
  }
  .table-container table { min-width: 560px; }

  /* Gallery filters */
  .gallery-filters { gap: 0.5rem; padding: 0 0.5rem; }
}

/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT ≤ 640px  (Standard Phone Portrait)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  .container { padding: 0 1rem; }

  /* Navbar */
  .navbar-wrapper { top: 0.25rem; padding: 0 0.375rem; }
  .navbar { padding: 0.4375rem 0.75rem 0.4375rem 0.875rem; border-radius: 1rem; gap: 0.75rem; }
  .nav-brand img { height: 28px; }
  .nav-btn { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
  .nav-mobile-toggle { width: 34px; height: 34px; }

  /* Hero */
  .slider-content { padding: 5.5rem 1rem 2.5rem; }
  .slider-title { font-size: clamp(1.5rem, 7.5vw, 2.25rem); letter-spacing: -0.02em; }
  .slider-subtitle { font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.5rem; }
  .hero-tagline { font-size: 0.6875rem !important; letter-spacing: 0.04em !important; }

  /* Subpage hero */
  .subpage-hero .hero-content,
  .subpage-hero .container { padding: 6rem 1rem 2rem; }
  .subpage-hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .subpage-hero .hero-eyebrow,
  .subpage-hero .eyebrow { font-size: 0.6875rem; letter-spacing: 0.1em; }
  .subpage-hero .hero-trust-row,
  .subpage-hero .hero-trust { font-size: 0.75rem; gap: 0.625rem; }

  /* Sections */
  .section-light, .section-gray, .section-navy { padding: 3rem 0; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2.125rem); }
  .section-sub { font-size: 0.9375rem; }

  /* Service cards */
  .service-card-img { height: 200px; }
  .service-card-body { padding: 1.375rem; }

  /* Trust bar items */
  .trust-bar > .container > div { gap: 0.875rem !important; }

  /* Buttons */
  .btn-primary, .btn-outline {
    padding: 0.875rem 1.375rem;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  /* FAQ */
  .faq-item summary { font-size: 0.9375rem; }

  /* Footer */
  .site-footer { padding: 2.75rem 0 1.5rem; }
  .footer-grid { gap: 1.5rem !important; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; font-size: 0.8125rem; }
  .footer-brand span { font-size: 1.0625rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 0.5rem; }
  .gallery-filter-btn { padding: 0.4rem 0.875rem; font-size: 0.8125rem; }

  /* Stat numbers */
  .stat-number { font-size: clamp(2rem, 7vw, 2.75rem); }

  /* Pricing */
  .pricing-dark-col { padding: 2rem 1.25rem !important; border-radius: 1rem !important; }
  .pricing-drivers-col { padding: 2rem 1.25rem !important; }

  /* Forms — prevent iOS zoom on focus */
  form input, form textarea, form select {
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT ≤ 480px  (Compact Phones)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .navbar { border-radius: 0.875rem; }
  .nav-brand img { height: 26px; }

  /* Hero */
  .slider-content { padding: 5rem 0.875rem 2rem; }
  .slider-title { font-size: clamp(1.375rem, 8vw, 2rem); }
  .slider-subtitle { font-size: 0.875rem; }

  /* Subpage hero */
  .subpage-hero h1 { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  .subpage-hero .hero-content,
  .subpage-hero .container { padding: 5.5rem 0.875rem 1.75rem; }

  /* Gallery → single column */
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item--wide,
  .gallery-item--hero { grid-column: span 1; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-overlay { transform: translateY(0); }

  /* Offer badge */
  .offer-badge {
    position: static;
    transform: none !important;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }

  /* Cards */
  .pillar-item { padding: 1.25rem; gap: 1rem; }
  .review-card { padding: 1.5rem; }

  /* Scroll reveal — reduce travel for performance */
  .reveal-left { transform: translate3d(-20px, 0, 0); }
  .reveal-right { transform: translate3d(20px, 0, 0); }
  .reveal, .reveal-up { transform: translate3d(0, 24px, 0); }
}

/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT ≤ 380px  (Ultra-compact — iPhone mini, Galaxy A)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {

  .container { padding: 0 0.875rem; }
  .navbar { padding: 0.375rem 0.625rem; border-radius: 0.75rem; }
  .nav-brand img { height: 24px; }
  .nav-btn { padding: 0.4375rem 0.75rem; font-size: 0.75rem; }
  .nav-mobile-toggle { width: 30px; height: 30px; }

  .slider-title { font-size: 1.375rem; }
  .subpage-hero h1 { font-size: 1.5rem; }
  .section-title { font-size: 1.375rem; }

  .btn-primary, .btn-outline { padding: 0.75rem 1rem; font-size: 0.875rem; }
  .service-card-body { padding: 1.125rem; }
  .faq-item { padding: 0.875rem 1rem; }
  .faq-item summary { font-size: 0.875rem; }
}
