/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #09090b;
  --charcoal: #141416;
  --dark-gray: #1e1e22;
  --card-bg: #222228;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(200, 169, 110, 0.2);
  --mid-gray: #6b6b76;
  --light-gray: #9ca3af;
  --off-white: #e4e2de;
  --white: #f5f5f4;
  --accent: #c8a96e;
  --accent-hover: #dabb82;
  --accent-dim: rgba(200, 169, 110, 0.08);
  --accent-glow: rgba(200, 169, 110, 0.15);
  --rust: #8b4513;
  --success: #22c55e;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --header-height: 72px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25), 0 10px 15px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3), 0 20px 48px rgba(0,0,0,0.25);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.35), 0 40px 80px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(200, 169, 110, 0.12);
  --shadow-glow-strong: 0 0 60px rgba(200, 169, 110, 0.2), 0 0 120px rgba(200, 169, 110, 0.08);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.04), inset 0 -1px 0 rgba(0,0,0,0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --radius-blob: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

/* Noise/grain texture overlay for premium feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Scroll progress bar — inside header, sits at bottom edge */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  max-width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  z-index: 2;
  transition: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  .scroll-progress {
    display: none;
  }
}

::selection {
  background: rgba(200, 169, 110, 0.3);
  color: var(--white);
}

/* Page load transition */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s var(--ease-out-expo);
}

.page-transition.loaded {
  opacity: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-quart);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER & NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  transition: transform 0.4s var(--ease-out-expo), background 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.site-header.scrolled {
  background: rgba(9, 9, 11, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  border-bottom-color: var(--border-accent);
}

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

/* Progress bar is inside header, moves with it automatically */

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
  color: var(--white);
}

.logo svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 8px rgba(200, 169, 110, 0.2));
}

/* Real logo image — black artwork on white bg, inverted for dark theme */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter:
    invert(1)
    sepia(0.25)
    saturate(2.2)
    hue-rotate(-12deg)
    brightness(1.05)
    drop-shadow(0 2px 8px rgba(200, 169, 110, 0.2));
  transition: filter 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.logo:hover .logo-img {
  filter:
    invert(1)
    sepia(0.45)
    saturate(2.8)
    hue-rotate(-12deg)
    brightness(1.1)
    drop-shadow(0 4px 12px rgba(200, 169, 110, 0.35));
}

/* Footer logo variant — slightly smaller */
.footer-brand .logo-img {
  height: 52px;
}

/* Mobile sizing */
@media (max-width: 768px) {
  .logo-img {
    height: 36px;
  }
  .footer-brand .logo-img {
    height: 44px;
  }
}

/* When using real logo image, hide the separate text label (image has text in it) */
.logo:has(.logo-img) .logo-text {
  display: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: var(--light-gray);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease-out-quart);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: width 0.4s var(--ease-out-expo), left 0.4s var(--ease-out-expo);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

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

.nav-links a.active {
  color: var(--accent);
}

/* ===== NAV DROPDOWN (Services) ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: var(--light-gray);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.3s var(--ease-out-quart);
}

.nav-dropdown-trigger .nav-chevron {
  width: 10px;
  height: 6px;
  transition: transform 0.3s var(--ease-out-quart);
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger:focus-visible {
  color: var(--white);
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  background: rgba(20, 20, 22, 0.96);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), visibility 0s 0.3s;
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

/* Invisible bridge so cursor doesn't break the hover while moving to menu */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: none;
}

.nav-dropdown:hover::before {
  pointer-events: all;
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm);
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: var(--off-white) !important;
  width: 100%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s var(--ease-out-expo);
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-dim);
  color: var(--white) !important;
  transform: translateX(4px);
}

.nav-dropdown-menu a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 4px;
}

.nav-dropdown-menu .dropdown-all {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #b8963e);
  color: var(--black);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-cta:hover::before {
  opacity: 1;
}

.header-cta:hover {
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.3);
}

.header-cta span,
.header-cta svg {
  position: relative;
  z-index: 1;
}

.header-cta svg {
  width: 14px;
  height: 14px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease, width 0.3s var(--ease-out-expo);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
  width: 22px;
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
  width: 22px;
}

/* ===== HERO ===== */
.hero {
  margin-top: var(--header-height);
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  contain: layout paint;
  background: var(--black);
  width: 100%;
  max-width: 100vw;
}

/* Layered gradient backdrop */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 169, 110, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 15% 60%, rgba(139, 69, 19, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 30%, rgba(200, 169, 110, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--black) 60%, rgba(20, 16, 10, 1) 100%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Hero particles container */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  10% {
    opacity: 0.6;
    transform: scale(1);
  }
  90% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(0);
  }
}

/* Floating ambient orb */
.hero-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
  top: 10%;
  right: 0;
  filter: blur(60px);
  animation: orbFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 24px;
  margin-bottom: 36px;
  background: var(--accent-dim);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
  position: relative;
  border: none;
}

/* Animated gradient border */
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderShift 4s ease-in-out infinite;
}

@keyframes borderShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Pulsing dot inside badge — uses ::after so ::before keeps the gradient border */
.hero-badge::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  order: -1;
  flex-shrink: 0;
}

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

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.9s var(--ease-out-expo) 0.35s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #e0c48a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--light-gray);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.55s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.7s forwards;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-pill);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, color 0.3s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:active {
  transform: scale(0.97) !important;
}

/* Ripple effect container */
.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #b8963e 100%);
  color: var(--black);
  box-shadow: 0 2px 10px rgba(200, 169, 110, 0.15);
}

.btn-primary::after {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
}

.btn-primary:hover {
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200, 169, 110, 0.3);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ===== SECTIONS (General) ===== */
section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-dim);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent);
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.text-center .section-label {
  /* stays inline-flex, centered via text-align */
}

.text-center .section-label::before {
  /* keep the dot */
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--light-gray);
  max-width: 560px;
  line-height: 1.75;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.section-dark {
  background: var(--charcoal);
}

.section-darker {
  background: var(--black);
}

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 20px 0;
  border: none;
}

.text-center .divider {
  margin: 20px auto;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  padding: 44px 32px 36px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  perspective: 800px;
}

/* Mouse-tracking spotlight glow — positioned via JS */
.service-card .card-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(20px);
}

.service-card:hover .card-glow {
  opacity: 1;
}

/* Accent top line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

/* Ambient glow on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--accent-dim) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl), var(--shadow-glow-strong), var(--shadow-inset);
}

/* JS applies transform with tilt — fallback if no JS */
.service-card:hover:not([style*="transform"]) {
  transform: translateY(-8px);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-spring);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--light-gray);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  color: var(--accent);
}

.service-card .learn-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease-spring);
}

.service-card:hover .learn-more svg {
  transform: translateX(6px);
}

.service-card:hover .learn-more {
  color: var(--accent-hover);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--charcoal);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 56px 0;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-accent), transparent);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-item p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 48px;
}

.about-text p {
  color: var(--light-gray);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.value-item:hover {
  border-color: var(--border-accent);
  background: rgba(200, 169, 110, 0.06);
}

.value-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.value-item p {
  font-size: 0.8rem;
  color: var(--light-gray);
  line-height: 1.5;
  margin-bottom: 0;
}

.about-image-placeholder {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--mid-gray);
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--accent-dim) 0%, transparent 50%),
    linear-gradient(315deg, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.about-image-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.2;
  position: relative;
}

.about-image-placeholder p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* ===== SERVICE AREA ===== */
.service-area {
  text-align: center;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

/* Large ambient glow */
.service-area::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  pointer-events: none;
}

.area-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.area-content p {
  font-size: 1.1rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-top: 24px;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 16px 32px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm), 0 0 30px rgba(200, 169, 110, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-spring);
}

.area-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--accent);
}

.area-badge svg {
  width: 20px;
  height: 20px;
  animation: pulse 2.5s ease-in-out infinite;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), #b8963e, var(--accent));
  background-size: 200% 200%;
  animation: ctaShimmer 6s ease-in-out infinite;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes ctaShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--black);
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .btn {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
}

.cta-banner .btn:hover {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info-item h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 6px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 1.1rem;
  color: var(--white);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark-gray);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.4s var(--ease-out-expo), box-shadow 0.4s ease, background 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim), var(--shadow-glow);
  background: rgba(30, 30, 34, 0.8);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8a96e' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--accent-dim), transparent);
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

/* ===== OPTIMIZED FOOTER (3-column, no logo) ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.footer-lead {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-lead-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.footer-lead-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-lead-tag {
  font-size: 0.9rem;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 260px;
}

.footer-lead-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--btn-3d), linear-gradient(135deg, var(--accent), #b8963e);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm), var(--bevel-strong);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, color 0.3s ease;
  align-self: flex-start;
  margin-top: 4px;
}

.footer-lead-cta:hover {
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(200, 169, 110, 0.3);
}

.footer-lead-cta svg {
  width: 14px;
  height: 14px;
}

.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.footer-col a {
  display: block;
  color: var(--light-gray);
  font-size: 0.88rem;
  margin-bottom: 12px;
  transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
  position: relative;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-block > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-block svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-block .footer-contact-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  display: block;
  margin-bottom: 3px;
}

.footer-contact-block a,
.footer-contact-block p {
  display: block;
  color: var(--off-white);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
}

.footer-contact-block a:hover {
  color: var(--accent);
  transform: none;
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--mid-gray);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: var(--mid-gray);
}

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

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  margin-top: var(--header-height);
  padding: 100px 0 80px;
  background: var(--black);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 80%, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--light-gray);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  line-height: 1.7;
}

.breadcrumb {
  font-size: 0.72rem;
  color: var(--mid-gray);
  margin-bottom: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.breadcrumb a {
  color: var(--mid-gray);
  transition: color 0.3s ease;
}

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

.breadcrumb span {
  margin: 0 10px;
  opacity: 0.4;
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.service-detail:nth-child(even) .service-detail-text {
  order: 2;
}

.service-detail:nth-child(even) .service-image-placeholder {
  order: 1;
}

.service-detail-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-detail-text p {
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.service-detail-text ul {
  margin-top: 20px;
}

.service-detail-text ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--off-white);
  font-size: 0.92rem;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.service-detail-text ul li:last-child {
  border-bottom: none;
}

.service-detail-text ul li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-image-placeholder {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--mid-gray);
  position: relative;
  overflow: hidden;
}

.service-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none;
}

.service-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.15;
  position: relative;
}

.service-image-placeholder p {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.about-story-text p {
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.team-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.team-value-card {
  text-align: center;
  padding: 48px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

.team-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-value-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* JS applies 3D tilt — CSS fallback */
.team-value-card:hover:not([style*="transform"]) {
  transform: translateY(-6px);
}

.team-value-card:hover::before {
  opacity: 1;
}

.team-value-card svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease-spring);
}

.team-value-card:hover svg {
  transform: scale(1.1);
}

.team-value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 14px;
}

.team-value-card p {
  font-size: 0.88rem;
  color: var(--light-gray);
  line-height: 1.75;
}

/* ===== CONTACT PAGE ===== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-sidebar {
  padding: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  height: fit-content;
  position: relative;
  box-shadow: var(--shadow-md), var(--shadow-inset);
}

.contact-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover), transparent);
}

.contact-sidebar h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 32px;
}

.map-placeholder {
  margin-top: 32px;
  background: var(--charcoal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .service-detail,
  .about-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail:nth-child(even) .service-detail-text,
  .service-detail:nth-child(even) .service-image-placeholder {
    order: unset;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  section {
    padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 24px 40px;
    gap: 0;
    border-bottom: none;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.4s ease;
    display: flex;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    padding: 18px 0;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    color: var(--off-white);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out-expo), color 0.3s ease;
  }

  .nav-links.open a,
  .nav-links.open .nav-dropdown {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.open > a:nth-child(1),
  .nav-links.open > .nav-dropdown:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.open > a:nth-child(2),
  .nav-links.open > .nav-dropdown:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.open > a:nth-child(3),
  .nav-links.open > .nav-dropdown:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.open > a:nth-child(4),
  .nav-links.open > .nav-dropdown:nth-child(4) { transition-delay: 0.25s; }

  /* Mobile dropdown — expands inline as accordion */
  .nav-dropdown {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out-expo);
  }

  .nav-dropdown-trigger {
    display: flex !important;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--off-white);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
    width: 100%;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px;
    padding: 8px 0 12px 16px;
  }

  .nav-dropdown.open .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu a {
    padding: 12px 0 !important;
    font-size: 0.95rem !important;
    border-bottom: none !important;
    color: var(--light-gray) !important;
  }

  .nav-dropdown::before {
    display: none;
  }

  /* Mobile CTA at bottom of nav */
  .nav-links::after {
    content: 'Call (432) 247-5300';
    display: block;
    margin-top: auto;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent), #b8963e);
    color: var(--black);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-links a::after {
    display: none;
  }

  .header-cta-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 80vh;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-image-placeholder {
    min-height: 280px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .page-hero {
    padding: 60px 0;
  }
}

/* ===== RESPONSIVE: SMALL MOBILE ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .service-card {
    padding: 32px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children - set via JS data-delay attribute */
.fade-in[data-delay="1"] { transition-delay: 0.1s; }
.fade-in[data-delay="2"] { transition-delay: 0.2s; }
.fade-in[data-delay="3"] { transition-delay: 0.3s; }
.fade-in[data-delay="4"] { transition-delay: 0.4s; }
.fade-in[data-delay="5"] { transition-delay: 0.5s; }
.fade-in[data-delay="6"] { transition-delay: 0.6s; }

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* No-JS fallback: make content visible if JS fails */
.fade-in {
  /* JS adds .visible; without JS, this noscript rule kicks in */
}

html:not(.js-loaded) .fade-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .mobile-cta-bar {
    transition: none !important;
  }

  .hero h1,
  .hero p,
  .hero-badge,
  .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Utility classes to replace inline styles (CSP-friendly) */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-content { position: relative; z-index: 2; }
.blob-center-bottom {
  top: auto !important;
  bottom: -10%;
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%);
}
.divider-center {
  margin: 20px auto;
}
.mt-md {
  margin-top: 32px;
}
.center-box {
  max-width: 640px;
  margin: 0 auto 8px;
}
.center-box-wide {
  max-width: 640px;
  margin: 0 auto 48px;
}
.service-title-tight {
  margin-bottom: 8px;
}
.service-subtitle-loose {
  margin-bottom: 32px;
}
.map-icon {
  width: 24px;
  height: 24px;
  opacity: 0.3;
  margin-bottom: 6px;
}

/* Honeypot — visually and visibly hidden to humans, readable to bots */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Stat counter animation */
.stat-item h3 .counter {
  display: inline-block;
}

/* ===== PAGE LOAD ENTRANCE ===== */
.page-hero h1,
.page-hero p,
.page-hero .breadcrumb {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s var(--ease-out-expo) forwards;
}

.page-hero .breadcrumb { animation-delay: 0.1s; }
.page-hero h1 { animation-delay: 0.2s; }
.page-hero p { animation-delay: 0.35s; }

/* ===== MOBILE STICKY CTA BAR ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-accent);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.mobile-cta-bar.visible {
  transform: translateY(0);
}

.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), #b8963e);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-cta-bar a svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
  }

  /* Give footer padding so it doesn't hide behind the bar */
  .site-footer {
    padding-bottom: 80px;
  }
}

/* ===== NUMBERED SERVICE CARDS ===== */
.service-card {
  counter-increment: service-counter;
}

.service-card-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color 0.4s ease;
}

.service-card:hover .service-card-number {
  color: rgba(200, 169, 110, 0.06);
}

/* (trust-strip removed — replaced by marquee-wrap) */

/* ===== IMAGE PLACEHOLDER PATTERNS ===== */
.placeholder-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 1) 8px,
      rgba(255, 255, 255, 1) 9px
    );
}

/* ===== LARGE QUOTE / CALLOUT ===== */
.callout-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px;
}

.callout-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  position: relative;
}

.callout-quote blockquote::before {
  content: '\201C';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.callout-quote cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== SECTION SEPARATOR LINE ===== */
.section-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  border: none;
  margin: 0;
}

/* ===== WAVE SECTION DIVIDERS ===== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider.flip {
  transform: rotate(180deg);
  margin-top: 0;
  margin-bottom: -1px;
}

/* ===== CURVED HERO BOTTOM ===== */
.hero {
  clip-path: ellipse(150% 100% at 50% 0%);
  padding-bottom: 60px;
}

/* ===== ORGANIC BLOB BACKGROUNDS ===== */
.blob-bg {
  position: absolute;
  border-radius: var(--radius-blob);
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

.blob-bg-1 {
  width: 400px;
  height: 400px;
  background: rgba(200, 169, 110, 0.04);
  top: 20%;
  right: -20%;
  animation: blobMorph 20s ease-in-out infinite;
}

.blob-bg-2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 69, 19, 0.03);
  bottom: 30%;
  left: -20%;
  animation: blobMorph 15s ease-in-out infinite reverse;
}

@media (max-width: 1024px) {
  .blob-bg-1, .blob-bg-2, .blob-bg { display: none !important; }
}

@keyframes blobMorph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) scale(1); }
  25% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; transform: translate(10px, -10px) scale(1.05); }
  50% { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; transform: translate(-5px, 15px) scale(0.95); }
  75% { border-radius: 30% 70% 60% 40% / 40% 60% 50% 50%; transform: translate(8px, 5px) scale(1.02); }
}

/* ===== CURVED SECTION BACKGROUNDS ===== */
.section-dark {
  border-radius: var(--radius-xl);
  margin: 0 12px;
  overflow: hidden;
}

.section-darker {
  border-radius: var(--radius-xl);
  margin: 0 12px;
  overflow: hidden;
}

.service-area {
  border-radius: var(--radius-xl);
  margin: 0 12px;
}

/* ===== CURVED FOOTER ===== */
.site-footer {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ===== CURVED STATS BAR ===== */
.stats-bar {
  border-radius: var(--radius-lg);
  margin: 0 12px;
}

/* ===== CURVED CTA BANNER ===== */
.cta-banner {
  border-radius: var(--radius-xl);
  margin: 0 12px;
}

/* ===== TRUST STRIP ROUNDED ===== */
.marquee-wrap {
  border-radius: var(--radius-lg);
  margin-left: 12px;
  margin-right: 12px;
}

/* ===== CALLOUT QUOTE ===== */
.callout-quote blockquote::before {
  font-size: 6rem;
  top: -30px;
}

/* ===== CONTACT SIDEBAR TOP BAR ROUNDED ===== */
.contact-sidebar::before {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ===== SECTION SPACING FOR CURVED SECTIONS ===== */
.section-dark,
.section-darker,
.service-area,
.stats-bar,
.cta-banner,
.marquee-wrap {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ===== PAGE HERO CURVED BOTTOM ===== */
.page-hero {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ===== NAV LINKS PILL STYLE (active) ===== */
.nav-links a.active {
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin: 0 -14px;
}

@media (max-width: 768px) {
  .section-dark,
  .section-darker,
  .service-area,
  .stats-bar,
  .cta-banner,
  .marquee-wrap,
  .site-footer {
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
  }

  .page-hero {
    border-radius: 0;
  }

  .hero {
    clip-path: ellipse(160% 100% at 50% 0%);
  }

  .nav-links a.active {
    background: none;
    padding: 18px 0;
    border-radius: 0;
    margin: 0;
  }
}

/* ═══════════════════════════════════════════════════
   VIRAL-LEVEL FEATURES
   ═══════════════════════════════════════════════════ */

/* ===== CUSTOM CURSOR FOLLOWER ===== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), background 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(200, 169, 110, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s ease;
  transform: translate(-50%, -50%);
}

body:hover .cursor-dot,
body:hover .cursor-ring {
  opacity: 1;
}

/* Cursor grows on interactive elements */
.cursor-dot.hovering {
  width: 16px;
  height: 16px;
  background: rgba(200, 169, 110, 0.3);
}

.cursor-ring.hovering {
  width: 50px;
  height: 50px;
  border-color: var(--accent);
}

@media (max-width: 768px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ===== INFINITE MARQUEE TICKER ===== */
.marquee-wrap {
  overflow: hidden;
  contain: layout paint;
  padding: 20px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.marquee-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  opacity: 0.6;
}

.marquee-item .marquee-sep {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  margin-left: 30px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== EMPHASIZED KEY PHRASE ===== */
.about-text p strong,
.about-story-text p strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== STAT COUNTER BOUNCE ===== */
.stat-item.counted h3 {
  animation: counterBounce 0.5s var(--ease-spring);
}

@keyframes counterBounce {
  0% { transform: scale(0.6); opacity: 0.5; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== SVG DRAW ON SCROLL ===== */
.hero-spur-draw {
  position: absolute;
  bottom: 12%;
  right: 8%;
  width: 180px;
  height: 180px;
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

.hero-spur-draw path,
.hero-spur-draw circle,
.hero-spur-draw line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.hero-spur-draw.drawn path,
.hero-spur-draw.drawn circle,
.hero-spur-draw.drawn line {
  stroke-dashoffset: 0;
}

/* ===== VALUE ITEMS DEPTH FIX ===== */
.value-item {
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-item:hover::before {
  opacity: 1;
}

/* ===== PAGE HERO ENHANCED ===== */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ===== FLOATING BADGES ON HERO ===== */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(34, 34, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.05em;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  animation: floatBadgeIn 0.8s var(--ease-out-expo) forwards;
}

.hero-float-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.hero-float-badge:nth-child(1) {
  top: 22%;
  left: 6%;
  animation-delay: 1s;
  animation-name: floatBadgeIn, floatDrift;
  animation-duration: 0.8s, 6s;
  animation-timing-function: var(--ease-out-expo), ease-in-out;
  animation-delay: 1s, 1.8s;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}

.hero-float-badge:nth-child(2) {
  bottom: 28%;
  right: 6%;
  animation-delay: 1.3s;
  animation-name: floatBadgeIn, floatDrift;
  animation-duration: 0.8s, 8s;
  animation-timing-function: var(--ease-out-expo), ease-in-out;
  animation-delay: 1.3s, 2.1s;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}

@keyframes floatBadgeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to { opacity: 0.8; transform: translateY(0) scale(1); }
}

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

@media (max-width: 1024px) {
  .hero-float-badge { display: none; }
  .hero-spur-draw { display: none; }
}

/* ===== SMOOTH LINK UNDERLINE ANIMATION ===== */
.footer-col a {
  position: relative;
  display: inline-block;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.footer-col a:hover::after {
  width: 100%;
}

/* ===== GLOWING DIVIDER ===== */
.glow-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border: none;
  margin: 0;
  position: relative;
}

.glow-divider::after {
  content: '';
  position: absolute;
  inset: -8px 20% -8px 20%;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 110, 0.15), transparent);
  filter: blur(8px);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   3D DEPTH SYSTEM — REAL DIMENSIONAL FEEL
   Light source: top-left. Everything casts, catches, recesses.
   ═══════════════════════════════════════════════════ */

:root {
  --bevel: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.35);
  --bevel-strong: inset 0 2px 0 rgba(255,255,255,0.12), inset 0 -2px 0 rgba(0,0,0,0.45);
  --recess: inset 0 3px 8px rgba(0,0,0,0.5), inset 0 1px 2px rgba(0,0,0,0.4), inset 0 -1px 0 rgba(255,255,255,0.03);
  --card-3d: linear-gradient(165deg, rgba(255,255,255,0.04) 0%, transparent 40%, rgba(0,0,0,0.15) 100%);
  --card-3d-hover: linear-gradient(165deg, rgba(255,255,255,0.07) 0%, transparent 35%, rgba(0,0,0,0.1) 100%);
  --btn-3d: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(0,0,0,0.15) 100%);
  --glass-sheen: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
}

/* ─── Cards: gradient shading + strong shadow + bevel ─── */
.service-card {
  background: var(--card-3d), var(--card-bg);
  box-shadow:
    var(--shadow-md),
    var(--bevel),
    0 1px 0 rgba(255,255,255,0.05);
}

.service-card:hover {
  background: var(--card-3d-hover), var(--card-bg);
  box-shadow:
    var(--shadow-xl),
    var(--shadow-glow-strong),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 2px 0 rgba(255,255,255,0.03);
}

.team-value-card {
  background: var(--card-3d), var(--card-bg);
  box-shadow: var(--shadow-md), var(--bevel);
}

.team-value-card:hover {
  background: var(--card-3d-hover), var(--card-bg);
  box-shadow: var(--shadow-xl), var(--shadow-glow-strong), inset 0 1px 0 rgba(255,255,255,0.1);
}

.value-item {
  background: var(--glass-sheen), var(--accent-dim);
  box-shadow: var(--shadow-sm), var(--bevel);
}

.value-item:hover {
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ─── Stat Items: 3D tiles ─── */
.stat-item {
  background: var(--card-3d), rgba(255,255,255,0.015);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  box-shadow: var(--shadow-md), var(--bevel);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, background 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  background: var(--card-3d-hover), rgba(255,255,255,0.025);
  box-shadow: var(--shadow-lg), var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ─── Buttons: 3D beveled with glass sheen ─── */
.btn-primary {
  background: var(--btn-3d), linear-gradient(135deg, var(--accent) 0%, #b8963e 100%);
  box-shadow:
    0 4px 14px rgba(200, 169, 110, 0.25),
    0 1px 3px rgba(0,0,0,0.3),
    var(--bevel-strong);
}

.btn-primary:hover {
  box-shadow:
    0 14px 36px rgba(200, 169, 110, 0.35),
    0 2px 4px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active {
  box-shadow: var(--recess) !important;
  transform: scale(0.97) translateY(1px) !important;
}

.btn-outline {
  background: var(--glass-sheen), transparent;
  box-shadow: var(--shadow-sm), var(--bevel);
}

.btn-outline:hover {
  background: var(--glass-sheen), rgba(200, 169, 110, 0.05);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-outline:active {
  box-shadow: var(--recess) !important;
  transform: scale(0.97) translateY(1px) !important;
}

.header-cta {
  box-shadow: 0 3px 12px rgba(200, 169, 110, 0.2), var(--bevel-strong);
}

.mobile-cta-bar a {
  background: var(--btn-3d), linear-gradient(135deg, var(--accent), #b8963e);
  box-shadow: 0 -4px 20px rgba(200, 169, 110, 0.15), var(--shadow-lg), var(--bevel-strong);
}

/* ─── CTA Banner Button Override ─── */
.cta-banner .btn {
  background: var(--btn-3d), var(--black);
  box-shadow: var(--shadow-lg), var(--bevel-strong);
}

.cta-banner .btn:hover {
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ─── Badges & Pills: glass-like ─── */
.hero-badge {
  background: var(--glass-sheen), var(--accent-dim);
  box-shadow: var(--shadow-md), var(--bevel);
}

.section-label {
  background: var(--glass-sheen), var(--accent-dim);
  box-shadow: var(--shadow-sm), var(--bevel);
}

.area-badge {
  background: var(--glass-sheen), var(--accent-dim);
}

/* ─── Placeholders: deeply recessed wells ─── */
.about-image-placeholder,
.service-image-placeholder,
.map-placeholder {
  box-shadow: var(--recess);
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.015) 0%, transparent 60%),
    var(--card-bg);
}

/* ─── Form Inputs: cut into surface ─── */
.form-group input,
.form-group textarea,
.form-group select {
  box-shadow: var(--recess);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 30%),
    var(--dark-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow:
    var(--recess),
    0 0 0 3px rgba(200, 169, 110, 0.12),
    0 0 20px rgba(200, 169, 110, 0.08);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, transparent 30%),
    var(--dark-gray);
}

/* ─── Header: glass panel with depth ─── */
.site-header {
  box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 -1px 0 rgba(255,255,255,0.03);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4), inset 0 -1px 0 rgba(255,255,255,0.04);
}

/* ─── Stats Bar: floating shelf ─── */
.stats-bar {
  background: var(--card-3d), var(--charcoal);
  box-shadow: var(--shadow-lg), var(--bevel);
}

/* ─── Section Backgrounds: floating panels ─── */
.section-dark {
  background: var(--card-3d), var(--charcoal);
  box-shadow: var(--shadow-lg), var(--bevel);
}

.section-darker {
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.03);
}

.service-area {
  box-shadow: var(--shadow-lg), var(--bevel);
}

/* ─── CTA Banner: glowing 3D panel ─── */
.cta-banner {
  box-shadow:
    var(--shadow-xl),
    inset 0 2px 0 rgba(255,255,255,0.15),
    inset 0 -2px 0 rgba(0,0,0,0.2),
    0 0 80px rgba(200, 169, 110, 0.1);
}

/* ─── Footer: heavy grounded base ─── */
.site-footer {
  box-shadow: 0 -12px 48px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ─── Contact Sidebar: 3D on hover ─── */
.contact-sidebar {
  background: var(--card-3d), var(--card-bg);
}

.contact-sidebar:hover {
  background: var(--card-3d-hover), var(--card-bg);
  box-shadow: var(--shadow-xl), var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ─── Marquee bar: subtle shelf ─── */
.marquee-wrap {
  background: var(--glass-sheen), var(--charcoal);
  box-shadow: var(--shadow-md), var(--bevel);
}

/* ─── Contact Info Items: lift on hover ─── */
.contact-info-item {
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.contact-info-item:hover {
  background: var(--glass-sheen), rgba(255,255,255,0.02);
  box-shadow: var(--shadow-sm), var(--bevel);
  transform: translateX(4px);
}

/* ─── Heading text shadows for depth ─── */
.hero h1 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.2);
}

.section-title {
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.cta-banner h2 {
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.stat-item h3 {
  text-shadow: 0 2px 8px rgba(200, 169, 110, 0.2);
}

/* ─── Service icons: glow behind ─── */
.service-icon {
  filter: drop-shadow(0 2px 4px rgba(200, 169, 110, 0.15));
}

.service-card:hover .service-icon {
  filter: drop-shadow(0 4px 8px rgba(200, 169, 110, 0.3));
}

/* ─── Service card number: deeper shading ─── */
.service-card-number {
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ─── Divider glow enhancement ─── */
.divider {
  box-shadow: 0 0 8px rgba(200, 169, 110, 0.15);
}

/* ─── Hero floating badges: glass depth ─── */
.hero-float-badge {
  box-shadow: var(--shadow-md), var(--bevel), 0 0 20px rgba(0,0,0,0.3);
}

/* ─── Page hero: light gradient from top ─── */
.page-hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 40%),
    var(--black);
}

/* ─── Callout quote: subtle depth ─── */
.callout-quote blockquote {
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════════════════
   SEO/CRO CONTENT STYLES
   ═══════════════════════════════════════════════════ */

/* Emergency dispatch strip (high-conversion) */
.emergency-strip {
  background:
    linear-gradient(135deg, rgba(200, 169, 110, 0.08), rgba(200, 169, 110, 0.02)),
    var(--charcoal);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  padding: 20px 0;
  box-shadow: var(--shadow-md), var(--bevel);
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.emergency-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent);
}

.emergency-pulse::before,
.emergency-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseRing 1.8s ease-out infinite;
}

.emergency-pulse::after {
  animation-delay: 0.9s;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

.emergency-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.emergency-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.emergency-text span {
  font-size: 0.82rem;
  color: var(--light-gray);
}

.emergency-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--btn-3d), linear-gradient(135deg, var(--accent), #b8963e);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md), var(--bevel-strong);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.emergency-cta:hover {
  color: var(--black);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(200, 169, 110, 0.3);
}

.emergency-cta svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .emergency-inner {
    flex-direction: column;
    gap: 12px;
  }

  .emergency-text {
    align-items: center;
    text-align: center;
  }
}


/* County list (service area SEO content) */
.county-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 28px auto 8px;
  max-width: 640px;
}

.county-list li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--off-white);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.county-list li:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-3d), var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm), var(--bevel);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md), var(--bevel-light);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
  transition: transform 0.4s var(--ease-out-expo);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

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

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--light-gray);
}

.faq-item p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(200, 169, 110, 0.3);
  text-underline-offset: 3px;
}

.faq-item p a:hover {
  text-decoration-color: var(--accent);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .county-list li {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
}

/* ═══════════════════════════════════════════════════
   INDIVIDUAL SERVICE PAGE TEMPLATES
   ═══════════════════════════════════════════════════ */

/* Service page hero badge */
.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--glass-sheen), var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm), var(--bevel);
}

/* Use-cases grid — "When You Need X" */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.use-case {
  padding: 32px 24px;
  background: var(--card-3d), var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--bevel);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease;
}

.use-case:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.use-case svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}

.use-case h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.use-case p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--light-gray);
}

/* Related services cross-sell */
.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.related-service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--card-3d), var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--bevel);
  text-decoration: none;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease;
}

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

.related-service svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.related-service h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin: 0;
}

.related-service p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--light-gray);
  margin: 0;
  flex-grow: 1;
}

.related-service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

.related-service-arrow svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
}

.related-service:hover .related-service-arrow svg {
  transform: translateX(4px);
}

/* Service intro split layout */
.service-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-intro-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-intro-text p {
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.service-feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--off-white);
  font-size: 0.92rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.service-feature-list li:last-child {
  border-bottom: none;
}

.service-feature-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature-list strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.service-feature-list span {
  color: var(--light-gray);
  font-size: 0.85rem;
  font-weight: 400;
}

/* Service page image block */
.service-visual {
  min-height: 460px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(200, 169, 110, 0.05) 0%, transparent 60%),
    var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--recess);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-icon {
  width: 96px;
  height: 96px;
  color: var(--accent);
  opacity: 0.18;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .use-cases,
  .related-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .use-cases,
  .related-services {
    grid-template-columns: 1fr;
  }
}

/* Service Details page — "View Full Details" CTA link */
.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 24px;
  background: var(--glass-sheen), var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-sm), var(--bevel);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
  align-self: flex-start;
}

.service-detail-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-spring);
}

.service-detail-link:hover {
  background: var(--glass-sheen), rgba(200, 169, 110, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.1);
  color: var(--accent-hover);
}

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