/* 
   Velar Holding - Core Design System Stylesheet
   Luxury corporate aesthetic with Plus Jakarta Sans & Inter
*/

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

:root {
  /* Color Palette — Professional Light Blue */
  --color-primary: #1B5F8C;        /* Professional blue */
  --color-primary-light: #3A86B8;  /* Lighter professional blue */
  --color-primary-dark: #0C2848;   /* Deep professional blue */
  --color-accent: #C5A880;         /* Champagne Gold */
  --color-accent-hover: #B2956D;   /* Darker Champagne Gold */
  --color-bg-light: #F4F7FA;       /* Cool light blue-gray */
  --color-bg-white: #FFFFFF;       /* Clean White */
  --color-text-dark: #101820;       
  --color-text-muted: #4A5560;     
  --color-text-light: #F4F7FA;     
  --color-border: #DCE3EA;         
  --color-border-hover: #C5A880;   
  
  /* Status Colors */
  --color-success: #1A7A5C;
  --color-error: #B02020;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing Scale - Ensuring no layout jams */
  --space-2xs: 6px;
  --space-xs: 12px;
  --space-sm: 20px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 140px;
  
  /* Corner Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.01);
  --shadow-md: 0 12px 24px rgba(12, 40, 72, 0.06);
  --shadow-lg: 0 24px 48px rgba(12, 40, 72, 0.10);
  --shadow-lux: 0 30px 60px rgba(0, 0, 0, 0.2);
  
  /* Animation / Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Preloader styles — must sit above header (z-index: 99999) and cursor (9999) */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-primary-dark);
  z-index: 200000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-circle {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(197, 168, 128, 0.1);
  border-top: 2px solid var(--color-accent);
  border-radius: var(--radius-full);
  animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin-bottom: var(--space-md);
}

.preloader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 5px;
  color: var(--color-text-light);
  font-weight: 500;
}

.preloader-logo span {
  color: var(--color-accent);
}

.preloader-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo-mark {
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  position: relative;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  margin-bottom: var(--space-xs);
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  font-weight: 300;
}

p.lead {
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Custom Cursor Follower - Starts invisible to prevent floating artifact bugs */
.cursor-follower {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor-follower.hovering {
  width: 48px;
  height: 48px;
  background-color: rgba(197, 168, 128, 0.2);
  border-color: transparent;
}

@media (pointer: coarse) {
  .cursor-follower {
    display: none !important;
  }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

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

@media (min-width: 1024px) {
  .section-padding {
    padding: var(--space-2xl) 0;
  }
}

.bg-dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3 {
  color: var(--color-text-light);
}

.bg-dark p {
  color: #A8B8C4;
}

.bg-white-surf {
  background-color: var(--color-bg-white);
}

/* Floating Capsule Header - Premium Liquid Glass Style */
header.main-header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 100000;
  background: rgba(12, 40, 72, 0.55);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 var(--space-md);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.5s,
              border-color 0.5s,
              border-radius 0.5s,
              top 0.5s,
              box-shadow 0.5s;
  overflow: visible;
}

@media (min-width: 768px) {
  header.main-header {
    width: calc(100% - 48px);
    padding: 0 var(--space-lg);
  }
}

/* Scrolled — more opaque dark glass */
header.main-header.scrolled {
  top: 12px;
  height: 68px;
  background: rgba(12, 40, 72, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lux);
}

/* Over light section — alabaster glass */
header.main-header.scrolled-light {
  background: rgba(250, 249, 246, 0.96) !important;
  border-color: rgba(12, 40, 72, 0.14) !important;
  box-shadow: 0 8px 32px rgba(12, 40, 72, 0.07) !important;
}

/* Expanded (dropdown open) — force dark so dropdown blends */
header.main-header.expanded {
  background: rgba(12, 40, 72, 0.97) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lux) !important;
}

/* When expanded AND previously in light mode — still go dark */
header.main-header.scrolled-light.expanded {
  background: rgba(12, 40, 72, 0.97) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 76px;
  flex-shrink: 0;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

header.main-header.scrolled .header-container {
  height: 68px;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 1px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 0;
  display: block;
  object-fit: contain;
}

/* Auto-contrast: white mark on dark header, dark mark on light header */
.logo-mark--dark { display: none; }
.logo-mark--light { display: block; }

header.main-header.scrolled-light .logo-mark--light { display: none; }
header.main-header.scrolled-light .logo-mark--dark { display: block; }

/* When mega menu expands, header goes dark again — force white logo */
header.main-header.expanded .logo-mark--light { display: block !important; }
header.main-header.expanded .logo-mark--dark { display: none !important; }

/* Over light background: dark blue text */
header.main-header.scrolled-light .logo {
  color: var(--color-primary);
}

/* When dropdown open: always white (header is dark) */
header.main-header.expanded .logo {
  color: rgba(255, 255, 255, 0.95) !important;
}

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

/* Branded residence partner strip */
.brand-partners-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.brand-partner-tile {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--color-border);
  background: rgba(12, 40, 72, 0.03);
  transition: border-color 0.3s, background 0.3s;
}
.brand-partner-tile:hover {
  border-color: var(--color-accent);
  background: rgba(197, 168, 128, 0.08);
}
.brand-partner-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}
.brand-partner-tag {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .brand-partners-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .brand-partners-strip { grid-template-columns: 1fr; }
}

/* Energy commodity chips */
.energy-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-md);
}
.energy-chip {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(197, 168, 128, 0.45);
  color: var(--color-primary);
  background: rgba(197, 168, 128, 0.08);
}

/* ── Nav Links ── */
nav.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  nav.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

/* Hover — always gold underline */
.nav-link:hover {
  color: var(--color-accent);
}

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

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

/* Over light background: dark blue text */
header.main-header.scrolled-light .nav-link {
  color: rgba(12, 40, 72, 0.85);
}

header.main-header.scrolled-light .nav-link:hover {
  color: var(--color-accent);
}

/* When dropdown open — header forced dark, so all links white */
header.main-header.expanded .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
}

header.main-header.expanded .nav-link:hover {
  color: var(--color-accent) !important;
}

/* ── Mega Dropdown ──
   Position: anchored to header via position:absolute relative to the
   header element (which has position:fixed).
   We offset from the bottom edge of the header pill. */
.nav-item-dropdown {
  position: static;
}

.mega-dropdown {
  /* Relative to header.main-header (position: fixed) */
  position: absolute;
  /* Start just below the header bottom edge */
  top: calc(100% + 12px);
  /* Full-bleed inside the header, accounting for header padding */
  left: 0;
  right: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: var(--space-lg);
  /* Hidden until expanded */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s;
  z-index: 1;
  /* Always dark glass — expanded class forces header dark too */
  background: rgba(12, 40, 72, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  padding: var(--space-xl) var(--space-lg);
}

/* Invisible hit-area bridge so mouse can travel from nav link to dropdown */
.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

/* Show when header has .expanded */
header.main-header.expanded .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ── Mega dropdown inner elements — always on dark bg ── */
.mega-dropdown-featured {
  background: rgba(197, 168, 128, 0.06);
  border: 1px dashed rgba(197, 168, 128, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-featured-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
}

.mega-featured-text {
  font-size: 0.83rem;
  color: rgba(250, 249, 246, 0.6);
  line-height: 1.55;
  margin: var(--space-xs) 0;
}

.mega-featured-stats {
  display: flex;
  gap: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: var(--space-xs);
}

.mega-stat-unit {
  display: flex;
  flex-direction: column;
}

.mega-stat-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
}

.mega-stat-lbl {
  font-size: 0.7rem;
  color: rgba(250, 249, 246, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mega-dropdown-col-custom {
  padding: var(--space-xs) var(--space-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.mega-title-custom {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
}

.mega-links-list {
  list-style: none;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.mega-links-list li {
  margin-bottom: var(--space-2xs);
}

.mega-links-list li a {
  color: rgba(250, 249, 246, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  display: block;
  white-space: nowrap;
}

.mega-links-list li a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.mega-explore-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(197, 168, 128, 0.75);
  text-decoration: none;
  transition: var(--transition-fast);
}

.mega-explore-link:hover {
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

/* Staggered column entrance */
header.main-header.expanded .mega-dropdown-featured {
  transition-delay: 0.04s;
}
header.main-header.expanded .mega-dropdown-col-custom:nth-child(2) {
  transition-delay: 0.09s;
}
header.main-header.expanded .mega-dropdown-col-custom:nth-child(3) {
  transition-delay: 0.14s;
}
header.main-header.expanded .mega-dropdown-col-custom:nth-child(4) {
  transition-delay: 0.19s;
}

/* Premium Rounded Buttons with Shimmer & Scale Animations */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* Shimmer overlay effect */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 55%
  );
  transform: rotate(35deg);
  transition: transform 0.5s ease;
  animation: shimmerEffect 5s infinite linear;
  z-index: -1;
  pointer-events: none;
}

@keyframes shimmerEffect {
  0% { transform: translate3d(-100%, -100%, 0) rotate(35deg); }
  50%, 100% { transform: translate3d(100%, 100%, 0) rotate(35deg); }
}

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

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Accent buttons: gold with dark blue text labels */
.btn-accent {
  background-color: var(--color-accent) !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-accent) !important;
  font-weight: 600;
}

.btn-accent:hover {
  background-color: var(--color-accent-hover) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Auto-contrast CTA button theme adjustment for scrolled-light mode */
header.main-header.scrolled-light .btn-accent {
  background-color: var(--color-primary) !important;
  color: var(--color-text-light) !important;
  border-color: var(--color-primary) !important;
}

header.main-header.scrolled-light .btn-accent:hover {
  background-color: var(--color-primary-light) !important;
  color: var(--color-accent) !important;
}

/* When expanded header is always dark — gold accent button restored */
header.main-header.expanded .btn-accent {
  background-color: var(--color-accent) !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-accent) !important;
}

header.main-header.expanded .btn-accent:hover {
  background-color: var(--color-accent-hover) !important;
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background-color: var(--color-bg-white);
  color: var(--color-primary-dark);
  transform: translateY(-2px) scale(1.02);
}

header.main-header.scrolled-light .btn-outline-light {
  color: var(--color-primary-dark) !important;
  border-color: rgba(12, 40, 72, 0.35) !important;
}

header.main-header.scrolled-light .btn-outline-light:hover {
  background-color: var(--color-primary-dark) !important;
  color: var(--color-text-light) !important;
}

/* Expanded = always dark header */
header.main-header.expanded .btn-outline-light {
  color: var(--color-text-light) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background-color: transparent !important;
}

header.main-header.expanded .btn-outline-light:hover {
  background-color: var(--color-bg-white) !important;
  color: var(--color-primary-dark) !important;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

/* Premium Slick Email Button */
.btn-email-slick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 40, 72, 0.03);
  border: 1px solid rgba(12, 40, 72, 0.1);
  color: var(--color-primary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 12px;
}

.btn-email-slick svg {
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.btn-email-slick:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-email-slick:hover svg {
  transform: scale(1.1) rotate(-5deg);
}

/* Mobile Toggle Hamburger lines change color */
.mobile-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 100001;
  position: relative;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

header.main-header.scrolled-light .mobile-nav-toggle span {
  background-color: var(--color-primary);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 40, 72, 0.55);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(100%, 400px);
  height: 100%;
  height: 100dvh;
  background-color: var(--color-primary-dark);
  z-index: 99995;
  display: flex;
  flex-direction: column;
  padding: max(100px, calc(env(safe-area-inset-top, 0px) + 88px)) var(--space-md) calc(env(safe-area-inset-bottom, 0px) + var(--space-md));
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lux);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer .nav-link {
  color: var(--color-text-light);
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  padding: 10px 0;
}

.mobile-drawer .mobile-drawer-section {
  margin: var(--space-sm) 0 var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-drawer .mobile-drawer-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.mobile-drawer .mobile-drawer-sublink {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 0;
  font-family: var(--font-body);
}

.mobile-drawer .mobile-drawer-sublink:hover,
.mobile-drawer .mobile-drawer-sublink:active {
  color: var(--color-accent);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(27, 95, 140, 0.45) 0%, rgba(12, 40, 72, 0.96) 75%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(40%);
  z-index: 0;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

@media (min-width: 1024px) {
  .hero-bg-img {
    width: 60%;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero-content {
  max-width: 760px;
}

.hero-subtitle {
  color: var(--color-accent);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.hero-title {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.hero-lead {
  color: #A8B8C4;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

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

/* Stats Section layout */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 var(--space-md);
  overflow: visible;
}

.stat-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-lg);
  background: rgba(12, 40, 72, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (max-width: 600px) {
  .stats-section {
    margin-top: -30px;
  }
  .stat-banner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 767px) {
  .stat-banner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .stat-label {
    white-space: normal;
  }
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.stat-label {
  font-size: 0.75rem;
  color: #A8B8C4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-2xs);
  white-space: nowrap;
}

/* Section Header styling */
.section-header {
  max-width: 700px;
  margin-bottom: var(--space-xl);
}

.section-subtitle {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: var(--space-xs);
  display: block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

/* Split Layout Section */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .split-layout.reverse .split-col-text {
    order: 2;
  }
  .split-layout.reverse .split-col-media {
    order: 1;
  }
}

.split-col-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-col-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.split-col-media:hover img {
  transform: scale(1.02);
}

/* Cards System */
.grid-three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .grid-three-col {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .grid-three-col {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

/* Premium Card Design - Light */
.premium-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (min-width: 768px) {
  .premium-card {
    padding: var(--space-xl);
  }
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

/* Premium Card Design - Specific Dark State for Contrast */
.premium-card.bg-dark {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-card.bg-dark:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
}

.premium-card.bg-dark .card-title,
.premium-card.bg-dark h3 {
  color: var(--color-text-light);
}

.premium-card.bg-dark .card-body {
  color: #A8B8C4;
}

.premium-card.bg-dark .card-link {
  color: var(--color-accent);
}

.card-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(12, 40, 72, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.bg-dark .card-icon {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-accent);
}

.premium-card:hover .card-icon {
  background-color: var(--color-primary);
  color: var(--color-accent);
}

.card-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.card-title {
  margin-bottom: var(--space-xs);
}

.card-body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.card-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.card-link svg {
  transition: var(--transition-fast);
}

.card-link:hover {
  color: var(--color-accent);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* SVG Dashboard Mockups & 0%-100%-0% Loop Animations */
.svg-dashboard {
  background-color: var(--color-primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lux);
  overflow: hidden;
  max-width: 100%;
}

/* Looping stroke paths that trace 0% -> 100% -> 0% */
@keyframes strokeLoop {
  0%, 100% { stroke-dashoffset: 600; opacity: 0.1; }
  50% { stroke-dashoffset: 0; opacity: 1; }
}

.draw-loop {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: strokeLoop 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes opacityLoop {
  0%, 100% { opacity: 0.1; filter: blur(2px); }
  50% { opacity: 1; filter: blur(0px); }
}

.pulse-loop {
  animation: opacityLoop 3s ease-in-out infinite;
}

.pulse-glow {
  animation: opacityLoop 2s infinite ease-in-out;
}

/* Differentiator Lists */
.differentiator-list {
  list-style: none;
}

.differentiator-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.diff-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(197, 168, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.diff-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.bg-dark .diff-title {
  color: var(--color-text-light);
}

.diff-body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-2xl);
  }
}

.contact-info-panel {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

@media (min-width: 768px) {
  .contact-info-panel {
    padding: var(--space-2xl);
  }
}

.contact-info-list {
  margin: var(--space-xl) 0;
  list-style: none;
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-info-icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info-text h4 {
  color: var(--color-text-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2xs);
}

.contact-info-text p, .contact-info-text a {
  color: #A8B8C4;
  text-decoration: none;
  font-size: 1.05rem;
  transition: var(--transition-fast);
}

.contact-info-text a:hover {
  color: var(--color-accent);
}

/* Contact Form Panel */
.contact-form-panel {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .contact-form-panel {
    padding: var(--space-2xl);
  }
}

.form-group {
  margin-bottom: var(--space-md);
  position: relative;
}

.form-control {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231B5F8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 20px) center;
  background-size: 14px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.privacy-notice {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.form-control.invalid {
  border-color: var(--color-error);
}

.form-error-msg {
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: var(--space-2xs);
  display: none;
}

.form-control.invalid + .form-error-msg {
  display: block;
}

/* Form Success State */
.form-success-state {
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  animation: fadeIn 0.5s ease forwards;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(30, 102, 39, 0.1);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

/* Scroll reveal triggers */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="fade-in"] {
  transform: none;
}

[data-reveal="fade-left"] {
  transform: translateX(-30px);
}

[data-reveal="fade-right"] {
  transform: translateX(30px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

@media (min-width: 768px) {
  .back-to-top {
    bottom: var(--space-xl);
    right: var(--space-xl);
  }
}

.back-to-top:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Footer Section */
footer.main-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand h3 {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.footer-brand h3 span {
  color: var(--color-accent);
}

.footer-col h4 {
  color: var(--color-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

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

.footer-col ul li {
  margin-bottom: var(--space-xs);
}

.footer-col ul li a {
  color: #A8B8C4;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  max-width: 100%;
  padding: 0 var(--space-xs);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-md);
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* Spotlights */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(197, 168, 128, 0.05), transparent 80%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.bg-dark .spotlight-card::before {
  background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(197, 168, 128, 0.08), transparent 80%);
}

/* Service Detail Cards */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (min-width: 1024px) {
  .services-detail-grid {
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
  }
}

.service-detail-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  align-items: center;
  transition: var(--transition-smooth);
}

@media (min-width: 768px) {
  .service-detail-card {
    grid-template-columns: 80px 1fr;
    gap: var(--space-xl);
    padding: var(--space-2xl);
  }
}

.service-detail-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(197, 168, 128, 0.2);
  line-height: 1;
}

@media (min-width: 768px) {
  .service-number {
    font-size: 3.5rem;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: var(--space-2xs);
  list-style: none;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.breadcrumbs li {
  font-size: 0.85rem;
}

.breadcrumbs li a {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumbs li::after {
  content: '/';
  margin-left: var(--space-2xs);
  color: rgba(255,255,255,0.3);
}

.breadcrumbs li:last-child::after {
  content: '';
}

.breadcrumbs li span {
  color: rgba(255,255,255,0.6);
}

/* Sub-page heroes */
.hero-section.sub-hero {
  min-height: 55vh;
  padding: 160px 0 var(--space-xl) 0;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-section.sub-hero {
    min-height: 60vh;
    padding: 180px 0 var(--space-2xl) 0;
  }
}

.hero-section.sub-hero .hero-bg-img {
  width: 100%;
  opacity: 0.15;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: var(--space-xs) 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.accordion-header:hover {
  color: var(--color-accent);
}

.accordion-header svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-accent);
  flex-shrink: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
  padding: var(--space-xs) 0 var(--space-sm) 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0;
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

/* Horizontal scrolling ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: var(--space-md) 0;
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.ticker-content {
  display: flex;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

.ticker-item {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(12, 40, 72, 0.35);
  margin-right: var(--space-3xl);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

@keyframes tickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Synergy Calculator Panel - Overlap Fix */
.calculator-panel {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: block;
}

@media (min-width: 768px) {
  .calculator-panel {
    padding: var(--space-xl);
  }
}

.calc-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

@media (min-width: 600px) {
  .calc-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-checkbox-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xs);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.calc-checkbox-card:hover {
  border-color: var(--color-accent);
  background-color: rgba(197, 168, 128, 0.03);
}

.calc-checkbox-card.selected {
  border-color: var(--color-primary);
  background-color: rgba(12, 40, 72, 0.03);
}

.calc-checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.calc-card-icon {
  color: var(--color-primary);
  margin-bottom: 4px;
}

.calc-checkbox-card.selected .calc-card-icon {
  color: var(--color-accent);
}

.calc-results {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  text-align: left;
}

.calc-result-num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
}

.calc-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: #A8B8C4;
  margin: 0;
  padding-top: var(--space-2xs);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Premium Rounded Glassmorphism CTA block with solid gradient backdrop & border overlay */
.pill-cta-section {
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.15), transparent), linear-gradient(135deg, #0C2848 0%, #1B5F8C 100%);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  color: var(--color-text-light);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-lux);
}

@media (min-width: 768px) {
  .pill-cta-section {
    padding: var(--space-2xl) var(--space-xl);
  }
}

.pill-cta-section h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.pill-cta-section p {
  color: #A8B8C4;
  max-width: 600px;
  margin: 0 auto var(--space-lg) auto;
}

/* Testimonials Endless Loop Marquee */
.testimonials-marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: var(--space-md) 0;
  position: relative;
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.testimonials-marquee-track {
  display: flex;
  width: max-content;
  gap: var(--space-md);
  animation: marqueeScroll 50s linear infinite;
}

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

@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.testimonials-marquee-card {
  width: 380px;
  background: rgba(12, 40, 72, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  transition: transform 0.4s ease, border-color 0.4s;
}

.testimonials-marquee-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  background: rgba(12, 40, 72, 0.9);
}

.testimonials-marquee-card.ar-card {
  text-align: right;
  direction: rtl;
}

.testimonials-marquee-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: #FAF9F6;
  font-weight: 300;
}

.testimonials-marquee-card.ar-card p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-accent);
}

/* Google Theme circular avatar header item */
.testimonial-profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-sm);
  margin-top: auto;
}

.ar-card .testimonial-profile-header {
  border-top-color: rgba(255, 255, 255, 0.08);
  flex-direction: row; /* Keep row structure, RTL will handle alignment */
}

.testimonial-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.testimonial-profile-info {
  display: flex;
  flex-direction: column;
}

.testimonial-profile-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.testimonial-profile-company {
  font-size: 0.75rem;
  color: #A8B8C4;
}

/* Mobile responsive padding and height fixes to avoid header overlap */
@media (max-width: 767px) {
  .hero-section {
    padding-top: 130px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-section.sub-hero {
    min-height: auto;
    padding: 120px 0 var(--space-lg);
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .stats-section {
    margin-top: var(--space-md);
  }

  .stagger-block {
    padding: var(--space-xl) 0;
  }

  .stagger-number {
    font-size: clamp(4rem, 22vw, 7rem);
    opacity: 0.08;
  }

  .logo {
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    gap: 0.35rem;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .preloader-logo {
    font-size: 1rem;
    letter-spacing: 3px;
    text-align: center;
  }

  .section-padding {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .split-col-media img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
  }

  .premium-card {
    padding: var(--space-md);
  }

  .company-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .company-cta-row .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .pill-cta-section,
  .cta-pill-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .contact-form-panel,
  .contact-form {
    width: 100%;
    max-width: 100%;
  }

  .form-control {
    font-size: 16px; /* prevent iOS zoom */
  }

  .testimonials-marquee-card {
    width: min(300px, 82vw);
  }

  .footer-brand h3,
  .footer-logo-row h3 {
    font-size: 1.15rem;
  }

  .header-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-header .header-container {
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 0.92rem;
  }
  .logo span {
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    transform: none !important;
  }
}

/* Company CTA rows (desktop default) */
.company-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Safe area for fixed header on notched phones */
@supports (padding: max(0px)) {
  .main-header .header-container {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

/* ==========================================================================
   Admin Secure Modal
   ========================================================================== */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 40, 72, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.admin-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.admin-modal {
  background: #1B5F8C;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal-overlay.visible .admin-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.admin-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #A8B8C4;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}

.admin-modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: #FAF9F6;
}

.admin-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md) auto;
  background: rgba(197, 168, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.admin-modal h3 {
  color: #FAF9F6;
  margin-bottom: var(--space-xs);
  font-size: 1.5rem;
}

.admin-modal p {
  color: #A8B8C4;
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.admin-input {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 20px;
  border-radius: 8px;
  color: #FAF9F6;
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: border-color 0.3s;
}

.admin-input:focus {
  border-color: var(--color-accent);
}

.admin-error {
  min-height: 20px;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #ff4d4f;
}

/* ==========================================================================
   Global CTA Pill Container
   ========================================================================== */
.cta-pill-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at right, rgba(12, 40, 72, 0.8), var(--color-primary-dark));
  border-radius: 100px;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-2xl);
  box-shadow: 0 15px 40px rgba(12, 40, 72, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.15);
  margin: var(--space-2xl) 0;
}

.cta-pill-content h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.cta-pill-content p {
  color: #A8B8C4;
  margin: 0;
  font-size: 1rem;
}

.cta-pill-btn {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: 100px;
  padding: 16px 40px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
  margin-left: var(--space-lg);
  white-space: nowrap;
}

.cta-pill-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(197, 168, 128, 0.3);
  color: var(--color-primary-dark);
}

@media (max-width: 768px) {
  .cta-pill-container {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    gap: var(--space-lg);
  }
  .cta-pill-btn {
    margin-left: 0;
    width: 100%;
  }
}

/* =============================================================================
   STAGGERED LUXURY LAYOUT — Velar Hospitality
   Alternating left/right full-width blocks with giant background numbers
   ============================================================================= */

.services-stagger {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stagger-block {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  border-top: 3px solid var(--color-accent);
  transition: var(--transition-smooth);
}

.stagger-block .stagger-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .stagger-block .stagger-inner {
    padding: 0 var(--space-xl);
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .stagger-block .stagger-inner {
    max-width: 800px;
  }

  .stagger-block:nth-child(odd) .stagger-inner {
    margin-left: var(--space-xl);
    margin-right: auto;
  }

  .stagger-block:nth-child(even) .stagger-inner {
    margin-right: var(--space-xl);
    margin-left: auto;
  }
}

@media (min-width: 1280px) {
  .stagger-block:nth-child(odd) .stagger-inner {
    margin-left: calc(var(--space-3xl) + var(--space-xl));
  }

  .stagger-block:nth-child(even) .stagger-inner {
    margin-right: calc(var(--space-3xl) + var(--space-xl));
  }
}

/* Giant watermark number */
.stagger-number {
  position: absolute;
  top: 50%;
  right: var(--space-xl);
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.stagger-block:nth-child(even) .stagger-number {
  right: auto;
  left: var(--space-xl);
}

/* Dark block styling */
.stagger-block.bg-dark {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
}

.stagger-block.bg-dark .stagger-subtitle {
  color: var(--color-accent);
}

.stagger-block.bg-dark h3 {
  color: var(--color-text-light);
}

.stagger-block.bg-dark p {
  color: #A8B8C4;
}

/* Light block styling */
.stagger-block.bg-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.stagger-block.bg-light .stagger-subtitle {
  color: var(--color-accent);
}

.stagger-block.bg-light h3 {
  color: var(--color-primary);
}

.stagger-block.bg-light p {
  color: var(--color-text-muted);
}

.stagger-subtitle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.stagger-block h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.stagger-block p {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 600px;
}

.stagger-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: var(--space-sm);
  border: none;
}

/* =============================================================================
   BENTO GRID LAYOUT — Velar Commercial
   Asymmetric CSS Grid with glassmorphic dark cards and accent glow on hover
   ============================================================================= */

.services-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (min-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .services-bento .bento-tile:first-child {
    grid-column: span 2;
  }
}

.bento-tile {
  position: relative;
  background: rgba(12, 40, 72, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 168, 128, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  overflow: hidden;
  transition: border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(197, 168, 128, 0), rgba(197, 168, 128, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background 0.5s ease;
}

.bento-tile:hover {
  border-color: rgba(197, 168, 128, 0.35);
  box-shadow: 0 0 40px rgba(197, 168, 128, 0.08),
              0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.bento-tile:hover::before {
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.4), rgba(197, 168, 128, 0.05));
}

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.bento-tile:hover .bento-icon {
  background: rgba(197, 168, 128, 0.15);
  border-color: rgba(197, 168, 128, 0.3);
}

.bento-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.bento-tile h3 {
  color: var(--color-text-light);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 600;
  margin-bottom: 0;
}

.bento-tile p {
  color: #8FA0AE;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.bento-tile .bento-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-accent);
  opacity: 0.5;
  margin-top: auto;
  padding-top: var(--space-sm);
}

/* First (featured) tile has extra height / emphasis */
@media (min-width: 1024px) {
  .bento-tile:first-child {
    padding: var(--space-xl) var(--space-xl);
  }

  .bento-tile:first-child h3 {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  }

  .bento-tile:first-child p {
    max-width: 540px;
  }
}

/* =============================================================================
   WATERFALL TIMELINE LAYOUT — Velar Finance
   Vertical timeline with glowing accent line and branching content nodes
   ============================================================================= */

.services-waterfall {
  position: relative;
  padding-left: 40px;
}

/* The continuous glowing timeline line */
.services-waterfall::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--color-accent) 8%,
    var(--color-accent) 92%,
    transparent 100%
  );
  opacity: 0.35;
}

/* Glow overlay for the line */
.services-waterfall::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 10px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(197, 168, 128, 0.15) 8%,
    rgba(197, 168, 128, 0.15) 92%,
    transparent 100%
  );
  filter: blur(6px);
  pointer-events: none;
}

@media (min-width: 768px) {
  .services-waterfall {
    padding-left: 80px;
  }

  .services-waterfall::before {
    left: 38px;
  }

  .services-waterfall::after {
    left: 34px;
  }
}

@media (min-width: 1024px) {
  .services-waterfall {
    padding-left: 100px;
  }

  .services-waterfall::before {
    left: 48px;
  }

  .services-waterfall::after {
    left: 44px;
  }
}

.waterfall-item {
  position: relative;
  padding: var(--space-lg) 0;
  padding-left: var(--space-lg);
}

.waterfall-item:not(:last-child) {
  border-bottom: 1px solid rgba(197, 168, 128, 0.08);
}

/* Timeline node dot */
.waterfall-item::before {
  content: '';
  position: absolute;
  left: calc(-40px + 12px);
  top: calc(var(--space-lg) + 6px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  border: 2px solid var(--color-accent);
  z-index: 2;
  transition: var(--transition-fast);
}

/* Glowing halo on hover */
.waterfall-item::after {
  content: '';
  position: absolute;
  left: calc(-40px + 8px);
  top: calc(var(--space-lg) + 2px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.15);
  filter: blur(4px);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.waterfall-item:hover::after {
  opacity: 1;
}

.waterfall-item:hover::before {
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.4);
}

@media (min-width: 768px) {
  .waterfall-item {
    padding-left: var(--space-xl);
  }

  .waterfall-item::before {
    left: calc(-80px + 32px);
  }

  .waterfall-item::after {
    left: calc(-80px + 28px);
  }
}

@media (min-width: 1024px) {
  .waterfall-item::before {
    left: calc(-100px + 42px);
  }

  .waterfall-item::after {
    left: calc(-100px + 38px);
  }
}

/* Horizontal connector line from dot to content */
.waterfall-connector {
  position: absolute;
  left: calc(-40px + 26px);
  top: calc(var(--space-lg) + 12px);
  width: calc(40px - 26px + var(--space-lg));
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), rgba(197, 168, 128, 0.1));
  z-index: 1;
}

@media (min-width: 768px) {
  .waterfall-connector {
    left: calc(-80px + 46px);
    width: calc(80px - 46px + var(--space-xl));
  }
}

@media (min-width: 1024px) {
  .waterfall-connector {
    left: calc(-100px + 56px);
    width: calc(100px - 56px + var(--space-xl));
  }
}

.waterfall-content {
  background: rgba(12, 40, 72, 0.04);
  border: 1px solid rgba(197, 168, 128, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.waterfall-item:hover .waterfall-content {
  border-color: rgba(197, 168, 128, 0.25);
  box-shadow: 0 8px 32px rgba(12, 40, 72, 0.06);
  transform: translateX(4px);
}

.waterfall-step {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2xs);
}

.waterfall-content h3 {
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.waterfall-content p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 0;
}

/* Waterfall accent bar on left of card */
.waterfall-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--space-lg);
  bottom: var(--space-lg);
  width: 0;
}

/* Dark variant for waterfall on dark backgrounds */
.bg-dark .waterfall-content {
  background: rgba(197, 168, 128, 0.04);
  border-color: rgba(197, 168, 128, 0.1);
}

.bg-dark .waterfall-content h3 {
  color: var(--color-text-light);
}

.bg-dark .waterfall-content p {
  color: #A8B8C4;
}

.bg-dark .waterfall-item:hover .waterfall-content {
  border-color: rgba(197, 168, 128, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   14. FAQ Accordion Component
   ========================================================================== */
.faq-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-white);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary-dark);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: color 0.3s;
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-accent);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before {
  top: 11px;
  left: 2px;
  right: 2px;
  height: 2px;
}

.faq-icon::after {
  top: 2px;
  bottom: 2px;
  left: 11px;
  width: 2px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg) scale(0);
}
.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 80vh;
  margin-top: var(--space-sm);
}


.counter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: center;
}
@media (min-width: 600px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .counter-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
}
