/* -------------------------------------------------------------------
   MATEO LANDSCAPING LLC - LUXURY LIGHT THEME & 3D ANIMATION SYSTEM
   ------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Premium Light-Dark Charcoal Slate & Metallic Gold */
  --bg-dark: #1A1E26;
  /* Rich charcoal slate page background */
  --bg-darker: #13161D;
  /* Contrast charcoal background */
  --bg-surface: #222732;
  /* Elevated charcoal surface background */
  --bg-card: #2A303D;
  /* Luxury slate card surface */
  --bg-card-hover: #333B4B;
  /* Slate card hover surface */

  --gold-primary: #D4AF37;
  /* Rich metallic champagne gold */
  --gold-light: #F3E5AB;
  /* Light champagne gold text accent */
  --gold-muted: #B38F29;
  /* Muted gold tint */
  --sand-tone: #C5A059;
  /* Warm bronze gold tone */
  --copper-tone: #A67C52;
  /* Copper accent */

  --text-main: #FFFFFF;
  /* Crisp bright white text */
  --text-muted: #CBD5E1;
  /* Soft readable slate-light body text */
  --text-dim: #94A3B8;
  /* Clear muted text */

  --border-color: rgba(212, 175, 55, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.35);

  --font-heading: 'Times New Roman', Times, serif;
  --font-body: 'Times New Roman', Times, serif;
  --font-accent: 'Times New Roman', Times, serif;

  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transform: translateY(6px);
  animation: pageEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageEntrance {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

/* Smooth Page Exit Animation */
body.page-exiting {
  opacity: 0 !important;
  transform: translateY(-6px) !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ===================================================================
   SCROLL-REVEAL ANIMATION UTILITIES
   Used by IntersectionObserver in main.js
   =================================================================== */

/* Base hidden states */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible state (added by IntersectionObserver) */
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delay helpers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.text-gold {
  color: var(--gold-primary);
  background: linear-gradient(135deg, #F3E5AB 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  color: #FFFFFF;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top License & Trust Bar */
.top-trust-bar {
  background: #13161D;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.top-trust-container {
  max-width: 100% !important;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust-license-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  font-weight: 600;
  font-family: var(--font-accent);
  letter-spacing: 0.5px;
}

.trust-quick-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trust-quick-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.trust-quick-links a:hover {
  color: var(--gold-primary);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
  background: rgba(26, 30, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
  background: rgba(26, 30, 38, 0.98);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 100% !important;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 3.8vw, 1.35rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  transition: var(--transition);
}

.phone-link:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #B38F29 100%);
  color: #0A0C0E;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.mobile-toggle {
  display: none;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 12px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.mobile-toggle:hover,
.mobile-toggle.active {
  background: var(--gold-primary);
  color: #0A0C0E;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 12, 14, 0.45) 0%,
      rgba(10, 12, 14, 0.25) 50%,
      rgba(10, 12, 14, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 18, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-badge i {
  color: var(--gold-primary);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.08;
  color: #FFFFFF;
}

.hero p.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #F1F5F9;
  margin-bottom: 40px;
  max-width: 720px;
  line-height: 1.6;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.95);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-secondary {
  background: var(--bg-surface);
  color: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===================================================================
   SERVICE MATRIX (Split Master-Detail Interactive Showcase)
   =================================================================== */
.service-matrix-section {
  padding: 100px 0 120px 0;
  background: #14171E;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ===================================================================
   SERVICES CATALOG & CATEGORY FILTERING STYLES
   =================================================================== */
.services-intro-box {
  max-width: 850px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.services-intro-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #E2E8F0;
  line-height: 1.7;
  margin-top: 16px;
}

.services-filter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: #222733;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.filter-btn i {
  color: var(--gold-primary);
  font-size: 0.95rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.filter-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.filter-btn:hover i {
  transform: scale(1.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
  color: #050608;
  border-color: #FFE680;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5), 0 0 15px rgba(255, 215, 0, 0.4);
  font-weight: 800;
  transform: translateY(-2px);
}

.filter-btn.active i {
  color: #050608;
}

.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 70px;
}

.service-catalog-card {
  background: #1A1E26;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.service-catalog-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.service-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-primary);
  transition: all 0.3s ease;
}

.service-catalog-card:hover .service-card-icon {
  background: var(--gold-primary);
  color: #0D0F12;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.service-cat-pill {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-catalog-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-catalog-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-catalog-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.service-catalog-cta i {
  transition: transform 0.25s ease;
}

.service-catalog-card:hover .service-catalog-cta {
  color: #FFFFFF;
}

.service-catalog-card:hover .service-catalog-cta i {
  transform: translateX(4px);
}

.service-catalog-card.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .services-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


.matrix-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.matrix-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.matrix-header-left {
  display: flex;
  flex-direction: column;
}

.matrix-tag {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.matrix-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.5px;
}

.matrix-index-tag {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Matrix Layout Container */
.service-matrix-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1D212A;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* Left Sidebar List */
.matrix-sidebar {
  display: flex;
  flex-direction: column;
  background: #1A1E26;
  border-right: 1px solid var(--border-color);
  max-height: 560px;
  overflow-y: auto;
}

.matrix-sidebar::-webkit-scrollbar {
  width: 6px;
}

.matrix-sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.matrix-sidebar::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 3px;
}

.matrix-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

.matrix-item.hidden {
  display: none !important;
}

.matrix-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  background: transparent;
  user-select: none;
}

.matrix-item:last-child {
  border-bottom: none;
}

.matrix-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.matrix-item-num {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.matrix-item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.matrix-item-arrow {
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: transform 0.3s ease, color 0.3s ease;
}

.matrix-item:hover .matrix-item-title {
  color: #FFFFFF;
}

.matrix-item:hover .matrix-item-arrow {
  color: var(--gold-primary);
  transform: translate(2px, -2px);
}

/* Active List Item State (Matching reference white background card) */
.matrix-item.active {
  background: #FFFFFF !important;
  color: #0A0C0E !important;
}

.matrix-item.active .matrix-item-num {
  color: var(--gold-dark) !important;
}

.matrix-item.active .matrix-item-title {
  color: #0A0C0E !important;
  font-weight: 700 !important;
}

.matrix-item.active .matrix-item-arrow {
  color: #0A0C0E !important;
  transform: rotate(45deg) !important;
  /* Points down-right ↘ */
}

/* Right Dynamic Display Showcase */
.matrix-display {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}

.matrix-display-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(9, 12, 10, 0.4) 0%,
      rgba(9, 12, 10, 0.85) 60%,
      rgba(9, 12, 10, 0.98) 100%);
  z-index: 1;
}

.matrix-display-content {
  position: relative;
  z-index: 2;
}

.matrix-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.matrix-badge {
  background: rgba(10, 12, 14, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.matrix-display-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.1;
}

.matrix-display-desc-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
  max-width: 680px;
}

.matrix-accent-bar {
  width: 3px;
  height: 48px;
  background: var(--gold-primary);
  flex-shrink: 0;
  border-radius: 2px;
}

.matrix-display-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Bottom Stats Bar Inside Feature Panel */
.matrix-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 24px;
  flex-wrap: wrap;
}

.matrix-stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.matrix-stat-lbl {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.matrix-stat-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.matrix-bars {
  display: flex;
  gap: 4px;
}

.matrix-bar {
  width: 14px;
  height: 4px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.matrix-bar.empty {
  background: rgba(255, 255, 255, 0.15);
}

.matrix-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: var(--transition);
}

.matrix-cta-btn:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .service-matrix-container {
    grid-template-columns: 1fr;
  }

  .matrix-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .matrix-display {
    padding: 32px 24px;
    min-height: 450px;
  }
}

/* ===================================================================
   ANIMATION FEATURE 1: 3D TILT & HOVER DEPTH FOR PORTFOLIO
   =================================================================== */
.gallery-section {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
  perspective: 1200px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
  will-change: transform;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(10, 12, 14, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
  transform: translateZ(40px);
  /* 3D layer lift */
  pointer-events: none;
}

.gallery-category {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F3E5AB;
  margin-bottom: 6px;
}

.gallery-title {
  font-size: 1.5rem;
  color: #FFF;
  margin-bottom: 8px;
}

.gallery-desc {
  font-size: 0.85rem;
  color: #E2E8F0;
  opacity: 0.9;
  margin-bottom: 14px;
}

.gallery-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 7px 14px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.gallery-card:hover .gallery-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/* ===================================================================
   INTERACTIVE ARIZONA NEIGHBORHOOD MAP SECTION
   =================================================================== */
.neighborhood-map-section {
  padding: 100px 0 0 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

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

.nbhd-map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 580px;
  border-top: 1px solid var(--border-subtle);
}

/* LEFT SVG Panel */
.nbhd-svg-panel {
  background: #0E1017;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
}

.nbhd-svg-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.az-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  overflow: visible;
}

/* Circular orbit rings */
.orbit-ring {
  fill: none;
  stroke-width: 1;
}

.orbit-ring-outer {
  stroke: rgba(212, 175, 55, 0.18);
  stroke-dasharray: 6 6;
}

.orbit-ring-inner {
  stroke: rgba(212, 175, 55, 0.1);
  stroke-dasharray: 4 8;
}

.orbit-ring-center {
  stroke: rgba(212, 175, 55, 0.22);
}

/* Spoke lines from center to pins */
.orbit-spoke {
  stroke: rgba(212, 175, 55, 0.14);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

/* Center hub */
.center-hub-fill {
  fill: rgba(212, 175, 55, 0.08);
  stroke: rgba(212, 175, 55, 0.3);
  stroke-width: 1.2;
}

.center-hub-label-top {
  font-family: var(--font-accent);
  font-size: 7px;
  font-weight: 700;
  fill: var(--gold-primary);
  text-anchor: middle;
  letter-spacing: 1px;
}

.center-hub-label-bot {
  font-family: var(--font-accent);
  font-size: 6px;
  font-weight: 600;
  fill: rgba(212, 175, 55, 0.7);
  text-anchor: middle;
  letter-spacing: 1px;
}

/* Map Pins */
.az-map-pin {
  cursor: pointer;
  outline: none;
}

.pin-pulse-ring {
  fill: none;
  stroke: var(--gold-primary);
  stroke-width: 1.2;
  opacity: 0;
  animation: pinPulseRing 2.8s ease-out infinite;
}

.pin-pulse-1 {
  animation-delay: 0s;
}

.pin-pulse-2 {
  animation-delay: 0.7s;
}

@keyframes pinPulseRing {
  0% { opacity: 0.6; r: 5; }
  100% { opacity: 0; r: 28; }
}

.pin-dot {
  fill: var(--gold-primary);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.8));
  transition: r 0.25s ease, fill 0.25s ease;
}

.az-map-pin:hover .pin-dot,
.az-map-pin.active .pin-dot {
  fill: #FFFFFF;
  r: 12;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.pin-label {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  fill: rgba(255, 255, 255, 0.6);
  text-anchor: middle;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: none;
  transition: fill 0.25s ease;
}

.az-map-pin:hover .pin-label,
.az-map-pin.active .pin-label {
  fill: #FFFFFF;
}

.az-map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 16px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
  animation: legendPulse 2s ease-in-out infinite;
}

@keyframes legendPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(212, 175, 55, 0.6); }
  50% { box-shadow: 0 0 14px rgba(212, 175, 55, 1); }
}

/* Stats bar below map */
.nbhd-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 40px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.nbhd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.nbhd-stat-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.nbhd-stat-lbl {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nbhd-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
  margin: 0 20px;
}

/* RIGHT Showcase Panel */
.nbhd-panel {
  background: #131720;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
}

/* Default empty panel state */
.nbhd-panel-default {
  text-align: center;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.nbhd-default-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 8px;
  animation: legendPulse 3s ease-in-out infinite;
}

.nbhd-panel-default h3 {
  font-size: 1.5rem;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
}

.nbhd-panel-default p {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 320px;
  line-height: 1.6;
}

.nbhd-default-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.nbhd-city-chip {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  cursor: default;
}

.nbhd-city-chip.active-pin-chip {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.06);
}

/* Active project card state */
.nbhd-panel-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: panelSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.nbhd-card-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.nbhd-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nbhd-panel-card:hover .nbhd-card-image-wrap img {
  transform: scale(1.04);
}

.nbhd-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(10,12,14,0.6) 100%);
}

.nbhd-card-badge-row {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nbhd-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 5px 12px;
  border-radius: 6px;
}

.nbhd-location-badge i { color: var(--gold-primary); }

.nbhd-projects-badge {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0A0C0E;
  background: var(--gold-primary);
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card body */
.nbhd-card-body {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #131720;
}

.nbhd-card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
}

.nbhd-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.nbhd-card-specs {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.nbhd-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nbhd-spec-item i {
  color: var(--gold-primary);
  font-size: 1rem;
}

.nbhd-spec-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.nbhd-spec-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.nbhd-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0A0C0E;
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  margin-top: auto;
}

.nbhd-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

@media (max-width: 900px) {
  .nbhd-map-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .nbhd-svg-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nbhd-panel {
    min-height: 480px;
  }
}

/* ===================================================================
   CINEMA-STYLE PROJECT SHOWCASE MODAL
   =================================================================== */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal-overlay.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.project-modal-drawer {
  background: #0F1219;
  width: 100%;
  max-height: 92vh;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  overflow-y: auto;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-overlay.is-open .project-modal-drawer {
  transform: translateY(0);
}

/* Modal top bar */
.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: #0F1219;
  z-index: 2;
}

.modal-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
}

.modal-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: rotate(90deg);
}

/* Carousel */
.modal-carousel-area {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #050608;
}

.modal-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.modal-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-carousel-counter {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* Content Row */
.modal-content-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 36px 40px;
  align-items: start;
}

.modal-project-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 16px;
}

.modal-project-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tag {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
}

/* Right specs panel */
.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.modal-spec-box {
  background: #1A1E26;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-spec-box i {
  color: var(--gold-primary);
  font-size: 1rem;
  margin-bottom: 2px;
}

.modal-spec-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.modal-spec-val {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
}

.modal-spec-wide {
  grid-column: 1 / -1;
}

.modal-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
  color: #050608;
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

.modal-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
  .modal-content-row {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }
  .modal-carousel-area {
    height: 280px;
  }
  .modal-specs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-top-bar {
    padding: 16px 20px;
  }
}

/* ===================================================================
   ANIMATION FEATURE 2: INTERACTIVE 3D BEFORE / AFTER SLIDER
   =================================================================== */
.before-after-section {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
}

.ba-slider-container {
  position: relative;
  max-width: 1000px;
  height: 520px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  user-select: none;
}

.ba-image-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-image-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-image-before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.ba-image-before img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.ba-badge {
  position: absolute;
  top: 24px;
  padding: 8px 18px;
  border-radius: 6px;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  backdrop-filter: blur(8px);
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.ba-badge-before {
  left: 24px;
  background: rgba(10, 12, 14, 0.85);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-badge-after {
  right: 24px;
  background: rgba(212, 175, 55, 0.9);
  color: #0A0C0E;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #FFFFFF;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #171A21;
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.ba-handle:hover .ba-handle-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-primary);
  color: #0A0C0E;
}

/* ===================================================================
   ANIMATION FEATURE 3: 3D MATERIAL SHOWCASE PERSPECTIVE CARD
   =================================================================== */
.materials-section {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
}

.materials-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.mat-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.mat-tab.active,
.mat-tab:hover {
  background: var(--gold-primary);
  color: #0A0C0E;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.mat-3d-scene {
  perspective: 1200px;
  max-width: 900px;
  margin: 0 auto;
}

.mat-3d-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.mat-3d-card.flipping {
  transform: rotateY(90deg) scale(0.95);
  opacity: 0;
}

.mat-img-wrap {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mat-details h3 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.mat-details p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.mat-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.spec-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.spec-title {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 4px;
}

.spec-val {
  font-weight: 700;
  color: var(--gold-primary);
  font-size: 1.1rem;
}

/* ===================================================================
   ANIMATION FEATURE 4: MULTI-STEP LEAD FORM SLIDER WIZARD
   =================================================================== */
.lead-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  position: relative;
}

.lead-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Form Progress Bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.wizard-progress-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-subtle);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: var(--gold-primary);
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.4s ease;
  width: 25%;
}

.step-node {
  position: relative;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.step-node.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0A0C0E;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.step-node.completed {
  background: #16A34A;
  border-color: #16A34A;
  color: #FFF;
}

/* Step Panels */
.form-step-panel {
  display: none;
  animation: fadeInStep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step-panel.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

.wizard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.btn-wizard-back {
  background: var(--bg-surface);
  color: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-wizard-back:hover {
  background: var(--bg-card);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Shared UI Form elements */
.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.form-label span.req {
  color: var(--gold-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: var(--bg-card);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Radio & Checkbox Grid Styling */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

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

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

.option-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 500;
}

.option-check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.option-card input[type="radio"]+.option-content .option-check {
  border-radius: 50%;
}

.option-card input:checked+.option-content {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #FFFFFF;
  font-weight: 600;
}

.option-card input:checked+.option-content .option-check {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}

.option-card input:checked+.option-content .option-check::after {
  content: '✓';
  color: #0A0C0E;
  font-size: 0.8rem;
  font-weight: bold;
  margin: 0 auto;
}

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

/* Why Choose Us */
.why-section {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
}

.why-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 24px;
}

.why-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #FFFFFF;
}

/* Trust Metrics Block */
.why-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.trust-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.trust-metric-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.trust-metric-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-metric-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.why-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.why-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.why-experience-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(23, 26, 33, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.badge-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.badge-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

/* FAQ SECTION (Positioned second last above footer) */
.faq-section {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
}

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

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item.active {
  border-color: var(--border-color);
  box-shadow: var(--shadow-hover);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

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

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--gold-primary);
  color: #0A0C0E;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px 28px;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px 0;
  color: var(--text-muted);
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
  font-weight: 500;
}

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

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
}

.contact-info-item i {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold-primary);
  color: #0A0C0E;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold-primary);
  color: #FFF;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===================================================================
   SERVICE AREA MAP SECTION - FULL VIEWPORT WIDTH WITH DEEP FADE
   =================================================================== */
.map-section {
  padding: 120px 0 290px 0;
  background: var(--bg-dark);
  position: relative;
  width: 100%;
}

/* Full Width Edge-to-Edge Container */
.map-fullwidth-box {
  position: relative;
  width: 100%;
  height: 680px;
  margin-top: 50px;
  background: #E8E5DF;
  overflow: visible;
}

.map-fullwidth-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: contrast(1.05) saturate(1.15) brightness(0.98);
}

/* Smooth Top Vignette */
.map-top-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom,
      rgba(10, 12, 14, 1) 0%,
      rgba(10, 12, 14, 0.5) 60%,
      rgba(10, 12, 14, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Deep Bottom Gradient Fade */
.map-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom,
      rgba(10, 12, 14, 0) 0%,
      rgba(10, 12, 14, 0.6) 40%,
      rgba(10, 12, 14, 0.95) 85%,
      rgba(10, 12, 14, 1) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Luxury Floating Center Card - Shifted 75% Down */
.map-floating-hero {
  position: absolute;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: calc(100% - 40px);
  max-width: 820px;
  background: rgba(23, 26, 33, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.map-floating-hero:hover {
  transform: translateX(-50%) translateY(-6px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}

.radar-ping-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.radar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  animation: radarPulse 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes radarPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.35;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.map-floating-hero h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.map-floating-hero p.map-hero-sub {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.city-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.city-pill:hover {
  background: var(--gold-primary);
  color: #0A0C0E;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.map-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.map-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-stat-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
}

.map-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .mat-3d-card {
    grid-template-columns: 1fr;
  }

  .why-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lead-wrapper {
    padding: 32px 24px;
  }

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

@media (max-width: 992px) {
  .nav-container {
    padding: 0 20px;
    min-height: 68px;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    transform: none !important;
    background: #12151A;
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    padding: 24px 28px;
    gap: 16px;
    align-items: stretch;
    display: none;
    z-index: 999;
  }

  .nav-links.active {
    display: flex !important;
    animation: navDropdownSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
  }

  .nav-links a:hover {
    color: var(--gold-primary);
    padding-left: 6px;
  }
}

@keyframes navDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .ba-slider-container {
    height: 360px;
  }

  .map-section {
    padding: 90px 0 280px 0;
  }

  .map-fullwidth-box {
    height: 540px;
  }

  .map-floating-hero {
    padding: 24px 20px;
    bottom: -210px;
    width: calc(100% - 32px);
  }

  .map-floating-hero h3 {
    font-size: 1.75rem;
  }

  .map-floating-hero p.map-hero-sub {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }

  .city-pills {
    gap: 6px;
    margin-bottom: 18px;
  }

  .city-pill {
    font-size: 0.76rem;
    padding: 6px 14px;
  }

  .map-stats-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 16px;
  }

  .map-stat-val {
    font-size: 1.25rem;
  }

  .map-stat-lbl {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
  }

  .brand-logo img {
    height: 36px;
  }

  .brand-name {
    font-size: clamp(0.85rem, 3.4vw, 1.1rem);
  }

  .brand-tagline {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    margin-left: 6px;
  }

  .map-section {
    padding: 70px 0 290px 0;
  }

  .map-fullwidth-box {
    height: 480px;
  }

  .map-floating-hero {
    padding: 20px 14px;
    bottom: -235px;
    width: calc(100% - 20px);
    border-radius: var(--radius-md);
  }

  .radar-ping-box {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .map-floating-hero h3 {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }

  .map-floating-hero p.map-hero-sub {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .city-pill {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
}

/* ===================================================================
   CONTINUOUS SLIDING REVIEWS MARQUEE (PAUSE ON HOVER)
   =================================================================== */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 40px 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
  will-change: transform;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.review-slide-card {
  width: 360px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.review-slide-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
  background: var(--bg-card-hover);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #12151A;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-info h4 {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: block;
}

.review-quote-mark {
  margin-left: auto;
  font-size: 1.8rem;
  color: rgba(212, 175, 55, 0.25);
}

.review-body-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.review-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.read-full-lbl {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* ===================================================================
   EDITORIAL LUXURY FOOTER (MATCHING USER REFERENCE DESIGN)
   =================================================================== */
.footer-editorial {
  background: #080A0C;
  color: #FFFFFF;
  padding: 80px 0 24px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.container-editorial {
  max-width: 100%;
  padding: 0 48px;
  margin: 0 auto;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.footer-touch-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 450px;
}

.footer-label {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-email-link {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 400;
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition);
  line-height: 1.1;
  word-break: break-all;
}

.footer-email-link:hover {
  color: var(--gold-primary);
}

.footer-phone-link {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: var(--transition);
}

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

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  padding: 0;
  width: fit-content;
}

.btn-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.back-to-top-btn:hover {
  color: #FFFFFF;
}

.back-to-top-btn:hover .btn-arrow-circle {
  background: var(--gold-primary);
  color: #0A0C0E;
  border-color: var(--gold-primary);
  transform: translateY(-4px);
}

/* Giant Serif Editorial Links Stack */
.footer-serif-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-serif-links a {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #8A92A2;
  text-decoration: none;
  line-height: 1.05;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.5px;
}

.footer-serif-links a:hover {
  color: #FFFFFF;
  transform: translateX(-12px);
}

/* Monumental Giant Typography */
.footer-monumental-wrap {
  padding: 60px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
  text-align: center;
}

.footer-monumental-text {
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 12vw, 13rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #FFFFFF 0%, #64748B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

/* Bottom Bar */
.footer-editorial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  flex-wrap: wrap;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

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

.footer-roc-tag {
  color: var(--gold-primary);
  font-weight: 700;
}

.footer-copy-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy-info p {
  margin: 0;
}

@media (max-width: 992px) {
  .container-editorial {
    padding: 0 24px;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-serif-links {
    align-items: flex-start;
  }

  .footer-serif-links a:hover {
    transform: translateX(12px);
  }

  .footer-editorial-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-copy-info {
    text-align: left;
  }
}