/* ==========================================================================
   Royal Builders - Modern Construction Portfolio Design System
   Themes:
     Light: Pure White (#FFFFFF) + Vibrant Sky Blue (#0284C7 / #0EA5E9)
     Dark: Deep Obsidian Black (#030712) + Neon Sky Blue (#38BDF8)
   Typography: 'Lexend' (Unified site-wide geometric font)
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  --bg: #030712;
  --bg-subtle: #080E1E;
  --bg-surface: #0A1124;
  --ink: #F8FAFC;
  --ink-heading: #FFFFFF;
  --muted: #94A3B8;
  --line: #1E293B;
  --line-sky: rgba(56, 189, 248, 0.28);
  --card: rgba(10, 17, 36, 0.82);
  --card-solid: #0A1124;
  --card-border: rgba(56, 189, 248, 0.22);
  --cine: #030712;

  /* Glass Theme System - Dark */
  --card-glass: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.6) 100%);
  --card-glass-border: rgba(56, 189, 248, 0.24);
  --card-glass-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(56, 189, 248, 0.18);
  --card-glass-blur: 24px;

  /* Skyblue Palette - Dark */
  --sky: #38BDF8;
  --sky-bright: #0EA5E9;
  --sky-light: #7DD3FC;
  --sky-tint: rgba(56, 189, 248, 0.12);
  --sky-tint-hover: rgba(56, 189, 248, 0.24);
  --sky-glow: 0 0 30px rgba(56, 189, 248, 0.38);
  --on-sky: #030712;

  --accent: #38BDF8;
  --accent-text: #38BDF8;
  --on-accent: #030712;

  --glass-bg: rgba(8, 14, 29, 0.92);
  --glass-border: rgba(56, 189, 248, 0.35);
  --glass-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.25), inset 0 1.5px 1px rgba(255, 255, 255, 0.12), inset 0 -2px 0 rgba(56, 189, 248, 0.25);

  --f-display: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-body: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 2.5vw, 36px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px -8px rgba(0, 0, 0, 0.7);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F8FAFC;
  --bg-subtle: #F0F9FF;
  --bg-surface: #F8FAFC;
  --ink: #0F172A;
  --ink-heading: #041226;
  --muted: #475569;
  --line: #E2E8F0;
  --line-sky: #BAE6FD;
  --card: rgba(255, 255, 255, 0.76);
  --card-solid: #FFFFFF;
  --card-border: rgba(14, 165, 233, 0.2);
  --cine: #020617;

  /* Glass Theme System - Light */
  --card-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 100%);
  --card-glass-border: rgba(255, 255, 255, 0.82);
  --card-glass-shadow: 0 14px 34px -6px rgba(14, 165, 233, 0.12), 0 20px 45px -10px rgba(15, 23, 42, 0.06), inset 0 1.5px 1.5px #FFFFFF, inset 0 -1px 0 rgba(14, 165, 233, 0.14);
  --card-glass-blur: 24px;

  /* Skyblue Palette - Light */
  --sky: #0284C7;
  --sky-bright: #0EA5E9;
  --sky-light: #38BDF8;
  --sky-tint: #E0F2FE;
  --sky-tint-hover: #BAE6FD;
  --sky-glow: rgba(14, 165, 233, 0.22);
  --on-sky: #FFFFFF;

  --accent: var(--sky-bright);
  --accent-text: var(--sky);
  --on-accent: #FFFFFF;

  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(14, 165, 233, 0.28);
  --glass-shadow: 0 16px 36px -8px rgba(14, 165, 233, 0.2), 0 24px 60px -12px rgba(15, 23, 42, 0.12), inset 0 1.5px 1px rgba(255, 255, 255, 0.98), inset 0 -2px 0 rgba(14, 165, 233, 0.22);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -6px rgba(15, 23, 42, 0.08);

  color-scheme: light;
}

/* ==========================================================================
   Base resets & Skip link fix
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.28s ease, color 0.28s ease;
}

:root[data-theme="dark"] body {
  background-color: #030712;
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 30%, rgba(14, 165, 233, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(8, 14, 29, 0.8) 0px, transparent 60%);
  background-attachment: fixed;
}

:root[data-theme="light"] body {
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(at 0% 0%, rgba(186, 230, 253, 0.45) 0px, transparent 50%),
    radial-gradient(at 100% 25%, rgba(224, 242, 254, 0.55) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(240, 249, 255, 0.7) 0px, transparent 60%);
  background-attachment: fixed;
}

/* Fix "Skip to content" appearing on top */
.skip {
  position: absolute;
  top: -120px;
  left: 20px;
  z-index: 99999;
  background: var(--sky);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: top 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.skip:focus {
  top: 20px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--ink-heading);
  letter-spacing: -0.025em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--f-body); }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.wrap {
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  color: var(--accent-text);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

/* ==========================================================================
   Universal Frosted Glassmorphism Card System (All Screens & Both Themes)
   ========================================================================== */
.card, .standard-card, .c-card, .milestone-row,
.proj-spec-card, .proj-highlights-card, .proj-standards-card, .proj-sticky-sidebar-card,
.legal-card, .terms-card, .privacy-card, .footer-glass-card {
  background: var(--card-glass);
  backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  border: 1px solid var(--card-glass-border);
  box-shadow: var(--card-glass-shadow);
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  will-change: transform;
}

.card:hover, .standard-card:hover, .c-card:hover, .milestone-row:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
}

:root[data-theme="light"] .card:hover,
:root[data-theme="light"] .standard-card:hover,
:root[data-theme="light"] .c-card:hover,
:root[data-theme="light"] .milestone-row:hover {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 18px 45px -8px rgba(14, 165, 233, 0.22), 0 0 20px rgba(14, 165, 233, 0.12), inset 0 1.5px 1.5px #FFFFFF;
}

:root[data-theme="dark"] .card:hover,
:root[data-theme="dark"] .standard-card:hover,
:root[data-theme="dark"] .c-card:hover,
:root[data-theme="dark"] .milestone-row:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 50px -8px rgba(0, 0, 0, 0.8), 0 0 28px rgba(56, 189, 248, 0.28), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.25);
}

/* Forms, Teaser & Estimator Cards - Stable & Flat (No hover animation or tilt) */
.estimator-card,
.teaser-card,
.form-card,
.interactive-form,
form {
  transform: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}
.estimator-card:hover,
.teaser-card:hover,
.form-card:hover,
.interactive-form:hover,
form:hover {
  transform: none !important;
}

/* ==========================================================================
   Header with Enhanced Glassmorphism & Action Cluster (No hover animation)
   ========================================================================== */
.top.glass-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 950;
  width: min(calc(100% - 28px), 1240px);
  margin-inline: auto;
  padding-block: 10px;
  padding-inline: 18px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(210%);
  -webkit-backdrop-filter: blur(30px) saturate(210%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transform: none !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.top.glass-header:hover {
  transform: none !important;
}

/* 3D Specular Dynamic Light Sheen across Header */
.top.glass-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(700px circle at var(--header-mx, 50%) var(--header-my, 50%), rgba(255, 255, 255, 0.32), transparent 70%);
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

/* Explicit Dark Theme Header styling - deep obsidian glass with luminous sky accents */
:root[data-theme="dark"] .top.glass-header {
  background: rgba(7, 13, 26, 0.84) !important;
  border-color: rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.65), 0 0 24px -2px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
:root[data-theme="dark"] .top.glass-header::before {
  background: radial-gradient(700px circle at var(--header-mx, 50%) var(--header-my, 50%), rgba(56, 189, 248, 0.18), transparent 70%) !important;
}
:root[data-theme="dark"] .brand-text b {
  color: #FFFFFF !important;
}
:root[data-theme="dark"] .nav-link {
  color: #F1F5F9 !important;
}
:root[data-theme="dark"] .nav-actions {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
:root[data-theme="dark"] .action-icon-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
:root[data-theme="dark"] .action-icon-btn:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #38BDF8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3) !important;
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block !important;
  color: #F8FAFC !important;
}
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none !important;
}

/* Explicit Light Theme Header styling - Ultra-Frosted Translucent Optical Glass */
:root[data-theme="light"] .top.glass-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0%, rgba(224, 242, 254, 0.35) 48%, rgba(255, 255, 255, 0.52) 100%) !important;
  backdrop-filter: blur(24px) saturate(220%) contrast(106%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(220%) contrast(106%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.88) !important;
  box-shadow: 
    0 20px 48px -8px rgba(14, 165, 233, 0.22),
    0 8px 24px -4px rgba(15, 23, 42, 0.08),
    0 1px 3px rgba(15, 23, 42, 0.04),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(14, 165, 233, 0.22),
    inset 1px 0 2px rgba(255, 255, 255, 0.8),
    inset -1px 0 2px rgba(255, 255, 255, 0.8) !important;
}
:root[data-theme="light"] .top.glass-header::before {
  background: radial-gradient(700px circle at var(--header-mx, 50%) var(--header-my, 50%), rgba(255, 255, 255, 0.85), rgba(14, 165, 233, 0.16) 45%, transparent 75%) !important;
}
:root[data-theme="light"] .brand-text b {
  color: #0F172A !important;
}
:root[data-theme="light"] .nav-link {
  color: #0F172A !important;
  font-weight: 600;
}
:root[data-theme="light"] .nav-link:hover,
:root[data-theme="light"] .nav-link.active {
  color: #0284C7 !important;
}
:root[data-theme="light"] .nav-actions {
  background: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(16px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  box-shadow: inset 0 1.5px 1.5px #FFFFFF, inset 0 -1px 1.5px rgba(14, 165, 233, 0.16), 0 3px 12px rgba(14, 165, 233, 0.12) !important;
}
:root[data-theme="light"] .action-icon-btn {
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #1E293B !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), inset 0 1px 1px #FFFFFF !important;
}
:root[data-theme="light"] .action-icon-btn:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(14, 165, 233, 0.6) !important;
  color: #0284C7 !important;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.28), inset 0 1px 1px #FFFFFF !important;
}
:root[data-theme="light"] .nav-quote-btn {
  background: linear-gradient(135deg, #0EA5E9, #0284C7) !important;
  color: #FFFFFF !important;
  border-color: #0EA5E9 !important;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.38) !important;
}
:root[data-theme="light"] .nav-quote-btn:hover {
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.5) !important;
  filter: brightness(1.08) !important;
}
:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none !important;
}
:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block !important;
  color: #0F172A !important;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}
.brand:hover {
  transform: translateY(-1px) scale(1.02);
}
.brand-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: auto;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand:hover .brand-logo-frame {
  transform: translateY(-2px) scale(1.05);
}
.brand-logo {
  height: 44px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
  display: block;
}
.footer-logo-frame .brand-logo {
  height: 48px;
  max-width: 56px;
}

/* Light Theme: Show 2nd img (black logo), hide 3rd img (white logo) */
:root[data-theme="light"] .theme-logo-dark,
html[data-theme="light"] .theme-logo-dark {
  display: none !important;
}
:root[data-theme="light"] .theme-logo-light,
html[data-theme="light"] .theme-logo-light {
  display: block !important;
}

/* Dark Theme: Show 3rd img (white logo), hide 2nd img (black logo) */
:root[data-theme="dark"] .theme-logo-light,
html[data-theme="dark"] .theme-logo-light,
:root:not([data-theme="light"]) .theme-logo-light {
  display: none !important;
}
:root[data-theme="dark"] .theme-logo-dark,
html[data-theme="dark"] .theme-logo-dark,
:root:not([data-theme="light"]) .theme-logo-dark {
  display: block !important;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text b {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-text b i {
  font-style: normal;
  color: var(--sky);
}
.brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  color: var(--ink);
  border: 1px solid transparent;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--sky);
  background: var(--sky-tint);
  border-color: rgba(56, 189, 248, 0.22);
}

/* Selected / Active Navigation Pill */
.nav-link.active,
.nav-link[aria-current="page"] {
  font-weight: 700;
}

:root[data-theme="dark"] .nav-link.active,
html[data-theme="dark"] .nav-link.active,
:root[data-theme="dark"] .nav-link[aria-current="page"],
html[data-theme="dark"] .nav-link[aria-current="page"] {
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

:root[data-theme="light"] .nav-link.active,
html[data-theme="light"] .nav-link.active,
:root[data-theme="light"] .nav-link[aria-current="page"],
html[data-theme="light"] .nav-link[aria-current="page"] {
  color: #0284C7 !important;
  background: rgba(14, 165, 233, 0.12) !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================================================
   Header Glassmorphism Dock & Action Cluster
   ========================================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 6px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  transition: all 0.25s ease;
}

.nav-actions-divider {
  width: 1px;
  height: 20px;
  margin-inline: 4px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
:root[data-theme="light"] .nav-actions-divider {
  background: rgba(15, 23, 42, 0.1);
}

/* Tactile Glass Action Icon Buttons */
.action-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  flex-shrink: 0;
}
.action-icon-btn:hover {
  transform: translateY(-2px);
  color: var(--sky);
  border-color: var(--sky-bright);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}
.action-icon-btn:active {
  transform: scale(0.94);
}

/* Mobile Navigation Toggle Button: Minimalist Architectural Trigger */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 8px !important;
  padding: 0 !important;
  cursor: pointer;
  border: none !important;
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent !important;
}
.mobile-menu-toggle:active {
  transform: scale(0.92) !important;
}
:root[data-theme="dark"] .action-icon-btn.mobile-menu-toggle {
  background: transparent !important;
  border: none !important;
  color: #F8FAFC !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] .action-icon-btn.mobile-menu-toggle svg {
  stroke: #F8FAFC !important;
  filter: none !important;
}
:root[data-theme="dark"] .action-icon-btn.mobile-menu-toggle:hover,
:root[data-theme="dark"] .action-icon-btn.mobile-menu-toggle:active,
:root[data-theme="dark"] .action-icon-btn.mobile-menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  box-shadow: none !important;
  color: #38BDF8 !important;
}
:root[data-theme="dark"] .action-icon-btn.mobile-menu-toggle[aria-expanded="true"] svg {
  stroke: #38BDF8 !important;
}
:root[data-theme="light"] .action-icon-btn.mobile-menu-toggle {
  background: transparent !important;
  border: none !important;
  color: #0F172A !important;
  box-shadow: none !important;
}
:root[data-theme="light"] .action-icon-btn.mobile-menu-toggle svg {
  stroke: #0F172A !important;
  filter: none !important;
}
:root[data-theme="light"] .action-icon-btn.mobile-menu-toggle:hover,
:root[data-theme="light"] .action-icon-btn.mobile-menu-toggle:active,
:root[data-theme="light"] .action-icon-btn.mobile-menu-toggle[aria-expanded="true"] {
  background: rgba(15, 23, 42, 0.06) !important;
  border: none !important;
  box-shadow: none !important;
  color: #0284C7 !important;
}
:root[data-theme="light"] .action-icon-btn.mobile-menu-toggle[aria-expanded="true"] svg {
  stroke: #0284C7 !important;
}

/* ==========================================================================
   Mobile Navigation Drawer & Flutter-Style ListTiles
   ========================================================================== */

/* Fullscreen Blurred Backdrop Scrim */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  pointer-events: none;
}
:root[data-theme="light"] .drawer-backdrop {
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* Slide-in App Drawer Panel - Ultra-Frosted Translucent Glass */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  height: 100svh;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(34px) saturate(220%);
  -webkit-backdrop-filter: blur(34px) saturate(220%);
  background: linear-gradient(180deg, rgba(8, 14, 29, 0.84) 0%, rgba(3, 7, 18, 0.72) 50%, rgba(8, 14, 29, 0.82) 100%);
  border-left: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.88), 0 0 32px rgba(56, 189, 248, 0.12), inset 1.5px 0 1px rgba(255, 255, 255, 0.14);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

:root[data-theme="light"] .mobile-drawer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(235, 248, 255, 0.42) 50%, rgba(255, 255, 255, 0.60) 100%) !important;
  backdrop-filter: blur(28px) saturate(220%) contrast(105%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(220%) contrast(105%) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 
    -24px 0 60px rgba(14, 165, 233, 0.22),
    -8px 0 24px rgba(15, 23, 42, 0.08),
    inset 2px 0 2px #FFFFFF,
    inset -1.5px 0 1.5px rgba(14, 165, 233, 0.18) !important;
}

.mobile-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Internal Scroll Area */
.drawer-scroll-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 24px;
}

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
:root[data-theme="light"] .drawer-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}
.drawer-brand-badge .brand-logo {
  height: 28px !important;
  width: auto !important;
  max-width: 28px !important;
  object-fit: contain !important;
}
:root[data-theme="light"] .drawer-brand-badge {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: inset 0 1px 1px #FFFFFF, 0 2px 8px rgba(14, 165, 233, 0.14) !important;
}
.drawer-brand-info b {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  line-height: 1.2;
}
:root[data-theme="light"] .drawer-brand-info b {
  color: #0F172A;
}
.drawer-brand-info small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.drawer-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #F1F5F9;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
:root[data-theme="light"] .drawer-close-btn {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  box-shadow: inset 0 1px 1px #FFFFFF, 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}
:root[data-theme="light"] .drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0284C7 !important;
  border-color: rgba(14, 165, 233, 0.4) !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2), inset 0 1px 1px #FFFFFF !important;
}
.drawer-close-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

/* Quick Theme Toggle Strip */
.drawer-theme-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}
:root[data-theme="light"] .drawer-theme-strip {
  background: rgba(255, 255, 255, 0.48) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: inset 0 1px 1.5px #FFFFFF, 0 3px 12px rgba(14, 165, 233, 0.08) !important;
}
.drawer-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.drawer-theme-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.2s ease;
}
:root[data-theme="light"] .drawer-theme-toggle {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #0F172A !important;
  border: 1px solid rgba(14, 165, 233, 0.28) !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12), inset 0 1px 1px #FFFFFF !important;
}

.drawer-section-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sky-bright);
  padding-inline: 4px;
  margin-block: 4px 6px;
}
:root[data-theme="light"] .drawer-section-heading {
  color: var(--sky);
}

/* Flutter-style ListTiles Container */
.drawer-tiles-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Flutter ListTile Implementation */
.list-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  color: #FFFFFF;
  transition: background-color 0.18s ease, transform 0.18s ease;
  position: relative;
}
:root[data-theme="light"] .list-tile {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.95), 0 2px 6px rgba(15, 23, 42, 0.03) !important;
  margin-bottom: 5px;
}
.list-tile:hover,
.list-tile:active {
  background: rgba(56, 189, 248, 0.08);
  transform: translateX(3px);
}
:root[data-theme="light"] .list-tile:hover,
:root[data-theme="light"] .list-tile:active {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(14, 165, 233, 0.4) !important;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.16), inset 0 1px 1px #FFFFFF !important;
  transform: translateX(4px);
}

.list-tile-leading {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #38BDF8;
  flex-shrink: 0;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
:root[data-theme="light"] .list-tile-leading {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  color: #0284C7 !important;
  box-shadow: inset 0 1px 1px #FFFFFF, 0 2px 6px rgba(14, 165, 233, 0.12) !important;
}
.list-tile:hover .list-tile-leading {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7DD3FC;
}
:root[data-theme="light"] .list-tile:hover .list-tile-leading {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(14, 165, 233, 0.5) !important;
  color: #0284C7 !important;
  box-shadow: 0 3px 12px rgba(14, 165, 233, 0.24), inset 0 1px 1px #FFFFFF !important;
}

.list-tile-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.list-tile-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #F8FAFC;
  transition: color 0.18s;
}
:root[data-theme="light"] .list-tile-title {
  color: #0F172A;
}
.list-tile:hover .list-tile-title {
  color: var(--sky);
}
.list-tile-subtitle {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-tile-trailing {
  color: var(--muted);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}
.list-tile:hover .list-tile-trailing {
  transform: translateX(3px);
  opacity: 1;
  color: var(--sky);
}

.tile-divider {
  height: 1px;
  margin: 6px 4px 8px;
  background: rgba(255, 255, 255, 0.06);
}
:root[data-theme="light"] .tile-divider {
  background: rgba(15, 23, 42, 0.06);
}

.list-tile.highlight-tile {
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.12);
}
:root[data-theme="light"] .list-tile.highlight-tile {
  background: rgba(14, 165, 233, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

/* Active Drawer Tile */
.list-tile.active,
.list-tile[aria-current="page"] {
  border-left: 3px solid var(--sky) !important;
}

:root[data-theme="dark"] .list-tile.active,
html[data-theme="dark"] .list-tile.active {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}
:root[data-theme="dark"] .list-tile.active .list-tile-title {
  color: #38BDF8 !important;
  font-weight: 700;
}
:root[data-theme="dark"] .list-tile.active .list-tile-leading {
  background: rgba(56, 189, 248, 0.22) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #7DD3FC !important;
}
:root[data-theme="dark"] .list-tile.active .list-tile-trailing {
  color: #38BDF8 !important;
}

:root[data-theme="light"] .list-tile.active,
html[data-theme="light"] .list-tile.active {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.75) 0%, rgba(186, 230, 253, 0.55) 100%) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-color: rgba(14, 165, 233, 0.45) !important;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2), inset 0 1.5px 1.5px #FFFFFF !important;
}
:root[data-theme="light"] .list-tile.active .list-tile-title {
  color: #0284C7 !important;
  font-weight: 700;
}
:root[data-theme="light"] .list-tile.active .list-tile-leading {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(14, 165, 233, 0.5) !important;
  color: #0284C7 !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2), inset 0 1px 1px #FFFFFF !important;
}
:root[data-theme="light"] .list-tile.active .list-tile-trailing {
  color: #0284C7 !important;
}

/* Drawer Footer */
.drawer-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
:root[data-theme="light"] .drawer-footer {
  border-top-color: rgba(14, 165, 233, 0.16);
}
.drawer-quote-btn {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
}
.drawer-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.drawer-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  color: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}
:root[data-theme="light"] .drawer-contact-btn {
  background: rgba(255, 255, 255, 0.52) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  box-shadow: inset 0 1px 1px #FFFFFF, 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
:root[data-theme="light"] .drawer-contact-btn:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(14, 165, 233, 0.4) !important;
  color: #0284C7 !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.16), inset 0 1px 1px #FFFFFF !important;
}
.drawer-contact-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.drawer-contact-btn.wa {
  color: #4ADE80;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
}
:root[data-theme="light"] .drawer-contact-btn.wa {
  color: #16A34A;
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.08);
}

/* Tooltip Popovers */
.action-icon-btn .tooltip {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(15, 23, 42, 0.94);
  color: #FFFFFF;
  padding: 4px 9px;
  border-radius: 6px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.25);
  z-index: 1000;
}
:root[data-theme="light"] .action-icon-btn .tooltip {
  background: rgba(15, 23, 42, 0.94);
  color: #FFFFFF;
}
.action-icon-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Animated Micro-Interactions on Icons */

/* 1. Phone Call: Ring Wobble */
.action-icon-btn.icon-call:hover svg {
  animation: callRing 0.55s ease-in-out infinite alternate;
  stroke: var(--sky-bright);
}
@keyframes callRing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
  75% { transform: rotate(-12deg); }
  100% { transform: rotate(0deg); }
}

/* 2. WhatsApp: Emerald Glow & Pulse */
.action-icon-btn.icon-wa {
  color: #16A34A;
}
.action-icon-btn.icon-wa:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: #22C55E;
  color: #15803D;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}
:root[data-theme="dark"] .action-icon-btn.icon-wa {
  color: #4ADE80;
}
:root[data-theme="dark"] .action-icon-btn.icon-wa:hover {
  color: #4ADE80;
  border-color: #4ADE80;
  box-shadow: 0 0 22px rgba(74, 222, 128, 0.5);
}
.action-icon-btn.icon-wa:hover svg {
  animation: waPulse 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* 3. Estimator: Drafting Tilt */
.action-icon-btn.icon-calc:hover svg {
  animation: calcTilt 0.5s ease-in-out;
  stroke: var(--sky-bright);
}
@keyframes calcTilt {
  0% { transform: rotate(0deg) scale(1); }
  40% { transform: rotate(14deg) scale(1.12); }
  100% { transform: rotate(0deg) scale(1); }
}

/* 4. Theme Toggle: 360-degree Smooth Spin */
.theme-toggle svg {
  transition: transform 0.4s ease;
}
.action-icon-btn.theme-toggle:hover svg {
  animation: themeSpin 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes themeSpin {
  0% { transform: rotate(0deg) scale(0.88); }
  100% { transform: rotate(360deg) scale(1.1); }
}
:root[data-theme="light"] .icon-moon { display: block; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }

/* 5. Quote Button: Shimmering High-Performance CTA */
.nav-quote-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 17px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
}
:root[data-theme="dark"] .nav-quote-btn {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
  color: #FFFFFF !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35), 0 0 16px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}
.nav-quote-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(30deg);
  transition: none;
  animation: ctaShimmer 4s infinite linear;
}
@keyframes ctaShimmer {
  0% { left: -70%; }
  30% { left: 150%; }
  100% { left: 150%; }
}
.nav-quote-btn:hover {
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
:root[data-theme="dark"] .nav-quote-btn:hover {
  box-shadow: 0 6px 26px rgba(14, 165, 233, 0.6), 0 0 24px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}
.nav-quote-btn:active {
  transform: scale(0.95);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--card-solid);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
}
.btn.primary {
  background: linear-gradient(135deg, var(--sky-bright), var(--sky));
  border-color: var(--sky-bright);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}
:root[data-theme="dark"] .btn.primary {
  background: linear-gradient(135deg, #38BDF8, #0EA5E9);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}
.btn.primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}
.btn.light {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.btn.light:hover {
  background: #FFFFFF;
  color: #030712;
  border-color: #FFFFFF;
}
:root[data-theme="light"] .btn.light {
  color: #0F172A;
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.08);
}
:root[data-theme="light"] .btn.light:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

/* ==========================================================================
   Hero Section - 3D Architectural Drawing Book Scene & Animated Blueprint
   ========================================================================== */
.hero.hero-book-scene {
  position: relative;
  min-height: 100svh;
  padding-top: clamp(110px, 14vh, 130px);
  padding-bottom: clamp(60px, 8vh, 90px);
  background: #030712;
  color: #FFFFFF;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hero Section Container Alignment (Matches Top Floating Navbar Margins) */
.hero.hero-book-scene .wrap {
  width: min(calc(100% - 28px), 1240px);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 18px;
}

:root[data-theme="light"] .hero.hero-book-scene {
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%) !important;
  color: #0F172A !important;
}
:root[data-theme="light"] .hero-intro h1 {
  color: #041226 !important;
}
:root[data-theme="light"] .hero-intro .lede {
  color: #475569 !important;
}
:root[data-theme="light"] .hero-badge {
  background: rgba(14, 165, 233, 0.1) !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
  color: #0284C7 !important;
}
:root[data-theme="light"] .blueprint-radial-glow {
  background: radial-gradient(circle at 65% 55%, rgba(14, 165, 233, 0.12) 0%, rgba(240, 249, 255, 0.8) 60%, #FFFFFF 100%) !important;
}
:root[data-theme="light"] .drafting-compass {
  opacity: 0.1 !important;
  color: #0284C7 !important;
}
:root[data-theme="light"] .book-controls-bar {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(14, 165, 233, 0.25) !important;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.12) !important;
}
:root[data-theme="light"] .book-nav-btn {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-color: rgba(14, 165, 233, 0.25) !important;
}
:root[data-theme="light"] .book-page-count {
  color: #0F172A !important;
}
:root[data-theme="light"] .flip-timer-track {
  background: rgba(14, 165, 233, 0.15) !important;
}
:root[data-theme="light"] .book-hint {
  color: #64748B !important;
}

/* Animated Blueprint Drafting Canvas Background */
.blueprint-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* Blueprint grid pattern removed for clean, solid background */
.blueprint-grid {
  display: none;
}
.blueprint-radial-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 55%, rgba(14, 165, 233, 0.22) 0%, rgba(3, 7, 18, 0.85) 60%, #030712 100%);
}
/* Background scanline animation removed for clean, static blueprint background */
.blueprint-scanline {
  display: none;
}

/* Hero Two-Column Grid - spacious allocation for prominent 3D villa */
.hero-book-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.45fr;
  gap: clamp(24px, 3.5vw, 50px);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left Column: Hero Intro */
.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sky-bright);
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
.hero-intro h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin: 0;
  text-wrap: balance;
}
.hero-intro .lede {
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
  margin: 0;
  max-width: 32rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ==========================================================================
   Hero 3D Architectural Villa Stage (Adaptive Theme Rendering)
   1st Image for Dark Theme (Warm Night) · 2nd Image for Light Theme (Daylight)
   ========================================================================== */
.hero-villa-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  user-select: none;
}

.hero-villa-visual {
  position: relative;
  width: 100%;
  max-width: 760px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Gentle, slow floating animation for relaxed, premium feel */
.hero-villa-stack {
  position: relative;
  display: grid;
  grid-template-areas: "villa";
  align-items: center;
  justify-items: center;
  width: 100%;
  animation: villaLevitate 8.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes villaLevitate {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}

/* Prominently enlarged 3D villa elevation render */
.hero-villa-img {
  grid-area: villa;
  width: 100%;
  max-width: 680px;
  height: auto;
  max-height: clamp(460px, 68vh, 750px);
  object-fit: contain;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  pointer-events: auto;
  will-change: transform, opacity;
}

.hero-villa-stage:hover .hero-villa-stack {
  animation-play-state: paused;
}

.hero-villa-stage:hover .hero-villa-img {
  transform: scale(1.03);
}

/* Dark Theme: 1st Image (Night Elevation with warm lights & car) */
:root[data-theme="dark"] .hero-villa-img.dark-theme-img {
  opacity: 1;
  visibility: visible;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 65px rgba(245, 158, 11, 0.22));
}
:root[data-theme="dark"] .hero-villa-img.light-theme-img {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Light Theme: 2nd Image (Daylight Elevation with natural lighting) */
:root[data-theme="light"] .hero-villa-img.dark-theme-img {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
:root[data-theme="light"] .hero-villa-img.light-theme-img {
  opacity: 1;
  visibility: visible;
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, 0.2)) drop-shadow(0 6px 18px rgba(14, 165, 233, 0.14));
}

/* Ambient Base Glow & Realistic Breathing Elevation Shadow */
.hero-villa-glow {
  position: absolute;
  width: 95%;
  height: 65%;
  bottom: -2%;
  left: 2.5%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transition: background 0.5s ease, opacity 0.5s ease;
}

:root[data-theme="dark"] .hero-villa-glow {
  background: radial-gradient(ellipse at 50% 65%, rgba(245, 158, 11, 0.24) 0%, rgba(14, 165, 233, 0.18) 40%, transparent 72%);
  filter: blur(32px);
}

:root[data-theme="light"] .hero-villa-glow {
  background: radial-gradient(ellipse at 50% 65%, rgba(14, 165, 233, 0.22) 0%, rgba(224, 242, 254, 0.85) 45%, transparent 75%);
  filter: blur(36px);
}

.hero-villa-shadow-disc {
  position: absolute;
  width: 85%;
  height: 44px;
  bottom: 0px;
  left: 7.5%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 75%);
  filter: blur(14px);
  animation: shadowBreathe 8.5s ease-in-out infinite;
}

@keyframes shadowBreathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(0.88);
    opacity: 0.45;
  }
}

:root[data-theme="light"] .hero-villa-shadow-disc {
  background: radial-gradient(ellipse at 50% 50%, rgba(15, 23, 42, 0.28) 0%, transparent 70%);
}

/* ==========================================================================
   3D Architectural Detail Inspection Modal
   ========================================================================== */
.folio-inspect-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 36px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.folio-inspect-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.inspect-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.inspect-modal-card {
  position: relative;
  z-index: 2;
  width: min(100%, 1020px);
  max-height: 90svh;
  background: rgba(10, 17, 36, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(14, 165, 233, 0.3);
  overflow-y: auto;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.folio-inspect-modal.open .inspect-modal-card {
  transform: scale(1) translateY(0);
}
.inspect-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
  transition: all 0.2s ease;
}
.inspect-close-btn:hover {
  background: var(--sky);
  color: #FFFFFF;
  transform: rotate(90deg);
}
.inspect-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 520px;
}
.inspect-visual {
  background: #020617;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(56, 189, 248, 0.2);
}
.inspect-3d-stage {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}
.inspect-zoomable-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.inspect-3d-stage:hover .inspect-zoomable-img {
  transform: scale(1.05);
}
.inspect-blueprint-overlay {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}
.inspect-reticle {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #38BDF8;
}
.inspect-reticle.top-left { top: 0; left: 0; border-top: 2px solid #38BDF8; border-left: 2px solid #38BDF8; }
.inspect-reticle.top-right { top: 0; right: 0; border-top: 2px solid #38BDF8; border-right: 2px solid #38BDF8; }
.inspect-reticle.bottom-left { bottom: 0; left: 0; border-bottom: 2px solid #38BDF8; border-left: 2px solid #38BDF8; }
.inspect-reticle.bottom-right { bottom: 0; right: 0; border-bottom: 2px solid #38BDF8; border-right: 2px solid #38BDF8; }

.inspect-sidebar {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.inspect-tag {
  color: var(--sky-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.inspect-sidebar h2 {
  font-size: 1.85rem;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}
.inspect-desc {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.6;
  margin: 0;
}
.inspect-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}
.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.spec-item .k {
  color: rgba(56, 189, 248, 0.7);
  font-size: 10px;
  font-weight: 600;
}
.spec-item strong {
  color: #FFFFFF;
  font-weight: 600;
}
.inspect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* ==========================================================================
   Showcase Photography Carousel Section (Placed Right Below Hero)
   ========================================================================== */
.showcase-carousel-sec {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
  padding-block: 64px;
  position: relative;
  overflow: hidden;
}
:root[data-theme="dark"] .showcase-carousel-sec {
  background: #060B18;
}
.section-head-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-solid);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.carousel-arrow-btn:hover {
  background: var(--sky);
  border-color: var(--sky-bright);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}
.showcase-slider-wrap {
  position: relative;
  width: 100%;
}
.showcase-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 14px;
}
.showcase-slider::-webkit-scrollbar {
  display: none;
}
.showcase-slide {
  flex: 0 0 clamp(290px, 48vw, 560px);
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.slide-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slide-media:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.2);
}
.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slide-media:hover img {
  transform: scale(1.06);
}
.slide-glass-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--sky-bright);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}
.badge-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.slide-caption-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.85) 60%, rgba(3, 7, 18, 0.96) 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slide-caption-card .cap-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--sky-bright);
  letter-spacing: 0.08em;
}
.slide-caption-card h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #FFFFFF;
}
.slide-caption-card .cap-loc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}
.showcase-slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: rgba(14, 165, 233, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.carousel-dot.active {
  width: 44px;
  background: var(--sky);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

/* ==========================================================================
   Metrics Ribbon with Animated Number Counters
   ========================================================================== */
.metrics-ribbon {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line);
  padding-block: 40px;
  position: relative;
  overflow: hidden;
}
:root[data-theme="dark"] .metrics-ribbon {
  background: #060B18;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.metric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 16px 22px;
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}
:root[data-theme="dark"] .metric-card {
  background: rgba(10, 17, 36, 0.5);
  border-left-color: var(--sky);
}
.metric-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--sky-tint);
  border-left-color: var(--sky-bright);
  box-shadow: 0 12px 28px -6px rgba(14, 165, 233, 0.2);
}
:root[data-theme="dark"] .metric-card:hover {
  box-shadow: 0 12px 30px -6px rgba(56, 189, 248, 0.25);
}
.metric-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--sky);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.metric-num .counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: transform 0.2s ease;
}
.metric-num .counter.counted {
  animation: countDone 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes countDone {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); color: var(--sky-light); }
  100% { transform: scale(1); }
}
.metric-num small {
  font-size: 1.5rem;
  color: var(--accent-text);
  margin-left: 2px;
  font-weight: 700;
}
.metric-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-heading);
}
.metric-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   Estimator Teaser & Direct CTA Banner (Unified Glassmorphism Theme)
   ========================================================================== */
.teaser-sec {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding-block: 60px;
}

.teaser-sec::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 900px);
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.16) 0%, rgba(56, 189, 248, 0.06) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

:root[data-theme="dark"] .teaser-sec::before {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.18) 0%, rgba(14, 165, 233, 0.06) 50%, transparent 75%);
}

.teaser-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  border-radius: var(--radius-lg, 24px);
  padding: clamp(30px, 4.5vw, 52px);
  background: var(--card-glass);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--card-glass-border);
  box-shadow: var(--card-glass-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.teaser-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

:root[data-theme="light"] .teaser-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 249, 255, 0.58) 50%, rgba(255, 255, 255, 0.76) 100%) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 48px -10px rgba(14, 165, 233, 0.15), 0 8px 24px rgba(15, 23, 42, 0.04), inset 0 2px 2px #FFFFFF, inset 0 -1px 0 rgba(14, 165, 233, 0.16) !important;
}

:root[data-theme="light"] .teaser-card::before {
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.45), transparent);
}

:root[data-theme="dark"] .teaser-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.6) 50%, rgba(15, 23, 42, 0.74) 100%) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.12), inset 0 1.5px 1px rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(56, 189, 248, 0.22) !important;
}

.teaser-text h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-block: 8px 12px;
}
.teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.teaser-visual {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md, 16px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

:root[data-theme="light"] .teaser-visual {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(224, 242, 254, 0.45) 100%) !important;
  border: 1px solid rgba(14, 165, 233, 0.25) !important;
  box-shadow: 0 10px 25px -4px rgba(14, 165, 233, 0.1), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="dark"] .teaser-visual {
  background: linear-gradient(135deg, rgba(8, 14, 29, 0.75) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.24) !important;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

.visual-badge {
  color: var(--sky);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.visual-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.visual-stat b {
  font-family: var(--f-display);
  font-size: 2.8rem;
  color: var(--sky);
  line-height: 1;
}
.visual-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: 50px 30px;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 950px);
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.18) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

:root[data-theme="dark"] .cta-section::before {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.08) 50%, transparent 75%);
}

.cta-banner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--radius-lg, 24px);
  padding: clamp(32px, 4.5vw, 50px);
  background: var(--card-glass);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--card-glass-border);
  box-shadow: var(--card-glass-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

:root[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 249, 255, 0.6) 50%, rgba(255, 255, 255, 0.78) 100%) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 48px -10px rgba(14, 165, 233, 0.15), 0 10px 24px rgba(15, 23, 42, 0.04), inset 0 2px 2px #FFFFFF, inset 0 -1px 0 rgba(14, 165, 233, 0.16) !important;
}

:root[data-theme="light"] .cta-banner::before {
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.45), transparent);
}

:root[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.62) 50%, rgba(15, 23, 42, 0.75) 100%) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.85), 0 0 34px rgba(56, 189, 248, 0.14), inset 0 1.5px 1px rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(56, 189, 248, 0.22) !important;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-block: 6px 10px;
}
.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Interactive Cost Estimator Component
   ========================================================================== */
.estimator-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
:root[data-theme="dark"] .estimator-card {
  border-color: var(--line-sky);
  background: radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.08), transparent 60%), #0A1124;
}
.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-label {
  font-weight: 600;
  color: var(--accent-text);
  font-size: 11px;
}
.calc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-area-badge {
  background: var(--sky-tint);
  border: 1px solid var(--line-sky);
  color: var(--sky);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.calc-area-badge small { font-size: 0.85rem; color: var(--muted); }

.calc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.calc-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-surface);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  color: var(--ink);
}
.calc-pill:hover {
  border-color: var(--sky);
  transform: translateY(-1px);
}
.calc-pill.active {
  border-color: var(--sky);
  background: var(--sky-tint);
  box-shadow: 0 0 0 1px var(--sky);
}
:root[data-theme="dark"] .calc-pill.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38BDF8;
}
.pill-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-heading);
}
.pill-rate {
  font-size: 11px;
  color: var(--sky);
  font-weight: 600;
}
.pill-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Range slider */
.slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky-bright);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-marks {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

/* Estimator Result */
.estimator-result {
  background: var(--bg-surface);
  border: 1px solid var(--line-sky);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
:root[data-theme="dark"] .estimator-result {
  background: #050B16;
}
.result-head {
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 600;
}
.result-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.result-label { font-size: 11px; color: var(--muted); }
.result-price {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--sky);
}
.result-rate-tag { font-size: 11px; color: var(--muted); }

.result-timeline-box {
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
:root[data-theme="dark"] .result-timeline-box {
  background: #0A1124;
}
.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}
.timeline-row b { color: var(--sky); }
.timeline-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line);
}
.t-segment.s1 { background: var(--sky); }
.t-segment.s2 { background: var(--sky-bright); }
.t-segment.s3 { background: #38BDF8; }
.t-segment.s4 { background: #7DD3FC; }
.timeline-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.timeline-legend span { display: flex; align-items: center; gap: 6px; }
.timeline-legend i.dot { width: 8px; height: 8px; border-radius: 50%; }
.timeline-legend i.dot.s1 { background: var(--sky); }
.timeline-legend i.dot.s2 { background: var(--sky-bright); }
.timeline-legend i.dot.s3 { background: #38BDF8; }
.timeline-legend i.dot.s4 { background: #7DD3FC; }

.result-includes { font-size: 0.85rem; color: var(--muted); }
.result-includes .mono { display: block; font-size: 10px; color: var(--ink-heading); margin-bottom: 6px; }
.result-includes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.btn-calc { width: 100%; text-align: center; }
.calc-disclaimer { font-size: 10px; color: var(--muted); margin-top: 8px; }

/* Milestone Table Card */
.milestones-table-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.milestone-row {
  display: grid;
  grid-template-columns: 1.4fr 2fr 0.8fr 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 0.95rem;
}
.milestone-row:last-child { border-bottom: none; }
.milestone-row.header {
  background: var(--bg-surface);
  font-size: 11px;
  color: var(--muted);
}
:root[data-theme="dark"] .milestone-row.header {
  background: #060B18;
}
.milestone-row .tag {
  background: var(--sky-tint);
  color: var(--sky);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  justify-self: start;
}

/* ==========================================================================
   Interactive Forms (Quotation & Contact Pages)
   ========================================================================== */
.form-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: start;
}
.form-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.interactive-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 11px;
  color: var(--muted);
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}
:root[data-theme="dark"] .form-input {
  background: #060B18;
}
.form-input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 2px var(--sky-tint);
}
.form-submit-row {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
}

.guarantee-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.guarantee-box {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.guarantee-box h3, .guarantee-box h4 {
  margin-block: 4px 12px;
}
.next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}
.next-steps li { line-height: 1.5; color: var(--muted); }
.next-steps li b { color: var(--ink-heading); display: block; }

/* Contact page grid */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.c-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.c-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
}
.c-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--sky-tint);
  color: var(--sky);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.c-label { font-size: 10px; color: var(--muted); }
.c-card b { font-size: 1.15rem; color: var(--ink-heading); }
.c-card p { font-size: 0.85rem; color: var(--muted); }

/* Legal Content (Terms & Privacy) */
.legal-content {
  max-width: 900px;
}
.legal-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.legal-section h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.legal-section p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   Engineering Standards
   ========================================================================== */
.standards-sec {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(64px, 10vh, 110px);
}
:root[data-theme="dark"] .standards-sec {
  background: #060B18;
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.standard-card {
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-radius: var(--radius-md, 18px);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.standard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.45), transparent);
  opacity: 0.6;
}

:root[data-theme="light"] .standard-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 249, 255, 0.58) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 12px 32px -6px rgba(14, 165, 233, 0.1), 0 4px 12px rgba(15, 23, 42, 0.03), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="light"] .standard-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.55) !important;
  box-shadow: 0 20px 45px -8px rgba(14, 165, 233, 0.2), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="dark"] .standard-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(8, 14, 29, 0.62) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
}

:root[data-theme="dark"] .standard-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 20px 50px -8px rgba(0, 0, 0, 0.8), 0 0 28px rgba(56, 189, 248, 0.25) !important;
}
.std-badge { color: var(--sky); font-weight: 600; font-size: 11px; }
.standard-card h3 { font-size: 1.25rem; line-height: 1.25; }
.standard-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; flex-grow: 1; }
.std-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--sky-tint);
  color: var(--sky);
  font-size: 10px;
  font-weight: 600;
  align-self: flex-start;
}

/* ==========================================================================
   Before and After & Projects Cards
   ========================================================================== */
.sec { padding-block: clamp(64px, 10vh, 110px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-block: 10px 14px; max-width: 18ch; }
.sec .intro { color: var(--muted); max-width: 38rem; margin-bottom: 36px; }

/* ==========================================================================
   Before and After & Stage Transformations (Ultra-Luxury Comparison Stage)
   ========================================================================== */
#home-before-after-sec {
  scroll-margin-top: 100px;
  position: relative;
}

/* Luxury Segmented Tabs Control */
.tabs, .ba-tabs-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--card-glass);
  backdrop-filter: blur(var(--card-glass-blur));
  -webkit-backdrop-filter: blur(var(--card-glass-blur));
  border: 1px solid var(--card-glass-border);
  border-radius: 999px;
  box-shadow: var(--card-glass-shadow);
  margin-bottom: 24px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tabs .chip {
  margin: 0;
  padding: 10px 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tabs .chip:hover {
  color: var(--ink-heading);
  background: rgba(255, 255, 255, 0.06);
}
.tabs .chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--sky) 0%, #0284C7 100%);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.45);
}
:root[data-theme="light"] .tabs .chip[aria-pressed="true"] {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.ba {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 10;
  margin-inline: auto;
  overflow: hidden;
  background: #030712;
  touch-action: none !important;
  cursor: ew-resize;
  border-radius: 22px;
  border: 1px solid var(--card-glass-border);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.18);
  --x: 50%;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

:root[data-theme="light"] .ba {
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 48px -12px rgba(14, 165, 233, 0.18), 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 2px 2px #FFFFFF !important;
}

:root[data-theme="light"] .ba:hover {
  border-color: rgba(14, 165, 233, 0.6) !important;
  box-shadow: 0 26px 56px -12px rgba(14, 165, 233, 0.25), inset 0 2px 2px #FFFFFF !important;
}

.ba:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 28px 70px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(56, 189, 248, 0.28);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ba .before {
  clip-path: inset(0 calc(100% - var(--x)) 0 0);
}

/* Center Comparison Slider Handle & Prominent Circular Icon Button */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x, 50%);
  width: 56px;
  margin-left: -28px;
  display: grid;
  place-items: center;
  outline: none;
  z-index: 25;
  pointer-events: none;
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #FFFFFF;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.9), 0 0 25px rgba(56, 189, 248, 0.5);
}
.ba-grip {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2.5px solid var(--sky-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.85), 0 8px 25px rgba(0, 0, 0, 0.9);
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}
.ba:hover .ba-grip,
.ba.is-dragging .ba-grip {
  transform: scale(1.14);
  box-shadow: 0 0 38px rgba(56, 189, 248, 0.95), 0 8px 28px rgba(0, 0, 0, 0.95);
}
.ba-grip i {
  width: 0;
  height: 0;
  border-style: solid;
  pointer-events: none;
  transition: border-color 0.2s ease;
}
.ba-grip i:first-child {
  border-width: 5.5px 7.5px 5.5px 0;
  border-color: transparent #FFFFFF transparent transparent;
}
.ba-grip i:last-child {
  border-width: 5.5px 0 5.5px 7.5px;
  border-color: transparent transparent transparent #FFFFFF;
}
:root[data-theme="light"] .ba-grip {
  background: #FFFFFF;
  border: 2.5px solid #0284C7;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.45), 0 4px 14px rgba(15, 23, 42, 0.2);
}
:root[data-theme="light"] .ba-grip i:first-child {
  border-color: transparent #0F172A transparent transparent;
}
:root[data-theme="light"] .ba-grip i:last-child {
  border-color: transparent transparent transparent #0F172A;
}

/* Floating Milestone Stage Badges */
.ba-tag {
  position: absolute;
  top: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}
.ba-tag svg {
  flex-shrink: 0;
}
.ba-tag.l {
  left: 18px;
  background: rgba(8, 14, 29, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FBBF24;
}
.ba-tag.r {
  right: 18px;
  background: rgba(8, 14, 29, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34D399;
}

/* Bottom Floating Drag Indicator Hint */
.ba-hint-bar {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #F8FAFC;
  pointer-events: none;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}
.ba.is-dragging .ba-hint-bar {
  opacity: 0;
}

/* ==========================================================================
   Elevated Architectural Project Cards (Ultra-Luxury Showcase)
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: clamp(22px, 2.2vw, 32px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-glass);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid var(--card-glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-glass-shadow);
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.card[hidden] { display: none !important; }

:root[data-theme="light"] .card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 249, 255, 0.6) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 14px 36px -6px rgba(14, 165, 233, 0.12), 0 4px 14px rgba(15, 23, 42, 0.04), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="light"] .card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.55) !important;
  box-shadow: 0 22px 50px -10px rgba(14, 165, 233, 0.22), 0 0 20px rgba(14, 165, 233, 0.12), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="dark"] .card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.62) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.24) !important;
  box-shadow: 0 18px 45px -8px rgba(0, 0, 0, 0.8), inset 0 1.5px 1px rgba(255, 255, 255, 0.12) !important;
}

:root[data-theme="dark"] .card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 24px 55px -12px rgba(0, 0, 0, 0.9), 0 0 32px rgba(56, 189, 248, 0.25) !important;
}

.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--cine);
}

.card .ph {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--cine);
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.card:hover .ph img {
  transform: scale(1.08);
  filter: brightness(1.04);
}

.card-scrim-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.45) 0%, rgba(3, 7, 18, 0) 35%, rgba(3, 7, 18, 0.25) 65%, rgba(3, 7, 18, 0.88) 100%);
  pointer-events: none;
}

.card-floating-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card-status-pill.status-finished {
  background: rgba(4, 38, 26, 0.92);
  border: 1px solid rgba(52, 211, 153, 0.65);
  color: #6EE7B7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 14px rgba(16, 185, 129, 0.4);
}
.card-status-pill.status-finished .pulse-indicator {
  background: #10B981;
  box-shadow: 0 0 8px #34D399, 0 0 14px #10B981;
}

:root[data-theme="light"] .card-status-pill.status-finished {
  background: rgba(236, 253, 245, 0.96);
  border: 1.5px solid rgba(16, 185, 129, 0.6);
  color: #047857;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .card-status-pill.status-finished .pulse-indicator {
  background: #059669;
  box-shadow: 0 0 6px #059669;
}

/* Status: Planned / Design Phase (Warm Amber / Luxury Gold) */
.card-status-pill.status-planned {
  background: rgba(42, 24, 6, 0.92);
  border: 1.5px solid rgba(245, 158, 11, 0.7);
  color: #FDE68A;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 14px rgba(245, 158, 11, 0.35);
}
.card-status-pill.status-planned .pulse-indicator {
  background: #F59E0B;
  box-shadow: 0 0 8px #FBBF24, 0 0 14px #F59E0B;
}

:root[data-theme="light"] .card-status-pill.status-planned {
  background: rgba(254, 243, 199, 0.96);
  border: 1.5px solid rgba(217, 119, 6, 0.6);
  color: #92400E;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .card-status-pill.status-planned .pulse-indicator {
  background: #D97706;
  box-shadow: 0 0 6px #F59E0B;
}

/* Status: Ongoing / Under Construction (Vibrant Tangerine / Safety Orange) */
.card-status-pill.status-ongoing {
  background: rgba(45, 20, 6, 0.92);
  border: 1.5px solid rgba(251, 146, 60, 0.7);
  color: #FED7AA;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 14px rgba(234, 88, 12, 0.35);
}
.card-status-pill.status-ongoing .pulse-indicator {
  background: #F97316;
  box-shadow: 0 0 8px #FB923C, 0 0 14px #F97316;
}

:root[data-theme="light"] .card-status-pill.status-ongoing {
  background: rgba(255, 247, 237, 0.96);
  border: 1.5px solid rgba(234, 88, 12, 0.6);
  color: #9A3412;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .card-status-pill.status-ongoing .pulse-indicator {
  background: #EA580C;
  box-shadow: 0 0 6px #FB923C;
}

.pulse-indicator {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: cardDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes cardDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.card-category-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  background: rgba(8, 14, 29, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F8FAFC;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card-location-floating {
  position: absolute;
  bottom: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #F8FAFC;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 3;
}
.card-location-floating svg {
  color: var(--sky);
}

.card-body, .card .body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.card-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  font-family: var(--f-mono);
  color: var(--muted);
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.spec-chip svg {
  color: var(--sky);
}

.card-title, .card h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink-heading);
  line-height: 1.28;
  transition: color 0.3s ease;
}
.card:hover .card-title, .card:hover h3 {
  color: var(--sky);
}

.card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-action-bar {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
}
.card-cta-label {
  color: var(--muted);
  transition: color 0.3s ease;
}
.card-cta-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sky-tint);
  border: 1px solid var(--line-sky);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card-cta-label {
  color: var(--sky);
}
.card:hover .card-cta-arrow {
  background: var(--sky);
  color: var(--on-sky);
  transform: translateX(4px);
  box-shadow: 0 0 16px var(--sky-glow);
}

/* Legacy .badge fallback */
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sky-tint);
  border: 1px solid var(--line-sky);
  color: var(--sky);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  justify-self: start;
}

/* ==========================================================================
   Step Inside Real Handover Sites (Cinematic Video Showcase)
   ========================================================================== */
.vids {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.vid {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-glass);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid var(--card-glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-glass-shadow);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.45s ease,
              box-shadow 0.45s ease;
}

:root[data-theme="light"] .vid {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 249, 255, 0.6) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 14px 36px -6px rgba(14, 165, 233, 0.12), 0 4px 14px rgba(15, 23, 42, 0.04), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="light"] .vid:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.55) !important;
  box-shadow: 0 22px 50px -10px rgba(14, 165, 233, 0.22), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="dark"] .vid {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.62) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.24) !important;
  box-shadow: 0 18px 45px -8px rgba(0, 0, 0, 0.8), inset 0 1.5px 1px rgba(255, 255, 255, 0.12) !important;
}

:root[data-theme="dark"] .vid:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.25) !important;
}

.vid-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
}
.vid-player-frame iframe,
.vid-player-frame video,
.vid video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
  display: block;
}

/* Custom Cinema YouTube Play Trigger */
.yt, .yt-player-btn {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  background: #000;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}
.vid-poster-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.yt img, .vid-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}
.vid:hover .yt img, .vid:hover .vid-poster-wrap img {
  transform: scale(1.07);
  filter: brightness(1.06);
}

.vid-scrim-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(3, 7, 18, 0.15) 0%, rgba(3, 7, 18, 0.72) 100%);
  transition: opacity 0.3s ease;
}

.vid-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.vid-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.live-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: liveRecPulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes liveRecPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.vid-badge-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F8FAFC;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Center Frosted Play Disc & Pulsing Halo */
.vid-play-button-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 4;
  pointer-events: none;
}

.vid-play-disc {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(8, 14, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.4s ease;
}
.vid-pulse-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  transform: translate(-50%, -50%);
  animation: vidHaloPulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
@keyframes vidHaloPulse {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.8; }
  70% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.vid-play-icon {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  color: var(--sky);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hide Tap to Play Video Tour hint completely per user request */
.vid-tap-hint {
  display: none !important;
}

/* ==========================================================================
   Architectural Walkthrough Video Tour Dialog Modal
   ========================================================================== */
.rb-video-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3.5vw, 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-video-dialog-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.rb-video-dialog-card {
  width: min(980px, 100%);
  background: #080E1E;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 22px;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.95), 0 0 40px rgba(56, 189, 248, 0.25);
  overflow: hidden;
  transform: scale(0.93) translateY(14px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-video-dialog-backdrop.active .rb-video-dialog-card {
  transform: scale(1) translateY(0);
}

.rb-video-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(10, 17, 36, 0.95);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  gap: 16px;
}

.rb-video-dialog-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rb-video-dialog-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.rb-video-dialog-title {
  font-family: var(--f-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-video-dialog-loc {
  font-size: 12px;
  color: #94A3B8;
}

.rb-video-dialog-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
  font-size: 26px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.rb-video-dialog-close:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
  color: #F87171;
  transform: scale(1.08);
}

.rb-video-dialog-body {
  position: relative;
  width: 100%;
  background: #030712;
}

.rb-video-dialog-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.rb-video-dialog-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.vid:hover .vid-play-disc,
.yt:hover .vid-play-disc {
  transform: scale(1.14);
  background: var(--sky);
  border-color: #FFFFFF;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 35px var(--sky-glow);
}
.vid:hover .vid-play-icon,
.yt:hover .vid-play-icon {
  color: var(--on-sky);
}
.vid:hover .vid-tap-hint,
.yt:hover .vid-tap-hint {
  transform: translateY(2px);
  background: rgba(8, 14, 29, 0.92);
  border-color: var(--line-sky);
  color: var(--sky);
}

/* Figcaption Luxury Layout */
.vid figcaption, .vid-caption-luxury {
  padding: 20px 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  color: var(--muted);
}
.vid-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vid-meta-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-family: var(--f-mono);
}
.vid-loc-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sky);
  font-weight: 600;
}
.vid-verified-tag {
  color: #34D399;
  font-weight: 600;
}
.vid-title, .vid figcaption b {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink-heading);
  line-height: 1.28;
  transition: color 0.3s ease;
}
.vid:hover .vid-title, .vid:hover figcaption b {
  color: var(--sky);
}

.vid-cta-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sky-tint);
  border: 1px solid var(--line-sky);
  color: var(--sky);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.vid:hover .vid-cta-pill {
  background: var(--sky);
  color: var(--on-sky);
  transform: scale(1.05);
  box-shadow: 0 0 16px var(--sky-glow);
}

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.st { display: grid; gap: 14px; align-content: start; }
.st .ph { overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); border-radius: var(--radius-md); border: 1px solid var(--line); }
.st .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.st:hover .ph img { transform: scale(1.05); }
.st .mono { color: var(--sky); font-weight: 600; }
.st h3 { font-size: 1.45rem; }
.st p { color: var(--muted); font-size: 0.95rem; }

.rows { display: grid; border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 12px 40px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.row p { color: var(--muted); max-width: 40rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--sky); background: var(--sky-tint); color: var(--sky); }

/* Multi-page layout */
.page-head { padding-top: clamp(100px, 14vh, 130px); padding-bottom: 16px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-block: 8px 12px; }
.page-head .lede { color: var(--muted); max-width: 44rem; font-size: 1.15rem; }
.crumbs { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.crumbs a:hover { color: var(--sky); }
.page-sec { padding-block: 20px clamp(48px, 8vh, 90px); }

/* ==========================================================================
   About Us Page Styling
   ========================================================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
.about-hero-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.about-hero-card h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-block: 8px 16px;
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.a-stat b {
  display: block;
  font-size: 1.8rem;
  color: var(--sky);
  font-weight: 800;
}
.a-stat span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.about-badge-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(2, 132, 199, 0.02) 100%);
  border: 1px solid var(--line-sky);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.a-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sky);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}
.about-badge-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.5;
}
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 800;
  font-size: 12px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
}
.pillar-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 12px;
}
.pillar-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.pillar-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}
.team-avatar {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.team-role {
  color: var(--sky);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.team-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Gallery & Lightbox */
.gal { columns: 3 280px; column-gap: 16px; }
.g-item {
  display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0;
  background: var(--card); cursor: zoom-in; position: relative; break-inside: avoid;
  overflow: hidden; border-radius: var(--radius-md);
}
.g-item img { width: 100%; height: auto; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover img { transform: scale(1.05); }
.gal .g-item > span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px;
  color: #FFFFFF; background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.85));
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}

.lbx {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
}

.lbx.open {
  display: flex;
}

.lbx-topbar {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 20;
}

.lbx-title {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f8fafc;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.lbx-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lbx-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.05em;
}

.lbx-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lbx-btn:hover {
  background: #ef4444;
  border-color: #f87171;
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(239, 68, 68, 0.4);
}

.lbx-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 20;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.lbx-prev { left: 24px; }
.lbx-next { right: 24px; }

.lbx-nav:hover {
  background: #0284c7;
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.55), 0 0 20px rgba(56, 189, 248, 0.4);
}

.lbx-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 85vh;
  padding: 20px;
  box-sizing: border-box;
}

.lbx-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 45px rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Refined Glassmorphism Footer & Brand Attribution
   ========================================================================== */
.glass-footer {
  position: relative;
  background: transparent !important;
  padding-block: 60px 38px;
  border-top: none !important;
  overflow: hidden;
}

/* Ambient glow disc behind footer glass card */
.glass-footer::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1100px);
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.18) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

:root[data-theme="dark"] .glass-footer::before {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.08) 50%, transparent 75%);
}

.footer-glass-card {
  position: relative;
  z-index: 1;
  background: var(--card-glass);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1px solid var(--card-glass-border);
  box-shadow: var(--card-glass-shadow);
  border-radius: var(--radius-lg, 24px);
  padding: 46px clamp(24px, 4.5vw, 54px) 30px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

:root[data-theme="light"] .footer-glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 249, 255, 0.58) 50%, rgba(255, 255, 255, 0.76) 100%) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 50px -10px rgba(14, 165, 233, 0.15), 0 10px 25px -5px rgba(15, 23, 42, 0.05), inset 0 2px 2px #FFFFFF, inset 0 -1px 0 rgba(14, 165, 233, 0.18) !important;
}

:root[data-theme="light"] .footer-glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.45), transparent);
}

:root[data-theme="dark"] .footer-glass-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.6) 50%, rgba(15, 23, 42, 0.74) 100%) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.85), 0 0 36px rgba(56, 189, 248, 0.14), inset 0 1.5px 1px rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(56, 189, 248, 0.22) !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 24rem;
  line-height: 1.6;
  margin-top: 6px;
}
.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sky-bright);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.18);
  width: fit-content;
  margin-top: 6px;
}
:root[data-theme="light"] .footer-trust-badge {
  color: #0284C7;
  background: rgba(14, 165, 233, 0.06);
  border-color: rgba(14, 165, 233, 0.2);
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  flex-shrink: 0;
}
.footer-title {
  color: var(--sky);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.91rem;
  transition: all 0.2s ease;
  width: fit-content;
}
.footer-link .link-arrow {
  font-size: 11px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  color: var(--sky);
}
.footer-link:hover {
  color: var(--sky);
  transform: translateX(4px);
}
.footer-link:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.91rem;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--sky);
}
.footer-contact-item:hover {
  color: var(--sky);
}
.footer-addr {
  color: var(--muted);
  line-height: 1.5;
}
.footer-wa-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #4ADE80;
  width: fit-content;
  transition: all 0.2s ease;
  margin-top: 4px;
}
:root[data-theme="light"] .footer-wa-chip {
  color: #16A34A;
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.28);
}
.footer-wa-chip:hover {
  background: rgba(37, 211, 102, 0.2);
  transform: translateY(-1px);
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
:root[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.07);
}
.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.footer-sep {
  opacity: 0.5;
}
.footer-crafted {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.crafted-text {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.rootrise-chip {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.12);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
}
:root[data-theme="light"] .rootrise-chip {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.25);
  color: #0284C7;
  box-shadow: none;
}
.rootrise-chip:hover {
  transform: translateY(-1px);
  border-color: var(--sky-bright);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */
@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes lb {
  from { transform: scaleY(1); }
  to { transform: scaleY(0); }
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ==========================================================================
   Landing Page: Desktop Data Limitations (Show max 6 items per section)
   ========================================================================== */
@media (min-width: 769px) {
  #site-photography .luxury-gallery-track > *:nth-child(n+7),
  #home-projects-cards > *:nth-child(n+7),
  #material-dna-grid > *:nth-child(n+7),
  #home-videos-container > *:nth-child(n+7),
  #home-testimonials-container > *:nth-child(n+7),
  #home-leadership-container > *:nth-child(n+7),
  #home-before-after-container .tabs > *:nth-child(n+7),
  #home-before-after-container .ba-set:nth-of-type(n+7) {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .nav-links { gap: 2px; }
  .nav-link { font-size: 12px; padding: 7px 10px; }
  .hero-book-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-intro { text-align: center; align-items: center; }
  .hero-intro .lede { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .book-controls-bar { margin-inline: auto; width: 100%; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid, .standards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .desktop-nav-item { display: none !important; }
  .action-icon-btn.icon-calc { display: none !important; }
  
  /* Full-width Edge-to-Edge Architectural Header */
  .top.glass-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding-inline: 16px !important;
    padding-block: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(4, 9, 20, 0.88) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4) !important;
    transform: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    z-index: 950 !important;
  }
  .top.glass-header::before {
    display: none !important;
  }
  :root[data-theme="dark"] .top.glass-header {
    background: rgba(4, 9, 20, 0.88) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.45) !important;
  }
  :root[data-theme="light"] .top.glass-header {
    background: rgba(255, 255, 255, 0.92) !important;
    border: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
  }
  .nav-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }
  .brand-badge {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: none !important;
    transform: none !important;
    flex-shrink: 0 !important;
  }
  :root[data-theme="dark"] .brand-badge {
    background: rgba(56, 189, 248, 0.1) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    color: #38BDF8 !important;
    box-shadow: none !important;
  }
  :root[data-theme="light"] .brand-badge {
    background: rgba(14, 165, 233, 0.08) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    color: #0284C7 !important;
    box-shadow: none !important;
  }
  .brand-badge svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2.2 !important;
  }
  .brand-text b {
    font-size: 1.05rem !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }
  :root[data-theme="dark"] .brand-text b {
    color: #FFFFFF !important;
  }
  :root[data-theme="light"] .brand-text b {
    color: #0F172A !important;
  }
  .brand-text b i {
    color: var(--sky) !important;
    font-style: normal !important;
  }
  :root[data-theme="light"] .brand-text b i {
    color: #0284C7 !important;
  }
  .brand-text span {
    display: none !important;
  }
  
  .nav-actions {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .mobile-menu-toggle svg {
    width: 22px !important;
    height: 22px !important;
  }
  
  /* Mobile Drawer handled cleanly by top-level off-canvas rules */

  /* Grid & Form Responsive Defaults */
  .form-container, .contact-grid { grid-template-columns: 1fr; }
  .teaser-card, .estimator-card { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .milestone-row { grid-template-columns: 1fr; gap: 8px; }
  .milestone-row.header { display: none; }
  .vids, .row { grid-template-columns: 1fr; }
  .interactive-form .form-grid { grid-template-columns: 1fr; }
  .calc-options { grid-template-columns: 1fr; }
  .inspect-grid { grid-template-columns: 1fr; }
  .inspect-visual { border-right: none; border-bottom: 1px solid rgba(56, 189, 248, 0.2); }
}

/* Tight Mobile Spacing & Ergonomics */
@media (max-width: 680px) {
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .wrap {
    padding-inline: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* Compact Hero Section: Eliminate 100svh empty gap */
  .hero.hero-book-scene {
    min-height: auto !important;
    padding-top: 74px !important;
    padding-bottom: 22px !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .hero-book-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .hero-intro {
    display: contents !important;
  }
  .hero-badge {
    order: 0 !important;
    font-size: clamp(9px, 2.6vw, 10.5px);
    letter-spacing: 0.04em;
    padding: 5px 12px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    word-break: break-word;
  }
  .hero-intro h1 {
    order: 1 !important;
    text-align: center;
    font-size: clamp(1.85rem, 7.2vw, 2.35rem) !important;
    line-height: 1.15;
    word-break: break-word;
    text-wrap: balance;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-block: 4px 8px !important;
  }
  .hero-intro .lede {
    order: 2 !important;
    text-align: center;
    font-size: clamp(0.92rem, 3.5vw, 1rem) !important;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
    padding-inline: 4px;
    margin-inline: auto;
    margin-bottom: 6px !important;
  }
  .hero-villa-stage {
    order: 3 !important;
    width: 100%;
    max-width: 100%;
    margin-top: 6px !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }
  .hero-villa-visual {
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
  }
  .hero-villa-img {
    max-height: 440px !important;
    width: auto !important;
    max-width: min(94vw, 450px) !important;
    object-fit: contain;
  }
  .hero-actions {
    order: 4 !important;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 10px !important;
    margin-inline: auto;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
    box-sizing: border-box;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding: 13px 20px;
    font-size: 0.98rem;
  }

  /* Mobile Responsive: Keep button pairs side-by-side in the same row */
  .teaser-actions,
  .cta-banner-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 14px !important;
  }
  .teaser-actions .btn,
  .cta-banner-buttons .btn {
    width: 100% !important;
    padding: 11px 6px !important;
    font-size: clamp(0.72rem, 2.5vw, 0.84rem) !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
    box-sizing: border-box !important;
  }

  /* Landing Page Mobile View: Show at most 3 items per section */
  #site-photography .luxury-gallery-track > *:nth-child(n+4),
  #home-projects-cards > *:nth-child(n+4),
  #material-dna-grid > *:nth-child(n+4),
  #home-videos-container > *:nth-child(n+4),
  #home-testimonials-container > *:nth-child(n+4),
  #home-leadership-container > *:nth-child(n+4),
  #home-before-after-container .tabs > *:nth-child(n+4),
  #home-before-after-container .ba-set:nth-of-type(n+4) {
    display: none !important;
  }

  /* Sections: Eliminate massive empty gaps between sections */
  .sec {
    padding-block: 30px 34px !important;
  }
  .standards-sec {
    padding-block: 32px 36px !important;
  }
  .accordion-gallery-sec {
    padding-block: 26px 30px !important;
  }
  .metrics-ribbon {
    padding-block: 22px 26px !important;
  }
  .teaser-sec, .cta-section {
    padding-block: 26px 30px !important;
  }
  .page-sec {
    padding-block: 20px 28px !important;
  }

  /* Section Headings & Intros */
  .sec .intro {
    margin-bottom: 16px !important;
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
  }
  .sec h2 {
    font-size: clamp(1.75rem, 6.2vw, 2.2rem) !important;
    margin-block: 4px 8px !important;
  }
  .section-head-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  
  /* Cards & Grid Gaps */
  .cards, .vids, .stages, .standards-grid {
    gap: 16px !important;
  }
  .cards, .vids {
    grid-template-columns: 1fr !important;
  }
  .card {
    border-radius: 16px;
  }
  .card-media-wrap {
    aspect-ratio: 16 / 10;
  }
  .card-body, .card .body {
    padding: 16px 16px 18px !important;
    gap: 8px;
  }
  .card-title, .card h3 {
    font-size: 1.18rem !important;
  }
  .card-specs-row {
    gap: 6px;
  }
  .spec-chip {
    font-size: 11px;
    padding: 3px 8px;
  }
  .vid {
    border-radius: 16px;
  }
  .vid-player-frame {
    border-radius: 15px 15px 0 0;
  }
  .vid-play-disc {
    width: 58px;
    height: 58px;
  }
  .vid-play-icon {
    width: 20px;
    height: 20px;
  }
  .vid-tap-hint {
    display: none;
  }
  .vid figcaption, .vid-caption-luxury {
    padding: 14px 16px 16px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .vid-title, .vid figcaption b {
    font-size: 1.15rem !important;
  }
  .vid-cta-pill {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  /* Before and After Mobile */
  .tabs, .ba-tabs-wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    border-radius: 999px;
  }
  .tabs .chip {
    padding: 8px 14px;
    font-size: 11px;
    flex: 0 0 auto;
  }
  .ba {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }
  .ba-tag {
    top: 10px;
    padding: 5px 10px;
    font-size: 9.5px;
  }
  .ba-tag.l { left: 10px; }
  .ba-tag.r { right: 10px; }
  .ba-handle {
    width: 44px;
    margin-left: -22px;
  }
  .ba-grip {
    width: 42px;
    height: 42px;
    gap: 5px;
  }
  .ba-hint-bar {
    bottom: 10px;
    padding: 4px 10px;
    font-size: 9.5px;
  }
  .metrics-grid {
    gap: 12px !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .metric-card {
    padding: 12px 14px !important;
  }
  .metric-num {
    font-size: 2.2rem !important;
  }
  .cta-banner, .teaser-card {
    padding: 22px 16px !important;
    gap: 16px !important;
  }
  .cta-banner h2, .teaser-card h2 {
    margin-block: 4px 8px !important;
    font-size: 1.65rem !important;
  }
  .row {
    padding-block: 14px !important;
  }
  .chips {
    gap: 8px !important;
  }
  .showcase-slide { flex: 0 0 85vw; }
  .cad-markers { display: none; }
}

@media (max-width: 600px) {
  .metrics-grid, .standards-grid { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-glass-card { padding: 28px 16px 20px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gal { columns: 2 140px; }
  .stages { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-intro h1 {
    font-size: clamp(1.68rem, 6.8vw, 2rem) !important;
  }
  .drawing-page-container {
    aspect-ratio: 16 / 11.5;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .brand-text b {
    font-size: 0.98rem !important;
  }
  .brand-badge {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }
  .brand-badge svg {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (max-width: 360px) {
  .wrap {
    padding-inline: 12px;
  }
  .brand-text b {
    font-size: 0.9rem !important;
  }
  .hero-intro h1 {
    font-size: 1.55rem !important;
  }
  .hero-actions {
    max-width: 100%;
  }
}

/* ==========================================================================
   Architectural Showcase Section (Smooth Horizontal Scroll Gallery Below Hero)
   ========================================================================== */
.luxury-showcase-sec {
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.luxury-showcase-wrap {
  width: 100%;
  max-width: 100%;
  padding: 14px 0;
  box-sizing: border-box;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.luxury-gallery-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  will-change: transform;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.luxury-panel {
  flex: 0 0 clamp(520px, 58vw, 820px);
  height: clamp(450px, 60vh, 580px);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  display: block;
  text-decoration: none;
  background: var(--card-solid, #0A1124);
  cursor: pointer;
  box-shadow: var(--card-glass-shadow);
  border: 1px solid var(--card-glass-border);
  transition: box-shadow 0.4s ease, border-radius 0.3s ease, border-color 0.3s ease;
}

:root[data-theme="light"] .luxury-panel {
  background: #FFFFFF;
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 14px 34px -6px rgba(14, 165, 233, 0.12), 0 20px 45px -10px rgba(15, 23, 42, 0.08);
}

.luxury-panel__inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
}

.luxury-panel__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.002);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.95) contrast(1.04);
}

.luxury-panel:hover .luxury-panel__media {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.08);
}

/* Base overlay: Crystal clear by default to avoid hiding the photo */
.luxury-panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.08) 0%,
    rgba(3, 7, 18, 0) 35%,
    rgba(3, 7, 18, 0.35) 100%
  );
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.luxury-panel:hover .luxury-panel__overlay {
  opacity: 0.85;
}

/* Discreet Peek Chip (Default state, bottom-left) */
.luxury-panel__peek-chip {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.peek-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky, #0EA5E9);
  box-shadow: 0 0 8px var(--sky, #0EA5E9);
}

.peek-chip__title {
  font-weight: 600;
  color: #ffffff;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.peek-chip__hint {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}

.luxury-panel:hover .luxury-panel__peek-chip {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

/* Slide-in Side Drawer (Ultra-premium Flush Frosted Glass Theme - Zero Margin) */
.luxury-panel__side-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  width: clamp(340px, 36vw, 470px);
  height: 100%;
  max-height: 100%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  box-sizing: border-box;
  border-radius: 20px 0 0 20px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.02) 65%, transparent 100%),
    radial-gradient(circle at 18% 15%, rgba(56, 189, 248, 0.2) 0%, transparent 45%),
    linear-gradient(180deg, rgba(8, 14, 29, 0.65) 0%, rgba(3, 7, 18, 0.88) 100%);
  backdrop-filter: blur(28px) saturate(220%) brightness(112%) contrast(106%);
  -webkit-backdrop-filter: blur(28px) saturate(220%) brightness(112%) contrast(106%);
  border: none;
  border-right: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    24px 0 60px rgba(0, 0, 0, 0.35),
    inset 1.5px 0 2px rgba(255, 255, 255, 0.6),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    inset -1px 0 2px rgba(255, 255, 255, 0.25),
    inset 0 0 35px rgba(255, 255, 255, 0.08);
  transform: translateX(-102%);
  opacity: 0;
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}

.luxury-panel:hover .luxury-panel__side-drawer {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.luxury-panel__drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.luxury-panel__badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.luxury-panel__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.24);
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  color: #7DD3FC;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.luxury-panel__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.95);
}

.luxury-panel__sub {
  margin: 0;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.luxury-panel__action {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.luxury-panel__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #030712;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), inset 0 1.5px 1px #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-panel__cta-btn:hover {
  background: #38BDF8;
  border-color: #38BDF8;
  color: #030712;
  transform: translateX(4px);
  box-shadow: 0 6px 26px rgba(56, 189, 248, 0.5);
}

.luxury-panel__cta-btn svg {
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.luxury-panel__cta-btn:hover svg {
  transform: translateX(4px);
}

/* Single Item Showcase Presentation (Zero Empty Gap) */
.luxury-gallery-track.is-single {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
}

.luxury-gallery-track.is-single .luxury-panel {
  flex: 1 1 100% !important;
  max-width: 1360px !important;
  width: 100% !important;
  height: clamp(480px, 66vh, 650px) !important;
  margin: 0 auto !important;
}

/* Luxury No Content State */
.luxury-no-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  width: 100%;
  background: var(--card);
  border-radius: 4px;
  border: 1px dashed var(--line);
  padding: 40px;
  box-sizing: border-box;
}

.luxury-no-content-inner {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--f-mono, inherit);
  font-weight: 500;
}

/* Mobile & Touch Viewports (Crisp proper image display + Glassy Flush Info Card - Zero Margin) */
@media (max-width: 768px), (hover: none) {
  .luxury-panel {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(400px, 60vh, 500px) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  }

  .luxury-panel__inner {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .luxury-panel__media {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    display: block !important;
  }

  .luxury-panel__peek-chip {
    display: none !important;
  }

  .luxury-panel__side-drawer {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: 55% !important;
    justify-content: flex-end !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    border-radius: 0 0 18px 18px !important;
    padding: 14px 18px 16px !important;
    box-sizing: border-box !important;
    background: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 25%, transparent 65%),
      radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.2) 0%, transparent 45%),
      linear-gradient(180deg, rgba(8, 14, 29, 0.65) 0%, rgba(3, 7, 18, 0.88) 100%) !important;
    backdrop-filter: blur(28px) saturate(220%) contrast(106%) brightness(112%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(220%) contrast(106%) brightness(112%) !important;
    border: none !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 
      0 -16px 45px rgba(0, 0, 0, 0.38),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.7),
      inset 0 0 28px rgba(255, 255, 255, 0.08) !important;
  }

  .luxury-panel__drawer-inner {
    gap: 5px !important;
  }

  .luxury-panel__badge {
    padding: 3px 11px !important;
    font-size: 0.68rem !important;
    background: rgba(14, 165, 233, 0.25) !important;
    border: 1px solid rgba(56, 189, 248, 0.65) !important;
    color: #7DD3FC !important;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  }

  .luxury-panel__title {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.95) !important;
  }

  .luxury-panel__sub {
    font-size: 0.8rem !important;
    line-height: 1.32 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .luxury-panel__action {
    margin-top: 4px !important;
  }

  .luxury-panel__cta-btn {
    padding: 6px 15px !important;
    font-size: 0.76rem !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1.5px 1px #ffffff !important;
  }

  .luxury-gallery-track.is-single {
    padding: 0 16px !important;
  }

  .luxury-gallery-track.is-single .luxury-panel {
    height: clamp(400px, 60vh, 500px) !important;
  }
}

@media (max-width: 480px) {
  .luxury-panel {
    height: clamp(380px, 56vh, 460px) !important;
  }

  .luxury-panel__side-drawer {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0 0 18px 18px !important;
    padding: 12px 16px 14px !important;
  }

  .luxury-panel__title {
    font-size: 1.05rem !important;
  }

  .luxury-panel__sub {
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   React Bits: AccordionGallery Component Styles (Legacy fallback)
   ========================================================================== */
.accordion-gallery-sec {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.ag-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--ag-radius);
  cursor: pointer;
  display: block;
  text-decoration: none;
  outline: none;
  transform-style: preserve-3d;
  transform-origin: center center;
  background: #091024;
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.75), 0 0 20px rgba(56, 189, 248, 0.08);
  will-change: flex-grow, transform;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

:root[data-theme="light"] .ag-panel {
  background: #F8FAFC;
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.12), 0 0 16px rgba(14, 165, 233, 0.06);
}

.ag-panel--active {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.28);
}

:root[data-theme="light"] .ag-panel--active {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.18), 0 0 24px rgba(14, 165, 233, 0.18);
}

.ag-panel:focus-visible {
  box-shadow:
    0 0 0 2px var(--ag-accent),
    0 10px 30px -18px rgba(0, 0, 0, 0.8);
}

.ag-panel__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.ag-panel__media {
  --ag-gray: 1;
  --ag-dim: 0.35;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ag-media-size);
  height: 100%;
  filter: grayscale(var(--ag-gray));
  will-change: transform, filter;
}

.accordion-gallery--vertical .ag-panel__media {
  width: 100%;
  height: var(--ag-media-size);
}

.ag-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.ag-panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--ag-overlay) 82%, transparent) 100%),
    color-mix(in srgb, var(--ag-overlay) calc(var(--ag-dim, 0.35) * 100%), transparent);
  transition: background 0.3s ease;
}

.ag-panel__label {
  position: absolute;
  left: 20px;
  bottom: 22px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}

.ag-panel__bar {
  flex: 0 0 auto;
  width: 3.5px;
  height: 28px;
  border-radius: 4px;
  background: var(--ag-accent);
  opacity: 0;
  box-shadow: 0 0 14px color-mix(in srgb, var(--ag-accent) 70%, transparent);
}

.ag-panel__text {
  color: var(--ag-text);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

@media (max-width: 640px) {
  .accordion-gallery {
    flex-direction: column;
    perspective: none;
    height: auto !important;
    gap: 10px;
  }
  .ag-panel {
    min-height: 96px;
    height: 96px;
    transform: none !important;
    flex-grow: 1 !important;
  }
  .ag-panel.ag-panel--active {
    min-height: 260px;
    height: 260px;
  }
  .accordion-gallery .ag-panel__media {
    width: 100%;
    height: 100%;
  }
  .ag-panel__label {
    left: 14px;
    bottom: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-panel,
  .ag-panel__media {
    will-change: auto;
  }
}

/* Dynamic Sections - Clean Empty State */
.empty-dynamic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--card, rgba(10, 17, 36, 0.85));
  border: 1px dashed var(--card-border, rgba(56, 189, 248, 0.25));
  border-radius: var(--radius-md, 14px);
  text-align: center;
  margin: 16px 0;
  width: 100%;
  box-sizing: border-box;
}
.empty-dynamic p {
  margin: 0;
  color: var(--muted, #94a3b8);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--f-mono, inherit);
  font-weight: 500;
}

/* ==========================================================================
   Universal Dynamic Skeleton Loaders (Zero-delay, High-performance Shimmer)
   ========================================================================== */
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm, 8px);
}
:root[data-theme="light"] .skeleton-shimmer {
  background: rgba(0, 0, 0, 0.06);
}

.skeleton-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
:root[data-theme="light"] .skeleton-shimmer::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 50%,
    transparent 100%
  );
}

/* Accordion Gallery Skeleton */
.skeleton-gallery-wrapper {
  display: flex !important;
  gap: 12px;
  height: 480px;
  width: 100%;
}
.skeleton-gallery-panel {
  flex: 1;
  height: 100%;
  border-radius: 18px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}
@media (max-width: 640px) {
  .skeleton-gallery-wrapper {
    flex-direction: column !important;
    height: auto !important;
  }
  .skeleton-gallery-panel {
    height: 90px;
  }
}

/* Metrics Ribbon Skeleton */
.skeleton-metric-card {
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card, rgba(10, 17, 36, 0.7));
}
.skeleton-metric-num {
  width: 72px;
  height: 38px;
  border-radius: 6px;
}
.skeleton-metric-text {
  width: 130px;
  height: 15px;
  border-radius: 4px;
}
.skeleton-metric-desc {
  width: 90px;
  height: 12px;
  border-radius: 4px;
}

/* Project Cards Skeleton */
.skeleton-card {
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  overflow: hidden;
  background: var(--card, rgba(10, 17, 36, 0.85));
  display: flex;
  flex-direction: column;
}
.skeleton-card .ph {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 0;
  display: block;
}
.skeleton-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skeleton-badge {
  width: 75px;
  height: 18px;
  border-radius: 12px;
}
.skeleton-title {
  width: 82%;
  height: 22px;
  border-radius: 4px;
}
.skeleton-meta {
  width: 60%;
  height: 14px;
  border-radius: 4px;
}

/* Before and After Skeleton */
.skeleton-ba {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md, 14px);
  margin-inline: auto;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  position: relative;
  min-height: 320px;
}

/* Walkthrough Video Skeleton */
.skeleton-vid {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  position: relative;
  min-height: 220px;
}

/* Material DNA Skeleton */
.skeleton-standard-card {
  padding: 28px 22px;
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  background: var(--card, rgba(10, 17, 36, 0.85));
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 190px;
}

/* Fade-in for Smooth Transition from Skeleton to Live Data */
.fade-in-content {
  animation: dynamic-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes dynamic-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Public Careers & Job Openings System
   ========================================================================== */
.careers-public-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.career-public-card {
  background: var(--card, #0f172a);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 14px);
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25);
}

.career-public-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.35);
}

.career-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.career-card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.career-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg, #ffffff);
  letter-spacing: -0.02em;
  margin: 0;
}

.career-meta-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.career-meta-pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  color: var(--muted, #94a3b8);
}

.career-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted, #cbd5e1);
  margin-bottom: 1rem;
}

.career-reqs-wrap {
  border-top: 1px dashed var(--line, rgba(255, 255, 255, 0.1));
  padding-top: 0.85rem;
}

.career-reqs-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand, #3b82f6);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.career-reqs-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted, #94a3b8);
  line-height: 1.5;
}

.career-reqs-list li {
  margin-bottom: 0.25rem;
}

/* Application Modal */
.apply-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.apply-modal-card {
  background: var(--card, #0c1222);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-md, 14px);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  animation: apply-modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes apply-modal-pop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.apply-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}

.apply-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--fg, #ffffff);
}

.apply-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted, #94a3b8);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.apply-close-btn:hover {
  color: #ffffff;
}

.apply-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

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

.form-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--fg, #f8fafc);
}

.career-input {
  width: 100%;
  height: 2.65rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.15));
  background: var(--bg-alt, rgba(255, 255, 255, 0.04));
  color: var(--fg, #ffffff);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.career-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.career-textarea {
  height: auto;
  min-height: 5rem;
  resize: vertical;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim, #64748b);
  margin-top: 0.3rem;
}

.apply-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .career-card-header {
    flex-direction: column;
    align-items: stretch;
  }
  .career-card-header .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Luxury Architectural Project Showcase Page (Ultra-Premium Redesign)
   ========================================================================== */
.project-single-main {
  padding-bottom: 60px;
}

/* Header & Breadcrumbs */
.proj-header-sec {
  padding-top: clamp(100px, 12vh, 128px);
  padding-bottom: 24px;
  position: relative;
}

.proj-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  font-family: var(--f-mono, inherit);
  color: var(--muted);
  margin-bottom: 18px;
}

.proj-breadcrumbs .crumb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.proj-breadcrumbs .crumb-link:hover {
  color: var(--ink-heading);
}

.proj-breadcrumbs .crumb-slash {
  color: rgba(255, 255, 255, 0.25);
}
:root[data-theme="light"] .proj-breadcrumbs .crumb-slash {
  color: rgba(0, 0, 0, 0.25);
}

.proj-breadcrumbs .crumb-item,
.proj-breadcrumbs .crumb-static {
  color: var(--muted);
}

.proj-breadcrumbs .crumb-active {
  color: var(--ink-heading);
  font-weight: 600;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Meta Pill Badges */
.proj-meta-pill-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.proj-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--f-mono, inherit);
  background: var(--bg-surface, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  color: var(--ink);
}

.proj-pill-badge.status-badge.is-finished {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(134, 239, 172, 0.4);
  color: #15803d;
}
:root[data-theme="dark"] .proj-pill-badge.status-badge.is-finished {
  color: #86efac;
}

.proj-pill-badge.status-badge.is-ongoing {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(147, 197, 253, 0.4);
  color: #1d4ed8;
}
:root[data-theme="dark"] .proj-pill-badge.status-badge.is-ongoing {
  color: #93c5fd;
}

.badge-pulsing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.proj-hero-h1 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink-heading);
  margin: 0 0 12px;
}

.proj-hero-lede {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
  margin: 0;
}

/* Key Specs Ribbon Grid */
.proj-specs-sec {
  padding-bottom: 32px;
}

.proj-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

@media (min-width: 1240px) {
  .proj-specs-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.proj-spec-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-radius: var(--radius-md, 14px);
  background: var(--card-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--card-glass-border);
  box-shadow: var(--card-glass-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

:root[data-theme="light"] .proj-spec-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 100%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow: 0 10px 28px -4px rgba(14, 165, 233, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04), inset 0 1.5px 1.5px #FFFFFF;
}

:root[data-theme="dark"] .proj-spec-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(56, 189, 248, 0.18);
}

.proj-spec-card:hover {
  transform: translateY(-3px);
  border-color: var(--sky, #0284c7);
}

:root[data-theme="light"] .proj-spec-card:hover {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 16px 36px -4px rgba(14, 165, 233, 0.22), 0 0 20px rgba(14, 165, 233, 0.12), inset 0 1.5px 1.5px #FFFFFF;
}

:root[data-theme="dark"] .proj-spec-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.25);
}

.spec-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

:root[data-theme="light"] .spec-card-icon {
  background: rgba(224, 242, 254, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #0284C7;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15), inset 0 1px 1px #FFFFFF;
}

:root[data-theme="dark"] .spec-card-icon {
  background: rgba(56, 189, 248, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #38BDF8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.spec-card-icon svg {
  width: 20px;
  height: 20px;
}

.spec-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.spec-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--f-mono, inherit);
  font-weight: 600;
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-heading);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.015em;
}

.spec-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.25;
  margin-top: 2px;
  white-space: normal;
  word-break: normal;
}

/* Architectural Highlights Card */
.proj-highlights-card {
  background: var(--card-glass);
  backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  border: 1px solid var(--card-glass-border);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--card-glass-shadow);
}

:root[data-theme="light"] .proj-highlights-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: 0 14px 38px -6px rgba(14, 165, 233, 0.1), 0 6px 18px rgba(15, 23, 42, 0.04), inset 0 1.5px 1.5px #FFFFFF;
}

:root[data-theme="dark"] .proj-highlights-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(56, 189, 248, 0.18);
}

.proj-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.highlight-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-glass-border);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.06), inset 0 1px 1px #FFFFFF;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

:root[data-theme="dark"] .highlight-chip {
  background: rgba(10, 17, 36, 0.6);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.highlight-chip:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
}

.highlight-bullet {
  color: var(--sky-bright);
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.highlight-chip strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-heading);
  margin-bottom: 2px;
}

.highlight-chip span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Main Layout: 2 Columns (Content + Sticky Action Sidebar) */
.proj-body-sec {
  padding-bottom: 50px;
}

.proj-layout-columns {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .proj-layout-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.proj-primary-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.proj-section-head {
  margin-bottom: 16px;
}

.proj-section-head h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 4px 0 0;
  color: var(--ink-heading);
  letter-spacing: -0.02em;
}

/* Master Visual Presentation */
.proj-single-photo-wrap {
  width: 100%;
}

.proj-master-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-solid, #030712);
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.proj-img-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
}

.proj-master-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-master-card:hover img {
  transform: scale(1.035);
}

/* Floating Architectural Badge & Fullscreen Dock */
.proj-top-badge-float {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  pointer-events: none;
}

.proj-badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.proj-center-reticle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.85);
  z-index: 4;
}

.proj-master-card:hover .proj-center-reticle {
  opacity: 1;
  transform: scale(1);
}

.reticle-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(14, 165, 233, 0.35);
  transition: transform 0.2s ease;
}

.proj-master-card:hover .reticle-circle {
  transform: scale(1.08);
}

.proj-fullscreen-dock {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  pointer-events: auto;
}

.proj-zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.55), 0 0 18px rgba(14, 165, 233, 0.25), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

:root[data-theme="light"] .proj-zoom-pill {
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.15), 0 0 16px rgba(14, 165, 233, 0.15), inset 0 1.5px 1.5px #FFFFFF;
}

.proj-zoom-pill .zoom-badge {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 6px;
}

:root[data-theme="light"] .proj-zoom-pill .zoom-badge {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
  color: #0284c7;
}

.proj-zoom-pill-sm {
  padding: 5px 12px;
  font-size: 0.74rem;
  bottom: 10px;
  right: 10px;
}

.proj-master-card:hover .proj-zoom-pill,
.proj-sub-card:hover .proj-zoom-pill {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(14, 165, 233, 0.92));
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 40px -4px rgba(14, 165, 233, 0.55), 0 0 24px rgba(56, 189, 248, 0.4), inset 0 1.5px 1.5px #ffffff;
}

.proj-master-card:hover .proj-zoom-pill .zoom-badge,
.proj-sub-card:hover .proj-zoom-pill .zoom-badge {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}

/* Multi-photo layout */
.proj-multi-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proj-grid-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.proj-sub-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-solid, #030712);
  position: relative;
  cursor: zoom-in;
  text-align: left;
}

.proj-sub-card .proj-img-inner {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}

.proj-sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-sub-card:hover img {
  transform: scale(1.04);
}

/* Construction Standards Card */
.proj-standards-card {
  background: var(--card-glass);
  backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  border: 1px solid var(--card-glass-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--card-glass-shadow);
}

:root[data-theme="light"] .proj-standards-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: 0 14px 38px -6px rgba(14, 165, 233, 0.1), 0 6px 18px rgba(15, 23, 42, 0.04), inset 0 1.5px 1.5px #FFFFFF;
}

:root[data-theme="dark"] .proj-standards-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(56, 189, 248, 0.18);
}

.proj-standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.standard-pill-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-glass-border);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.06), inset 0 1px 1px #FFFFFF;
}

:root[data-theme="dark"] .standard-pill-item {
  background: rgba(10, 17, 36, 0.6);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.std-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(134, 239, 172, 0.4);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}
:root[data-theme="dark"] .std-check-icon {
  color: #86efac;
}

.standard-pill-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-heading);
  margin-bottom: 2px;
}

.standard-pill-item p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Sticky Action & Consultation Sidebar */
.proj-action-sidebar {
  position: relative;
}

.proj-sticky-sidebar-card {
  position: sticky;
  top: 96px;
  background: var(--card-glass);
  backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--card-glass-blur)) saturate(180%);
  border: 1px solid var(--card-glass-border);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--card-glass-shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

:root[data-theme="light"] .proj-sticky-sidebar-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: 0 18px 45px -8px rgba(14, 165, 233, 0.15), 0 8px 24px rgba(15, 23, 42, 0.06), inset 0 1.5px 1.5px #FFFFFF;
}

:root[data-theme="dark"] .proj-sticky-sidebar-card {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 100%),
    rgba(10, 17, 36, 0.86);
  border-color: rgba(56, 189, 248, 0.24);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.sidebar-card-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--sky-bright, #0284c7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
:root[data-theme="dark"] .sidebar-card-badge {
  color: #93c5fd;
}

.sidebar-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-heading);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.sidebar-card-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 20px;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.btn-whatsapp-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  background: #25d366;
  color: #052e16;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
  border: none;
  box-sizing: border-box;
}

.btn-whatsapp-sidebar:hover {
  background: #2ee26f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-call-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  color: var(--ink-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.btn-call-sidebar:hover {
  background: var(--bg-subtle);
  border-color: var(--sky, #0284c7);
  transform: translateY(-2px);
}

.btn-estimator-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--sky-tint, rgba(37, 99, 235, 0.12));
  border: 1px solid var(--line-sky, rgba(59, 130, 246, 0.35));
  color: var(--sky-bright, #0284c7);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.btn-estimator-sidebar:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.sidebar-trust-points {
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-point-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.trust-point-row strong {
  color: var(--ink-heading);
}

.trust-point-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Related Projects Section */
.proj-related-sec {
  padding-top: 36px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Home Testimonials Grid & Glassy Cards
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.testimonial-card {
  position: relative;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius-lg, 20px);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.45), transparent);
  opacity: 0.6;
}

:root[data-theme="light"] .testimonial-card,
[data-theme="light"] .testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 249, 255, 0.58) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 14px 34px -6px rgba(14, 165, 233, 0.1), 0 4px 14px rgba(15, 23, 42, 0.03), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="light"] .testimonial-card:hover,
[data-theme="light"] .testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.55) !important;
  box-shadow: 0 20px 45px -8px rgba(14, 165, 233, 0.2), inset 0 1.5px 1.5px #FFFFFF !important;
}

:root[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .testimonial-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(8, 14, 29, 0.6) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 16px 38px -8px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

:root[data-theme="dark"] .testimonial-card:hover,
[data-theme="dark"] .testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 20px 50px -8px rgba(0, 0, 0, 0.8), 0 0 28px rgba(56, 189, 248, 0.22) !important;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-body, #334155);
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
}

[data-theme="dark"] .testimonial-quote {
  color: #cbd5e1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.06));
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-light, rgba(2, 132, 199, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary, #0284c7);
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--primary, #0284c7);
}

.testimonial-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink-heading, #0f172a);
}

[data-theme="dark"] .testimonial-meta h4 {
  color: #f8fafc;
}

.testimonial-meta span {
  font-size: 0.78rem;
  color: var(--muted, #64748b);
  display: block;
}

.testimonial-skeleton {
  min-height: 220px;
  border-radius: var(--radius-lg, 16px);
}

/* ==========================================================================
   Home Leadership & MD Desk Glassmorphic Section
   ========================================================================== */
.leadership-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}

.leadership-card {
  position: relative;
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-radius: var(--radius-xl, 26px);
  padding: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.leadership-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
  opacity: 0.6;
}

:root[data-theme="light"] .leadership-card,
[data-theme="light"] .leadership-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 249, 255, 0.6) 50%, rgba(255, 255, 255, 0.78) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 48px -10px rgba(14, 165, 233, 0.14), 0 8px 24px rgba(15, 23, 42, 0.04), inset 0 2px 2px #FFFFFF !important;
}

:root[data-theme="light"] .leadership-card:hover,
[data-theme="light"] .leadership-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.55) !important;
  box-shadow: 0 26px 56px -10px rgba(14, 165, 233, 0.22), inset 0 2px 2px #FFFFFF !important;
}

:root[data-theme="dark"] .leadership-card,
[data-theme="dark"] .leadership-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(8, 14, 29, 0.64) 50%, rgba(15, 23, 42, 0.76) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.26) !important;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.75), 0 0 32px rgba(56, 189, 248, 0.12), inset 0 1.5px 1px rgba(255, 255, 255, 0.12) !important;
}

:root[data-theme="dark"] .leadership-card:hover,
[data-theme="dark"] .leadership-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 28px 64px -10px rgba(0, 0, 0, 0.85), 0 0 36px rgba(56, 189, 248, 0.25) !important;
}

.leadership-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  background: #1e293b;
}

.leadership-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leadership-card:hover .leadership-img {
  transform: scale(1.03);
}

.leadership-img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
}

.leadership-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leadership-quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary, #0284c7);
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: -10px;
}

.leadership-quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-heading, #0f172a);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 24px;
}

[data-theme="dark"] .leadership-quote {
  color: #f1f5f9;
}

.leadership-author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.08));
}

.leadership-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-heading, #0f172a);
  letter-spacing: -0.3px;
  margin: 0;
}

[data-theme="dark"] .leadership-name {
  color: #ffffff;
}

.leadership-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary, #0284c7);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.leadership-meta-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.leadership-chip {
  font-size: 0.75rem;
  background: var(--accent-light, rgba(2, 132, 199, 0.1));
  color: var(--primary, #0284c7);
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.leadership-skeleton {
  min-height: 360px;
  border-radius: var(--radius-xl, 24px);
}

@media (max-width: 860px) {
  .leadership-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
  }
  .leadership-img-wrap {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Quotation & Enquiry Submission Animation & Success Experience
   ========================================================================== */

/* Submitting state on form button */
.btn.is-submitting {
  pointer-events: none !important;
  opacity: 0.88 !important;
  cursor: wait !important;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  margin-right: 4px;
}

:root[data-theme="dark"] .btn.primary .btn-spinner {
  border-color: rgba(3, 7, 18, 0.25);
  border-top-color: #030712;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Form exiting transition */
.form-transitioning-out {
  opacity: 0 !important;
  transform: translateY(-16px) scale(0.97) !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
}

/* Success Card Container */
.quote-success-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
  perspective: 1000px;
}

.quote-confetti-canvas {
  position: absolute;
  top: -60px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 120px);
  pointer-events: none;
  z-index: 12;
}

.submission-success-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.2rem, 5vw, 3.2rem) clamp(1.5rem, 4vw, 2.75rem);
  background: var(--card-glass);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.65), 0 0 40px rgba(16, 185, 129, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  animation: successCardPopIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
  z-index: 2;
}

:root[data-theme="light"] .submission-success-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 253, 244, 0.75) 100%);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 48px -10px rgba(16, 185, 129, 0.2), 0 12px 28px rgba(15, 23, 42, 0.08), inset 0 1.5px 1.5px #FFFFFF;
}

/* Ambient glow accent behind card */
.submission-success-card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(56, 189, 248, 0.12) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: auraGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes successCardPopIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes auraGlowPulse {
  0% { opacity: 0.6; transform: translateX(-50%) scale(0.9); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* Animated Checkmark Stage */
.success-icon-stage {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.4rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.success-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.55);
  animation: pulseRing 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.success-pulse-ring.ring-2 {
  animation-delay: 0.75s;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.success-icon-circle {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.12) 100%);
  border: 2px solid rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.35), inset 0 0 16px rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconScalePop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}

:root[data-theme="light"] .success-icon-circle {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.95) 0%, rgba(167, 243, 208, 0.7) 100%);
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
}

@keyframes iconScalePop {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(-25deg);
  }
  65% {
    transform: scale(1.15) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.success-checkmark-svg {
  width: 48px;
  height: 48px;
  display: block;
}

.checkmark-circle-svg {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.8;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: strokeCircle 0.65s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.checkmark-check-svg {
  transform-origin: 50% 50%;
  stroke-dasharray: 54;
  stroke-dashoffset: 54;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #10b981;
  fill: none;
  animation: strokeCheck 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.62s forwards;
}

@keyframes strokeCircle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  100% {
    stroke-dashoffset: 0;
  }
}

/* Staggered Text Animations */
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  animation: successFadeInUp 0.5s ease 0.35s both;
  position: relative;
  z-index: 1;
}

.success-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: dotBlink 1.6s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.success-title {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: var(--ink-heading);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
  animation: successFadeInUp 0.5s ease 0.45s both;
  position: relative;
  z-index: 1;
}

/* Reference Chip with Click to Copy */
.success-ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.4rem auto 1.2rem auto;
  cursor: pointer;
  transition: all 0.22s ease;
  animation: successFadeInUp 0.5s ease 0.55s both;
  user-select: all;
  position: relative;
  z-index: 1;
}

:root[data-theme="light"] .success-ref-pill {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(203, 213, 225, 0.8);
  color: #334155;
}

.success-ref-pill:hover {
  border-color: var(--sky);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.success-ref-pill code {
  color: var(--sky);
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.success-ref-pill .copy-icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.success-ref-pill:hover .copy-icon {
  opacity: 1;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 1.4rem auto;
  line-height: 1.6;
  animation: successFadeInUp 0.5s ease 0.65s both;
  position: relative;
  z-index: 1;
}

.success-desc strong {
  color: var(--ink);
}

/* 3-Step Live Timeline Card */
.success-timeline-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 14px);
  padding: 16px 20px;
  margin: 0 auto 1.6rem auto;
  max-width: 500px;
  text-align: left;
  animation: successFadeInUp 0.5s ease 0.75s both;
  position: relative;
  z-index: 1;
}

:root[data-theme="light"] .success-timeline-card {
  background: rgba(248, 250, 252, 0.85);
  border-color: rgba(226, 232, 240, 0.9);
}

.success-timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.success-timeline-step:not(:last-child) {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] .success-timeline-step:not(:last-child) {
  border-bottom-color: rgba(226, 232, 240, 0.85);
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-dot.done {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.step-dot.current {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.5);
  animation: stepDotPulse 1.8s infinite;
}

@keyframes stepDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
}

.step-text {
  font-size: 0.84rem;
  line-height: 1.45;
}

.step-text b {
  color: var(--ink-heading);
  display: block;
}

.step-text span {
  color: var(--muted);
  font-size: 0.77rem;
}

/* Success Actions */
.success-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: successFadeInUp 0.5s ease 0.85s both;
  position: relative;
  z-index: 1;
}

.btn-whatsapp-success {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
  gap: 9px !important;
}

.btn-whatsapp-success:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5) !important;
}

.btn-reset-success {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

.btn-reset-success:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--sky) !important;
}

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






