/* ==========================================================================
   URBANNEST LUXE — Premium Cinematic Interior Design System
   ========================================================================== 
   
   TABLE OF CONTENTS:
   1. DESIGN SYSTEM VARIABLES (:root)
   2. RESET & BASE STYLES
   3. TYPOGRAPHY SYSTEM
   4. LAYOUT SYSTEM & UTILITIES
   5. STICKY FLOATING GLASS NAVBAR
   6. MOBILE BOTTOM THUMB-NAVIGATION
   7. HERO ENTRANCE LOBBY (SECTION 1)
   8. IMMERSIVE SERVICE GRID (SECTION 2)
   9. BEFORE & AFTER TRANSFORMATION (SECTION 3)
   10. WHY URBANNEST ZIG-ZAG STORYTELLING (SECTION 4)
   11. PROJECT PORTFOLIO MASONRY GALLERY (SECTION 5)
   12. PRICING ESTIMATOR INTERACTIVE CONFIGURATOR (SECTION 7)
   13. PROCESS TIMELINE & SCROLL ENGAGEMENT (SECTION 8)
   14. TESTIMONIAL BOARD (SECTION 9)
   15. SPLIT CONSULTATION CTA & FORM (SECTION 10)
   16. DESIGN SERVICES MODAL OVERLAY
   17. SYSTEM UTILITIES, CUSTOM CURSOR, & COMPONENT OVERLAYS
   18. TRANSITIONS & DYNAMIC INTERACTION STATES
   19. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE BREAKPOINTS)
   ========================================================================== */

:root {
  /* Colors */
  --primary: #D2691E;         /* Terracotta Orange */
  --primary-dark: #A44E13;
  --primary-light: #E89B62;
  
  --secondary: #556B2F;       /* Deep Olive Green */
  --secondary-dark: #3F5122;
  --secondary-light: #7E9653;
  
  --tertiary: #C5A059;        /* Matte Gold */
  --tertiary-dark: #9C7A37;
  --tertiary-light: #E2C98D;
  
  --neutral: #1A1A1A;         /* Off-Black Charcoal */
  --neutral-light: #2B2B2B;
  --neutral-soft: #3A3A3A;
  
  --background: #F9F7F2;      /* Warm Stone/Beige */
  --background-dark: #121212;
  
  --surface: #FFFFFF;
  --surface-soft: #F2EEE8;
  --surface-dark: #1F1F1F;
  
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-light: rgba(255, 255, 255, 0.65);
  --glass-dark: rgba(0, 0, 0, 0.6);
  
  --text-primary: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-light: #FFFFFF;
  --text-muted: #8A8A8A;
  
  --border: #E7E1D8;
  --border-dark: #2A2A2A;
  
  --success: #6D8A47;
  --warning: #C5A059;
  --error: #C0392B;
  
  --overlay-dark: rgba(0, 0, 0, 0.45);
  --overlay-soft: rgba(0, 0, 0, 0.25);
  
  --shadow-warm: rgba(210, 105, 30, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.18);
  
  /* Typography Families */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Border Radius */
  --rounded-xs: 6px;
  --rounded-sm: 10px;
  --rounded-md: 16px;
  --rounded-lg: 24px;
  --rounded-xl: 32px;
  --rounded-xxl: 48px;
  --rounded-full: 9999px;
  
  /* Spacing System */
  --spacing-base: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 80px;
  --spacing-xxxl: 120px;
  
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 48px;
  
  --section-padding: 120px;
  --section-padding-mobile: 72px;
  
  --container-max: 1440px;
  --container-wide: 1680px;
  
  --navbar-height: 88px;
  --hero-spacing: 180px;
  
  /* Elevation & Shadows */
  --glass-blur: 24px;
  --shadow-soft: 0px 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-warm-glow: 0px 20px 60px rgba(210, 105, 30, 0.12);
  --shadow-cinematic: 0px 30px 80px rgba(0, 0, 0, 0.25);
  --shadow-floating: 0px 8px 30px rgba(0, 0, 0, 0.08);
  
  --border-soft: 1px solid rgba(255, 255, 255, 0.18);
  --border-dark: 1px solid rgba(255, 255, 255, 0.06);
  
  /* Motion & Animations */
  --duration-fast: 200ms;
  --duration-medium: 500ms;
  --duration-slow: 900ms;
  --duration-ultra: 1400ms;
  
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: ease;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.dark-mode {
  background-color: var(--background-dark);
  color: var(--text-light);
  --text-primary: #FFFFFF;
  --text-secondary: #C5C1B9;
  --border: var(--border-dark);
  --surface: var(--surface-dark);
}

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

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Custom premium scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--rounded-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--tertiary);
}

/* ==========================================================================
   TYPOGRAPHY CLASSES
   ========================================================================== */

.display-xl {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.display-lg {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.display-md {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.headline-lg {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.headline-md {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

.title-lg {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
}

.body-md {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.body-sm {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.label-lg {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-md {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}

/* Ambient glow particles */
.ambient-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: var(--rounded-full);
  background: radial-gradient(circle, rgba(210,105,30,0.08) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 1;
}

/* ==========================================================================
   BUTTON & INPUT COMPONENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 16px 36px;
  border-radius: var(--rounded-full);
  cursor: pointer;
  transition: all var(--duration-medium) var(--ease-premium);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-warm-glow);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0px 15px 40px rgba(210, 105, 30, 0.28);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.22);
  color: var(--text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.2);
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0px 12px 36px rgba(0, 0, 0, 0.25);
}

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

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--background);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.input-group {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.input-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.input-field {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--rounded-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.dark-mode .input-field {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-dark);
  color: var(--text-light);
}

.input-field:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.1);
}

/* ==========================================================================
   FLOATING GLASS NAVIGATION
   ========================================================================== */

.navbar-container {
  position: fixed;
  top: var(--spacing-md);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 var(--spacing-xxl);
  pointer-events: none;
}

.navbar {
  max-width: var(--container-max);
  height: 72px;
  margin: 0 auto;
  padding: 0 32px;
  border-radius: var(--rounded-full);
  background: rgba(255, 255, 255, 0.72);
  border: var(--border-soft);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-floating);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  transition: all var(--duration-medium) var(--ease-premium);
}

.dark-mode .navbar {
  background: rgba(31, 31, 31, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
  height: 64px;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.9);
}

.dark-mode .navbar.scrolled {
  background: rgba(25, 25, 25, 0.9);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: var(--gap-lg);
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--duration-fast) var(--ease-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION
   ========================================================================== */

.mobile-nav {
  display: none;
  position: fixed;
  bottom: var(--spacing-md);
  left: var(--spacing-sm);
  right: var(--spacing-sm);
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: var(--border-soft);
  border-radius: var(--rounded-full);
  box-shadow: var(--shadow-cinematic);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
}

.dark-mode .mobile-nav {
  background: rgba(31, 31, 31, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 500;
}

.mobile-nav-item i {
  font-size: 18px;
}

.mobile-nav-item.active {
  color: var(--primary);
}

/* ==========================================================================
   HERO ENTRANCE LOBBY
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--neutral);
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--duration-ultra) var(--ease-premium);
  background-size: cover;
  background-position: center;
}

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

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.4) 50%, rgba(26,26,26,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 0 40px;
  color: var(--text-light);
  transform: translateY(30px);
  animation: fadeUp var(--duration-slow) var(--ease-premium) forwards;
}

.hero-label {
  color: var(--tertiary-light);
  margin-bottom: var(--spacing-md);
}

.hero-title {
  margin-bottom: var(--spacing-md);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto var(--spacing-xl) auto;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
}

/* Floating statistics overlays */
.hero-stats-container {
  position: absolute;
  bottom: 40px;
  left: var(--spacing-xxl);
  right: var(--spacing-xxl);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.stats-glass-card {
  background: rgba(255, 255, 255, 0.78);
  border: var(--border-soft);
  backdrop-filter: blur(12px);
  border-radius: var(--rounded-md);
  padding: 16px 28px;
  box-shadow: var(--shadow-floating);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}

.dark-mode .stats-glass-card {
  background: rgba(31, 31, 31, 0.78);
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
}

.stats-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.4;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--duration-fast) var(--ease-soft);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-light);
  border-radius: var(--rounded-full);
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-light);
  border-radius: var(--rounded-full);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s infinite var(--ease-smooth);
}

/* ==========================================================================
   IMMERSIVE SERVICE GRID
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xxl) auto;
}

.section-label {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}

.service-card {
  height: 450px;
  position: relative;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform var(--duration-medium) var(--ease-premium), box-shadow var(--duration-medium) var(--ease-premium);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26,26,26,0) 40%, rgba(26,26,26,0.85) 100%);
  z-index: 2;
  transition: background var(--duration-medium) var(--ease-premium);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-cinematic);
}

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

.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 5;
  color: var(--text-light);
}

.service-title {
  margin-bottom: var(--spacing-xs);
  transition: transform var(--duration-medium) var(--ease-premium);
}

.service-desc {
  font-size: 0.875rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--duration-medium) var(--ease-smooth), max-height var(--duration-medium) var(--ease-smooth);
}

.service-card:hover .service-desc {
  opacity: 1;
  max-height: 100px;
  margin-top: 12px;
}

.service-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tertiary-light);
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-medium) var(--ease-premium);
}

.service-card:hover .service-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   BEFORE & AFTER DRAG SLIDER
   ========================================================================== */

.transformation-wrapper {
  background-color: var(--surface-soft);
}

.dark-mode .transformation-wrapper {
  background-color: var(--surface-dark);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: var(--rounded-xxl);
  overflow: hidden;
  box-shadow: var(--shadow-cinematic);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  background-size: cover;
  background-position: center;
}

.slider-img-after {
  z-index: 10;
  clip-path: inset(0 0 0 0); /* clipping controlled by JavaScript */
}

.slider-img-before {
  z-index: 5;
}

.slider-label {
  position: absolute;
  top: 24px;
  padding: 8px 18px;
  background: var(--neutral);
  color: var(--text-light);
  border-radius: var(--rounded-full);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 15;
  box-shadow: var(--shadow-floating);
  pointer-events: none;
}

.slider-label-before {
  left: 24px;
}

.slider-label-after {
  right: 24px;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--text-light);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  cursor: ew-resize;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--primary);
  border: 4px solid var(--text-light);
  border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  box-shadow: var(--shadow-floating);
  pointer-events: none;
  font-size: 18px;
  transition: background var(--duration-fast) var(--ease-soft);
}

.slider-handle:hover .slider-handle-button {
  background: var(--primary-dark);
}

/* ==========================================================================
   WHY URBANNEST & ZIG-ZAG STORY
   ========================================================================== */

.story-row {
  display: flex;
  align-items: center;
  gap: var(--gap-xl);
  margin-bottom: var(--spacing-xxl);
}

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

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

.story-img-container {
  flex: 1;
  position: relative;
}

.story-img-wrapper {
  border-radius: var(--rounded-xxl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-cinematic);
}

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

.story-floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--surface);
  border-radius: var(--rounded-lg);
  padding: 24px;
  box-shadow: var(--shadow-cinematic);
  max-width: 250px;
  z-index: 10;
  border-left: 4px solid var(--primary);
}

.dark-mode .story-floating-card {
  background: var(--surface-dark);
}

.story-floating-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.story-floating-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.story-content {
  flex: 1;
}

.story-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--tertiary-light);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.story-title {
  margin-bottom: var(--spacing-md);
}

.story-desc {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.story-bullet-list {
  list-style: none;
}

.story-bullet-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.9375rem;
}

.story-bullet-item i {
  color: var(--success);
}

/* ==========================================================================
   3D WALL COLOR & FINISH VISUALIZER
   ========================================================================== */

.visualizer-wrapper {
  background: linear-gradient(180deg, var(--neutral) 0%, var(--neutral-light) 100%);
  color: var(--text-light);
}

.visualizer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap-xl);
  align-items: center;
}

.room-preview-container {
  position: relative;
  height: 500px;
  border-radius: var(--rounded-xxl);
  overflow: hidden;
  box-shadow: var(--shadow-cinematic);
}

.room-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.room-wall-tint {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.82;
  background-color: var(--tertiary-dark); /* Changed dynamically in script.js */
  transition: background-color var(--duration-medium) var(--ease-smooth);
}

.room-shading-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  mix-blend-mode: screen;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0) 80%);
}

.room-furniture-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity var(--duration-medium) var(--ease-smooth);
}

.visualizer-controls {
  padding: 16px;
}

.visualizer-title {
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
}

.visualizer-desc {
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
}

.control-section {
  margin-bottom: var(--spacing-xl);
}

.control-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--text-light);
  display: block;
}

.color-dots {
  display: flex;
  gap: 16px;
}

.color-dot {
  width: 44px;
  height: 44px;
  border-radius: var(--rounded-full);
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--duration-fast) var(--ease-soft);
  box-shadow: var(--shadow-floating);
  position: relative;
}

.color-dot:hover {
  transform: scale(1.1);
}

.color-dot.active {
  border-color: var(--text-light);
  transform: scale(1.1);
}

.color-dot.active::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--text-light);
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.finish-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.finish-btn {
  padding: 14px;
  border-radius: var(--rounded-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-light);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-soft);
}

.finish-btn:hover {
  background: rgba(255,255,255,0.12);
}

.finish-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.smart-features-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: var(--rounded-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.smart-label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.2);
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* ==========================================================================
   PORTFOLIO MASONRY GRID
   ========================================================================== */

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 24px;
  border-radius: var(--rounded-full);
  background: rgba(85,107,47,0.06);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-soft);
  border: 1px solid transparent;
}

.filter-chip:hover {
  background: rgba(85,107,47,0.12);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--secondary);
  color: var(--text-light);
  box-shadow: 0px 8px 24px rgba(85, 107, 47, 0.18);
}

.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.portfolio-item {
  position: relative;
  height: 350px;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all var(--duration-medium) var(--ease-premium);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26,26,26,0) 30%, rgba(26,26,26,0.9) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  z-index: 5;
  transition: opacity var(--duration-medium) var(--ease-smooth);
}

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

.portfolio-item:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  color: var(--tertiary-light);
  margin-bottom: 4px;
}

.portfolio-title {
  color: var(--text-light);
  margin-bottom: 8px;
}

.portfolio-details {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 8px;
}

/* ==========================================================================
   PRICING ESTIMATOR configurator
   ========================================================================== */

.estimator-wrapper {
  background-color: var(--surface-soft);
}

.dark-mode .estimator-wrapper {
  background-color: var(--surface-dark);
}

.estimator-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--rounded-xxl);
  box-shadow: var(--shadow-cinematic);
  padding: var(--spacing-xl);
  border-top: 4px solid var(--primary);
}

.dark-mode .estimator-container {
  background: var(--surface-dark);
  border-color: var(--primary);
}

.estimator-progress {
  height: 6px;
  background: var(--border);
  border-radius: var(--rounded-full);
  margin-bottom: var(--spacing-xl);
  overflow: hidden;
  position: relative;
}

.dark-mode .estimator-progress {
  background: var(--border-dark);
}

.estimator-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary);
  width: 20%; /* Controlled dynamically */
  transition: width var(--duration-medium) var(--ease-smooth);
}

.estimator-step {
  display: none;
}

.estimator-step.active {
  display: block;
  animation: fadeIn var(--duration-medium) var(--ease-soft) forwards;
}

.step-title {
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-heading);
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: var(--spacing-xl);
}

.select-card {
  border: 1px solid var(--border);
  border-radius: var(--rounded-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dark-mode .select-card {
  border-color: var(--border-dark);
  background: rgba(255,255,255,0.02);
}

.select-card i {
  font-size: 24px;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.select-card-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.select-card:hover {
  border-color: var(--primary-light);
  background: rgba(210,105,30,0.02);
  transform: translateY(-2px);
}

.select-card.active {
  border-color: var(--primary);
  background: rgba(210,105,30,0.06);
  box-shadow: 0px 8px 24px rgba(210, 105, 30, 0.1);
}

.select-card.active i {
  color: var(--primary);
}

/* Range slider styling */
.range-container {
  padding: 20px 10px var(--spacing-xl) 10px;
}

.range-slider {
  width: 100%;
  height: 6px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: var(--rounded-full);
}

.dark-mode .range-slider {
  background: var(--border-dark);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-floating);
  transition: transform var(--duration-fast) var(--ease-soft);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Firefox Range Slider Thumb Support */
.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-floating);
  transition: transform var(--duration-fast) var(--ease-soft);
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.estimator-actions {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xl);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.dark-mode .estimator-actions {
  border-color: var(--border-dark);
}

/* Result Card */
.estimator-result-card {
  background: var(--surface-soft);
  border-radius: var(--rounded-xl);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.dark-mode .estimator-result-card {
  background: var(--neutral-light);
}

.result-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.result-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.result-features {
  display: flex;
  gap: 20px;
  margin: var(--spacing-sm) 0;
  flex-wrap: wrap;
  justify-content: center;
}

.result-feature-tag {
  background: rgba(210,105,30,0.08);
  color: var(--primary);
  border-radius: var(--rounded-full);
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ==========================================================================
   HORIZONTAL TIMELINE PROCESS
   ========================================================================== */


.timeline-scroll-wrapper {
  overflow-x: auto;
  padding: 30px 10px;
  display: flex;
  gap: 0;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  position: relative;
}

.timeline-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.timeline-track {
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.dark-mode .timeline-track {
  background: var(--border-dark);
}

.timeline-step {
  flex: 1;
  min-width: 240px;
  text-align: center;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.timeline-node {
  width: 60px;
  height: 60px;
  border-radius: var(--rounded-full);
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-secondary);
  font-size: 20px;
  box-shadow: var(--shadow-floating);
  transition: all var(--duration-medium) var(--ease-premium);
}

.dark-mode .timeline-node {
  background: var(--surface-dark);
  border-color: var(--border-dark);
}

.timeline-step:hover .timeline-node {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  transform: scale(1.1);
  box-shadow: var(--shadow-warm-glow);
}

.timeline-node.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.timeline-step-duration {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.timeline-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.timeline-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 200px;
  margin: 0 auto;
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */

.testimonials-wrapper {
  background-color: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}

.testimonial-card {
  background: var(--surface);
  border: var(--border-soft);
  border-radius: var(--rounded-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all var(--duration-medium) var(--ease-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 380px;
}

.dark-mode .testimonial-card {
  background: var(--surface-dark);
  border-color: var(--border-dark);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-cinematic);
}

.testimonial-stars {
  color: var(--tertiary);
  margin-bottom: var(--spacing-md);
  font-size: 16px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--rounded-full);
  overflow: hidden;
  border: 2px solid var(--border);
}

.testimonial-info h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SPLIT CONSULTATION FORM
   ========================================================================== */

.consultation-wrapper {
  background-color: var(--surface-soft);
}

.dark-mode .consultation-wrapper {
  background-color: var(--surface-dark);
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: var(--rounded-xxl);
  overflow: hidden;
  box-shadow: var(--shadow-cinematic);
}

.dark-mode .consultation-grid {
  background: var(--surface-dark);
}

.consultation-image-panel {
  background-size: cover;
  background-position: center;
  position: relative;
}

.consultation-image-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(210,105,30,0.55) 0%, rgba(26,26,26,0.85) 100%);
}

.consultation-quote-box {
  position: absolute;
  bottom: 60px;
  left: 60px;
  right: 60px;
  color: var(--text-light);
  z-index: 5;
}

.consultation-quote {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
  position: relative;
}

.consultation-quote-author {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tertiary-light);
}

.consultation-form-panel {
  padding: 60px;
}

/* ==========================================================================
   BLOG / CAROUSEL INSPIRATION HUB
   ========================================================================== */

.blog-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}

.blog-card {
  background: var(--surface);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--duration-medium) var(--ease-premium);
}

.dark-mode .blog-card {
  background: var(--surface-dark);
}

.blog-card-img-wrapper {
  height: 240px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-cinematic);
}

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

.blog-card-content {
  padding: 28px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.blog-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   MULTI-COLUMN FOOTER
   ========================================================================== */

.footer {
  background: var(--neutral);
  color: var(--text-light);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--gap-xl);
  margin-bottom: 60px;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-brand h2 span {
  color: var(--primary);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--rounded-full);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-soft);
  color: var(--text-light);
}

.footer-social-icon:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.footer-column h3 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--tertiary-light);
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--duration-fast) var(--ease-soft);
}

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

.footer-newsletter p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  border-radius: var(--rounded-xs);
  color: var(--text-light);
}

.newsletter-btn {
  background: var(--primary);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: var(--rounded-xs);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--duration-fast) var(--ease-soft);
}

.newsletter-btn:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ==========================================================================
   ABOUT PAGE STORYTELLING & TIMELINE
   ========================================================================== */

.about-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.3) 100%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 5;
  color: var(--text-light);
  max-width: 600px;
}

.about-hero-sub {
  color: var(--tertiary-light);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

/* Legacy history vertical timeline */
.legacy-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--gap-xl);
  align-items: center;
}

.legacy-timeline {
  position: relative;
  padding-left: 36px;
}

.legacy-timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: var(--border);
}

.dark-mode .legacy-timeline::after {
  background: var(--border-dark);
}

.legacy-node {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.legacy-node::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: var(--rounded-full);
  background: var(--primary);
  border: 3px solid var(--background);
  z-index: 10;
}

.legacy-year {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.legacy-title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.legacy-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Founder quote panel */
.founder-quote-banner {
  background: var(--surface-dark);
  color: var(--text-light);
  border-radius: var(--rounded-xxl);
  overflow: hidden;
  box-shadow: var(--shadow-cinematic);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.founder-img-wrapper {
  height: 500px;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.founder-quote-content {
  padding: 60px;
}

.founder-quote-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 30px;
  position: relative;
}

.founder-quote-author {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiary-light);
}

.founder-quote-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* The Collective - Team */
.team-card {
  background: var(--surface);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all var(--duration-medium) var(--ease-premium);
}

.dark-mode .team-card {
  background: var(--surface-dark);
}

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

.team-img-wrapper {
  height: 320px;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
}

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

.team-info {
  padding: 24px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================================
   CONSULTATION PAGE WIZARD & CALENDAR
   ========================================================================== */

.consultation-booking-wrapper {
  background-color: var(--surface-soft);
  min-height: 100vh;
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 80px;
}

.dark-mode .consultation-booking-wrapper {
  background-color: var(--background-dark);
}

.booking-wizard-card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--rounded-xxl);
  box-shadow: var(--shadow-cinematic);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
}

.dark-mode .booking-wizard-card {
  background: var(--surface-dark);
}

.booking-sidebar {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text-light);
}

.booking-sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(26,26,26,0.9) 0%, rgba(210,105,30,0.5) 100%);
}

.booking-sidebar-content {
  position: relative;
  z-index: 5;
}

.booking-sidebar-quote {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: var(--spacing-md);
}

.booking-main {
  padding: 48px;
}

.booking-steps-nav {
  display: flex;
  gap: 20px;
  margin-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.dark-mode .booking-steps-nav {
  border-color: var(--border-dark);
}

.booking-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-step-indicator.active {
  color: var(--primary);
}

.booking-step-indicator span {
  width: 24px;
  height: 24px;
  border-radius: var(--rounded-full);
  background: var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.dark-mode .booking-step-indicator span {
  background: var(--border-dark);
}

.booking-step-indicator.active span {
  background: var(--primary);
  color: var(--text-light);
}

.booking-section {
  display: none;
}

.booking-section.active {
  display: block;
  animation: fadeIn var(--duration-medium) var(--ease-soft) forwards;
}

/* Service Options Grid */
.booking-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: var(--spacing-lg);
}

/* Datepicker & Time selector styling */
.calendar-time-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
}

.time-slot {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--rounded-sm);
  text-align: center;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-soft);
}

.dark-mode .time-slot {
  border-color: var(--border-dark);
}

.time-slot:hover {
  border-color: var(--primary-light);
  background: rgba(210,105,30,0.02);
}

.time-slot.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.booking-actions {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xl);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.dark-mode .booking-actions {
  border-color: var(--border-dark);
}

/* Successful Booking Modal state */
.success-card {
  text-align: center;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--rounded-full);
  background: rgba(109,138,71,0.1);
  color: var(--success);
  font-size: 32px;
  margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   CUSTOM PREMIUM CURSOR
   ========================================================================== */

.custom-cursor {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--duration-fast) var(--ease-smooth), height var(--duration-fast) var(--ease-smooth), background-color var(--duration-fast) var(--ease-soft);
  display: block;
}

.custom-cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(210, 105, 30, 0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width var(--duration-fast) var(--ease-smooth), height var(--duration-fast) var(--ease-smooth), border-color var(--duration-fast) var(--ease-soft);
  display: block;
}

/* Custom cursor hover transforms */
.custom-cursor.hover {
  width: 48px;
  height: 48px;
  background: rgba(210, 105, 30, 0.15);
}

.custom-cursor-follower.hover {
  width: 64px;
  height: 64px;
  border-color: var(--primary);
  background: rgba(210, 105, 30, 0.02);
}

.custom-cursor.drag {
  width: 60px;
  height: 60px;
  background: var(--neutral);
  color: var(--text-light);
}

.custom-cursor.drag::after {
  content: 'DRAG';
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-cursor-follower.drag {
  display: none;
}

/* Hide on touch screens */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-premium), transform var(--duration-slow) var(--ease-premium);
}

.reveal-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE SCALING & MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1200px) {
  .display-xl { font-size: 4.5rem; }
  .display-lg { font-size: 3.5rem; }
  .display-md { font-size: 2.75rem; }
  .container { padding: 0 var(--spacing-xl); }
  .services-grid { gap: var(--gap-md); }
  .portfolio-masonry { grid-auto-rows: 240px; }
}

@media (max-width: 992px) {
  :root {
    --section-padding: 80px;
  }
  .display-xl { font-size: 3.75rem; }
  .display-lg { font-size: 3rem; }
  .display-md { font-size: 2.25rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  
  .story-row {
    flex-direction: column !important;
    gap: var(--gap-md);
  }
  .story-img-wrapper { height: 380px; }
  .story-floating-card { bottom: -10px; right: -10px; }
  
  .visualizer-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-md);
  }
  .room-preview-container { height: 380px; }
  
  .estimator-container { padding: var(--spacing-lg); }
  .selector-grid { grid-template-columns: repeat(2, 1fr); }
  
  .testimonials-grid { grid-template-columns: 1fr; gap: var(--gap-md); }
  .testimonial-card { height: auto; min-height: 280px; }
  
  .consultation-grid { grid-template-columns: 1fr; }
  .consultation-image-panel { display: none; }
  .consultation-form-panel { padding: 40px; }
  
  .booking-wizard-card { grid-template-columns: 1fr; }
  .booking-sidebar { display: none !important; }
  .booking-main { padding: 32px 20px; }
  
  /* Optimize Typography & Nav for Mobile Booking */
  .booking-main .headline-lg { font-size: 26px !important; margin-bottom: 20px !important; }
  .booking-steps-nav { padding-bottom: 16px; margin-bottom: 24px; gap: 8px; }
  .booking-step-indicator { font-size: 11px; }
  .booking-step-indicator span { width: 22px; height: 22px; font-size: 11px; margin-right: 6px; }
  
  /* Convert 2x2 grid to Premium List Layout */
  .booking-services-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .booking-services-grid .select-card { 
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-start; 
    text-align: left; 
    padding: 16px 20px;
    height: auto;
  }
  .booking-services-grid .select-card i { 
    margin-bottom: 0; 
    margin-right: 16px; 
    font-size: 24px;
  }
  .booking-services-grid .select-card .select-card-title {
    font-size: 15px;
  }
  .booking-services-grid .select-card p {
    display: none; /* Hide subtitle to keep it ultra-clean and tap-friendly */
  }
  
  /* Stack Calendar & Time Selection */
  .calendar-time-layout { grid-template-columns: 1fr; gap: 20px; }
  .time-slots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  
  /* Stack Step 3 Form Inputs */
  .booking-main .grid-2 { grid-template-columns: 1fr !important; gap: 0 !important; }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   DESIGN SERVICES MODAL
   ========================================================================== */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  background-color: var(--surface);
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  border-radius: 1rem;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.service-modal-overlay.active .service-modal {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.modal-hero {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

.modal-content-body {
  padding: 40px;
  color: var(--text-primary);
}

.modal-category {
  color: var(--tertiary-dark);
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal-title {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.modal-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.modal-gallery-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.modal-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.5s ease;
}

.modal-gallery-item {
  overflow: hidden;
  border-radius: 1rem;
}

.modal-gallery-item img:hover {
  transform: scale(1.05);
}

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

@media (max-width: 767px) {
  /* GLOBALS & TYPOGRAPHY */
  body, .section-padding, .hero, section { overflow-x: hidden; }
  .display-xl { font-size: 40px; line-height: 48px; }
  .display-lg { font-size: 34px; line-height: 42px; }
  .display-md { font-size: 28px; line-height: 36px; }
  .headline-lg { font-size: 26px; line-height: 34px; }
  .headline-md { font-size: 22px; line-height: 30px; }
  .title-lg { font-size: 20px; line-height: 28px; }
  .body-lg { font-size: 16px; line-height: 26px; }
  .body-md { font-size: 15px; line-height: 24px; }
  .body-sm { font-size: 13px; line-height: 20px; }
  .label-lg { font-size: 12px; }
  .label-md { font-size: 11px; }

  /* SPACING & BUTTONS */
  .section-padding { padding: 72px 0; }
  .container { padding: 0 20px; }
  .btn { width: 100%; padding: 16px 24px; justify-content: center; text-align: center; }
  .hero-actions, .service-cta, .booking-actions, .consultation-form-panel form { flex-direction: column; gap: 12px; }

  /* NAVBAR & MENU */
  .mobile-nav { display: none !important; }
  
  .navbar-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    box-sizing: border-box;
  }
  
  .navbar {
    display: contents; /* Pass layout control up to the container for simplicity, or just apply it natively */
  }

  .nav-logo {
    font-size: 18px !important;
    flex-shrink: 0;
    max-width: 45%;
    display: block !important;
  }

  .navbar-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .navbar-cta {
    background: #D2691E !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    width: auto !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
  }

  .mobile-hamburger {
    display: inline-flex !important;
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    z-index: 10001;
    padding: 0;
    margin: 0;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--background);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 999;
    padding: 20px;
    display: flex;
  }
  .nav-links.menu-open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; border-bottom: 1px solid var(--border); padding: 20px 0; margin: 0; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links li a { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--text-primary); }
  
  .mobile-menu-cta {
    width: 100%; margin-top: 40px; background: var(--primary); color: #FFF; border-radius: 9999px; padding: 16px; text-align: center; display: block;
    font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500;
  }

  /* HERO */
  .hero {
    height: 100svh !important;
    min-height: 100vh;
    padding-top: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .hero-slide {
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero-slide::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.30) 0%,
      rgba(0,0,0,0.55) 50%,
      rgba(0,0,0,0.70) 100%
    ) !important;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-bottom: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    height: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: 100% !important;
    transform: none !important;
    animation: none !important; /* Disable desktop animation that causes translateY offset */
  }

  .hero-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    color: #D2691E !important;
    margin-bottom: 10px !important;
    display: block !important;
  }

  .hero-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 38px !important;
    line-height: 1.15 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    margin-bottom: 14px !important;
  }

  .hero-sub {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: rgba(255,255,255,0.85) !important;
    text-align: center !important;
    max-width: 300px !important;
    margin: 0 auto 36px auto !important;
    display: block !important;
  }

  .hero-stats-container, .stats-glass-card {
    display: none !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .hero-actions .btn-primary {
    background: #D2691E !important;
    color: #FFFFFF !important;
    width: 100% !important;
    max-width: 300px !important;
    padding: 17px 24px !important;
    border-radius: 9999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    box-shadow: 0px 8px 30px rgba(210,105,30,0.40) !important;
    border: none !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .hero-actions .btn-secondary {
    background: rgba(255,255,255,0.10) !important;
    border: 1.5px solid rgba(255,255,255,0.40) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: rgba(255,255,255,0.90) !important;
    width: 100% !important;
    max-width: 300px !important;
    padding: 16px 24px !important;
    border-radius: 9999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .scroll-indicator {
    position: absolute !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    color: rgba(255,255,255,0.45) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* DESIGN SERVICES SECTION */
  #services .section-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    color: #D2691E !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    display: block !important;
  }

  #services h2.display-md {
    font-family: 'Playfair Display', serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #1A1A1A !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  #services p.body-lg {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #5C5C5C !important;
    text-align: center !important;
    max-width: 300px !important;
    margin: 0 auto 12px auto !important;
  }

  /* CARDS */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { height: 280px; border-radius: 20px; width: 100%; position: relative !important; }
  
  .service-card::after {
    content: '' !important;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.20) 50%,
      rgba(0,0,0,0.0) 100%
    ) !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60% !important;
    border-radius: 0 0 20px 20px !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .service-content {
    position: absolute !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    text-align: left !important;
    z-index: 2 !important;
    height: auto !important;
  }

  .service-content .label-md {
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    color: var(--tertiary-light) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .service-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .service-desc, .service-cta {
    display: none !important;
  }

  /* PORTFOLIO GALLERY */
  #portfolio .section-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    color: #D2691E !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    display: block !important;
  }

  #portfolio h2.display-md {
    font-family: 'Playfair Display', serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #1A1A1A !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }

  #portfolio p.body-lg {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #5C5C5C !important;
    text-align: center !important;
    max-width: 300px !important;
    margin: 0 auto 24px auto !important;
  }

  /* FILTER PILLS */
  .portfolio-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 32px !important;
    padding: 0 20px !important;
  }

  .filter-chip {
    background: #FFFFFF !important;
    border: 1px solid #E7E1D8 !important;
    padding: 10px 18px !important;
    border-radius: 9999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #1A1A1A !important;
    white-space: nowrap !important;
    transition: 300ms ease !important;
    box-shadow: none !important;
  }

  .filter-chip.active {
    background: #556B2F !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
  }

  /* PORTFOLIO GRID */
  .portfolio-masonry {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0 20px !important;
    align-items: center !important;
  }

  .portfolio-item {
    width: 100% !important;
    max-width: 100% !important;
    height: 420px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.08) !important;
    margin: 0 !important;
    transform: none !important;
  }

  .portfolio-img {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
  }

  .portfolio-item::after {
    content: '' !important;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.0) 100%
    ) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .portfolio-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 24px !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    opacity: 1 !important; /* ALWAYS VISIBLE on mobile */
    background: none !important; /* using the pseudo element instead */
    top: auto !important;
    height: auto !important;
    justify-content: flex-end !important;
    transform: none !important;
  }

  .portfolio-item:hover {
    transform: scale(0.98) !important;
    transition: transform 200ms ease !important;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.08) !important;
  }

  .portfolio-item:hover .portfolio-img {
    transform: none !important; /* Disable desktop hover zoom */
  }

  .portfolio-category {
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    color: var(--tertiary-light) !important;
    margin-bottom: 4px !important;
  }

  .portfolio-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #FFFFFF !important;
    margin-bottom: 12px !important;
  }

  .portfolio-details {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
    padding-top: 8px !important;
  }

  .portfolio-details span:first-child {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.65) !important;
  }

  .portfolio-details span:last-child {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.90) !important;
  }

  /* MODAL */
  .service-modal {
    width: 100%;
    height: 95vh;
    border-radius: 24px 24px 0 0;
    position: fixed;
    bottom: 0;
    transform: translateY(100%);
    margin: 0;
    max-width: 100%;
  }
  .service-modal-overlay.active .service-modal { transform: translateY(0); }
  .service-modal::before {
    content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; background: var(--border); border-radius: 4px; z-index: 100;
  }
  .modal-hero { height: 220px; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal-gallery img { height: 180px; }
  .modal-close-btn { top: 24px; right: 24px; }

  /* BEFORE/AFTER SLIDER */
  .slider-container { height: 280px; border-radius: 16px; width: 100%; }
  .slider-handle-btn { width: 48px; height: 48px; }
  .slider-label { font-size: 10px; padding: 4px 8px; }

  /* COST ESTIMATOR OVERALL */
  .estimator-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 100svh !important;
    background: #F9F7F2 !important;
  }

  .estimator-container {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important; /* flush to actions div */
    margin: 0 0 48px 0 !important; /* provide breathing room outside the card */
    width: 100% !important;
    overflow-x: hidden !important;
    background: transparent !important; /* container bg */
    border-radius: 24px !important; /* match actions div corners */
    gap: 0 !important;
  }

  /* PROGRESS BAR */
  .estimator-progress {
    width: 100% !important;
    height: 4px !important;
    background: #E7E1D8 !important;
    border-radius: 9999px !important;
    overflow: hidden !important;
    margin-bottom: 0 !important; /* flush to top */
  }
  .estimator-progress-bar {
    background: #D2691E !important;
    height: 100% !important;
    transition: width 400ms ease !important;
  }

  /* STEP CONTENT AREA */
  .estimator-step {
    padding: 28px 20px 24px 20px !important;
    background: #FFFFFF !important;
    border-radius: 24px 24px 0 0 !important;
  }
  
  .step-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    margin-bottom: 20px !important;
    padding-left: 0 !important;
    line-height: 1.3 !important;
  }

  /* SCOPE CARDS GRID */
  .selector-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
  }
  
  .select-card {
    background: #FFFFFF !important;
    border: 1.5px solid #E7E1D8 !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 100px !important;
    cursor: pointer !important;
    transition: all 250ms ease !important;
  }
  
  .select-card i {
    font-size: 28px !important;
    color: #5C5C5C !important;
  }
  
  .select-card .select-card-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* SELECTED CARD STATE */
  .select-card.active {
    border: 2px solid #D2691E !important;
    background: rgba(210,105,30,0.06) !important;
    box-shadow: 0px 4px 16px rgba(210,105,30,0.15) !important;
  }
  .select-card.active i, .select-card.active .select-card-title {
    color: #D2691E !important;
  }
  .select-card.active .select-card-title {
    font-weight: 600 !important;
  }

  /* ESTIMATE CARD REDESIGN */
  .estimator-result-card {
    position: static !important; /* NOT sticky */
    background: #F2EEE8 !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    margin: 20px 20px 20px 20px !important;
    width: auto !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transform: none !important;
  }
  
  .result-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    color: #8A8A8A !important;
    text-align: center !important;
    margin-bottom: 8px !important;
    display: block !important;
  }

  .result-price {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    font-weight: 700 !important;
    color: #D2691E !important;
    text-align: center !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
    display: block !important;
  }

  .result-timeline {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #5C5C5C !important;
    text-align: center !important;
    margin-bottom: 16px !important;
    display: block !important;
  }
  .result-timeline strong {
    font-weight: 600 !important;
    color: #1A1A1A !important;
  }

  .result-features {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .result-feature-tag {
    background: rgba(210,105,30,0.10) !important;
    border: 1px solid rgba(210,105,30,0.25) !important;
    color: #D2691E !important;
    padding: 7px 14px !important;
    border-radius: 9999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  .estimator-result-card p {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #8A8A8A !important;
    text-align: center !important;
    line-height: 1.5 !important;
    padding-top: 12px !important;
    border-top: 1px solid #E7E1D8 !important;
    margin: 0 !important;
  }

  /* NAVIGATION BUTTONS */
  .estimator-actions {
    display: flex !important;
    flex-direction: column !important; /* specifically requested in strict rules */
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
    padding: 24px 20px 32px 20px !important;
    background: #FFFFFF !important;
    position: static !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.04) !important;
  }

  #prev-step-btn {
    background: transparent !important;
    border: 1.5px solid #E7E1D8 !important;
    color: #1A1A1A !important;
    padding: 15px 24px !important;
    border-radius: 9999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    width: 100% !important;
    text-align: center !important;
    min-height: 52px !important;
    cursor: pointer !important;
    transition: 200ms ease !important;
    box-shadow: none !important;
    display: block !important;
  }

  #next-step-btn {
    background: #D2691E !important;
    color: #FFFFFF !important;
    padding: 15px 24px !important;
    border-radius: 9999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    width: 100% !important;
    text-align: center !important;
    min-height: 52px !important;
    cursor: pointer !important;
    transition: 200ms ease !important;
    box-shadow: 0px 8px 24px rgba(210,105,30,0.30) !important;
    border: none !important;
    display: block !important;
  }

  /* MATERIAL SLIDER */
  .range-container {
    padding: 0 !important;
  }
  .range-slider {
    width: 100% !important;
    height: 6px !important;
    border-radius: 9999px !important;
    background: #E7E1D8 !important;
    margin: 32px 0 48px 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  
  .range-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 28px !important;
    height: 28px !important;
    background: #D2691E !important;
    border: 3px solid #FFFFFF !important;
    border-radius: 9999px !important;
    box-shadow: 0 0 0 8px rgba(0,0,0,0), 0px 4px 12px rgba(210,105,30,0.40) !important;
  }
  
  .range-labels {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 8px !important;
  }
  
  .range-labels span {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #5C5C5C !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  .range-labels span.active {
    color: #D2691E !important;
    font-weight: 600 !important;
  }
  
  /* TESTIMONIALS CAROUSEL */


  /* ==========================================================================
     EXECUTION STAGES (MOBILE STICKY HORIZONTAL SCROLL)
     ========================================================================== */
  #execution-stages {
    height: calc(100svh * 6) !important;
    position: relative !important;
    padding: 0 !important;
    margin-bottom: -30svh !important; /* Pull up next section to close the empty gap */
    background: #F9F7F2 !important;
    overflow: visible !important;
  }
  
  #execution-stages .container {
    position: sticky !important;
    top: 0 !important;
    height: 100svh !important;
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #F9F7F2 !important;
  }

  #execution-stages .section-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 80px 24px 32px 24px !important;
    z-index: 10 !important;
    background: transparent !important;
  }

  #execution-stages .section-header .section-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    color: #D2691E !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-bottom: 8px !important;
    display: block !important;
  }

  #execution-stages .section-header .display-md {
    font-family: 'Playfair Display', serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
  }

  #execution-stages .section-header .body-lg {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #5C5C5C !important;
    text-align: center !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
  }

  /* Inner track */
  #execution-stages .timeline-scroll-wrapper {
    position: absolute !important;
    top: 0 !important;
    height: 100svh !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    will-change: transform !important;
    overflow: visible !important;
    width: auto !important;
  }

  /* The Line */
  #execution-stages .timeline-track {
    position: absolute !important;
    /* top will be calculated precisely via JS to cross icon centers */
    left: 0px !important; 
    height: 1.5px !important;
    background: #E7E1D8 !important; /* Full width static gray line */
    width: 100% !important; /* JS will set to the distance from first to last icon */
    z-index: 1 !important;
  }
  
  #execution-stages .timeline-track::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    background: #D2691E !important; /* Animated orange progress */
    width: var(--progress-width, 0px) !important;
    transition: width 500ms ease !important;
  }

  /* Cards */
  #execution-stages .timeline-step {
    width: 85vw !important;
    max-width: 340px !important;
    height: 320px !important; /* Fixed height forces absolute icon horizontal alignment */
    flex-shrink: 0 !important;
    padding: 0 10px !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin-right: 20px !important;
    margin-top: 60px !important; /* Push down to center nicely under header */
    transition: all 500ms cubic-bezier(0.22,1,0.36,1) !important;
    opacity: 0.55 !important;
    transform: scale(0.97) !important;
    position: relative !important;
    z-index: 5 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Lock items to the top of the 320px bounding box */
  }

  #execution-stages .timeline-step:first-child { margin-left: 32px !important; }
  #execution-stages .timeline-step:last-child { margin-right: 32px !important; }

  /* Icon circle */
  #execution-stages .timeline-node {
    width: 56px !important;
    height: 56px !important;
    border-radius: 9999px !important;
    background: #F2EEE8 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
    transition: all 400ms ease !important;
  }
  
  #execution-stages .timeline-node i {
    font-size: 24px !important;
    color: #5C5C5C !important;
    transition: all 300ms ease !important;
  }

  /* Texts */
  #execution-stages .timeline-step-duration {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #8A8A8A !important;
    margin-bottom: 12px !important;
    display: block !important;
    transition: all 300ms ease !important;
  }

  #execution-stages .timeline-step-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
    transition: all 400ms ease !important;
  }

  #execution-stages .timeline-step-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #5C5C5C !important;
    max-width: 260px !important;
    margin: 0 !important;
    transition: all 400ms ease !important;
  }

  /* ACTIVE STATE */
  #execution-stages .timeline-step.mobile-active {
    opacity: 1 !important;
    transform: scale(1.02) !important;
  }
  
  #execution-stages .timeline-step.mobile-active .timeline-node {
    background: #D2691E !important;
    box-shadow: 0px 8px 24px rgba(210,105,30,0.35) !important;
    transform: scale(1.1) !important;
  }

  #execution-stages .timeline-step.mobile-active .timeline-node i {
    color: #FFFFFF !important;
  }

  #execution-stages .timeline-step.mobile-active .timeline-step-duration {
    color: #D2691E !important;
  }

  #execution-stages .timeline-step.mobile-active .timeline-step-title {
    font-weight: 700 !important;
  }

  #execution-stages .timeline-step.mobile-active .timeline-step-title,
  #execution-stages .timeline-step.mobile-active .timeline-step-desc {
    animation: mobileStageEntry 400ms ease forwards !important;
  }

  @keyframes mobileStageEntry {
    0% { transform: translateY(8px); opacity: 0.6; }
    100% { transform: translateY(0); opacity: 1; }
  }



  .testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card { min-width: 90vw; scroll-snap-align: center; margin: 0; }
  
  .testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background 0.3s; }
  .dot.active { background: var(--primary); }

  /* STATS */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 34px; font-family: 'Playfair Display', serif; }
  .stat-label { font-size: 12px; font-family: 'Inter', sans-serif; }

  /* CONSULTATION FORM */
  .consultation-grid { grid-template-columns: 1fr; }
  .consultation-image-panel { display: none !important; }
  .consultation-form-panel { padding: 40px 24px; }
  .consultation-form-panel .grid-2 { grid-template-columns: 1fr !important; gap: 0 !important; }
  .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 16px; }

  /* ABOUT HERO MOBILE LAYOUT */
  .about-hero {
    height: 100svh !important;
    padding-top: 64px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    background-position: center 30% !important;
  }

  .about-hero::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.20) 0%,
      rgba(0,0,0,0.30) 35%,
      rgba(0,0,0,0.72) 70%,
      rgba(0,0,0,0.85) 100%
    ) !important;
  }

  .about-hero-content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 28px !important;
    max-width: none !important;
    width: 100% !important;
  }

  .about-hero-sub {
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    color: #D2691E !important;
    margin-bottom: 12px !important;
    display: block !important;
    text-align: center !important;
  }

  .about-hero .display-lg {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(28px, 8vw, 34px) !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    margin-bottom: 16px !important;
  }

  .about-hero .body-lg {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: rgba(255,255,255,0.82) !important;
    text-align: center !important;
    max-width: 300px !important;
    margin: 0 auto 0 auto !important;
  }
  
  /* ABOUT TIMELINE MOBILE LAYOUT */
  .legacy-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .legacy-row > div:first-child {
    width: 100% !important;
    padding: 64px 24px 40px 24px !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .legacy-row .label-lg {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    color: #D2691E !important;
    margin-bottom: 12px !important;
    display: block !important;
  }

  .legacy-row .display-md {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(26px, 7.5vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #1A1A1A !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    word-wrap: normal !important;
  }

  .legacy-row .body-md {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #5C5C5C !important;
    width: 100% !important;
    margin-bottom: 16px !important;
  }
  .legacy-row .body-md:last-of-type {
    margin-bottom: 0 !important;
  }

  .legacy-timeline {
    width: 100% !important;
    padding: 0 24px 72px 24px !important;
    margin-top: 48px !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .legacy-timeline::after {
    position: absolute !important;
    left: 44px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    background: linear-gradient(to bottom, #D2691E 0%, #E7E1D8 100%) !important;
    z-index: 0 !important;
    content: '' !important;
  }

  .legacy-node {
    padding-left: 64px !important;
    margin-bottom: 40px !important;
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .legacy-node:last-child {
    margin-bottom: 0 !important;
  }

  .legacy-node::before {
    content: '' !important;
    position: absolute !important;
    left: 13px !important; 
    top: 4px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 9999px !important;
    background: #D2691E !important;
    border: 3px solid #F9F7F2 !important;
    box-shadow: 0px 0px 0px 3px rgba(210,105,30,0.25) !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
  }

  .legacy-year {
    font-family: 'Playfair Display', serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #D2691E !important;
    line-height: 1.0 !important;
    margin-bottom: 4px !important;
  }

  .legacy-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .legacy-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #5C5C5C !important;
    margin: 0 !important;
  }

  /* ABOUT FOUNDER BANNER MOBILE LAYOUT */
  .founder-grid {
    grid-template-columns: 1fr !important;
  }
  
  .founder-img-wrapper {
    height: 320px !important;
    width: 100% !important;
  }

  .founder-img {
    object-position: center 15% !important;
  }
  
  .founder-quote-content {
    padding: 32px 24px 40px 24px !important;
  }

  .founder-quote-text {
    font-size: 26px !important;
    margin-bottom: 24px !important;
    line-height: 1.3 !important;
  }
  
  /* COLLECTIVE (TEAM) MOBILE LAYOUT */
  .team-img-wrapper {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
  .team-img {
    object-position: center 0%;
  }


  
  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-links { align-items: center; }
  .social-icons { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 16px; font-size: 12px; text-align: center; }

  /* TOUCH INTERACTIONS (min target 44px) */
  .service-card:active, .estimator-card:active, .addon-card:active, .btn:active {
    transform: scale(0.97);
  }
  .nav-links li a { padding: 10px; display: block; }
}
