/* ==========================================================================
   COREWISECORP - LIQUID GLASS DESIGN SYSTEM
   Inspired by liquidglassdesign.com, visionOS & Apple Liquid Glass Materials
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Optical Parameters
   -------------------------------------------------------------------------- */
:root {
  /* Brand Chromatics - Blue Tints */
  --color-primary: #0066ff;
  --color-primary-hover: #0052cc;
  --color-primary-active: #003d99;
  --color-primary-glow: rgba(0, 102, 255, 0.45);
  --color-primary-light: rgba(0, 102, 255, 0.12);

  /* Caustic Accent Tints */
  --color-caustic-cyan: #00d2ff;
  --color-caustic-blue: #38bdf8;
  --color-caustic-navy: #1e3a8a;
  --color-caustic-violet: #6366f1;

  /* Typography Colors (High Contrast WCAG AA / AAA) */
  --color-ink-black: #090d16;
  --color-ink-charcoal: #0f172a;
  --color-text-primary: #1e293b;   /* > 11:1 contrast on frosted surfaces */
  --color-text-secondary: #334155; /* > 8:1 contrast */
  --color-text-muted: #475569;     /* > 5.8:1 contrast */
  --color-text-white: #ffffff;

  /* Base Canvas */
  --color-canvas: #f0f4f9;

  /* Liquid Glass Surfaces (Optical Meniscus & Refraction) */
  --glass-surface-base: rgba(255, 255, 255, 0.62);
  --glass-surface-card: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.38) 100%);
  --glass-surface-elevated: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 100%);
  --glass-surface-dark: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(9, 13, 22, 0.94) 100%);
  --glass-surface-dock: rgba(255, 255, 255, 0.7);

  /* Dual-Stage Specular Rim & Bevels */
  --glass-border-hairline: 1px solid rgba(255, 255, 255, 0.65);
  --glass-border-dark: 1px solid rgba(255, 255, 255, 0.15);
  
  /* Meniscus Optical Shadows (Inner Rim Highlight + Caustic Ambient Diffusion) */
  --shadow-liquid-card: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.04),
    0 20px 40px -15px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.02);

  --shadow-liquid-hover: 
    inset 0 2px 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.06),
    0 28px 56px -12px rgba(15, 23, 42, 0.14),
    0 8px 16px rgba(15, 23, 42, 0.04);

  --shadow-liquid-dark:
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.4),
    0 25px 60px -10px rgba(0, 0, 0, 0.35);

  --shadow-liquid-dock:
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.05),
    0 16px 40px -8px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.04);

  --shadow-caustic-pill:
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.15),
    0 14px 32px -4px rgba(0, 102, 255, 0.45);

  /* Blur & Saturation */
  --glass-blur: blur(28px) saturate(190%);
  --glass-blur-heavy: blur(40px) saturate(200%);

  /* Radii */
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;
  --radius-full: 9999px;

  /* Typography */
  --font-headline: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-pixel: 'Silkscreen', 'Space Grotesk', monospace;

  /* Layout */
  --container-max: 1440px;
  --header-height: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & Ambient Fluid Canvas
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-canvas);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Global Link Underline Removal & Elegant State Defaults */
a {
  text-decoration: none !important;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  text-decoration: none !important;
}

::selection {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Ambient Liquid Canvas (Sapphire & Azure Fluid Undulation) */
.liquid-ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.85;
}

.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.liquid-blob-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.22) 0%, rgba(56, 189, 248, 0.10) 50%, transparent 70%);
  top: -100px;
  left: 15%;
  animation: blobFlow1 22s ease-in-out infinite alternate;
}

.liquid-blob-2 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(30, 58, 138, 0.12) 50%, transparent 70%);
  top: 35%;
  right: -50px;
  animation: blobFlow2 28s ease-in-out infinite alternate;
}

.liquid-blob-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.16) 0%, rgba(14, 165, 233, 0.08) 50%, transparent 70%);
  bottom: 5%;
  left: 5%;
  animation: blobFlow3 25s ease-in-out infinite alternate;
}

@keyframes blobFlow1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.12); }
  100% { transform: translate(-50px, 100px) scale(0.94); }
}

@keyframes blobFlow2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 80px) scale(1.08); }
  100% { transform: translate(60px, -40px) scale(0.96); }
}

@keyframes blobFlow3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -80px) scale(1.15); }
  100% { transform: translate(-80px, 40px) scale(0.9); }
}

/* Accessible hidden element utility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   3. Typography Utility Classes
   -------------------------------------------------------------------------- */
.font-headline { font-family: var(--font-headline); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }
.font-pixel { font-family: var(--font-pixel); }

.text-display-xl {
  font-family: var(--font-headline);
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-ink-charcoal);
}

.text-headline-lg {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-ink-charcoal);
}

.text-headline-md {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.text-body-md {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.text-body-sm {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.tag-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   4. Liquid Glass Rounded Buttons (Frosted Transparency & Soft Shadows)
   -------------------------------------------------------------------------- */

/* Shared Liquid Glass Base Properties */
.btn-pill-primary,
.btn-pill-secondary,
.btn-pill-dark,
.btn-ref-blue,
.btn-ref-orange,
.btn-ref-frosted,
.btn-liquid-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

/* Primary Liquid Cobalt Glass Pill */
.btn-pill-primary,
.btn-ref-blue,
.btn-ref-orange {
  background: linear-gradient(180deg, rgba(0, 106, 255, 0.92) 0%, rgba(0, 78, 208, 0.96) 100%);
  color: #ffffff !important;
  padding: 0.8rem 1.85rem;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.18),
    0 12px 30px -4px rgba(0, 102, 255, 0.35),
    0 4px 10px -2px rgba(0, 102, 255, 0.18);
}

.btn-pill-primary:hover,
.btn-ref-blue:hover,
.btn-ref-orange:hover {
  background: linear-gradient(180deg, rgba(15, 118, 255, 0.96) 0%, rgba(0, 88, 225, 0.98) 100%);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 1.5px 0 rgba(0, 0, 0, 0.2),
    0 16px 36px -4px rgba(0, 102, 255, 0.45),
    0 6px 14px -2px rgba(0, 102, 255, 0.25);
  color: #ffffff !important;
}

.btn-pill-primary:active,
.btn-ref-blue:active,
.btn-ref-orange:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 
    inset 0 1px 1px 0 rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(0, 102, 255, 0.25);
}

/* Secondary Frosted Ice Liquid Glass Pill (Monochromatic Minimalism) */
.btn-pill-secondary,
.btn-ref-frosted,
.btn-liquid-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(240, 244, 250, 0.58) 100%);
  color: #1e293b !important;
  padding: 0.8rem 1.85rem;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.03),
    0 10px 28px -4px rgba(15, 23, 42, 0.07),
    0 4px 10px -2px rgba(15, 23, 42, 0.03);
}

.btn-pill-secondary:hover,
.btn-ref-frosted:hover,
.btn-liquid-glass:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 255, 0.75) 100%);
  color: #0066ff !important;
  transform: translateY(-2px);
  border-color: #ffffff;
  box-shadow: 
    inset 0 2px 2px 0 rgba(255, 255, 255, 1),
    0 14px 34px -4px rgba(15, 23, 42, 0.1),
    0 6px 14px -2px rgba(0, 102, 255, 0.08);
}

.btn-pill-secondary:active,
.btn-ref-frosted:active,
.btn-liquid-glass:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 
    inset 0 1px 1px 0 rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Obsidian Monochromatic Liquid Glass Pill */
.btn-pill-dark {
  background: linear-gradient(180deg, rgba(38, 44, 52, 0.88) 0%, rgba(18, 22, 28, 0.94) 100%);
  color: #ffffff !important;
  padding: 0.7rem 1.6rem;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3),
    0 10px 26px -4px rgba(0, 0, 0, 0.22),
    0 4px 10px -2px rgba(0, 0, 0, 0.12);
}

.btn-pill-dark:hover {
  background: linear-gradient(180deg, rgba(48, 56, 66, 0.92) 0%, rgba(10, 12, 16, 0.98) 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.5),
    0 14px 34px -4px rgba(0, 0, 0, 0.3),
    0 6px 14px -2px rgba(0, 0, 0, 0.18);
}

.btn-pill-dark:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 
    inset 0 1px 1px 0 rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Keyboard accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   5. VisionOS-Style Floating Liquid Glass Header & Dock
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(240, 244, 249, 0.75);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Phones: brand + header CTA + hamburger cannot share one row, which pushed the
   menu button off-screen. The same CTA is inside the mobile drawer, so drop the header copy. */
@media (max-width: 520px) {
  .site-header .btn-pill-dark { display: none; }
}

/* VisionOS Segmented Liquid Glass Dock */
/* Reference Image VisionOS Floating Liquid Glass Dock */
.nav-pill-dock {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none !important;
}

.nav-link.active {
  background: linear-gradient(180deg, rgba(42, 50, 60, 0.92) 0%, rgba(20, 24, 30, 0.96) 100%);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.38),
    0 4px 14px rgba(0, 0, 0, 0.16);
}

/* Nav Dropdown Menu Support */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 100;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  color: #374151;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
  background: #f1f5f9;
  color: #0066ff;
  transform: translateX(3px);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-liquid-dock);
  color: var(--color-ink-black);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-pill-dock {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .site-header a[href^="tel:"] {
    display: none !important;
  }
  .site-header .btn-pill-primary {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    min-height: 38px !important;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 640px) {
  .site-header .btn-pill-primary {
    display: none !important;
  }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 252, 0.9) 100%);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-ink-charcoal);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

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

/* --------------------------------------------------------------------------
   6. Liquid Glass Bento Cards & Optical Containers
   -------------------------------------------------------------------------- */
.bento-card {
  background: var(--glass-surface-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: var(--glass-border-hairline);
  box-shadow: var(--shadow-liquid-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

/* Specular light sheen reacting to cursor */
.bento-card::before {
  content: "";
  position: absolute;
  top: var(--sheen-y, 0px);
  left: var(--sheen-x, 0px);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.bento-card:hover {
  transform: translateY(-3px) scale(1.008);
  box-shadow: var(--shadow-liquid-hover);
  background: var(--glass-surface-elevated);
}

/* Dark Liquid Glass Variant */
.bento-card-dark {
  background: var(--glass-surface-dark);
  color: #ffffff;
  border: var(--glass-border-dark);
  box-shadow: var(--shadow-liquid-dark);
}

.bento-card-dark:hover {
  background: linear-gradient(135deg, rgba(20, 29, 50, 0.92) 0%, rgba(10, 15, 26, 0.98) 100%);
  box-shadow: 
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.4),
    0 32px 70px -10px rgba(0, 0, 0, 0.45);
}

.bento-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 1),
    0 6px 16px rgba(15, 23, 42, 0.06);
}

/* --------------------------------------------------------------------------
   7. Liquid Glass Form Controls & Validation
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-charcoal);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: rgba(241, 245, 249, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-ink-charcoal);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  box-shadow: inset 0 1.5px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:hover, .form-select:hover, .form-textarea:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 1);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 
    inset 0 1px 1px rgba(0, 0, 0, 0.02),
    0 0 0 3px rgba(255, 93, 0, 0.25);
}

.form-input:user-invalid, .form-select:user-invalid, .form-textarea:user-invalid {
  border-color: var(--color-error);
  background-color: rgba(254, 242, 242, 0.8);
}

.form-input:user-valid, .form-select:user-valid, .form-textarea:user-valid {
  border-color: var(--color-success);
}

.form-error-msg {
  display: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 0.35rem;
}

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

/* --------------------------------------------------------------------------
   8. Liquid Glass Sliders
   -------------------------------------------------------------------------- */
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.45) 0%, rgba(203, 213, 225, 0.6) 100%);
  outline: none;
  cursor: pointer;
  margin: 0.75rem 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
    linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  border: 2px solid #ffffff;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(0, 102, 255, 0.45);
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.calc-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
    linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  border: 2px solid #ffffff;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(0, 102, 255, 0.45);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   9. Liquid Glass Cookie Consent & Preferences Modal
   -------------------------------------------------------------------------- */
.cookie-consent-dock {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  z-index: 99;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 248, 252, 0.65) 100%);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
    0 25px 60px -10px rgba(15, 23, 42, 0.22);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-consent-dock.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 252, 0.88) 100%);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
    0 30px 70px rgba(15, 23, 42, 0.3);
}

/* Switch Toggle Component */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 26px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

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

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

/* --------------------------------------------------------------------------
   10. Toast Notification
   -------------------------------------------------------------------------- */
.toast-notice {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 120;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(9, 13, 22, 0.96) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(-50px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   11. Liquid Glass Terminal & Status Cards
   -------------------------------------------------------------------------- */
.terminal-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(8, 12, 20, 0.98) 100%);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  color: #38bdf8;
  font-family: var(--font-mono);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 25px 60px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   12. Utilities & Micro-Animations
   -------------------------------------------------------------------------- */
@keyframes pingSlow {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.animate-ping-slow {
  animation: pingSlow 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.glass-pill {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(15, 23, 42, 0.05);
}

/* --------------------------------------------------------------------------
   13. Luxury Brand Wordmark & Consultancy Styling
   -------------------------------------------------------------------------- */
.brand-wordmark-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.brand-wordmark-link:hover {
  text-decoration: none !important;
  opacity: 0.92;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a 0%, #090d16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a !important;
  text-decoration: none !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0066ff !important;
  text-decoration: none !important;
  margin-top: 1px;
}

/* Phone Badge - Executive Luxury Pill (Never looks like a raw hyperlink) */
.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  font-weight: 700;
  color: #0f172a !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 1px #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-badge:hover {
  background: #ffffff;
  border-color: #0066ff;
  color: #0066ff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.18);
  transform: translateY(-1px);
}

.phone-badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.1);
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Footer Section Headings & Clean Editorial Links */
.footer-col-title {
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a !important;
  margin-bottom: 1.15rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
  text-decoration: none !important;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #0066ff;
  border-radius: 2px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #475569 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-link:hover {
  color: #0066ff !important;
  text-decoration: none !important;
  transform: translateX(2px);
}

/* Explicit Navigation Underline Overrides */
.nav-link, .mobile-nav-link {
  text-decoration: none !important;
}

.nav-link:hover, .mobile-nav-link:hover {
  text-decoration: none !important;
}

/* ==========================================================================
   REFERENCE DESIGN HERO SECTION & MODERN COMPONENTS
   ========================================================================== */

/* ==========================================================================
   REFERENCE DESIGN HERO SECTION & MODERN COMPONENTS (FAITHFUL RECREATION)
   ========================================================================== */

/* Reference Hero Outer Stage */
.hero-ref-stage {
  position: relative;
  min-height: 800px;
  padding: 6.5rem 3rem 1.5rem;
  background: linear-gradient(160deg, #eef4fc 0%, #e5effa 50%, #edf5fc 100%);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.06);
}

@media (min-width: 1024px) {
  .hero-ref-stage {
    min-height: 820px;
    height: calc(100vh - 1.5rem);
    max-height: 880px;
  }
}

/* Staggered Main Headline Group (Matching Reference [1/8] inline layout) */
.hero-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-title-row-1 {
  display: flex;
  align-items: baseline;
  gap: 1.75rem;
}

.hero-num-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.125rem;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.hero-headline-stacked {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #1e252d;
  text-transform: uppercase;
  margin: 0;
}

.hero-headline-stacked span {
  display: block;
}

/* Top-Right Growth Stat (Matching Reference) */
.hero-growth-stat {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.hero-growth-arrow {
  font-size: 1.75rem;
  font-weight: 900;
  color: #1e252d;
  line-height: 1;
}

.hero-growth-number {
  font-family: var(--font-headline);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1e252d;
  line-height: 1;
}

.hero-growth-label {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #4b5563;
  text-transform: uppercase;
}

/* Giant Pixel Typography Layers */
.hero-pixel-text-left {
  position: absolute;
  left: 3.5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Silkscreen', monospace;
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.hero-pixel-text-right {
  position: absolute;
  right: 5%;
  top: 52%;
  transform: translateY(-50%);
  font-family: 'Silkscreen', monospace;
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* Centerpiece 3D Illustration Container */
.hero-3d-centerpiece {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-3d-centerpiece {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%);
    margin: 0;
    pointer-events: none;
  }
}

.hero-3d-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.08));
}

.hero-3d-img:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Right Floating Vertical Social Dock (Reference Style) */
.hero-vertical-dock {
  position: absolute;
  right: 2.25rem;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  z-index: 25;
}

.hero-vertical-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.hero-vertical-icon-btn:hover {
  background: #ffffff;
  color: #0066ff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.15);
}

.hero-right-tagline {
  position: absolute;
  right: 2.25rem;
  bottom: 22%;
  max-width: 220px;
  text-align: right;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #555e68;
  z-index: 20;
}

@media (max-width: 1024px) {
  .hero-right-tagline {
    display: none;
  }
}

/* Reference Button Styles - Royal Blue Gradient Matching Website */
.btn-ref-blue,
.btn-ref-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066ff 0%, #004ed0 100%);
  color: #ffffff !important;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
}

.btn-ref-blue:hover,
.btn-ref-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.45);
}

.btn-ref-frosted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  color: #1e293b !important;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
}

.btn-ref-frosted:hover {
  background: #ffffff;
  color: #0066ff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.12);
}

/* Bottom Center Scoop / Cutout Notch (Seamless integration with body background) */
.hero-bottom-scoop {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #f0f4f9;
  padding: 0.85rem 2.75rem 0.5rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #4b5563;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none !important;
  box-shadow: 0 -3px 12px rgba(15, 23, 42, 0.04);
  z-index: 20;
  transition: all 0.25s ease;
}

.hero-bottom-scoop:hover {
  color: #111827;
  transform: translateX(-50%) translateY(-2px);
}

.hero-scroll-mouse {
  width: 14px;
  height: 22px;
  border-radius: 9999px;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2px;
}

.hero-scroll-wheel {
  width: 2px;
  height: 5px;
  background: currentColor;
  border-radius: 9999px;
  animation: mouseWheelScroll 1.6s infinite ease-in-out;
}

@keyframes mouseWheelScroll {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Metric Deliverable Strip for Services Cards */
.service-metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #edf0f5;
}

.metric-strip-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e293b;
}

/* Practice Leads Grid for About Page */
.practice-leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.lead-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0066ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

/* Architecture Comparison Matrix for Solution Page */
.comparison-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.comparison-matrix-table th {
  background: #f8fafc;
  padding: 1rem 1.25rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
}

.comparison-matrix-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #334155;
  vertical-align: middle;
}

.comparison-matrix-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.faq-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

/* Services Filter Capsule Dock (Exact match to Main Menu Dock) */
.services-filter-dock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  overflow-x: auto;
  max-width: 100%;
}

.services-filter-tab {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none !important;
}

.services-filter-tab:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.75);
}

.services-filter-tab.active {
  background: linear-gradient(180deg, rgba(42, 50, 60, 0.92) 0%, rgba(20, 24, 30, 0.96) 100%);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.38),
    0 6px 18px -2px rgba(0, 0, 0, 0.2);
}

/* Unified Liquid Glass Blue CTA Banner (Eliminates harsh pitch-black blocks) */
.cta-banner-blue {
  background: linear-gradient(135deg, #0066ff 0%, #004ed0 100%);
  color: #ffffff !important;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-banner-blue .btn-pill-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.92) 100%);
  color: #0066ff !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.05),
    0 10px 28px -4px rgba(0, 0, 0, 0.15),
    0 4px 10px -2px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
}

.cta-banner-blue .btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 2px 2px 0 rgba(255, 255, 255, 1),
    0 16px 36px -4px rgba(0, 0, 0, 0.22),
    0 6px 14px -2px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}




/* Contact page: two columns from laptop width (replaces invalid inline "lg:grid-column" declarations) */
.contact-col { grid-column: span 12; min-width: 0; }
@media (min-width: 1024px) {
  .contact-col--info { grid-column: span 5; }
  .contact-col--form { grid-column: span 7; }
}
