:root {
  /* Colors based on vibe and the provided design */
  --primary-color: #013143;
  /* Deep dark blue */
  --primary-hover: #075c44;
  --accent-color: #bec8cb;
  /* Off-white for floating elements */
  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #ffffff;
  --text-light-muted: rgba(255, 255, 255, 0.8);
  --bg-dark: #1a1a1a;
  --bg-light: #ffffff;

  /* Layout constraints */
  --max-width: 1300px;

  /* Animation */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-light);
  /* Dark bg until images are added */
  color: var(--text-dark);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Lenis Smooth Scroll --- */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --- Typography --- */
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

p.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-light-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* --- Layout Components --- */

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 1000;
  transition: transform 0.4s ease, padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.header-scrolled {
  padding: 1rem 0;
  border-radius: 32px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: filter 0.4s ease;
}

.site-header.theme-dark .brand-logo {
  filter: brightness(0) invert(1);
  /* Pure white on dark backgrounds */
}

/* --- Hamburger Chameleon Theme --- */
/* DARK section: lines become WHITE */
.site-header.theme-dark .mobile-menu-btn .ham-line {
  background: #ffffff;
}

/* LIGHT section: lines become PRIMARY color */
.site-header.theme-light .mobile-menu-btn .ham-line {
  background: var(--primary-color);
}

/* Default fallback (no theme class yet, e.g. page load): primary color */
.mobile-menu-btn .ham-line {
  background: var(--primary-color);
}

.main-nav {
  background-color: white;
  border-radius: 100px;
  padding: 0.5rem;
  padding-left: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

/* --- Dropdown Menu Styles --- */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-light);
  min-width: 220px;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border: 1px solid rgba(1, 49, 67, 0.05);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  /* Invisible hover bridge */
}

/* The arrow pointing up */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--bg-light);
  border-left: 1px solid rgba(1, 49, 67, 0.05);
  border-top: 1px solid rgba(1, 49, 67, 0.05);
  z-index: -1;
}

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

.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: rgba(1, 49, 67, 0.04);
  color: var(--primary-color);
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
}

.btn-primary .icon-circle {
  background-color: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

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

.btn-service {
  background-color: #ffffff;
  color: var(--primary-color);
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  border-radius: 100px;
  border: 1px solid rgba(1, 49, 67, 0.1);
  box-shadow: 0 10px 30px rgba(1, 49, 67, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  width: max-content;
  align-self: flex-start;
}

.btn-service .icon-circle {
  background-color: var(--primary-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.btn-service:hover {
  background-color: #fcfcfc;
  box-shadow: 0 15px 40px rgba(1, 49, 67, 0.15);
  transform: translateY(-4px);
  border-color: rgba(1, 49, 67, 0.2);
}

.btn-service:hover .icon-circle {
  transform: scale(1.08);
  background-color: var(--primary-hover);
}

.btn-white {
  background-color: white;
  color: var(--text-dark);
}

.btn-white .icon-circle {
  background-color: var(--primary-color);
  color: white;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-white:hover .icon-circle {
  transform: scale(1.05);
}

/* --- Ultra Modern Button Fill Hover Effect --- */
.btn-hover-fill {
  position: relative;
  overflow: hidden;
  transition: background-position 0.75s cubic-bezier(0.19, 1, 0.22, 1), color 0.75s ease, box-shadow 0.75s ease, border-color 0.75s ease, transform 0.75s ease;
}

.btn-primary.btn-hover-fill {
  background: linear-gradient(to left, var(--primary-color) 50%, white 50%) right;
  background-size: 260% 100%;
}

.btn-primary.btn-hover-fill:hover {
  background-position: left;
  color: var(--primary-color);
}

.btn-primary.btn-hover-fill:hover .icon-circle {
  background: var(--primary-color);
}

.btn-primary.btn-hover-fill:hover .icon-circle i {
  color: white !important;
}

.btn-white.btn-hover-fill {
  background: linear-gradient(to left, white 50%, var(--primary-color) 50%) right;
  background-size: 260% 100%;
  border-color: transparent;
}

.btn-white.btn-hover-fill:hover {
  background-position: left;
  color: white;
  border-color: transparent;
}

.btn-white.btn-hover-fill:hover .icon-circle {
  background: white;
  color: var(--primary-color);
}

.btn-white.btn-hover-fill:hover .icon-circle i {
  color: var(--primary-color) !important;
}

.btn-service.btn-hover-fill {
  background: linear-gradient(to left, #ffffff 50%, var(--primary-color) 50%) right;
  background-size: 260% 100%;
  border-color: rgba(1, 49, 67, 0.1);
}

.btn-service.btn-hover-fill:hover {
  background-position: left;
  color: white;
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(1, 49, 67, 0.2);
}

.btn-service.btn-hover-fill:hover .icon-circle {
  background: white;
  color: var(--primary-color);
}

.btn-service.btn-hover-fill:hover .icon-circle i {
  color: var(--primary-color) !important;
}

.btn-pill-outline.btn-hover-fill {
  background: linear-gradient(to left, transparent 50%, var(--primary-color) 50%) right;
  background-size: 260% 100%;
}

.btn-pill-outline.btn-hover-fill:hover {
  background-position: left;
  color: white;
  border-color: var(--primary-color);
}

.btn-pill-outline.btn-hover-fill:hover .pill-icon {
  background: white;
}

.btn-pill-outline.btn-hover-fill:hover .pill-icon i {
  color: var(--primary-color) !important;
}

.btn-dark.btn-hover-fill {
  background: linear-gradient(to left, #111 50%, white 50%) right;
  background-size: 260% 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-dark.btn-hover-fill:hover {
  background-position: left;
  color: #111;
}

.btn-dark.btn-hover-fill:hover .icon-circle {
  background: #111 !important;
}

.btn-dark.btn-hover-fill:hover .icon-circle i {
  color: white !important;
}

/* --- Shared Button Utilities --- */

/* Icon circle used inside .btn-dark CTA buttons across all pages */
.cta-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  margin-left: 0.75rem;
}

.cta-icon-circle i {
  color: white;
  font-size: 14px;
  transition: color 0.4s ease;
}

/* Small icon inside .btn-primary / .btn-white / .btn-service icon-circles */
.btn-icon-sm {
  color: white;
  font-size: 14px;
  transition: color 0.4s ease;
}

/* Large icon (18px) — hero CTA */
.btn-icon-lg {
  color: white;
  font-size: 18px;
  transition: color 0.4s ease;
}

/* Feature icons (Who We Are, Mission & Values) */
.feature-icon {
  font-size: 2rem;
  color: #30e8bd;
  margin-bottom: 1rem;
}

/* Process/step icon (inside .process-step-icon) */
.step-icon-fa {
  font-size: 2rem;
  color: #013143;
}

/* Accent coloured spans (stat highlights: "+", "%", "/7") */
.accent-text {
  color: #30e8bd;
}

/* --- Lord-icon Sizing Utilities --- */
/* Used across multiple pages — defined here to avoid duplication */

/* Extra-small: glass card play button (home hero) */
.lordicon-xs {
  width: 24px;
  height: 24px;
}

/* Small: inline card icons (services specialized cards) */
.lordicon-card {
  width: 36px;
  height: 36px;
}

/* Medium: process step icons (residential, commercial, specialized) */
.lordicon-step {
  width: 36px;
  height: 36px;
}

/* Large process step: pricing page 4-step walkthrough */
.lordicon-process-step {
  width: 52px;
  height: 52px;
}

/* Metric cards (home, pricing) */
.lordicon-metric {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

/* Badge icon in story image (about page) */
.lordicon-badge {
  width: 32px;
  height: 32px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 15, 20, 0.75), rgba(10, 15, 20, 0.75));
  z-index: 1;
}

/* Optional: Subtle grid or image overlay could go here via pseudo-element */

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

.hero-content {
  max-width: 650px;
  z-index: 10;
  padding-bottom: 10vh;
}

.hero-bottom-left {
  position: absolute;
  bottom: 2.5rem;
  left: 5%;
  display: flex;
  gap: 0.5rem;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 30px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.slider-dot.active {
  background-color: white;
  width: 40px;
}

.hero-bottom-right {
  position: absolute;
  bottom: 3rem;
  right: 5%;
  z-index: 10;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1rem;
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  text-align: center;
  transition: transform var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-5px);
}

.video-thumb {
  position: relative;
  width: 100%;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Play button circle */
.play-btn {
  width: 40px;
  height: 40px;
  background: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-card p {
  font-size: 0.95rem;
  font-weight: 500;
}

/* =============================================
   MOBILE HAMBURGER BUTTON
   ============================================= */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  z-index: 1200;
  position: relative;
  flex-shrink: 0;
  padding: 0;
  transition: transform 0.2s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

/* The three lines — color shifts with chameleon theme */
.ham-line {
  display: block !important;
  width: 24px;
  height: 2.5px;
  border-radius: 4px;
  transform-origin: center;
  flex-shrink: 0;
  /* Color shifts smoothly with scroll / theme change */
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s ease,
    width 0.3s ease;
}

/* Middle line — shorter for style */
.ham-line-2 {
  width: 16px;
  align-self: flex-start;
}

/* Morphing X state */
.mobile-menu-btn.is-active .ham-line-1 {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.is-active .ham-line-2 {
  opacity: 0;
  width: 0;
}

.mobile-menu-btn.is-active .ham-line-3 {
  transform: translateY(-8.5px) rotate(-45deg);
}


/* =============================================
   MOBILE BACKDROP
   ============================================= */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 20, 30, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* =============================================
   MOBILE DRAWER
   ============================================= */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 400px);
  height: 100dvh;
  background: #ffffff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -20px 0 60px rgba(1, 49, 67, 0.12);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

/* --- Drawer Header --- */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(1, 49, 67, 0.07);
  flex-shrink: 0;
}

.drawer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(1, 49, 67, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary-color);
  transition: background 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: rgba(1, 49, 67, 0.12);
  transform: rotate(90deg);
}

/* --- Drawer Nav --- */
.drawer-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

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

.drawer-link-item {
  border-bottom: 1px solid rgba(1, 49, 67, 0.05);
  overflow: hidden;
}

/* Each row — both <a> and <button> */
.drawer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease, color 0.25s ease, padding-left 0.3s ease;
}

.drawer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-link:hover::before,
.drawer-link-toggle.sub-open::before {
  transform: scaleY(1);
}

.drawer-link:hover,
.drawer-link-toggle.sub-open {
  background: rgba(1, 49, 67, 0.04);
  color: var(--primary-color);
  padding-left: 2.25rem;
}

/* Page icon badge in drawer nav */
.drawer-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(1, 49, 67, 0.07);
  color: var(--primary-color);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.drawer-link:hover .drawer-link-icon,
.drawer-link-toggle.sub-open .drawer-link-icon {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.08);
}

.drawer-link-text {
  flex: 1;
}

.drawer-link-arrow {
  font-size: 0.75rem;
  color: rgba(1, 49, 67, 0.3);
  transition: transform 0.3s ease, color 0.25s ease;
}

.drawer-link:hover .drawer-link-arrow {
  transform: translateX(4px);
  color: var(--primary-color);
}

.drawer-toggle-icon {
  font-size: 0.75rem;
  color: rgba(1, 49, 67, 0.4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  flex-shrink: 0;
}

.drawer-link-toggle.sub-open .drawer-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}

/* --- Services Submenu / Accordion --- */
.drawer-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(1, 49, 67, 0.025);
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-submenu.sub-open {
  max-height: 300px;
}

.drawer-submenu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem 0.85rem 3.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  border-left: 2px solid transparent;
}

.drawer-submenu li a:hover {
  color: var(--primary-color);
  background: rgba(1, 49, 67, 0.04);
}

.drawer-submenu li a i {
  font-size: 0.8rem;
  color: var(--primary-color);
  opacity: 0.7;
  flex-shrink: 0;
}

/* --- Drawer Footer --- */
.drawer-footer {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid rgba(1, 49, 67, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.drawer-cta {
  width: 100%;
  justify-content: space-between;
}

.drawer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* =============================================
   RESPONSIVE — show hamburger, hide desktop nav
   ============================================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-bottom-right {
    display: block;
    position: absolute;
    bottom: 1rem;
    right: 0;
    z-index: 1000;
    transform: scale(0.85);
    transform-origin: bottom right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .hero-bottom-right.is-collapsed {
    transform: translateX(100%) scale(0.85);
  }

  .hero-bottom-right.is-peek {
    animation: peekOut 1.5s ease-in-out;
  }

  @keyframes peekOut {
    0% { transform: translateX(100%) scale(0.85); }
    50% { transform: translateX(calc(100% - 40px)) scale(0.85); }
    100% { transform: translateX(100%) scale(0.85); }
  }

  h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
}

/* --- Services Overview (Sticky Scroll) --- */
.services-overview {
  padding: 8rem 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.services-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.services-scroll-track {
  position: relative;
  height: 350vh;
  /* creates scrollable space */
}

.services-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-layout {
  display: flex;
  gap: 6rem;
  width: 100%;
  height: 60vh;
}

/* Left side stacked text */
.services-left {
  flex: 1;
  position: relative;
  height: 100%;
}

.service-text-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  transform: translateY(20px);
}

.service-text-block.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.service-number {
  font-size: 6rem;
  font-weight: 800;
  color: rgba(4, 62, 46, 0.08);
  /* Faint primary color */
  line-height: 1;
  margin-bottom: 1rem;
}

.service-text-block h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.service-text-block p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.mobile-image {
  display: none;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.mobile-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Right side sticky images */
.services-right {
  flex: 1;
  height: 100%;
}

.sticky-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.8s ease;
  transform: scale(1.05);
}

.service-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-layout {
    flex-direction: column;
    gap: 0;
  }

  .services-right {
    display: none;
    /* Hide sticky area on mobile */
  }

  .services-left {
    padding-right: 0;
    width: 100%;
  }

  .mobile-image {
    display: block;
  }
}

/* --- Why Choose Us / Metrics Section --- */
.why-choose-us {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

.wcu-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6rem;
  margin-bottom: 5rem;
}

.wcu-text {
  flex: 1.2;
}

.overline {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.wcu-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 400;
  /* Lighter weight for the big clean statement */
  line-height: 1.3;
  color: var(--text-dark);
}

.wcu-right {
  flex: 0.8;
}

.wcu-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  width: 100%;
}

.wcu-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.wcu-image-wrapper:hover img {
  transform: scale(1.05);
}

.wcu-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  background: var(--accent-color);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.metric-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.6;
}

.metric-value {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-top: 2rem;
  letter-spacing: -0.02em;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .wcu-top {
    flex-direction: column;
    gap: 3rem;
  }

  .wcu-image-wrapper {
    height: 300px;
  }
}

/* --- Who We Are Section --- */
.who-we-are {
  /* High quality dark cleaning background image with strong overlay */
  background: linear-gradient(rgba(10, 15, 20, 0.75), rgba(10, 15, 20, 0.75)), url('../images/residential.jpeg') center/cover no-repeat fixed;
  padding: 5rem 0;
  color: var(--text-light);
  /* White text */
}

.wwa-top {
  margin-bottom: 2rem;
}

.wwa-top span {
  color: var(--text-light);
  border: 1px solid rgb(228 245 251 / 98%);
  background: rgb(241 251 255 / 20%);
}

.wwa-overline {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.wwa-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.wwa-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  /* subtle thin line */
  margin-bottom: 4rem;
}

.wwa-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light-muted);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .wwa-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

@media (max-width: 600px) {
  .wwa-features {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- Ultra-Premium Centered Testimonials --- */
.testimonials-premium {
  padding: 8rem 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.tp-header {
  margin-bottom: 5rem;
  text-align: left;
}

.tp-slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.tp-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 5rem 4rem 4rem 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.tp-quote-mark {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18rem;
  font-family: Georgia, serif;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.tp-slider {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
}

.tp-slide {
  grid-area: 1 / 1;
  width: 100%;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tp-quote {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.tp-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.tp-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tp-author .author-info {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.tp-author strong {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.tp-author span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tp-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.tp-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tp-arrow:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tp-dots {
  display: flex;
  gap: 0.75rem;
}

.tp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
  .testimonials-premium {
    padding: 4rem 0;
  }

  .tp-header {
    margin-bottom: 3rem;
  }

  .tp-card {
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  }

  .tp-quote-mark {
    font-size: 10rem;
    top: -25px;
  }

  .tp-quote {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

/* --- FAQ Section --- */
.faq-section {
  padding: 8rem 0;
  background-color: #f8f9fa;
  /* Off-white matching screenshot */
}

.faq-layout {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.faq-left {
  flex: 0 0 35%;
  position: sticky;
  top: 120px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(1, 49, 67, 0.15);
  border-radius: 100px;
  padding: 0.75rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(1, 49, 67, 0.03);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.section-pill-icon {
  font-size: 1.15rem;
}

.faq-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: #111;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.faq-left p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.faq-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  /* Very subtle shadow */
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: #fcfcfc;
}

.faq-question svg {
  color: #111;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
  /* Turns + into x */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .faq-layout {
    flex-direction: column;
  }

  .faq-left {
    position: static;
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
  }
}

/* --- CTA Banner --- */
.cta-banner {
  margin: 4rem 5%;
  border-radius: 24px;
  background: linear-gradient(rgba(1, 49, 67, 0.85), rgba(1, 49, 67, 0.85)), url('https://images.unsplash.com/photo-1527515637-ef5a914ea62d?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
  padding: 6rem 4rem 0 4rem;
  color: var(--text-light);
  overflow: hidden;
}

.cta-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.cta-content {
  flex: 1;
  max-width: 600px;
  padding-bottom: 6rem;
}

.cta-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.cta-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  transform-origin: bottom right;
  filter: drop-shadow(0 0 70px rgba(255, 255, 255, 0.85));
  display: block;
  transition: transform 0.4s ease, max-height 0.4s ease;
}

@media (min-width: 768px) {
  .cta-image img {
    max-height: 700px;
    transform: scale(1.25);
  }
}

@media (min-width: 1200px) {
  .cta-image img {
    max-height: 800px;
    transform: scale(1.35);
  }
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.btn-dark {
  background-color: #111;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  text-decoration: none;
}

.btn-dark:hover {
  background-color: #000;
  transform: translateY(-2px);
}

/* --- Global Footer Redesign --- */
.site-footer {
  background-color: #ffffff;
  /* White background requested */
  padding: 6rem 0 0 0;
  /* No bottom padding because of watermark overflow */
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-left-col {
  flex: 1.2;
}

.footer-headline {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #111;
  letter-spacing: -0.02em;
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 100px;
  color: #111;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-pill-outline:hover {
  border-color: #111;
}

.pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.btn-pill-outline:hover .pill-icon {
  transform: translateX(4px);
}

.footer-right-col {
  flex: 1;
  display: flex;
  gap: 4rem;
  justify-content: flex-end;
}

.footer-links-group h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #111;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-links-group a,
.footer-links-group li {
  color: #555;
  transition: color var(--transition-fast);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.footer-links-group svg {
  color: #888;
  flex-shrink: 0;
}

.social-circles {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-circles a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #eaeaea;
  color: #555;
  transition: all 0.3s ease;
}

.social-circles a:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #eaeaea;
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
  font-size: 0.85rem;
  padding-bottom: 2rem;
  z-index: 2;
  position: relative;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom span {
  color: var(--primary-color);
  font-weight: 500;
}

.footer-watermark {
  font-size: 15vw;
  font-weight: 800;
  color: #f7f7f7;
  text-align: center;
  line-height: 0.7;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
  transform: translateY(20%);
}

/* Responsive Redesigned Footer */
@media (max-width: 900px) {
  .cta-banner {
    margin: 2rem 5%;
    padding: 4rem 2rem 0 2rem;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .cta-content {
    padding-bottom: 3rem;
  }

  .cta-image {
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-right-col {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-watermark {
    font-size: 20vw;
  }
}

@media (max-width: 600px) {
  .footer-right-col {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-watermark {
    font-size: 25vw;
  }
}

/* --- Mobile Menu & Global Responsiveness --- */

/* Hide mobile elements on desktop */
.mobile-menu-btn {
  display: none;
}

.mobile-overlay {
  display: none;
}

@media (max-width: 1024px) {

  /* Header & Mobile Menu */
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    z-index: 1001;
    position: relative;
  }

  .mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    transform-origin: left center;
  }

  .site-header.theme-dark .mobile-menu-btn .bar {
    background-color: #fff;
  }

  .mobile-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1, 49, 67, 0.98);
    /* Brand color */
    backdrop-filter: blur(15px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
  }

  .mobile-overlay-inner {
    text-align: center;
    width: 100%;
    padding: 0 2rem;
  }

  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }

  .mobile-links a {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: inline-block;
  }

  /* Mobile Menu Button Active State */
  .mobile-menu-btn.active .bar-1 {
    transform: rotate(45deg);
    background-color: #fff !important;
  }

  .mobile-menu-btn.active .bar-2 {
    opacity: 0;
  }

  .mobile-menu-btn.active .bar-3 {
    transform: rotate(-45deg);
    background-color: #fff !important;
  }

  /* Layout Reflows */
  .hero .container {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
  }

  .hero-bottom-left {
    position: relative;
    bottom: 0;
    left: 0;
  }

  .hero-bottom-right {
    margin-top: 1rem;
  }

  /* Services */
  .services-layout {
    flex-direction: column;
  }

  .services-left {
    padding-right: 0;
    width: 100%;
  }

  .services-right {
    display: none;
    /* Hide parallax sticky images, fallback to inline mobile images */
  }

  .mobile-image {
    display: block;
  }

  /* Services Fixes for Mobile Sticky Overflow */
  .service-text-block {
    justify-content: flex-start;
  }

  .services-header {
    margin-bottom: 2rem;
  }

  .services-header h2 {
    margin-bottom: 0;
  }


  .service-number {
    font-size: 3.5rem;
    /* Reduced so it doesn't dominate vertical space */
    margin-bottom: 0.5rem;
  }

  .service-text-block h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .service-text-block p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .mobile-image {
    margin-bottom: 1.5rem;
  }

  .mobile-image img {
    aspect-ratio: 16/9;
    /* Flatten the image to conserve vertical height */
  }

  /* Why Choose Us & Who We Are */
  .wcu-top {
    flex-direction: column;
    gap: 3rem;
  }

  .wcu-metrics {
    flex-direction: column;
    gap: 1.5rem;
  }

  .wwa-features {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}


/* ============================================================
   NEW INNER PAGE STYLES
   ============================================================ */

/* --- Shared Section Pill --- */
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  border: 1px solid rgba(1, 49, 67, 0.18);
  background: rgba(1, 49, 67, 0.05);
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-pill-icon {
  font-size: 0.75rem;
  color: var(--primary-color);
}

/* --- Page Hero Banner (for all inner pages) --- */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(1, 30, 43, 0.85), rgba(1, 30, 43, 0.85)),
    url('../images/residential.jpeg') center/cover no-repeat;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(48, 232, 189, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

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

.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
  color: white;
}

.page-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  line-height: 1.65;
}

/* --- About Story Section --- */
.about-story {
  padding: 8rem 0;
  background: var(--bg-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.story-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.story-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.story-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(1, 49, 67, 0.1);
}

.story-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.story-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.story-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- Team Section --- */
.team-section {
  padding: 8rem 0;
  background: var(--accent-color);
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.team-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(1, 49, 67, 0.08);
}

.team-img-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(1, 49, 67, 0.08);
}

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

.team-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.team-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #30e8bd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Contact Section --- */
.contact-section {
  padding: 8rem 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info-col h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-details-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(1, 49, 67, 0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-details-list li div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-details-list li strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-details-list li span {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  background: rgba(1, 49, 67, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.contact-socials a:hover {
  background: var(--primary-color);
  color: white;
}

/* --- Contact Form Card --- */
.contact-form-card {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(1, 49, 67, 0.07);
  border: 1px solid rgba(1, 49, 67, 0.06);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-form-card>p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--full {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(1, 49, 67, 0.15);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fafafa;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab4be;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 49, 67, 0.08);
  background: white;
}

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

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* --- Map Section --- */
.map-section {
  padding: 0 0 8rem;
  background: var(--bg-light);
}

.map-wrapper {
  border-radius: 24px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 20px 60px rgba(1, 49, 67, 0.08);
  border: 1px solid rgba(1, 49, 67, 0.08);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --- Services Detail Section --- */
.service-detail-section {
  padding: 8rem 0;
  background: var(--bg-light);
}

.service-detail-section--alt {
  background: var(--accent-color);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.service-detail-grid--reverse {
  direction: rtl;
}

.service-detail-grid--reverse>* {
  direction: ltr;
}

.service-detail-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(1, 49, 67, 0.1);
}

.service-detail-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.service-detail-image:hover img {
  transform: scale(1.04);
}

.service-number-lg {
  font-size: 6rem;
  font-weight: 800;
  color: rgba(1, 49, 67, 0.07);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.service-detail-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.15;
}

.service-detail-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-left: 0;
  list-style: none;
  text-align: left;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.service-checklist li i {
  color: #30e8bd;
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Specialized sub-cards */
.specialized-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.specialized-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(1, 49, 67, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.specialized-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(1, 49, 67, 0.07);
}

.specialized-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0 0.4rem;
}

.specialized-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* --- Process Steps Section --- */
.process-section {
  padding: 8rem 0;
  background: var(--bg-light);
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.process-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(1, 49, 67, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(1, 49, 67, 0.08);
}

.process-step-num {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(1, 49, 67, 0.07);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.process-step-icon {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(1, 49, 67, 0.2);
  font-size: 1.25rem;
  padding: 0 0.5rem;
  flex-shrink: 0;
  margin-top: -1rem;
}

/* --- Projects Section --- */
.projects-section {
  padding: 6rem 0 8rem;
  background: var(--bg-light);
}

.projects-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  border: 1px solid rgba(1, 49, 67, 0.15);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(1, 49, 67, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(1, 49, 67, 0.1);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 30, 43, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  transition: opacity var(--transition-fast);
}

.project-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  background: rgba(48, 232, 189, 0.9);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — NEW PAGES
   ============================================================ */

@media (max-width: 1024px) {
  .process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .process-connector {
    display: none;
  }
}

@media (max-width: 900px) {

  .story-grid,
  .service-detail-grid,
  .service-detail-grid--reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    direction: ltr;
  }

  .service-detail-grid--reverse>* {
    direction: ltr;
  }

  .service-detail-image img {
    height: 340px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .specialized-cards {
    grid-template-columns: 1fr;
  }

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

  .story-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {

  .team-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .page-hero {
    min-height: 60vh;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}
/* Inline Style Replacements */
.icon-white-sm { color: white; font-size: 14px; transition: color 0.4s ease; }
.icon-white-md { color: white; font-size: 16px; transition: color 0.4s ease; }
.icon-white-lg { color: white; font-size: 18px; transition: color 0.4s ease; }

.icon-lord-sm { width: 24px; height: 24px; }
.icon-lord-md { width: 36px; height: 36px; }
.icon-lord-lg { width: 50px; height: 50px; margin-bottom: 1rem; }
.icon-lord-xl { width: 52px; height: 52px; }

.bg-light-section { background: var(--bg-light); }
.bg-accent-section { background: var(--accent-color); }

.process-steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.process-step-card { text-align: left; padding: 2.5rem; background: var(--accent-color); }
.process-step-card-light { text-align: left; padding: 2.5rem; }
.process-icon-container { justify-content: flex-start; margin-bottom: 0.5rem; }
.process-icon-primary { font-size: 2rem; color: #013143; }
.checklist-flat { margin-bottom: 0; margin-top: 1rem; }

.btn-icon-circle {
    display: inline-flex; align-items: center; justify-content: center; 
    width: 34px; height: 34px; border-radius: 50%; 
    background: rgba(255,255,255,0.2); transition: all 0.4s ease; margin-left: 0.75rem;
}

.stat-label { font-size: 1.5rem; color: var(--primary-color); }
.mt-2rem { margin-top: 2rem; }
.mt-2-5rem { margin-top: 2.5rem; }
.mt-1-5rem { margin-top: 1.5rem; }
.mb-1rem { margin-bottom: 1rem; }

/* ── Cookie Banner ────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #011e2b;
    border-top: 1px solid rgba(48, 232, 189, 0.2);
    padding: 18px 24px;
    transform: translateY(110%);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.35);
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 240px;
}

.cookie-icon {
    font-size: 1.5rem;
    color: #30e8bd;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-banner-text strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: #30e8bd;
    text-decoration: none;
    border-bottom: 1px solid rgba(48,232,189,0.3);
}

.cookie-link:hover {
    border-bottom-color: #30e8bd;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cookie-btn-accept {
    background: #30e8bd;
    color: #013143;
}

.cookie-btn-accept:hover {
    background: #20d4aa;
    transform: translateY(-1px);
}

.cookie-btn-essential {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn-essential:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255,255,255,0.4);
    padding: 8px 12px;
    font-size: 1rem;
}

.cookie-btn-decline:hover {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn-accept,
    .cookie-btn-essential {
        flex: 1;
        text-align: center;
    }
}
