/* ==========================================================================
   DOMINGUEZ CONSTRUCTION - CORE STYLES
   ========================================================================== */

/* Variables */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-warm-white: #fdfcfb;
  --color-light-gray: #f5f5f5;
  --color-soft-gray: #e0e0e0;
  --color-charcoal: #2b2b2b;
  --color-charcoal-light: #3d3d3d;
  --color-gold: #cfa876;
  --color-gold-hover: #b58d5b;

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing Scale (Stable Base) */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 2.5rem;   /* 40px */
  --space-6: 3rem;     /* 48px */
  --space-7: 4rem;     /* 64px */
  --space-8: 5rem;     /* 80px */
  --space-9: 6rem;     /* 96px */

  /* Layout */
  --container-width-lg: 1440px;
  --container-width-md: 960px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-2xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

.dark-theme {
  --color-white: #32353a;
  /* Elevated cards / containers */
  --color-warm-white: #25272a;
  /* Primary soft charcoal background */
  --color-light-gray: #1f2124;
  /* Secondary background */
  --color-soft-gray: #4a4d53;
  /* Borders and inputs */
  --color-charcoal: #fdfcfb;
  /* Primary text */
  --color-charcoal-light: #ffffff;
  /* Secondary text */
  --color-gold: #cfa876;
  --color-gold-hover: #e5be8c;
}

/* Dark theme: Why Us icon containers */
.dark-theme .why-us-icon {
  background: rgba(253, 252, 251, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dark-theme .why-us-card:hover .why-us-icon {
  background: rgba(253, 252, 251, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-warm-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin-bottom: var(--space-3);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width-lg);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* Responsive Layout Layer - Container Padding Only */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-gold);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-charcoal);
  color: var(--color-charcoal);
}

.btn-outline:hover {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

.section-padding {
  padding: var(--space-7) 0;
}

@media (min-width: 992px) {
  .section-padding {
    padding: var(--space-8) 0;
  }
}

/* ==========================================================================
   1. NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 24px 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: var(--color-white);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-charcoal);
  letter-spacing: 0.5px;
}

.logo-subtext {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-top: 4px;
}

.nav-links.pill-nav {
  background-color: var(--color-white);
  padding: 8px 32px;
  border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  position: relative;
  padding: 12px 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-charcoal);
  position: relative;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Dropdown Menu Styles */
.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.has-dropdown > a::after {
  content: '▾';
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--color-white);
  min-width: 240px;
  padding: 16px 0;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border-top: 3px solid var(--color-gold);
  z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  background-color: var(--color-light-gray);
  color: var(--color-gold);
}

.dropdown-menu a::after {
  display: none !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-normal);
}

.nav-links li:not(.has-dropdown) a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  transition: all var(--transition-fast);
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 9px;
}

.hamburger-line:nth-child(3) {
  top: 18px;
}

/* Mobile Menu Active States */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

body.no-scroll {
  overflow: hidden;
}

/* ==========================================================================
   SERVICE FEATURES (ALTERNATING CARDS)
   ========================================================================== */

.service-features {
  padding: 100px 0;
  background-color: var(--color-white);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 50px;
  background: var(--color-white);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.feature-content p {
  color: var(--color-charcoal-light);
  line-height: 1.8;
  font-size: 1rem;
}

.feature-visual {
  flex: 1.2;
}

.feature-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  aspect-ratio: 16/10;
}

.feature-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-icons {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.feature-icons svg {
  color: var(--color-gold);
  width: 32px;
  height: 32px;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .feature-row, .feature-row:nth-child(even) {
    flex-direction: column;
    gap: 40px;
    padding: 30px 20px;
  }
}


/* Mobile Nav Styles */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-white);
    padding: 100px 0 2rem;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: left var(--transition-normal);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 2rem;
  }

  .nav-links li {
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links.pill-nav {
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links a {
    font-size: 1.15rem;
    display: block;
    padding: 12px 0;
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }

  /* Center hamburger lines within the 44px touch target */
  .mobile-menu-toggle .hamburger-line:nth-child(1) { top: 12px; }
  .mobile-menu-toggle .hamburger-line:nth-child(2) { top: 21px; }
  .mobile-menu-toggle .hamburger-line:nth-child(3) { top: 30px; }

  /* Keep X animation convergence point at center of 44px */
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) { top: 21px; }
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) { top: 21px; }

  /* Nav links — enforce 44px min touch height */
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.15rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile dropdown — fully contained accordion */
  .has-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--color-gold);
    border-radius: 0;
    border-top: none;
    background: transparent;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    padding: 0 0 0 1rem;
    margin: 0;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    max-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .has-dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 6px 0 10px 1rem;
  }

  .dropdown-menu li {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .dropdown-menu a {
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    white-space: normal;
    word-break: break-word;
  }

  .dropdown-menu a:hover {
    background: transparent;
    color: var(--color-gold);
    padding-left: 0;
  }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  background-color: var(--color-warm-white);
  overflow: hidden;
  padding-top: 80px;
  /* offset for fixed header */
}

/* Cinematic cycling slideshow */
:root {
  --hero-slide-duration: 3000ms;
  --hero-fade-duration: 900ms;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background-color: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity var(--hero-fade-duration) ease-in-out;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

/* Pause / Play button */
.hero-pause-btn {
  position: absolute;
  top: 100px;
  right: 24px;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-white) 40%, transparent);
  background: color-mix(in srgb, #000 35%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-warm-white, #f5f0e8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.2s ease;
  padding: 0;
}

.hero-section:hover .hero-pause-btn,
.hero-pause-btn:focus-visible,
.hero-pause-btn.is-paused {
  opacity: 1;
}

.hero-pause-btn:hover {
  background: color-mix(in srgb, #000 55%, transparent);
  transform: scale(1.05);
}

.hero-pause-icon-play { display: none; }
.hero-pause-btn.is-paused .hero-pause-icon-pause { display: none; }
.hero-pause-btn.is-paused .hero-pause-icon-play { display: block; }

/* Progress bars */
.hero-progress {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: 10px;
  padding: 0 16px;
  width: min(640px, calc(100% - 32px));
}

.hero-progress-bar {
  flex: 1;
  height: 3px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  display: block;
}

.hero-progress-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: color-mix(in srgb, var(--color-gold, #c9a961) 20%, transparent);
  border-radius: 2px;
}

.hero-progress-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  width: 0%;
  background: var(--color-gold, #c9a961);
  border-radius: 2px;
  transition: none;
}

.hero-progress-bar.is-complete .hero-progress-fill {
  width: 100%;
}

.hero-progress-bar.is-active .hero-progress-fill {
  animation: heroProgressFill var(--fill-duration, var(--hero-slide-duration)) linear forwards;
}

.hero-progress-bar.is-paused.is-active .hero-progress-fill {
  animation-play-state: paused;
}

@keyframes heroProgressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Reduced motion: lock to final image, hide controls */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; opacity: 0; }
  .hero-slide:last-child { opacity: 1; }
  .hero-progress, .hero-pause-btn { display: none; }
}

@media (max-width: 768px) {
  .hero-pause-btn { top: 90px; right: 16px; width: 36px; height: 36px; }
  .hero-progress { bottom: 14px; gap: 6px; }

  /* Mobile hero framing: keep cover so image stays full-bleed edge-to-edge.
     Shift position toward 35% vertically to favour building mid-section over
     a pure-center crop that often catches only a door or roofline strip. */
  .hero-slide {
    background-size: cover;
    background-position: center 35%;
  }
  .hero-bg {
    background-size: cover;
    background-position: center 35%;
  }
}

/* Static hero background — used by all subpages (.hero-bg with inline background-image).
   Homepage uses the .hero-slideshow component instead. */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Use a true generic gradient overlay that respects themes without washing out the image entirely */
  background: linear-gradient(to right, color-mix(in srgb, var(--color-warm-white) 85%, transparent) 0%, color-mix(in srgb, var(--color-warm-white) 5%, transparent) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.hero-content {
  width: 55%;
  padding-right: 2rem;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: 24px;
  transition: opacity 300ms ease, transform 300ms ease;
  min-height: 1.1em;
}

.hero-content h1.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-charcoal-light);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons-left .btn {
  padding: 18px 36px;
  font-size: 1.15rem;
  min-width: 220px;
}

.hero-cta-right {
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 200px;
  animation: fadeLeft 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-btn-cta {
  padding: 20px 48px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 24px;
  background-color: var(--color-gold);
  color: var(--color-white);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(207, 168, 118, 0.3);
}

.hero-btn-cta:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(207, 168, 118, 0.4);
}

/* Hero Form Styles (Legacy - not used on homepage) */
.hero-form-wrapper {
  width: 45%;
  display: flex;
  justify-content: flex-end;
  animation: fadeLeft 1s ease 0.3s forwards;
  opacity: 0;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Premium Glassmorphic Form Card */
.hero-lead-form {
  background: color-mix(in srgb, var(--color-white) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid color-mix(in srgb, var(--color-white) 50%, transparent);
}

.hero-lead-form h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  border: 1px solid var(--color-soft-gray);
  border-radius: 24px;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(207, 168, 118, 0.2);
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 24px;
  background-color: var(--color-gold);
  margin-top: 8px;
}

.form-submit-btn:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(207, 168, 118, 0.3);
}

.form-microcopy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-charcoal-light);
  margin-top: 16px;
  margin-bottom: 0;
}

/* Mobile Hero Adjustments */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-6);
  }

  .hero-overlay {
    background: linear-gradient(to bottom, color-mix(in srgb, var(--color-warm-white) 85%, transparent) 0%, color-mix(in srgb, var(--color-warm-white) 20%, transparent) 100%);
  }

  .hero-container {
    flex-direction: column;
    padding-top: 40px;
  }

  .hero-content {
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 32px;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons-left .btn {
    padding: 16px 28px;
    font-size: 1.05rem;
    min-width: 200px;
  }

  .hero-cta-right {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .hero-btn-cta {
    padding: 18px 40px;
    font-size: 1.15rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* ==========================================================================
   3. TRUST BAR SECTION
   ========================================================================== */

.trust-bar-section {
  position: relative;
  z-index: 15;
  margin-top: 0;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  background-color: var(--color-warm-white);
}

.trust-bar-pill {
  background-color: var(--color-white);
  border-radius: 100px;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-soft-gray);
  flex-wrap: nowrap;
  gap: 24px;
}

.trust-bar-message {
  text-align: center;
  margin-top: var(--space-4);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.5px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}

.trust-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.trust-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .trust-bar-section {
    position: relative;
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
    margin-top: 0;
  }

  .trust-bar-pill {
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 8px;
  }

  .trust-item {
    width: 100%;
    padding: 14px 0;
    gap: 16px;
  }

  .trust-item span {
    font-size: 1.05rem;
  }

  .trust-item:not(:last-child) {
    border-bottom: 1px solid var(--color-light-gray);
  }
}

/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */

.about-section {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-bg {
  display: none;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: color-mix(in srgb, var(--color-warm-white) 85%, transparent);
  z-index: 2;
}

.about-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.about-visuals {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeRight 1s ease forwards;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.about-main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  /* Hairline border — warm white at low opacity reads in both light + dark modes */
  border: 1px solid rgba(253, 252, 251, 0.25);
  /* Layered shadow: soft far-shadow for lift + tight close-shadow for definition */
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.35),
    0 8px 16px -6px rgba(0, 0, 0, 0.22);
}


@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-content {
  width: 55%;
  display: flex;
  justify-content: flex-end;
}

.about-card {
  background-color: var(--color-warm-white);
  padding: 60px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--color-gold) 22%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-gold) 8%, transparent),
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 0 60px -10px color-mix(in srgb, var(--color-gold) 18%, transparent);
  max-width: 600px;
  width: 100%;
  animation: fadeUp 1s ease 0.2s forwards;
  opacity: 0;
  position: relative;
}

.about-card h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-card p {
  font-size: 1.1rem;
  color: var(--color-charcoal-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-accent {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.25rem !important;
  /* Bump specific size */
  color: var(--color-gold) !important;
  margin-bottom: 40px !important;
  line-height: 1.5;
}

.about-card-footer {
  display: flex;
  justify-content: flex-end;
  /* Align right to match mockup balance */
}

/* Responsive */
@media (max-width: 991px) {
  .about-container {
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-visuals {
    width: 100%;
    margin-bottom: 60px;
  }

  .about-image-wrapper {
    max-width: 100%;
  }

  .about-main-img {
    height: 400px;
  }


  .about-content {
    width: 100%;
    justify-content: center;
  }

  .about-card {
    padding: 40px 30px;
  }

  .about-bg {
    background-attachment: scroll;
    /* Disable parallax on mobile for perf */
  }
}

/* ==========================================================================
   Utility Classes Additions
   ========================================================================== */

.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--color-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 12px;
}

/* Scroll Reveal Animations */
.animation-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animation-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animation-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.animation-fade-in.visible {
  opacity: 1;
}

/* Staggered Scroll-Reveal — premium cinematic gallery entrance */
.gallery-reveal-item {
  opacity: 0;
  transform: translate3d(0, 70px, 0) scale(0.88);
  filter: blur(12px);
  transition:
    opacity 3.2s cubic-bezier(0.16, 0.84, 0.3, 1),
    transform 3.2s cubic-bezier(0.16, 0.84, 0.3, 1),
    filter 3.2s cubic-bezier(0.16, 0.84, 0.3, 1);
  transition-delay: var(--stagger-delay, 0s);
  will-change: opacity, transform, filter;
}

.gallery-reveal-item.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-reveal-item {
    transform: none;
    filter: none;
    transition: opacity 0.3s ease;
    transition-delay: 0s;
  }
  .gallery-reveal-item.is-revealed {
    transform: none;
    filter: none;
  }
}

.section-header {
  margin: 0 auto 60px auto;
  max-width: 800px;
  text-align: center;
}

.section-header h2 {
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-header p {
  color: var(--color-charcoal-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   5. PROCESS SECTION
   ========================================================================== */

/* Process Section — mobile-first, single source of truth.
   Mobile (default): clean text-only narrative, no images at all.
   Desktop (≥992px): row of image cards with connector line. */

.process-section {
  background-color: var(--color-warm-white);
  overflow: hidden;
}

.process-container {
  position: relative;
}

.process-connector-line {
  display: none;
}

.process-cards-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Mobile: never gate Process visibility on the scroll observer.
   Desktop keeps the standard fade-up reveal (see media query below). */
.process-cards-row.animation-fade-up {
  opacity: 1;
  transform: none;
}

.process-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-soft-gray);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* No images on mobile — they render only inside the desktop media query */
.process-card-image {
  display: none;
}

.process-card-header {
  padding: 16px 22px 12px;
  border-bottom: 1px solid var(--color-soft-gray);
}

.process-step-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.process-card-content {
  padding: 16px 22px 20px;
  flex-grow: 1;
}

.process-card-content h3 {
  font-size: 1.2rem;
  color: var(--color-charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-card-content p {
  font-size: 0.98rem;
  color: var(--color-charcoal-light);
  line-height: 1.55;
  margin: 0;
}

@media (min-width: 992px) {
  .process-container {
    padding-top: 20px;
  }

  .process-connector-line {
    display: block;
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    opacity: 0.5;
    z-index: 1;
  }

  .process-connector-line::before,
  .process-connector-line::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-gold);
  }

  .process-connector-line::before { left: 0; }
  .process-connector-line::after { right: 0; }

  .process-cards-row {
    flex-direction: row;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
  }

  /* Desktop: re-enable the standard scroll-reveal fade-up for the row */
  .process-cards-row.animation-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .process-cards-row.animation-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .process-card {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  }

  .process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .process-card-header {
    padding: 16px 24px;
    background-color: color-mix(in srgb, var(--color-warm-white) 50%, transparent);
  }

  .process-step-number {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }

  .process-card-image {
    display: block;
    position: relative;
    width: 100%;
    height: 200px;
    padding: 12px;
    overflow: hidden;
  }

  .process-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
  }

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

  .process-card-content {
    padding: 24px;
  }

  .process-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .process-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* ==========================================================================
   7. PROJECTS / GALLERY SECTION
   ========================================================================== */

.projects-section.section-padding {
  background-color: var(--color-warm-white);
  overflow: hidden;
  padding-top: 3rem; /* Forcefully tighter connection to section above */
}

.process-section.section-padding {
  padding-bottom: 3rem; /* Reduce bottom gap of process to match */
}

.projects-section .section-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.projects-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

/* Column structure */
.projects-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.projects-col-left {
  flex: 1.1;
}

.projects-col-center {
  flex: 0.9;
}

.projects-col-right {
  flex: 1;
}

/* Split row — two cards side-by-side */
.projects-col-split {
  display: flex;
  gap: 16px;
}

.projects-col-split .project-card {
  flex: 1;
}

/* Base card */
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-white);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

/* Card size variants */
.project-card-hero {
  min-height: 280px;
}

.project-card-square {
  min-height: 180px;
}

.project-card-mid {
  flex: 1;
  min-height: 240px;
}

.project-card-tall {
  flex: 1;
  min-height: 280px;
}

/* Label overlay */
.project-card-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-charcoal);
  background-color: color-mix(in srgb, var(--color-white) 85%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 8px;
  transition: opacity var(--transition-normal);
  z-index: 3;
}

.project-card:hover .project-card-label {
  opacity: 0.9;
}

/* CTA Button */
.projects-cta-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 4px;
}

.projects-cta-wrapper .btn-outline-gold {
  padding: 16px 36px;
  font-size: 1rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid var(--color-gold);
  border-radius: 100px;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: background-color var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
  cursor: pointer;
  background: transparent;
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-warm-white);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .projects-grid {
    flex-direction: column;
  }

  .projects-col-left,
  .projects-col-center,
  .projects-col-right {
    flex: 1;
  }

  .project-card-hero,
  .project-card-mid,
  .project-card-tall {
    min-height: 180px;
  }

  .project-card-square {
    min-height: 140px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Small mobile optimizations */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .trust-bar-pill {
    padding: 12px 20px;
    gap: 8px;
  }
  
  .trust-item {
    padding: 8px;
    gap: 8px;
  }
  
  .trust-item span {
    font-size: 0.8rem;
  }
  
  .section-padding {
    padding: 48px 0;
  }
  
  h2 {
    font-size: 1.75rem !important;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .projects-col-split {
    flex-direction: column;
  }

  .project-card-hero,
  .project-card-mid,
  .project-card-tall,
  .project-card-square {
    min-height: 200px;
  }
}

/* ==========================================================================
   8. TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  position: relative;
  background-color: var(--color-warm-white);
  overflow: hidden;
}

.testimonials-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: url('../images/full-rebuilds-complete-home.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

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

/* Carousel wrapper */
.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Testimonial card */
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background-color: var(--color-white);
  border: 1px solid var(--color-soft-gray);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--color-soft-gray);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--color-charcoal-light);
}

/* Carousel arrows */
.carousel-arrow {
  background-color: var(--color-white);
  border: 1px solid var(--color-soft-gray);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-charcoal);
  transition: background-color var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background-color: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
  transform: scale(1.05);
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-soft-gray);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-normal), transform var(--transition-normal);
}

.carousel-dot.active {
  background-color: var(--color-gold);
  transform: scale(1.3);
}

/* Secondary trust strip */
.testimonials-trust-strip {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding-top: 64px;
  flex-wrap: wrap;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}

.trust-strip-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
  min-width: 26px;
  min-height: 26px;
}

.trust-strip-item span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 991px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }

  .testimonials-bg-image {
    width: 100%;
    opacity: 0.04;
  }

  .testimonials-trust-strip {
    gap: 32px;
  }
  
  .trust-strip-item span {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    flex: 0 0 100%;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

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

  .testimonials-trust-strip {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 48px;
  }
  
  .trust-strip-item {
    gap: 16px;
  }
  
  .trust-strip-item svg {
    min-width: 24px;
    min-height: 24px;
  }
}

/* ==========================================================================
   9. GOOGLE REVIEW CTA SECTION
   ========================================================================== */

.review-cta-section {
  background-color: var(--color-light-gray);
}

.review-cta-card {
  display: flex;
  align-items: stretch;
  background-color: var(--color-white);
  border-radius: 24px;
  border: 1px solid var(--color-soft-gray);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  color: var(--color-charcoal);
  padding: 8px;
}

.review-cta-content {
  flex: 1;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.review-cta-text {
  flex: 1;
}

.review-cta-content .section-subtitle {
  color: var(--color-gold);
}

.review-cta-content h2 {
  color: var(--color-charcoal);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.review-cta-content p {
  color: var(--color-charcoal-light);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.review-cta-btn {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--color-gold);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.review-cta-btn:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(207, 168, 118, 0.35);
}

.review-cta-microcopy {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
}

/* Left visual side — House image preserved */
.review-cta-visual {
  flex: 0 0 380px;
  position: relative;
}

.review-cta-photo {
  width: 100%;
  height: 100%;
}

.review-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Redesigned Google Badge — filling the space naturally */
.review-google-badge {
  flex: 0 0 240px;
  background-color: var(--color-light-gray);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform var(--transition-normal);
}

.review-google-badge:hover {
  transform: translateY(-4px);
}

.google-badge-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bagde-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-charcoal-light);
}

.google-badge-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rating-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1;
}

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

.badge-trust {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-charcoal-light);
  opacity: 0.8;
}

.google-card-bar {
  height: 10px;
  width: 100%;
  border-radius: 6px;
  background-color: #f0f0f0;
}

/* Bottom trust strip */
.review-trust-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 32px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 991px) {
  .review-cta-card {
    flex-direction: column;
  }

  .review-cta-content {
    padding: 48px 32px;
    flex-direction: column;
    text-align: center;
  }

  .review-cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .review-cta-visual {
    width: 100%;
    height: 320px;
  }

  .review-google-badge {
    flex: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .review-cta-content {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   10. FAQ SECTION
   ========================================================================== */

.faq-section {
  background-color: var(--color-white);
}

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

.faq-item {
  margin-bottom: 6px;
  border: 1px solid var(--color-soft-gray);
  border-radius: 8px;
  background-color: var(--color-white);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

.faq-item.active {
  border-color: var(--color-gold);
  box-shadow: 0 8px 24px rgba(207, 168, 118, 0.1);
}

.faq-question {
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  transition: color var(--transition-normal);
}

.faq-item.active .faq-question span {
  color: var(--color-gold);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-charcoal-light);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-gold);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 32px;
  visibility: hidden;
  transition: visibility 0.3s;
}

.faq-item.active .faq-answer-inner {
  padding: 0 16px 12px;
  visibility: visible;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-charcoal-light);
}

/* Responsive FAQ */
/* FAQ mobile rules now in Mobile System Layer (line 2608+) */

/* ==========================================================================
   11. CONVERSION CTA SECTION
   ========================================================================== */

.conversion-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-soft-gray);
  padding-top: 80px;
  padding-bottom: 80px;
}

.conversion-section .section-header {
  margin-bottom: 48px;
}

.conversion-wrapper {
  display: flex;
  min-height: 480px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-soft-gray);
  box-shadow: 0 12px 64px rgba(0, 0, 0, 0.1);
  background-color: var(--color-white);
}

.conversion-visual {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}

.conversion-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right side background */
.conversion-card-container {
  flex: 1;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.conversion-card {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
  color: var(--color-charcoal);
  position: relative;
  border: 1px solid var(--color-soft-gray);
}

.conversion-card .card-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: var(--color-charcoal);
}

.conversion-card .trust-summary {
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
  line-height: 1.5;
  margin-bottom: 8px;
}

.conversion-card .response-time {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 20px;
}

/* Form Styles */
.conversion-form {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.conversion-form .form-group {
  margin-bottom: 8px;
}

.conversion-form input,
.conversion-form select,
.conversion-form textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--color-soft-gray);
  background-color: var(--color-light-gray);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-normal);
}

.conversion-form input:focus,
.conversion-form select:focus,
.conversion-form textarea:focus {
  background-color: color-mix(in srgb, var(--color-white) 15%, transparent);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-gold) 20%, transparent);
}

.conversion-form select option {
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

.btn-cta-main {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
  color: var(--color-white);
  border-radius: 8px;
  margin-top: 0;
  box-shadow: 0 8px 20px rgba(207, 168, 118, 0.25);
}

.btn-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(207, 168, 118, 0.45);
}

/* Card Footer */
.conversion-card .direct-call {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--color-charcoal-light);
}

.conversion-card .phone-link {
  color: var(--color-gold);
  font-weight: 700;
  text-decoration: underline;
}

.trust-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.trust-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-charcoal-light);
  font-weight: 500;
}

.trust-tag svg {
  color: var(--color-gold);
}

/* Responsive Conversion CTA */
@media (max-width: 1200px) {
  .conversion-wrapper {
    flex-direction: column;
  }
  
  .conversion-visual {
    height: 450px;
    flex: none;
  }
  
  .conversion-card-container {
    padding: 60px 24px;
  }
}

/* ==========================================================================
   12. MAP & SERVICE COVERAGE SECTION
   ========================================================================== */

.map-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-warm-white);
  border-top: 1px solid var(--color-soft-gray);
  padding-top: 80px;
  padding-bottom: 80px;
}

.map-wrapper {
  display: flex;
  min-height: 450px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-soft-gray);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  background-color: var(--color-white);
}

.map-visual {
  flex: 1.4;
  position: relative;
  background-color: var(--color-soft-gray);
}

.map-visual iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.1) opacity(0.85);
  transition: filter var(--transition-normal);
}

.map-visual:hover iframe {
  filter: grayscale(0.2) contrast(1) opacity(1);
}

.map-info-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  background-color: var(--color-warm-white);
  border-left: 1px solid var(--color-soft-gray);
}

.map-info-card {
  width: 100%;
  max-width: 440px;
}

.map-info-card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--color-charcoal);
}

.map-info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-charcoal-light);
  margin-bottom: 24px;
}

.coverage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.coverage-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
}

.coverage-list li svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-cta {
  padding-top: 24px;
  border-top: 1px solid var(--color-soft-gray);
}

.map-cta p {
  font-size: 0.85rem;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.map-phone-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
}

.map-phone-link:hover {
  color: var(--color-gold-hover);
}

/* Mobile: Hide entire map section (prevents iframe load) */
@media (max-width: 768px) {
  .map-section {
    display: none;
  }
  
  .map-visual {
    display: none;
  }

  .conversion-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ==========================================================================
   13. SITE FOOTER
   ========================================================================== */

/* ==========================================================================
   14. MOBILE STICKY CTA
   ========================================================================== */

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 998;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 14px 28px;
    min-height: 48px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    text-decoration: none;
  }

  .mobile-sticky-cta:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  }

  .mobile-sticky-cta:active {
    transform: translateY(0);
  }

  .mobile-sticky-cta svg {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   15. ALTADENA STRONG - COMMUNITY REBUILDING SECTION
   ========================================================================== */

.community-rebuild-section {
  background-color: var(--color-warm-white);
  position: relative;
}

.community-rebuild-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.community-rebuild-content {
  flex: 1;
}

.community-rebuild-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  margin-top: 0;
  line-height: 1.2;
}

.community-rebuild-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-style: italic;
}

.community-rebuild-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--color-charcoal-light);
}

.community-rebuild-accent {
  background-color: var(--color-light-gray);
  padding: 20px 24px;
  border-left: 4px solid var(--color-gold);
  border-radius: 8px;
  margin: 24px 0;
  font-weight: 600;
  color: var(--color-charcoal) !important;
}

.community-rebuild-cta {
  margin-top: 32px;
}

.community-cta-btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  display: inline-block;
}

.community-cta-microcopy {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
  margin-bottom: 0;
}

.community-rebuild-visual {
  flex: 1;
  position: relative;
}

.community-rebuild-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  aspect-ratio: 2483 / 1600;
  background-color: var(--color-warm-white);
}

.community-rebuild-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.community-rebuild-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--color-gold);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(207, 168, 118, 0.3);
}

.community-rebuild-badge svg {
  flex-shrink: 0;
}

/* Community Rebuild Section Mobile */
@media (max-width: 768px) {
  .community-rebuild-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .community-rebuild-content h2 {
    font-size: 1.75rem;
  }

  .community-rebuild-lead {
    font-size: 1.1rem;
  }

  .community-rebuild-cta {
    text-align: center;
  }

  .community-cta-btn {
    width: 100%;
  }

  .community-rebuild-badge {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

/* ==========================================================================
   16. WHY CHOOSE US SECTION
   ========================================================================== */

.why-choose-section {
  background-color: var(--color-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.why-us-card {
  width: 100%;
  background: var(--color-warm-white);
  padding: 48px 36px;
  border-radius: 20px;
  text-align: center;
  border: 1.5px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  cursor: default;
}

.why-us-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-7px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.11);
}

.why-us-icon {
  width: 92px;
  height: 92px;
  background: #1a1a1a;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.why-us-icon i,
.why-us-icon svg {
  width: 48px !important;
  height: 48px !important;
  stroke-width: 1.5 !important;
}

.why-us-card:hover .why-us-icon {
  background: #2b2b2b;
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.why-us-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}

.why-us-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-charcoal-light);
  margin-bottom: 0;
  margin-top: auto;
  flex-grow: 1;
}

/* Stat Counters */
.stat-counters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 48px;
  background: var(--color-charcoal);
  border-radius: 24px;
  color: var(--color-white);
}

.stat-counter {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sublabel {
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.5px;
  margin-top: 6px;
  font-style: italic;
}

.stat-divider {
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

/* Why Us Mobile */
@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .why-us-card {
    padding: 28px 20px;
  }

  .why-us-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }

  .why-us-icon i,
  .why-us-icon svg {
    width: 36px !important;
    height: 36px !important;
  }

  .why-us-card h3 {
    font-size: 1.15rem;
  }

  .stat-counters {
    flex-direction: column;
    gap: 32px;
    padding: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 2px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   17. SERVICES SECTION
   ========================================================================== */

.services-section {
  background-color: var(--color-warm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-card-image {
  height: 240px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.service-card-content {
  padding: 32px;
}

.service-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}

.service-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-charcoal-light);
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.service-card-link:hover {
  color: var(--color-gold-hover);
  gap: 12px;
}

.service-card-link span {
  transition: transform var(--transition-fast);
}

.service-card-link:hover span {
  transform: translateX(4px);
}

/* Full-Bleed Service Cards (Premium Layout) */
.full-bleed-card {
  position: relative;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
}

.full-bleed-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.full-bleed-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.15) 70%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity var(--transition-normal);
}

.full-bleed-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    transparent 100%
  );
}

.full-bleed-card .card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #ffffff;
  z-index: 2;
}

.full-bleed-card .card-overlay h3 {
  font-size: 1.65rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.full-bleed-card .card-overlay p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  max-width: 90%;
}

.full-bleed-card .service-card-link {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.full-bleed-card .service-card-link:hover {
  color: var(--color-gold-hover);
  gap: 12px;
}

.full-bleed-card .service-card-link span {
  transition: transform var(--transition-fast);
}

.full-bleed-card:hover .service-card-link span {
  transform: translateX(4px);
}

/* Services Mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .full-bleed-card {
    height: 300px;
  }

  .full-bleed-card .card-overlay {
    padding: 24px;
  }

  .full-bleed-card .card-overlay h3 {
    font-size: 1.35rem;
  }

  .full-bleed-card .card-overlay p {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   13. SITE FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--color-charcoal);
  color: var(--color-warm-white);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo .logo-text {
  color: var(--color-warm-white);
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.license-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-tag {
  font-size: 0.85rem;
  opacity: 0.72;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--color-warm-white);
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-gold);
  padding-left: 4px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-list li svg {
  color: var(--color-gold);
}

.contact-list a:hover {
  color: var(--color-gold);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-warm-white);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--color-gold);
  color: var(--color-charcoal);
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.72;
}

.footer-bottom a {
  color: var(--color-warm-white);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 48px 0 100px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-tagline {
    margin: 0 auto 24px;
  }
  
  .footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }
  
  .footer-col a {
    font-size: 0.95rem;
    padding: 6px 0;
  }
  
  .contact-list li {
    justify-content: center;
  }
  
  .footer-socials {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE LAYER
   Layout shifts, stacking rules, visibility, container padding only
   ========================================================================== */

/* Mobile: Typography Scaling */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.75rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
}

/* Mobile: Section Spacing */
@media (max-width: 768px) {
  .section-padding {
    padding: 48px 0;
  }
}

/* ==========================================================================
   Mobile theme-toggle: kill tap highlight / focus box / sticky active state.
   Desktop is untouched — the toggle already blends cleanly there.
   ========================================================================== */
@media (max-width: 768px) {
  .theme-toggle {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .theme-toggle:focus,
  .theme-toggle:focus-visible,
  .theme-toggle:active,
  .theme-toggle:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
}

/* Mobile: Hero Behavior */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  .hero-container {
    flex-direction: column;
    padding-top: 40px;
  }
  
  .hero-content {
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-form-wrapper {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile: Buttons Stack on Small Screens */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

/* Mobile: Trust Bar */
@media (max-width: 768px) {
  .trust-bar-pill {
    padding: 12px 20px;
    gap: 8px;
  }
  
  .trust-item {
    padding: 8px;
    gap: 8px;
  }
  
  .trust-item span {
    font-size: 0.8rem;
  }
}

/* Mobile: Google Review CTA */
@media (max-width: 768px) {
  .google-review-cta {
    padding: 40px 24px;
  }
  
  .review-content h2 {
    font-size: 1.75rem;
  }
  
  .trust-strip {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Mobile: Conversion Section */
@media (max-width: 768px) {
  .conversion-wrapper {
    flex-direction: column;
  }
  
  .conversion-visual {
    min-height: 200px;
  }
  
  .conversion-card-container {
    padding: 24px;
  }
  
  .conversion-card {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .trust-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Mobile: Map Section Hidden */
@media (max-width: 768px) {
  .map-section {
    display: none;
  }
}

/* Mobile: Projects Grid */
@media (max-width: 991px) {
  .projects-grid {
    flex-direction: column;
  }

  .projects-col-left,
  .projects-col-center,
  .projects-col-right {
    flex: 1;
  }

  .project-card-hero,
  .project-card-mid,
  .project-card-tall {
    min-height: 220px;
  }

  .project-card-square {
    min-height: 160px;
  }

  .projects-cta-wrapper {
    justify-content: center;
    padding-top: 16px;
  }
}

@media (max-width: 576px) {
  .projects-col-split {
    flex-direction: column;
  }

  .project-card-hero,
  .project-card-mid,
  .project-card-tall {
    min-height: 180px;
  }

  .project-card-square {
    min-height: 140px;
  }
}

/* Mobile: Feature Rows (Service Pages) */
@media (max-width: 992px) {
  .feature-row, .feature-row:nth-child(even) {
    flex-direction: column;
    gap: 40px;
    padding: 30px 20px;
  }
}

/* Mobile: Testimonials */
@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    padding: 24px;
  }
}

/* Mobile: FAQ */
@media (max-width: 768px) {
  .faq-question {
    padding: 20px 24px;
  }
  
  .faq-question span {
    font-size: 1.25rem;
  }
  
  .faq-answer-inner {
    padding: 0 24px;
  }
  
  .faq-item.active .faq-answer-inner {
    padding: 0 24px 20px;
  }
}

/* Mobile: Contact Page — padding/gap handled by inline styles in contact.html */
@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.93);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.lightbox-overlay.is-open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.1);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 22px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   PROJECT CARD – Zoom indicator on hover
   ========================================================================== */

.project-card-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.project-card:hover .project-card-zoom,
.feature-image-wrapper:hover .project-card-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Make Services / Service Areas feature images behave like project cards */
.feature-image-wrapper {
  cursor: zoom-in;
}

.feature-image-wrapper img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-image-wrapper:hover img {
  transform: scale(1.04);
}

/* Subtle dark overlay on hover */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  z-index: 1;
  border-radius: inherit;
}

.project-card:hover::after {
  background: rgba(0, 0, 0, 0.12);
}

/* Keep label and zoom above the overlay */
.project-card-label {
  z-index: 3;
}

/* ==========================================================================
   INTERACTION POLISH – active / tap feedback
   ========================================================================== */

.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-outline-gold:active,
.review-cta-btn:active,
.hero-btn:active {
  transform: scale(0.97) translateY(0) !important;
  transition: transform 0.08s ease !important;
  box-shadow: none !important;
}

.project-card:active {
  transform: scale(0.985);
  transition: transform 0.1s ease;
}

.service-card:active {
  transform: scale(0.985) translateY(0) !important;
  transition: transform 0.1s ease !important;
}

.process-card:active {
  transform: scale(0.985) translateY(0) !important;
  transition: transform 0.1s ease !important;
}

/* Hero button elevate on hover */
.hero-btn {
  transition: background-color var(--transition-normal), transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* Primary hero CTA matches the form's gold accent */
.hero-btn.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.hero-btn.btn-primary:hover {
  background-color: var(--color-gold-hover);
  box-shadow: 0 10px 28px rgba(207, 168, 118, 0.4);
}

/* Outline hero button reads cleanly over the dark image overlay */
.hero-btn.btn-outline {
  border-color: var(--color-charcoal);
  color: var(--color-charcoal);
}

/* Smooth footer + contact link hover */
.footer-links a,
.footer-contact-list a {
  transition: color var(--transition-normal), opacity var(--transition-normal);
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: var(--color-gold);
}

/* Crisper nav link hover underline transition */
.nav-links li:not(.has-dropdown) a {
  transition: color var(--transition-normal);
}

/* ==========================================================================
   MOBILE AUDIT FIXES
   ========================================================================== */

/* Fix 1: Hero lead form — reduce internal padding on small phones */
@media (max-width: 480px) {
  .hero-lead-form {
    padding: 24px 20px;
  }
  .hero-lead-form h3 {
    font-size: 1rem;
    margin-bottom: 18px;
  }
  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .form-submit-btn {
    padding: 15px;
    font-size: 1rem;
  }
}

/* Fix 2: About section — remove fixed 800px min-height on mobile (creates dead space) */
@media (max-width: 768px) {
  .about-section {
    min-height: auto;
  }
}

/* Fix 3: Lightbox caption — prevent nowrap overflow on narrow screens */
@media (max-width: 480px) {
  .lightbox-caption {
    white-space: normal;
    text-align: center;
    max-width: 85%;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Fix 4: Ensure lightbox close button is always reachable on mobile */
@media (max-width: 480px) {
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  .lightbox-img {
    max-width: 95vw;
    max-height: 80vh;
    border-radius: 8px;
  }
  .lightbox-caption {
    bottom: 12px;
    font-size: 0.82rem;
    padding: 6px 16px;
  }
}

/* ==========================================================================
   UX POLISH — MISSING ACTIVE STATES & CTA HIERARCHY
   ========================================================================== */

/* CTA form submit button press feedback */
.btn-cta-main:active {
  transform: scale(0.97) translateY(0) !important;
  transition: transform 0.08s ease !important;
  box-shadow: none !important;
}

/* Contact info cards press feedback */
.contact-info-card:active {
  transform: scale(0.98) translateY(0);
  transition: transform 0.1s ease;
}

/* Mobile: CTA form submit button — bigger touch target + stronger visual hierarchy */
@media (max-width: 768px) {
  .btn-cta-main {
    padding: 16px 12px;
    font-size: 1rem;
    min-height: 52px;
    letter-spacing: 0.02em;
  }
}

/* Mobile: form inputs meet 44px minimum touch height */
@media (max-width: 768px) {
  .conversion-form input,
  .conversion-form select {
    min-height: 44px;
    padding: 10px 18px;
  }
}

/* Mobile: all .btn variants guaranteed 44px touch height */
@media (max-width: 480px) {
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-outline-gold,
  .review-cta-btn {
    min-height: 44px;
  }
}
/* ===========================
   MEGA MENU — SERVICE AREAS
   =========================== */
/* ============================================
   Cascading Mega-Menu (2-level)
   ============================================ */
.has-megamenu {
  position: static !important;
}

.megamenu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  /* Hover bridge: padding-top makes the gap to the trigger non-empty */
  padding-top: 14px;
  z-index: 1001;
}

/* JS-toggled class — always works on every device */
.has-megamenu.is-hover .megamenu {
  display: block;
}

/* Pure-CSS :hover fallback — ONLY on devices that actually support hover
   (mice, trackpads). This prevents iOS/Android touch from triggering a
   sticky :hover state that hijacks the mobile tap-to-open menu. */
@media (hover: hover) and (pointer: fine) {
  .has-megamenu:hover .megamenu {
    display: block;
  }
}

/* Single unified dark theme — same on every page, every scroll state, every mode */
.megamenu-desktop {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-width: 560px;
  background: #1e1e1e !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;
  border-top: 2px solid #c9a84c;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.megamenu-mobile { display: none; }

/* Left rail */
.megamenu-regions {
  display: flex;
  flex-direction: column;
  background: #141414 !important;
  padding: 12px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.megamenu-region-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.megamenu-region-item:hover,
.megamenu-region-item.is-active {
  background: #1e1e1e !important;
  color: #c9a84c !important;
  border-left-color: #c9a84c;
}

.megamenu-region-chev {
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.4;
  margin-left: 12px;
}

.megamenu-region-item.is-active .megamenu-region-chev {
  opacity: 1;
}

/* Right rail */
.megamenu-cities {
  position: relative;
  padding: 18px 28px 22px;
  min-width: 320px;
}

.megamenu-cities-panel {
  display: none;
}

.megamenu-cities-panel.is-active {
  display: block;
}

.megamenu-cities-title {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a84c !important;
  text-decoration: none;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: opacity 0.15s;
}

.megamenu-cities-title:hover {
  opacity: 0.75;
}

.megamenu-cities-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 18px;
}

.megamenu-cities-panel ul li a {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
  transition: color 0.15s;
}

.megamenu-cities-panel ul li a:hover {
  color: #c9a84c !important;
}

/* ============================================
   Mobile: accordion (tap-to-expand)
   ============================================ */
@media (max-width: 991px) {
  .has-megamenu {
    position: relative !important;
  }

  .megamenu {
    display: none;
    position: static;
    transform: none;
    padding: 0;
    margin-top: 4px;
    border-left: 3px solid var(--color-gold);
  }

  /* No hover-kill rule here — @media (hover: hover) above already
     prevents :hover from firing on touch devices. is-open is the
     single source of truth for mobile open-state. */
  .megamenu.is-open {
    display: block !important;
  }

  .megamenu-desktop { display: none; }
  .megamenu-mobile { display: block; padding: 8px 0; }

  .megamenu-mobile-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .megamenu-mobile-group:last-child {
    border-bottom: none;
  }

  .megamenu-mobile-trigger {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
  }

  .megamenu-mobile-chev {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--color-gold);
    font-weight: 700;
    margin-left: 12px;
  }

  .megamenu-mobile-panel {
    display: none;
    padding: 4px 16px 14px 28px;
  }

  .megamenu-mobile-group.is-open .megamenu-mobile-panel {
    display: block;
  }

  .megamenu-mobile-region-link {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gold);
    text-decoration: none;
    margin-bottom: 8px;
  }

  .megamenu-mobile-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .megamenu-mobile-panel ul li a {
    display: block;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--color-text-muted, #555);
    text-decoration: none;
  }

  /* Mobile megamenu text — always dark panel, hardcoded so no conditional logic can break it */
  .megamenu-mobile-trigger {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .megamenu-mobile-group {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  .megamenu-mobile-panel ul li a {
    color: rgba(255, 255, 255, 0.72) !important;
  }
}
