/* =========================================================================
   Urban Window Wash — Modern Glassmorphism Design
   Built from scratch for clean, premium aesthetic
   ========================================================================= */

/* ---------- Z-Index Scale ---------- */
/*
  0-9:    Background elements
  10-49:  Main content & cards
  50-99:  Hero & prominent sections
  100-499: Navigation & overlays
  500-999: Modals & dialogs
  1000+:   Critical UI (sticky nav, notifications)
*/

/* ---------- CSS Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --primary: #00BD86;
  --primary-dark: #00

9970;
  --primary-light: #00E3A0;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(0, 0, 0, 0.08);
  
  /* Text */
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-tertiary: #6a6a6a;
  
  /* Background */
  --bg-gradient: linear-gradient(135deg, #e8f5f2 0%, #d4ede5 50%, #c7e8df 100%);
  
  /* Spacing */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
  --glass-bg: rgba(30, 30, 30, 0.7);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  
  --text-primary: #e8e8e8;
  --text-secondary: #b8b8b8;
  --text-tertiary: #8a8a8a;
  
  --bg-gradient: linear-gradient(135deg, #1a2a25 0%, #152420 50%, #0f1f1b 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* ---------- Base Styles ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
  padding-top: 0;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Prevent any element from causing horizontal scroll */
* {
  max-width: 100%;
}

/* ---------- Glassmorphism Components ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .glass-card {
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Navigation ---------- */
.glass-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 16px 32px;
}

[data-theme="dark"] .glass-nav {
  background: rgba(20, 20, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-left: 1px solid var(--glass-border);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-logo {
  height: 36px;
  width: auto;
}

.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.mobile-nav > a {
  padding: 16px 24px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-nav > a:hover,
.mobile-nav > a:active {
  background: rgba(0, 189, 134, 0.1);
  border-left-color: var(--primary);
}

.mobile-services-group {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin: 8px 0;
}

.mobile-services-label {
  padding: 12px 24px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
}

.mobile-services-group a {
  padding: 12px 24px 12px 40px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-services-group a:hover,
.mobile-services-group a:active {
  background: rgba(0, 189, 134, 0.08);
  border-left-color: var(--primary);
  color: var(--text-primary);
}

.mobile-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 24px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-md);
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 189, 134, 0.3);
  transition: transform 0.2s ease;
}

.mobile-phone-link:hover,
.mobile-phone-link:active {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu > a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu > a:hover {
  color: var(--primary);
}

.nav-menu > a:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s ease;
}

.dropdown-trigger:hover {
  color: var(--primary);
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background: rgba(0, 189, 134, 0.1);
  color: var(--primary);
}

.phone-cta-highlight {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 189, 134, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.phone-cta-highlight:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 189, 134, 0.4);
}

.phone-cta-highlight svg {
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn-glass {
  padding: 10px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--primary);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 189, 134, 0.2);
}

.btn-primary {
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  background: var(--primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0, 189, 134, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 189, 134, 0.4);
}

.btn-secondary {
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
  transition: all 0.3s ease;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: visible;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  overflow: hidden;
}

.hero-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Show desktop video on desktop, hide on mobile */
.hero-video-desktop {
  display: block;
}

.hero-video-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* Hide desktop video, show mobile video on mobile */
  .hero-video-desktop {
    display: none;
  }
  
  .hero-video-mobile {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
  }
}

/* Overlay for text readability */
.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
  z-index: 1;
  pointer-events: none;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  width: 100%;
}

.hero-content-left {
  flex: 1;
  max-width: 600px;
  text-align: left;
  position: relative;
  z-index: 50;
  will-change: auto;
}

/* Sleek Trust Badge */
.trust-badge-sleek {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust-badge-sleek .stars {
  color: #FFA500;
  font-size: 0.85rem;
  line-height: 1;
}

.trust-badge-sleek .google-icon {
  flex-shrink: 0;
  margin-left: 2px;
}

/* Large Hero Title - Mint Style */
.hero-title-large {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9), 
               0 6px 20px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hero-title-large .text-primary-color {
  color: var(--primary);
}

/* Large Hero Description */
.hero-description-large {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 32px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 
               0 4px 12px rgba(0, 0, 0, 0.5);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Big CTA Button - Mint Style */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 189, 134, 0.4);
  transition: all 0.3s ease;
}

.btn-hero-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 189, 134, 0.5);
}

.btn-hero-cta svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-hero-cta:hover svg {
  transform: translateX(4px);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  opacity: 0.6;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- Social Proof ---------- */
.social-proof {
  padding: 60px 24px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 32px 24px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ---------- Sections ---------- */
section {
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
  text-align: center;
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

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

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.service-link:hover {
  opacity: 0.7;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature {
  padding: 32px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  padding: 32px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.process-step p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 80px 24px;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact Form ---------- */
.contact-section {
  padding: 80px 24px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
}

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

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

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 189, 134, 0.1);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea {
  background: rgba(30, 30, 30, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

/* ---------- Before & After Gallery ---------- */
.before-after-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

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

/* ---------- FAQ Section ---------- */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  color: var(--text-primary);
  gap: 20px;
}

.faq-q:hover {
  color: var(--primary);
}

.faq-q span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-q span::after {
  content: '+';
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.faq-q[aria-expanded="true"] span::after {
  content: '−';
}

.faq-q[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq-q {
    font-size: 1rem;
    padding: 16px 20px;
  }
  
  .faq-a-inner {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }
}

/* ---------- Footer ---------- */
.footer {
  margin: 80px 24px 24px;
  border-radius: var(--radius-xl);
  padding: 60px 40px 24px;
}

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

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 700;
}

.footer-col p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-rating .stars {
  color: #FFA500;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-social {
  text-align: center;
  padding: 1.5rem 0;
}

.footer-social h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glass-bg, rgba(255,255,255,0.08));
  border: 1px solid var(--glass-border, rgba(255,255,255,0.12));
  backdrop-filter: blur(10px);
  transition: transform 0.2s, background 0.2s;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(0, 189, 134, 0.15);
}

.social-links img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.sun-icon,
.moon-icon {
  position: absolute;
  transition: all 0.3s ease;
}

[data-theme="light"] .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(180deg);
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* ---------- Floating Action Buttons ---------- */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 189, 134, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 8px;
}

.floating-phone-btn {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  align-self: flex-end;
}

.floating-quote-btn {
  /* Inherits from .floating-btn */
}

.floating-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 189, 134, 0.5);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.floating-quote-btn svg {
  transition: transform 0.3s ease;
}

.floating-quote-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  
  .floating-btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  
  .floating-phone-btn {
    width: 60px;
    height: 60px;
  }
  
  .floating-phone-btn svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  
  .glass-nav {
    top: 12px;
    width: calc(100% - 24px);
    padding: 12px 20px;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu,
  .phone-cta-highlight {
    display: none;
  }
  
  .logo-icon {
    height: 32px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .hero-split {
    flex-direction: column;
    gap: 40px;
  }
  
  .hero-content-left {
    max-width: 100%;
    padding-right: 16px;
  }
  
  .hero-form {
    width: 100%;
    max-width: 390px;
    margin: 0;
  }
  
  .hero {
    min-height: 80vh;
    padding: 100px 16px 60px;
  }
  
  .hero-title-large {
    font-size: 2rem;
    padding-right: 8px;
    margin-bottom: 16px;
  }
  
  .hero-description-large {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .trust-badge-sleek {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .btn-hero-cta {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  .service-options {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .services-grid,
  .features-grid,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Make service cards more compact on mobile */
  .service-card {
    padding: 20px;
  }
  
  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .service-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  
  /* Make feature cards more compact on mobile */
  .feature {
    padding: 20px;
  }
  
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }
  
  .feature h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .feature p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Make process steps more compact on mobile */
  .process-step {
    padding: 20px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .process-step p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary {
    width: 100%;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.feature,
.process-step,
.stat {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* ---------- Hero Glass Form ---------- */
.hero-form {
  width: 550px;
  flex-shrink: 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
}

[data-theme="dark"] .hero-form {
  background: rgba(30, 30, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.4s ease-out;
  min-height: 400px;
}

@media (max-width: 768px) {
  .form-step.active {
    min-height: 500px;
  }
}

.form-step-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .form-step-title {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.form-step-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

[data-theme="dark"] .form-step-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Service Options Grid */
.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.service-option {
  position: relative;
  cursor: pointer;
}

.service-option input[type="checkbox"],
.service-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  text-align: center;
}

.service-option:hover .option-content {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.service-option input:checked + .option-content {
  background: rgba(0, 189, 134, 0.3);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 189, 134, 0.2);
}

.option-icon {
  font-size: 2rem;
  line-height: 1;
}

.option-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

[data-theme="dark"] .option-text {
  color: white;
}

/* Frequency Options */
.frequency-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.frequency-card {
  position: relative;
  cursor: pointer;
  padding: 16px 14px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Make 5th card (Year-Round) full width at bottom */
.frequency-card:nth-child(5) {
  grid-column: 1 / -1;
}

.frequency-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.frequency-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.frequency-card input:checked ~ .frequency-content,
.frequency-card:has(input:checked) {
  background: rgba(0, 189, 134, 0.3);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 189, 134, 0.2);
}

.frequency-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.frequency-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2px;
}

.frequency-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.frequency-savings {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.frequency-savings.save-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  align-self: flex-start;
}

.frequency-cadence {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.frequency-benefits {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex: 1;
}

.frequency-benefits span {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
}

.frequency-card.popular {
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: white;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
  z-index: 10;
}

.expensive-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #FF9800;
  font-weight: 600;
  font-size: 0.8rem;
  opacity: 0.9;
}

[data-theme="dark"] .frequency-name {
  color: white;
}

[data-theme="dark"] .frequency-cadence,
[data-theme="dark"] .frequency-benefits {
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile Frequency Layout */
@media (max-width: 768px) {
  .frequency-options {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    max-width: 100%;
  }
  
  .frequency-card {
    min-height: auto;
    padding: 12px 10px;
  }
  
  /* Make 5th card (Year-Round) full width at bottom */
  .frequency-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  
  .frequency-header {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
  }
  
  .frequency-name {
    font-size: 0.95rem;
  }
  
  .frequency-savings {
    font-size: 0.7rem;
  }
  
  .frequency-savings.save-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  
  .frequency-cadence {
    padding-bottom: 5px;
    font-size: 0.75rem;
  }
  
  .frequency-benefits {
    font-size: 0.7rem;
    gap: 3px;
  }
  
  .expensive-badge-inline {
    font-size: 0.7rem;
  }
  
  .popular-badge {
    top: -8px;
    right: 10px;
    padding: 3px 8px;
    font-size: 0.6rem;
  }
}

/* Form Inputs */
.hero-form input[type="text"],
.hero-form input[type="tel"],
.hero-form input[type="email"],
.hero-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  color: #1a1a1a;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 189, 134, 0.2);
}

[data-theme="dark"] .hero-form input,
[data-theme="dark"] .hero-form textarea {
  background: rgba(40, 40, 40, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

[data-theme="dark"] .hero-form input::placeholder,
[data-theme="dark"] .hero-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Form Buttons */
.btn-form-next,
.btn-form-back,
.btn-form-submit {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-form-next,
.btn-form-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 189, 134, 0.3);
}

.btn-form-next:hover,
.btn-form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 189, 134, 0.4);
}

.btn-form-back {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-form-back:hover {
  background: rgba(255, 255, 255, 0.15);
}

.form-step-buttons {
  display: flex;
  gap: 12px;
}

.form-step-buttons .btn-form-back {
  flex: 0 0 100px;
}

.form-step-buttons .btn-form-next,
.form-step-buttons .btn-form-submit {
  flex: 1;
}

/* Success State */
.form-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0, 189, 134, 0.4);
}

.form-success h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.form-success p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}


/* ---------- Pane Explainer ---------- */
.pane-explainer {
  background: rgba(0, 189, 134, 0.15);
  border: 2px solid rgba(0, 189, 134, 0.3);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.pane-visual {
  margin-bottom: 12px;
}

.pane-note {
  color: white;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.pane-note small {
  display: block;
  margin-top: 4px;
  opacity: 0.9;
  font-size: 0.85rem;
}

.pane-note strong {
  color: var(--primary);
  font-weight: 700;
}

/* ---------- File Upload Styling ---------- */
.upload-label {
  display: block;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 16px;
}

.upload-label:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
}

.upload-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.upload-text {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.upload-hint {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.upload-input {
  display: none;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.preview-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------- Bottom Contact Form ---------- */
.contact-section {
  padding: 80px 24px;
}

.contact-form-wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.contact-form-bottom {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.contact-form-bottom .service-options {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .contact-form-bottom {
    max-width: 390px;
  }
  
  .contact-form-bottom .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ---------- Before/After Gallery ---------- */
.before-after-section {
  padding: 5rem 0;
}

.before-after-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.before-after-section .section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.before-after-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.before-after-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.before-after-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.before-after-label.label-before {
  background: rgba(220, 53, 69, 0.75);
  color: #fff;
}

.before-after-label.label-after {
  background: rgba(0, 189, 134, 0.8);
  color: #fff;
}

.before-after-subtitle {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Service Page Hero */
.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.service-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.service-hero .hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.service-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 32px;
}

.service-badge {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .service-hero {
    min-height: 60vh;
    padding: 100px 0 60px;
  }
  
  .service-hero-badges {
    gap: 8px;
    margin: 16px 0 24px;
  }
  
  .service-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 600px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

/* Checkbox styling for flip pricing card forms */
.flip-contact-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  cursor: pointer;
}

.flip-contact-form label {
  cursor: pointer;
  transition: opacity 0.2s;
}

.flip-contact-form label:hover {
  opacity: 0.8;
}

/* Multi-step flip card forms */
.flip-contact-form .form-step {
  display: none;
}

.flip-contact-form .form-step.active {
  display: block;
}

.flip-contact-form .form-step-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.flip-contact-form .form-step-buttons .btn-form-back {
  background: transparent;
  border: 1px solid var(--border-color, rgba(255,255,255,0.2));
  color: var(--text-primary);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
}

.flip-contact-form .form-step-buttons .btn-plan {
  flex: 1;
}

.flip-step-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.flip-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.flip-checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.flip-success-message {
  text-align: center;
  padding: 1.5rem 0;
}

.flip-success-message .success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.flip-success-message p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
