/* ==========================================================================
   E V LANDSCAPE - MASTER PRODUCTION STYLESHEET
   CSLB Licensed Contractor #1071473 | Owner: Enrique Velazquez
   Direct Click-to-Call: (408) 202-8644
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Botanical Green Palette */
  --color-brand-primary: #76b32b;        /* Deep Botanical Green */
  --color-brand-primary-hover: #5a8c1e;  /* Rich Forest Green */
  --color-brand-dark: #4a7318;           /* Deep Emerald */
  --color-brand-light: #f4fae8;          /* Subtle Mint Wash */
  --color-brand-border: #c8e89a;         /* Crisp Botanical Border */
  --color-brand-accent: #8fca3a;         /* Vivid Leaf Green */
  --color-brand-glow: rgba(118, 179, 43, 0.2);

  /* 100% Solid Foundations (Strictly NO glassmorphism / zero translucent overlays) */
  --color-bg-base: #ffffff;              /* Solid White Base */
  --color-bg-alt: #f8fafc;               /* Slate Light */
  --color-bg-card: #ffffff;              /* Solid Card White */
  --color-bg-dark: #0f172a;              /* Solid Deep Charcoal Slate */
  --color-bg-dark-card: #1e293b;         /* Solid Dark Slate Card */

  /* High-Contrast Text */
  --color-text-main: #0f172a;            /* 100% Contrast Slate Charcoal */
  --color-text-muted: #475569;           /* Refined Slate Gray */
  --color-text-light: #64748b;           /* Muted Slate */
  --color-text-white: #ffffff;           /* Pure White */
  --color-border: #e2e8f0;               /* Clean Border */
  --color-border-strong: #cbd5e1;        /* Crisp Structural Border */
  --color-gold: #f59e0b;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  /* Layout & Spacing ("Khul-Khula" Airy Spacing) */
  --max-width: 1240px;
  --header-top-height: 40px;
  --header-nav-height: 80px;
  --header-total-height: 120px;
  --header-actual-height: 120px;
  --section-padding-y: 96px;
  --container-padding-x: 24px;

  /* Elevated Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.14);
  --shadow-green: 0 12px 30px -6px rgba(118, 179, 43, 0.35);

  /* Fluid Transitions (Snappy & High-End) */
  --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-snappy);
  --transition-normal: 0.3s var(--ease-snappy);
  --transition-smooth: 0.4s var(--ease-snappy);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. RESET & FOUNDATIONS (ZERO HORIZONTAL OVERFLOW STRICT)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-actual-height, 120px) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-main);
  letter-spacing: -0.025em;
  line-height: 1.18;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.75rem); }
h4 { font-size: 1.18rem; font-weight: 600; }

p {
  color: var(--color-text-muted);
  line-height: 1.72;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
  max-width: 100%;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
  box-sizing: border-box;
}

.section {
  padding-block: var(--section-padding-y);
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-header.text-left {
  text-align: left;
  margin-inline: 0;
}

.section-title {
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 660px;
  margin-inline: auto;
}

.section-header.text-left .section-desc {
  margin-inline: 0;
}

/* --------------------------------------------------------------------------
   3. SOLID HIGH-CONTRAST BADGES & BUTTONS (NO TRANSLUCENT OVERLAYS)
   -------------------------------------------------------------------------- */
.badge-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--color-brand-primary);
  border: 1.5px solid var(--color-brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  line-height: 1.35;
}

.badge-solid.badge-green {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  border-color: var(--color-brand-primary);
}

.badge-solid.badge-dark {
  background-color: var(--color-bg-dark);
  color: #ffffff;
  border-color: var(--color-bg-dark);
}

.badge-solid svg, .badge-solid i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 48px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--color-brand-primary);
}

.btn-primary:hover {
  background-color: var(--color-brand-primary-hover);
  border-color: var(--color-brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-brand-primary);
  border: 1.5px solid #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--color-brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-brand-primary-hover);
}

/* Top-Right Phone Button (Strict Requirement: Single Horizontal Line, Never Breaks) */
.btn-phone-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  min-height: 44px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--color-brand-primary);
  transition: all var(--transition-fast);
}

.btn-phone-header:hover {
  background-color: var(--color-brand-primary-hover);
  border-color: var(--color-brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. STICKY HEADER SYSTEM (CLEAN STACKING & NO OVERLAP)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-normal);
  box-sizing: border-box;
}

/* Top Announcement / License Trust Bar */
.header-top-bar {
  background-color: var(--color-bg-dark);
  color: #ffffff;
  font-size: 0.8rem;
  min-height: var(--header-top-height);
  height: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding-block: 6px;
  width: 100%;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.top-bar-license-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #86efac;
  font-weight: 600;
  transition: color var(--transition-fast);
  line-height: 1.35;
}

.top-bar-license-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #94a3b8;
}

/* Main Navigation Bar */
.header-nav-bar {
  height: var(--header-nav-height);
  border-bottom: 1px solid var(--color-border);
  background-color: #ffffff;
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

/* Brand Identity */
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Desktop Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand-primary);
  background-color: var(--color-brand-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--color-text-main);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-actual-height, var(--header-total-height));
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  padding: 12px 16px;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION WITH BACKGROUND VIDEO & HIGH-CONTRAST LAYOUT
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  padding-top: calc(var(--header-actual-height, var(--header-total-height)) + 36px);
  padding-bottom: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-bg-dark);
  box-sizing: border-box;
}

/* Video Layer */
.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Soft, subtle left gradient behind text (NO heavy wash out) */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.68) 42%,
    rgba(15, 23, 42, 0.25) 78%,
    rgba(15, 23, 42, 0.05) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.hero-badge-wrap {
  margin-bottom: 22px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero-title .title-accent {
  color: #a3d65c;
  display: block;
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. TRUST BAR SECTION (4 CORE PILLARS)
   -------------------------------------------------------------------------- */
.trust-bar-section {
  background-color: #ffffff;
  padding-block: 40px;
  border-bottom: 1px solid var(--color-border);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-brand-light);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-brand-border);
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. ABOUT SECTION (LIBERATO ACEVEDO & CRAFTSMANSHIP)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content {
  position: relative;
}

.about-narrative {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 36px;
}

.about-stat-card {
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-primary);
}

.about-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* About Media / Image Card */
.about-image-wrapper {
  position: relative;
  width: 100%;
}

.about-card-3d {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  transform-style: preserve-3d;
  transition: transform var(--transition-fast);
  width: 100%;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
}

/* Floating Solid Badge on Photo */
.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: #ffffff;
  border: 1.5px solid var(--color-brand-primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  z-index: 10;
}

.floating-badge-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-brand-primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.floating-badge-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   8. SERVICES GRID SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-brand-border);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--color-brand-light);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--color-brand-border);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background-color: var(--color-brand-primary);
  color: #ffffff;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-main);
  font-weight: 600;
}

.service-feature-item svg {
  color: var(--color-brand-primary);
  flex-shrink: 0;
}

.service-card-action {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   9. INTERACTIVE BEFORE / AFTER TRANSFORMATION SLIDER
   -------------------------------------------------------------------------- */
.transformation-section {
  background-color: #ffffff;
}

.slider-container {
  --slider-width-px: 100%;
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--color-border);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background-color: #0f172a;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider-after-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.slider-after-layer .slider-img {
  width: var(--slider-width-px, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* 100% Solid Before / After Labels */
.slider-label {
  position: absolute;
  top: 24px;
  z-index: 5;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  white-space: nowrap;
}

.label-before {
  right: 24px;
  background-color: #ffffff;
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border);
}

.label-after {
  left: 24px;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  border: 1.5px solid var(--color-brand-primary);
}

/* Slider Handle */
.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  border: 3px solid var(--color-brand-primary);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: grab;
  transition: transform var(--transition-fast);
}

.slider-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--color-brand-primary);
}

/* --------------------------------------------------------------------------
   10. NEAT SYMMETRICAL GALLERY SECTION
   -------------------------------------------------------------------------- */
.gallery-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 22px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  border-color: var(--color-brand-primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.gallery-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f1f5f9;
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-snappy);
}

.gallery-item:hover .gallery-image-box img {
  transform: scale(1.05);
}

/* 100% Solid Card Footer */
.gallery-card-info {
  background-color: #ffffff;
  padding: 20px 22px;
  border-top: 1px solid var(--color-border);
}

.gallery-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-primary);
  margin-bottom: 6px;
}

.gallery-project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.gallery-project-location {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(15, 23, 42, 0.95);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background-color: #0f172a;
}

.lightbox-caption {
  padding: 20px 28px;
  background-color: #ffffff;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color var(--transition-fast);
}

.lightbox-close-btn:hover {
  background-color: var(--color-brand-primary);
}

/* --------------------------------------------------------------------------
   11. INSTANT COST ESTIMATOR (MOBILE RESPONSIVE & COMPLETE TEXT DISPLAY)
   -------------------------------------------------------------------------- */
.estimator-card {
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 48px;
  max-width: 1000px;
  margin-inline: auto;
  width: 100%;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.estimator-form-group {
  margin-bottom: 28px;
}

.estimator-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

/* Service Options Grid */
.service-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.service-pill-btn {
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  min-height: 52px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.service-pill-btn svg {
  flex-shrink: 0;
}

.service-pill-btn span {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.service-pill-full {
  grid-column: span 2;
}

.service-pill-btn.active, .service-pill-btn:hover {
  background-color: var(--color-brand-light);
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
}

/* Range Slider */
.slider-range-wrap {
  position: relative;
  margin-top: 14px;
}

.custom-range-slider {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 0;
  margin: 8px 0;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
}

.custom-range-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
}

.range-values-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  font-weight: 600;
  gap: 8px;
  flex-wrap: wrap;
}

.range-current-val {
  color: var(--color-brand-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Add-ons Checkboxes */
.addon-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  font-size: 0.9rem;
  color: var(--color-text-main);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  gap: 12px;
}

.addon-checkbox-label:hover {
  border-color: var(--color-brand-primary);
}

.addon-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.addon-price-tag {
  font-weight: 700;
  color: var(--color-brand-primary);
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Estimator Live Result Summary Box */
.estimator-result-card {
  background-color: var(--color-bg-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
  width: 100%;
}

.result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.result-badge {
  display: inline-block;
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.result-price-box {
  margin-bottom: 18px;
}

.price-title-label {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.price-big-number {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6.5vw, 2.8rem);
  font-weight: 700;
  color: #a3d65c;
  line-height: 1.15;
  word-break: break-word;
}

.price-type-note {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.result-feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.result-feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-feature-bullets svg {
  color: #a3d65c;
  flex-shrink: 0;
}

.result-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   12. CONTACT FORM & DIRECT DETAILS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-solid {
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-card-solid:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-primary);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--color-brand-light);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-brand-border);
}

.contact-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  overflow-wrap: break-word;
}

/* Form Styling */
.contact-form-card {
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-text-main);
  font-size: 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 4px var(--color-brand-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  min-height: 52px;
}

.form-success-msg {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  background-color: var(--color-brand-light);
  border: 1.5px solid var(--color-brand-border);
  color: var(--color-brand-primary-hover);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. FOOTER SECTION
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-bg-dark);
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-bio {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 360px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #a3d65c;
}

.footer-license-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
}

.footer-license-title {
  color: #a3d65c;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-license-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-bar a {
  color: #94a3b8;
}

.footer-bottom-bar a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   14. MOBILE STICKY ACTION BAR (< 768px)
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  background-color: #ffffff;
  border-top: 1.5px solid var(--color-border);
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 999;
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
}

.mobile-sticky-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin-inline: auto;
}

.mobile-sticky-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

.mobile-call-btn {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.mobile-quote-btn {
  background-color: #ffffff;
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border-strong);
}

/* --------------------------------------------------------------------------
   15. 3D MOTIONS, SCROLL REVEALS & MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s var(--ease-snappy), transform 0.4s var(--ease-snappy);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-snappy), box-shadow 0.25s var(--ease-snappy);
  will-change: transform;
}

/* --------------------------------------------------------------------------
   16. COMPREHENSIVE RESPONSIVE BREAKPOINTS (ZERO ERRORS ON ANY SCREEN)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-top-height: 38px;
    --header-nav-height: 72px;
    --header-total-height: 110px;
    --section-padding-y: 80px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .estimator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-top-height: auto;
    --header-nav-height: 68px;
    --header-total-height: 112px;
    --section-padding-y: 64px;
    --container-padding-x: 16px;
  }

  /* Header Top Notification Bar on Mobile */
  .header-top-bar {
    padding-block: 8px;
  }

  .header-top-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-license-link {
    font-size: 0.76rem;
    justify-content: center;
    text-align: center;
  }

  .header-top-bar .top-bar-info {
    display: none;
  }

  /* Sticky Header on mobile: hide phone in header to prevent squeeze; bottom sticky bar handles it */
  .header-actions .btn-phone-header {
    display: none;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 145px;
  }

  /* Hero adjustments */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-actual-height, 112px) + 32px);
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px 22px;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-filter-btn {
    padding: 8px 16px;
    min-height: 42px;
    font-size: 0.84rem;
  }

  /* Transformation Slider on Mobile */
  .slider-container {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
  }

  /* Prevent Before / After labels from colliding */
  .slider-label {
    padding: 6px 14px;
    font-size: 0.72rem;
  }

  .label-before {
    top: 12px;
    right: 12px;
  }

  .label-after {
    top: auto;
    bottom: 12px;
    left: 12px;
  }

  .slider-handle {
    width: 42px;
    height: 42px;
  }

  /* ESTIMATOR CRITICAL MOBILE FIXES: Vertical stack, no text cutoff, centered results */
  .estimator-card {
    padding: 26px 16px;
    border-radius: var(--radius-lg);
  }

  .service-pills-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .service-pill-btn {
    grid-column: auto !important;
    width: 100%;
    padding: 14px 16px;
    font-size: 0.92rem;
    min-height: 52px;
    white-space: normal !important;
    word-break: normal;
  }

  .service-pill-full {
    grid-column: auto !important;
  }

  .estimator-result-card {
    padding: 28px 18px;
    text-align: center;
    border-radius: var(--radius-md);
  }

  .result-header {
    text-align: center;
  }

  .result-badge {
    margin-inline: auto;
  }

  .price-big-number {
    font-size: clamp(1.85rem, 6.5vw, 2.8rem);
    text-align: center;
  }

  .result-feature-bullets {
    text-align: left;
    max-width: 100%;
    margin-inline: auto;
  }

  .result-cta-wrap .btn {
    width: 100%;
    min-height: 50px;
  }

  /* About Floating Badge on Mobile (Flow naturally below photo) */
  .about-floating-badge {
    position: static;
    max-width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
  }

  /* Contact Form Mobile Fixes */
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-card {
    padding: 26px 18px;
    border-radius: var(--radius-lg);
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-bar {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  /* Show mobile sticky action bar */
  .mobile-sticky-bar {
    display: block;
  }

  /* Add padding to body so sticky bar does not overlap footer content */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .badge-solid {
    font-size: 0.72rem;
    padding: 6px 14px;
    letter-spacing: 0.08em;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .range-values-display {
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .header-nav-inner {
    gap: 8px;
  }
  .brand-logo-link {
    gap: 8px;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-license-sub {
    font-size: 0.65rem;
  }
  .top-bar-license-link {
    font-size: 0.72rem;
  }
}
