/* =============================================================
   BC HOME SERVICE — MAIN STYLESHEET
   Reproduces the homepage design system for all subpages.
   Keep in sync with the inline tokens in /index.html.
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors — Brand */
  --color-dark-primary: #0a1628;
  --color-dark-secondary: #0d1f3c;
  --color-navy: #1e3a5f;
  --color-navy-light: #2a4a73;
  --color-blue-accent: #2e86de;
  --color-blue-bright: #4a9ae8;
  --color-teal: #00b4d8;
  --color-teal-light: #48cae4;
  --color-orange: #ff6b35;
  --color-orange-bright: #ff8c42;
  --color-orange-deep: #e55a28;
  --color-green: #2ecc71;
  --color-green-dark: #27ae60;
  --color-red: #e74c3c;
  --color-gold: gold;
  --color-white: #fff;
  --color-off-white: #f8fafc;

  /* Colors — Text */
  --color-text-dark: #1a1a2e;
  --color-text-medium: #4a5568;
  --color-text-light: #718096;

  /* Colors — Borders */
  --color-border: #e2e8f0;
  --color-border-dark: #2a3f5f;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0d2b4e 100%);
  --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2e86de 100%);
  --gradient-cta: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --gradient-accent: linear-gradient(135deg, #2e86de 0%, #00b4d8 100%);
  --gradient-teal: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
  --gradient-green: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  --gradient-overlay: linear-gradient(135deg, #0a1628f2 0%, #1e3a5fe0 100%);
  --gradient-glass: linear-gradient(135deg, #ffffff14 0%, #ffffff05 100%);
  --gradient-card-shine: linear-gradient(135deg, #ffffff26 0%, #fff0 50%);

  /* Shadows */
  --shadow-card: 0 4px 24px #0a162814, 0 1px 4px #0a16280a;
  --shadow-card-hover: 0 20px 60px #0a16282e, 0 8px 24px #0a16281a;
  --shadow-button: 0 4px 16px #ff6b3559;
  --shadow-button-hover: 0 8px 32px #ff6b358c;
  --shadow-blue: 0 8px 32px #2e86de4d;
  --shadow-glow-teal: 0 0 40px #00b4d840;
  --shadow-glow-orange: 0 0 40px #ff6b354d;
  --shadow-3d: 0 30px 80px #0a162859, 0 10px 30px #0a162833;
  --shadow-inner: inset 0 2px 8px #0a162826;
  --shadow-float: 0 20px 60px #0a162840, 0 0 0 1px #ffffff0d;

  /* Typography */
  --font-primary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-h1: clamp(2.2rem, 6vw, 4.2rem);
  --font-size-h2: clamp(1.6rem, 3.5vw, 2.8rem);
  --font-size-h3: clamp(1.1rem, 2vw, 1.6rem);
  --font-size-body: clamp(0.95rem, 1.2vw, 1.1rem);
  --font-size-small: clamp(0.8rem, 1vw, 0.9rem);
  --font-size-eyebrow: clamp(0.7rem, 0.9vw, 0.8rem);
  --font-size-stat: clamp(2.2rem, 4.5vw, 3.5rem);
  --line-height-heading: 1.15;
  --line-height-body: 1.75;
  --letter-spacing-eyebrow: 0.18em;
  --letter-spacing-heading: -0.02em;

  /* Spacing */
  --space-section: clamp(70px, 10vw, 140px);
  --space-section-half: clamp(35px, 5vw, 70px);
  --space-container: clamp(20px, 4vw, 48px);
  --space-card: clamp(24px, 3.5vw, 44px);
  --space-gap: clamp(16px, 2.5vw, 32px);
  --space-gap-sm: clamp(8px, 1.5vw, 16px);
  --container-max: 1240px;
  --container-narrow: 820px;

  /* Radius */
  --radius-card: 16px;
  --radius-button: 10px;
  --radius-input: 10px;
  --radius-badge: 100px;
  --radius-xl: 24px;

  /* Easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.7s;
  --duration-hero: 1s;

  /* Z-index */
  --z-base: 1;
  --z-card: 10;
  --z-sticky: 100;
  --z-nav: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-topbar: 500;

  /* Layout */
  --topbar-height: 40px;
  --nav-height: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-container);
}
.container-narrow { max-width: var(--container-narrow); }
.section { padding: var(--space-section) 0; position: relative; content-visibility: auto; contain-intrinsic-size: auto 600px; }
.section-tight { padding: var(--space-section-half) 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-eyebrow);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-blue-accent);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}
.section-eyebrow.center { justify-content: center; }
.section-eyebrow.on-dark { color: var(--color-teal-light); }

.section-title {
  font-size: var(--font-size-h2);
  font-weight: 900;
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-heading);
  color: var(--color-text-dark);
  margin-bottom: 16px;
}
.section-title.on-dark { color: #fff; }
.section-title .grad {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-subtitle {
  font-size: var(--font-size-body);
  color: var(--color-text-medium);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.left { text-align: left; }
.section-header.left .section-subtitle { margin-left: 0; text-align: left; }

.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-orange {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-topbar);
  height: var(--topbar-height);
  background: var(--color-dark-primary);
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-badge);
  background: rgba(46, 204, 113, 0.15);
  color: var(--color-green);
  font-weight: 600;
  font-size: 0.7rem;
}
.topbar .topbar-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-green);
  animation: greenPulse 1.5s infinite;
}
.topbar-divider {
  width: 1px; height: 14px; background: rgba(255,255,255,0.15);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: var(--topbar-height);
  z-index: var(--z-nav);
  background: #fff;
  height: var(--nav-height);
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}
.nav.scrolled {
  height: 60px;
  box-shadow: 0 2px 20px rgba(10, 22, 40, 0.1);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo svg { transition: all 0.4s; }
.nav-logo .logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #EBF4FF;
}
.nav.scrolled .nav-logo .logo-mark { width: 36px; height: 36px; }
.nav-logo .brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-blue-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.nav-logo .brand-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1;
}
.nav.scrolled .nav-logo .brand-name { font-size: 1.2rem; }
.nav.scrolled .nav-logo .brand-sub { font-size: 0.75rem; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > a, .nav-menu > .nav-dropdown > button {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-dark);
  background: none;
  border: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > a:hover, .nav-menu > .nav-dropdown > button:hover {
  background: #F0F7FF;
  color: var(--color-blue-accent);
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  width: 720px;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.18);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s var(--ease-out-expo);
  z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.nav-dropdown-item:hover {
  background: #F0F7FF;
  border-color: var(--svc-color, var(--color-blue-accent));
  border-color: color-mix(in srgb, var(--svc-color, #2e86de) 20%, transparent);
}
.nav-dropdown-item .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--svc-color, #2e86de) 10%, transparent);
}
.nav-dropdown-item .icon svg { fill: var(--svc-color, var(--color-blue-accent)); }
.nav-dropdown-item .name { font-weight: 700; font-size: 0.88rem; color: var(--color-text-dark); }
.nav-dropdown-item .desc { font-size: 0.78rem; color: var(--color-text-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 12px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  transition: background 0.2s;
}
.mobile-nav a:hover { background: rgba(46, 134, 222, 0.15); }
.mobile-nav .call-link {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease-out-expo); }
.btn:hover svg.btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-blue {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 12px 40px #2e86de66; }

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-blue-outline {
  background: transparent;
  color: var(--color-blue-accent);
  border: 1.5px solid var(--color-blue-accent);
}
.btn-blue-outline:hover {
  background: var(--color-blue-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--gradient-green);
  color: #fff;
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 32px #2ecc7159; }

.btn-ghost {
  background: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: var(--color-off-white); border-color: var(--color-blue-accent); color: var(--color-blue-accent); }

.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-card);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

/* Service card */
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-card-shine);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--svc-color, var(--color-blue-accent));
}
.service-card:hover::before { opacity: 1; }
.service-card .svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--svc-color, #2e86de) 12%, transparent);
  margin-bottom: 20px;
  position: relative;
}
.service-card .svc-icon svg {
  fill: var(--svc-color, var(--color-blue-accent));
  width: 28px; height: 28px;
  transition: transform 0.4s var(--ease-spring);
}
.service-card:hover .svc-icon svg { transform: scale(1.15) rotate(-4deg); }
.service-card .svc-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.service-card .svc-desc {
  color: var(--color-text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-card .svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--svc-color, var(--color-blue-accent));
  font-weight: 700;
  font-size: 0.9rem;
}
.service-card .svc-link svg { transition: transform 0.3s; }
.service-card:hover .svc-link svg { transform: translateX(4px); }

/* Feature card with check list */
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: all 0.3s var(--ease-smooth);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--color-blue-accent); }
.feature-card .fc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(46,134,222,0.12), rgba(0,180,216,0.12));
  color: var(--color-blue-accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; color: var(--color-text-dark); }
.feature-card p { color: var(--color-text-medium); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Hero (Inner page hero) ---------- */
.page-hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(135deg, #070F1E 0%, #0D1B33 30%, #1E3A5F 65%, #0A1A2E 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(46,134,222,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(0,180,216,0.12) 0%, transparent 70%),
    repeating-linear-gradient(20deg, transparent, transparent 58px, rgba(46,134,222,0.025) 58px, rgba(46,134,222,0.025) 60px);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* ===== Auto animated orbit backdrop (all page heroes) ===== */
.page-hero-orbit {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: clamp(420px, 46vw, 820px);
  aspect-ratio: 1 / 1;
  z-index: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 78%);
  mask-image: radial-gradient(circle, #000 60%, transparent 78%);
}
.page-hero-orbit .pho-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--svc-color, #2E86DE);
  opacity: 0.16;
  will-change: transform;
}
.page-hero-orbit .pho-ring.r1 { width: 100%;  height: 100%;  animation: orbitSpin 40s linear infinite; }
.page-hero-orbit .pho-ring.r2 { width: 78%;   height: 78%;   border-style: dashed; border-color: var(--svc-color-2, #00B4D8); opacity: 0.22; animation: orbitSpinReverse 30s linear infinite; }
.page-hero-orbit .pho-ring.r3 { width: 56%;   height: 56%;   opacity: 0.12; animation: orbitSpin 22s linear infinite; }
.page-hero-orbit .pho-glow {
  position: absolute;
  width: 62%; height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--svc-color, #2E86DE), transparent 68%);
  opacity: 0.22;
  filter: blur(46px);
}
.page-hero-orbit .pho-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--svc-color-2, #48CAE4);
  box-shadow: 0 0 14px var(--svc-color-2, #48CAE4);
  will-change: transform;
}
@media (max-width: 768px) {
  .page-hero-orbit { right: -30%; width: 90vw; opacity: 0.55; }
  .page-hero-orbit .pho-glow { filter: blur(30px); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-orbit .pho-ring, .page-hero-orbit .pho-dot { animation: none !important; }
}
.page-hero-orbit .pho-dot.d1 { animation: phoOrbit1 18s linear infinite; }
.page-hero-orbit .pho-dot.d2 { animation: phoOrbit2 26s linear infinite; }
.page-hero-orbit .pho-dot.d3 { width: 8px; height: 8px; margin:-4px 0 0 -4px; background: var(--svc-color, #2E86DE); box-shadow:0 0 12px var(--svc-color,#2E86DE); animation: phoOrbit3 14s linear infinite; }
@keyframes phoOrbit1 { from { transform: rotate(0deg) translateX(50%) rotate(0deg); } to { transform: rotate(360deg) translateX(50%) rotate(-360deg); } }
@keyframes phoOrbit2 { from { transform: rotate(0deg) translateX(39%) rotate(0deg); } to { transform: rotate(-360deg) translateX(39%) rotate(360deg); } }
@keyframes phoOrbit3 { from { transform: rotate(120deg) translateX(28%) rotate(-120deg); } to { transform: rotate(480deg) translateX(28%) rotate(-480deg); } }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  animation: fadeIn 0.6s ease 0.1s both;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--color-teal-light); }

.page-hero h1 {
  font-size: var(--font-size-h1);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 1s var(--ease-out-expo) 0.3s both;
}
.page-hero h1 .grad {
  display: block;
  background: linear-gradient(135deg, #4A9AE8 0%, #00B4D8 50%, #48CAE4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShimmer 4s linear infinite, fadeInUp 1s var(--ease-out-expo) 0.5s both;
}
.page-hero .lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.7s both;
}
.page-hero .hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.9s both;
}
.page-hero .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  animation: fadeIn 0.8s ease 1.1s both;
}
.page-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.page-hero .hero-badge svg { color: var(--color-teal-light); }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-gap);
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: all 0.3s var(--ease-smooth);
}
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.stat-num {
  font-size: var(--font-size-stat);
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Stats on dark bg */
.stats-on-dark .stat-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.stats-on-dark .stat-num {
  background: linear-gradient(135deg, #4A9AE8, #48CAE4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-on-dark .stat-label { color: rgba(255,255,255,0.65); }

/* ---------- Process / Steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-gap);
  counter-reset: step;
}
.process-step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-off-white);
  line-height: 1;
  z-index: 0;
}
.process-step .ps-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46,134,222,0.1), rgba(0,180,216,0.1));
  color: var(--color-blue-accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; color: var(--color-text-dark); position: relative; z-index: 1; }
.process-step p { color: var(--color-text-medium); font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 1; }

/* ---------- Pricing Cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-gap);
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--color-blue-accent);
  box-shadow: var(--shadow-blue);
  transform: scale(1.02);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.pricing-card.featured:hover { transform: translateY(-6px) scale(1.02); }
.pricing-card .pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-badge);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.pricing-card .pc-title { font-size: 1.25rem; font-weight: 800; color: var(--color-text-dark); margin-bottom: 8px; }
.pricing-card .pc-subtitle { color: var(--color-text-light); font-size: 0.88rem; margin-bottom: 20px; }
.pricing-card .pc-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card .pc-price small { font-size: 0.95rem; color: var(--color-text-light); font-weight: 500; }
.pricing-card .pc-desc { font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 24px; }
.pricing-card .pc-features {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.pricing-card .pc-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--color-text-medium);
}
.pricing-card .pc-features li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--color-green);
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}
.faq-item.open {
  border-color: var(--color-blue-accent);
  box-shadow: var(--shadow-card);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  cursor: pointer;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-off-white);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease-smooth);
}
.faq-item.open .faq-question .faq-icon {
  background: var(--color-blue-accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}
.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--color-text-medium);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* ---------- Reviews ---------- */
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: all 0.3s var(--ease-smooth);
  height: 100%;
  display: flex; flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.review-card .review-stars {
  display: flex; gap: 2px; color: #FFB400; margin-bottom: 14px;
}
.review-card .review-text {
  color: var(--color-text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 0.97rem;
}
.review-card .review-author {
  display: flex; align-items: center; gap: 12px;
}
.review-card .review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.review-card .review-name { font-weight: 700; color: var(--color-text-dark); font-size: 0.95rem; }
.review-card .review-loc { font-size: 0.82rem; color: var(--color-text-light); }

/* ---------- Quote Form (Inline) ---------- */
.quote-form-wrap {
  background: linear-gradient(135deg, #070F1E 0%, #0D1B33 30%, #1E3A5F 65%, #0A1A2E 100%);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote-form-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(46,134,222,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255,107,53,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.quote-form-wrap > * { position: relative; z-index: 1; }

.qf-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.qf-progress-bar {
  flex-grow: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.qf-progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width 0.5s var(--ease-out-expo);
}
.qf-step-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.qf-step { display: none; animation: fadeIn 0.4s ease; }
.qf-step.active { display: block; }

.qf-input-group { position: relative; margin-bottom: 16px; }
.qf-input-group label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  font-weight: 600;
}
.qf-input-group .qf-icon {
  position: absolute;
  left: 14px;
  top: 38px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}
.qf-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.qf-input::placeholder { color: rgba(255,255,255,0.4); }
.qf-input:focus {
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 0 3px rgba(46,134,222,0.15);
}
.qf-input.error {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(231,76,60,0.15);
}
.qf-textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
.qf-textarea:focus {
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 0 3px rgba(46,134,222,0.15);
}
.qf-error {
  font-size: 0.78rem;
  color: var(--color-red);
  margin-top: 4px;
}

.qf-service-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.qf-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.qf-chip:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.qf-chip.selected {
  background: rgba(46,134,222,0.18);
  border-color: var(--color-blue-accent);
  color: #fff;
}
.qf-chip svg { width: 18px; height: 18px; flex-shrink: 0; }

.qf-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Forms (Light theme — for contact page) ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--color-red); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  color: var(--color-text-dark);
  font-size: 0.97rem;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 0 3px rgba(46,134,222,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error {
  font-size: 0.8rem;
  color: var(--color-red);
  margin-top: 4px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 60%, #2e86de 100%);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 90% 50%, rgba(0,180,216,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 10% 100%, rgba(255,107,53,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: var(--font-size-h2);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  max-width: 560px;
}
.cta-banner .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark-primary);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30% 50% at 100% 0%, rgba(46,134,222,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 0% 100%, rgba(0,180,216,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.footer > * { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .brand-name { font-size: 1.5rem; font-weight: 900; color: var(--color-blue-accent); line-height: 1; }
.footer-brand .brand-sub { font-size: 0.9rem; font-weight: 600; color: #fff; line-height: 1; }
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.65);
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.75);
  transition: all 0.3s var(--ease-smooth);
}
.footer-social:hover {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: #fff; transform: translateX(3px); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.footer-contact-item svg { color: var(--color-teal-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item .label { color: rgba(255,255,255,0.5); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-contact-item .value { color: #fff; font-weight: 600; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .fb-links { display: flex; gap: 18px; }
.footer-bottom .fb-links a:hover { color: #fff; }

/* ---------- Page Wrapper for sticky footer ---------- */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-main { flex: 1 0 auto; }

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card-hover);
  border-left: 4px solid var(--color-green);
  display: flex; align-items: center; gap: 10px;
  min-width: 280px;
  max-width: 380px;
  pointer-events: auto;
  animation: slideUp 0.4s var(--ease-out-expo);
  font-size: 0.92rem;
  color: var(--color-text-dark);
}
.toast.error { border-left-color: var(--color-red); }
.toast.info { border-left-color: var(--color-blue-accent); }
.toast svg { flex-shrink: 0; }
.toast.success svg { color: var(--color-green); }
.toast.error svg { color: var(--color-red); }

/* ---------- Service Info Block (used on service detail pages) ---------- */
.service-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.service-info-list {
  display: flex; flex-direction: column; gap: 14px;
}
.service-info-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.97rem;
  color: var(--color-text-medium);
  line-height: 1.6;
}
.service-info-list li svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--svc-color, var(--color-blue-accent));
  background: color-mix(in srgb, var(--svc-color, #2e86de) 12%, transparent);
  border-radius: 50%;
  padding: 4px;
}
.service-info-image {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--svc-color, var(--color-blue-accent)), var(--color-navy));
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.95);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3d);
}
.service-info-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 30%, rgba(255,255,255,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 30% 80%, rgba(0,0,0,0.25) 0%, transparent 70%);
}
.service-info-image svg {
  position: relative;
  z-index: 1;
  width: 120px; height: 120px;
  fill: rgba(255,255,255,0.95);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.3));
  animation: iconFloat 4s ease-in-out infinite;
}

/* ---------- Pricing / Cost Quick Reference ---------- */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cost-table th, .cost-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.cost-table th {
  background: var(--color-off-white);
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cost-table td { color: var(--color-text-medium); font-size: 0.95rem; }
.cost-table td.cost { font-weight: 700; color: var(--color-blue-accent); white-space: nowrap; }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:hover td { background: #fafbfc; }

/* ---------- Badge / Pill ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-badge);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-blue { background: rgba(46,134,222,0.12); color: var(--color-blue-accent); }
.badge-orange { background: rgba(255,107,53,0.12); color: var(--color-orange); }
.badge-green { background: rgba(46,204,113,0.12); color: var(--color-green-dark); }
.badge-red { background: rgba(231,76,60,0.12); color: var(--color-red); }

/* ---------- Service Areas Grid ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.area-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  gap: 12px;
}
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-blue-accent);
}
.area-card .area-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46,134,222,0.12), rgba(0,180,216,0.12));
  color: var(--color-blue-accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.area-card .area-name { font-weight: 700; color: var(--color-text-dark); font-size: 0.95rem; }
.area-card .area-tier { font-size: 0.78rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.area-card.core .area-icon { background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(255,140,66,0.12)); color: var(--color-orange); }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 480px;
  background: var(--color-off-white);
}
#serviceMap { width: 100%; height: 100%; }

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0.4; }
  100% { transform: translateY(-30px) translateX(10px); opacity: 0.1; }
}
@keyframes phonePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes greenPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(46, 134, 222, 0.4); }
  50% { box-shadow: 0 0 60px rgba(46, 134, 222, 0.7); }
}
@keyframes haloPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes ringExpand {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes orbitDot {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(10px) scale(0.85); }
}
@keyframes mapPinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes mapSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes iconDrift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(4px,-4px); }
}
@keyframes iconBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes iconBreath {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}
@keyframes iconSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes iconPop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes iconSwing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  75% { transform: rotate(-8deg); }
}
@keyframes iconTilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-6deg); }
}
@keyframes iconWobbleSoft {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  75% { transform: rotate(-3deg); }
}
@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}
@keyframes emergencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}
@keyframes progressFill { from { width: 0%; } to { width: 100%; } }
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}
@keyframes shineSweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes risePop {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes softZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}
@keyframes gradientBorderFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes cursorExpand {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.5); }
}
@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}
@keyframes checkDraw {
  from { stroke-dashoffset: 50; }
  to { stroke-dashoffset: 0; }
}
@keyframes dashFlow { to { stroke-dashoffset: -100; } }
@keyframes handlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 134, 222, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(46, 134, 222, 0); }
}
@keyframes fadeTickerIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeTickerOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }
@keyframes flipTop {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(-90deg); }
  100% { transform: rotateX(0deg); }
}
@keyframes flipBottom {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0deg); }
}
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes calcOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

/* ---------- Animation Utilities ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Magnetic Buttons ---------- */
.magnetic-btn { transition: transform 0.2s var(--ease-smooth); }

/* ---------- Skip link / Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}
.skip-link:focus { left: 8px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-info-grid { grid-template-columns: 1fr; }
  .nav-dropdown-menu { grid-template-columns: repeat(2, 1fr); width: 480px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .mobile-menu-btn { display: flex; }
  .topbar-left-full { display: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --topbar-height: 36px; --nav-height: 64px; }
  .topbar-right { gap: 12px; }
  .topbar-right .topbar-divider { display: none; }
  .topbar-right > *:not(.topbar-pill):not(.call-link) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .qf-service-chips { grid-template-columns: 1fr 1fr; }
  .cta-banner { text-align: center; }
  .cta-banner .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 32px; }
  .nav-dropdown-menu { grid-template-columns: 1fr; width: 320px; left: -10px; }
  .map-wrap { height: 360px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 480px) {
  .qf-service-chips { grid-template-columns: 1fr; }
  .btn-lg { padding: 16px 24px; font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .nav, .mobile-nav, .cta-banner, .footer { display: none !important; }
  body { color: #000; background: #fff; }
}

/* =============================================================
   ADVANCED ANIMATIONS & SCROLL EFFECTS (v2)
   ============================================================= */

/* ---------- Hero Contact Form (in-page) ---------- */
.hero-contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  animation: slideInRight 0.8s var(--ease-out-expo) 0.5s both;
}
.hero-contact-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,134,222,0.08) 0%, transparent 50%, rgba(0,180,216,0.05) 100%);
  pointer-events: none;
}
.hero-contact-form > * { position: relative; z-index: 1; }
.hero-contact-form h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.hero-contact-form p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.hero-contact-form .hcf-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s var(--ease-smooth);
  margin-bottom: 12px;
  font-family: inherit;
}
.hero-contact-form .hcf-input::placeholder { color: rgba(255,255,255,0.4); }
.hero-contact-form .hcf-input:focus {
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 0 3px rgba(46,134,222,0.2);
  background: rgba(255,255,255,0.1);
}
.hero-contact-form .hcf-input-wrap {
  position: relative;
}
.hero-contact-form .hcf-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}
.hero-contact-form .hcf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-contact-form .hcf-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s var(--ease-smooth);
  margin-bottom: 12px;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.hero-contact-form .hcf-select option { background: #0a1628; color: #fff; }
.hero-contact-form .hcf-select:focus {
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 0 3px rgba(46,134,222,0.2);
}
.hero-contact-form .hcf-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FF6B35, #FF8C42);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(255,107,53,0.4);
  position: relative;
  overflow: hidden;
}
.hero-contact-form .hcf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,53,0.5);
}
.hero-contact-form .hcf-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}
.hero-contact-form .hcf-btn:hover::after { transform: translateX(100%); }
.hero-contact-form .hcf-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.hero-contact-form .hcf-trust svg { color: var(--color-green); flex-shrink: 0; }

/* ---------- Before/After Gallery ---------- */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.ba-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}
.ba-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d);
}
.ba-comparison {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}
.ba-comparison .ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-comparison .ba-after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
  transition: width 0.1s linear;
}
.ba-comparison .ba-after-wrap .ba-img { position: relative; width: 100%; height: 100%; }
.ba-comparison .ba-label {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  background: rgba(10,22,40,0.8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.ba-comparison .ba-label-before { left: 14px; background: rgba(231,76,60,0.9); }
.ba-comparison .ba-label-after { right: 14px; background: rgba(46,204,113,0.9); }
.ba-comparison .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.ba-comparison .ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.ba-comparison .ba-handle::before {
  content: '⇄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  color: #2E86DE;
  z-index: 1;
  font-weight: 900;
}
.ba-info {
  padding: 22px 24px;
}
.ba-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}
.ba-info p {
  font-size: 0.88rem;
  color: var(--color-text-medium);
  line-height: 1.6;
  margin-bottom: 12px;
}
.ba-info .ba-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}
.ba-info .ba-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text-light);
}
.ba-info .ba-meta strong { color: var(--color-text-dark); }

/* ===== Before/After — professional + mobile-friendly enhancements ===== */
.ba-comparison .ba-img {
  will-change: auto;
  background: #eef2f7;
}
.ba-comparison .ba-after-wrap { will-change: width; }
.ba-comparison .ba-handle { touch-action: none; }
.ba-comparison:focus-visible { outline: 3px solid var(--color-blue-accent, #2E86DE); outline-offset: 2px; }
/* subtle hint that the slider is draggable */
.ba-drag-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  z-index: 4; padding: 5px 12px; border-radius: 100px;
  background: rgba(10,22,40,0.72); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em; pointer-events: none; display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(6px); transition: opacity 0.4s ease;
}
.ba-comparison.ba-touched .ba-drag-hint { opacity: 0; }
@media (max-width: 640px) {
  .ba-gallery { grid-template-columns: 1fr; gap: 18px; }
  .ba-comparison .ba-handle::after { width: 40px; height: 40px; }
  .ba-info { padding: 16px 18px; }
  .ba-info h3 { font-size: 1.05rem; }
  .ba-info .ba-meta { gap: 10px; font-size: 0.74rem; }
}

/* ===== Before/After — professional upgrade (no design change, polish only) ===== */
/* Card: subtle gradient ring + deeper shadow on hover, badge for the result */
.ba-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(46,134,222,0.10);
}
.ba-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-xl);
  padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
  background: linear-gradient(135deg, rgba(46,134,222,0.5), rgba(0,180,216,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ba-card:hover::after { opacity: 1; }

/* Comparison: crisper, smoother, with a soft inner vignette so labels pop */
.ba-comparison {
  background: #0a1628;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.ba-comparison::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(10,22,40,0.25);
}
.ba-comparison .ba-img {
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.ba-comparison .ba-after-wrap {
  transition: width 0.08s linear;
  will-change: width;
  box-shadow: 4px 0 16px rgba(0,0,0,0.25);
}

/* Handle: gradient bar + glowing knob with dual chevrons */
.ba-comparison .ba-handle {
  background: linear-gradient(180deg, #ffffff, #eaf4ff);
  box-shadow: 0 0 0 1px rgba(46,134,222,0.25), 0 0 24px rgba(46,134,222,0.35);
}
.ba-comparison .ba-handle::after {
  background: linear-gradient(135deg, #2e86de, #00b4d8);
  box-shadow: 0 4px 18px rgba(46,134,222,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
  width: 48px; height: 48px;
}
.ba-comparison .ba-handle::before {
  content: '';
  width: 22px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3Cpolyline points='9 18 3 12 9 6'/%3E%3C/svg%3E");
  font-size: 0; z-index: 2;
}

/* Labels: pill with colored dot + blur, more legible */
.ba-comparison .ba-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; font-size: 0.7rem; letter-spacing: 0.12em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ba-comparison .ba-label::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}
.ba-comparison .ba-label-before { background: linear-gradient(135deg, rgba(231,76,60,0.95), rgba(229,90,40,0.95)); }
.ba-comparison .ba-label-after { background: linear-gradient(135deg, rgba(46,204,113,0.95), rgba(39,174,96,0.95)); }

/* Info: tag row + accent rule */
.ba-info { border-top: 3px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #2e86de, #00b4d8); background-origin: border-box; background-clip: padding-box, border-box; }
.ba-info h3 { display: flex; align-items: center; gap: 8px; }
.ba-info h3::before { content: ''; width: 6px; height: 18px; border-radius: 3px; background: linear-gradient(180deg, #2e86de, #00b4d8); }
.ba-info .ba-meta {
  padding-top: 10px; margin-top: 10px; border-top: 1px dashed var(--color-border, #e2e8f0);
}
.ba-info .ba-meta span {
  background: #f4f8fc; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(46,134,222,0.08);
}
.ba-info .ba-meta strong { color: var(--color-blue-accent, #2E86DE); }

/* Drag hint: glowing pill */
.ba-drag-hint {
  background: linear-gradient(135deg, rgba(46,134,222,0.92), rgba(0,180,216,0.92));
  box-shadow: 0 6px 20px rgba(46,134,222,0.45);
}

/* ===== Shared "Proudly Serving" service-areas band ===== */
.svc-areas-band { background: var(--color-off-white, #f4f7fb); position: relative; overflow: hidden; }
.svc-areas-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(46,134,222,0.10) 1px, transparent 1px);
  background-size: 24px 24px; pointer-events: none;
}
.svc-areas-inner { position: relative; }
.svc-areas-band .cities-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 10px; max-width: 900px; margin: 8px auto 0;
}
.svc-areas-band .city-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 12px; background: #fff; border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 999px; color: var(--color-text-medium, #4a5568);
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.svc-areas-band .city-chip svg { flex-shrink: 0; color: var(--color-blue-accent, #2E86DE); transition: transform 0.22s ease; }
.svc-areas-band .city-chip:hover {
  border-color: var(--color-blue-accent, #2E86DE); color: var(--color-blue-accent, #2E86DE);
  transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(46,134,222,0.5);
}
.svc-areas-band .city-chip:hover svg { transform: scale(1.2) translateY(-1px); }
.svc-areas-cta { text-align: center; margin-top: 26px; }
@media (max-width: 900px) { .svc-areas-band .cities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .svc-areas-band .cities-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- Service Image Showcase ---------- */
.service-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-3d);
}
.service-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.service-showcase:hover img {
  transform: scale(1.08);
}
.service-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.7) 100%);
  pointer-events: none;
}
.service-showcase .ss-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: var(--svc-color, var(--color-blue-accent));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.service-showcase .ss-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  z-index: 2;
}
.service-showcase .ss-caption h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.service-showcase .ss-caption p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ---------- Advanced Scroll Animations ---------- */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
[data-animate="fade-up"].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
[data-animate="fade-left"].in-view {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
[data-animate="fade-right"].in-view {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="zoom-in"] {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
[data-animate="zoom-in"].in-view {
  opacity: 1;
  transform: scale(1);
}

[data-animate="flip"] {
  opacity: 0;
  transform: perspective(800px) rotateY(20deg);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
[data-animate="flip"].in-view {
  opacity: 1;
  transform: perspective(800px) rotateY(0);
}

[data-animate="slide-up-stagger"] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
[data-animate="slide-up-stagger"].in-view > * {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="slide-up-stagger"].in-view > *:nth-child(1) { transition-delay: 0s; }
[data-animate="slide-up-stagger"].in-view > *:nth-child(2) { transition-delay: 0.1s; }
[data-animate="slide-up-stagger"].in-view > *:nth-child(3) { transition-delay: 0.2s; }
[data-animate="slide-up-stagger"].in-view > *:nth-child(4) { transition-delay: 0.3s; }
[data-animate="slide-up-stagger"].in-view > *:nth-child(5) { transition-delay: 0.4s; }
[data-animate="slide-up-stagger"].in-view > *:nth-child(6) { transition-delay: 0.5s; }
[data-animate="slide-up-stagger"].in-view > *:nth-child(7) { transition-delay: 0.6s; }
[data-animate="slide-up-stagger"].in-view > *:nth-child(8) { transition-delay: 0.7s; }

/* ---------- Count-up animation for stats ---------- */
.stat-item[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.stat-item[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Card hover lift ---------- */
.card-lift {
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

/* ---------- Icon bounce on hover ---------- */
.icon-bounce {
  transition: transform 0.3s var(--ease-spring);
}
.icon-bounce:hover {
  transform: scale(1.15) rotate(-5deg);
}

/* ---------- Gradient text shimmer ---------- */
.shimmer-text {
  background: linear-gradient(90deg, #2E86DE, #00B4D8, #48CAE4, #2E86DE);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerMove 3s linear infinite;
}
@keyframes shimmerMove {
  to { background-position: 200% center; }
}

/* ---------- Parallax floating elements ---------- */
.float-element {
  animation: gentleFloat 4s ease-in-out infinite;
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* ---------- Button ripple effect ---------- */
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}
@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

/* ---------- Service card 3D tilt ---------- */
.service-card-3d {
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  transform-style: preserve-3d;
}
.service-card-3d:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

/* ---------- Glow border animation ---------- */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #2E86DE, #00B4D8, #2E86DE);
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  animation: gradientBorderFlow 3s linear infinite;
}
.glow-border:hover::before {
  opacity: 1;
}

/* ---------- Animated counter glow ---------- */
.stat-num {
  position: relative;
}
.stat-num::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(46,134,222,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}
.stat-item:hover .stat-num::after {
  opacity: 1;
}

/* ---------- Progress bar scroll indicator ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2E86DE, #00B4D8, #FF6B35);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(46,134,222,0.5);
}

/* ---------- Section divider wave ---------- */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}
.wave-divider svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: var(--color-off-white);
}
.wave-divider.flip svg { transform: rotate(180deg); }

/* ---------- Animated gradient background ---------- */
.gradient-bg-animated {
  background: linear-gradient(135deg, #0a1628, #1e3a5f, #2e86de, #1e3a5f, #0a1628);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Pulse ring ---------- */
.pulse-ring {
  position: relative;
}
.pulse-ring::before, .pulse-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--color-blue-accent);
  animation: pulseRingExpand 2s ease-out infinite;
  pointer-events: none;
}
.pulse-ring::after {
  animation-delay: 1s;
}
@keyframes pulseRingExpand {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* ---------- Typing cursor ---------- */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--color-blue-accent);
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- Sticky CTA bar (mobile) ---------- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px;
  display: none;
  z-index: 9000;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(10,22,40,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sticky-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}
.sticky-cta-bar .cta-call {
  background: linear-gradient(135deg, #2E86DE, #00B4D8);
  color: #fff;
}
.sticky-cta-bar .cta-quote {
  background: linear-gradient(135deg, #FF6B35, #FF8C42);
  color: #fff;
}
@media (max-width: 768px) {
  .sticky-cta-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ---------- Floating action menu ---------- */
.fab-menu {
  position: fixed;
  bottom: 100px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9997;
}
.fab-menu-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: scale(0);
}
.fab-menu.open .fab-menu-item {
  opacity: 1;
  transform: scale(1);
}
.fab-menu.open .fab-menu-item:nth-child(1) { transition-delay: 0s; }
.fab-menu.open .fab-menu-item:nth-child(2) { transition-delay: 0.05s; }
.fab-menu.open .fab-menu-item:nth-child(3) { transition-delay: 0.1s; }
.fab-menu-item:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-card-hover);
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 768px) {
  .hero-contact-form { padding: 24px 20px; }
  .hero-contact-form .hcf-row { grid-template-columns: 1fr; }
  .ba-gallery { grid-template-columns: 1fr; }
  .ba-comparison { aspect-ratio: 1 / 1; }
}

/* =============================================================
   UNIQUE 3D HEROES — Different layout per service page
   Inspired by homepage hero but with unique variations
   ============================================================= */

/* ---------- Hero Split Layout (Plumbing, Heat Pumps) ---------- */
.page-hero-split {
  min-height: max(90vh, 720px);
  display: flex;
  align-items: center;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-split-grid-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

/* ---------- Hero Centered Layout (Windows, Cooling, Water Heaters) ---------- */
.page-hero-centered {
  min-height: max(90vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-centered-content {
  position: relative;
  z-index: 2;
}

/* ---------- 3D Hero Title ---------- */
.hero-h1-3d {
  font-size: var(--font-size-h1);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  perspective: 800px;
}
.hero-h1-3d .grad-3d {
  display: block;
  background: linear-gradient(135deg, var(--svc-color, #4A9AE8) 0%, var(--svc-color-2, #00B4D8) 50%, var(--svc-color, #48CAE4) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShimmer 4s linear infinite;
  margin-top: 6px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}

/* ---------- Hero Visual Orbit (3D rotating image) ---------- */
.hero-visual-3d {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.hero-image-orbit {
  position: relative;
  width: min(440px, 90%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: orbitTilt 8s ease-in-out infinite;
}
@keyframes orbitTilt {
  0%, 100% { transform: rotateY(-8deg) rotateX(3deg); }
  50% { transform: rotateY(8deg) rotateX(-2deg); }
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--svc-color, #2E86DE);
  opacity: 0.2;
  pointer-events: none;
}
.orbit-ring-1 {
  width: 100%; height: 100%;
  animation: orbitSpin 20s linear infinite;
  border-style: dashed;
}
.orbit-ring-2 {
  width: 85%; height: 85%;
  animation: orbitSpinReverse 15s linear infinite;
  border-color: var(--svc-color-2, #00B4D8);
  opacity: 0.3;
}
.orbit-ring-3 {
  width: 70%; height: 70%;
  animation: orbitSpin 10s linear infinite;
  border-color: var(--svc-color, #2E86DE);
  opacity: 0.15;
}
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

/* Hero image container */
.hero-image-container {
  width: 60%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.hero-image-orbit:hover .hero-image-container img {
  transform: scale(1.08);
}

/* Orbit floating badges */
.orbit-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.orbit-badge-1 {
  top: 5%;
  right: -10%;
  animation: floatBadge 4s ease-in-out infinite;
}
.orbit-badge-2 {
  bottom: 15%;
  left: -15%;
  animation: floatBadge 5s ease-in-out infinite 0.5s;
}
.orbit-badge-3 {
  bottom: -5%;
  right: 10%;
  animation: floatBadge 4.5s ease-in-out infinite 1s;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ---------- Animated Hero Shapes ---------- */
.hero-shape {
  pointer-events: none;
  z-index: 1;
}
@keyframes rotate3d {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes float3d {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}
@keyframes pulse3d {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ---------- Hero Wave Divider ---------- */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

/* ---------- 3D Button Effect ---------- */
.btn-3d {
  position: relative;
  transform-style: preserve-3d;
  box-shadow: 0 6px 0 rgba(0,0,0,0.2), 0 8px 24px rgba(255,107,53,0.4);
}
.btn-3d:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(0,0,0,0.2), 0 12px 32px rgba(255,107,53,0.5);
}
.btn-3d:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.2), 0 4px 12px rgba(255,107,53,0.4);
}

/* ---------- Floating Hero Image (Centered layout) ---------- */
.hero-floating-image {
  position: relative;
  z-index: 2;
}
.hero-floating-image img {
  animation: heroCardFloat 5s ease-in-out infinite;
}
@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* ---------- Responsive Hero Adjustments ---------- */
@media (max-width: 900px) {
  .hero-split-grid, .hero-split-grid-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual-3d { order: -1; }
  .hero-image-orbit { width: min(320px, 80%); }
  .page-hero-split, .page-hero-centered {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
@media (max-width: 480px) {
  .hero-image-orbit { width: min(260px, 85%); }
  .orbit-badge { font-size: 0.7rem; padding: 8px 12px; }
  .orbit-badge-1 { right: -5%; }
  .orbit-badge-2 { left: -5%; }
}

/* =============================================================
   PAGE-SPECIFIC HERO VISUALS (About / Contact / Service Areas)
   ============================================================= */

/* ---------- About: glass stats panel ---------- */
.about-hero-panel {
  width: min(420px, 92%);
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 26px;
  box-shadow: 0 40px 90px rgba(7,15,30,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  overflow: hidden;
  animation: heroCardFloat 9s ease-in-out infinite;
}
.about-hero-panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #1E3A5F 0%, #2E86DE 100%);
  color: #fff; font-weight: 800; font-size: 0.92rem;
}
.about-hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.08);
}
.about-hero-stat {
  background: rgba(10,20,38,0.55);
  padding: 22px 18px; text-align: center;
}
.about-hero-stat .ahs-num {
  display: block; font-size: 2rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #4A9AE8, #48CAE4);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.about-hero-stat .ahs-label {
  display: block; color: rgba(255,255,255,0.65); font-size: 0.76rem; font-weight: 600;
}
.about-hero-foot {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 22px; color: rgba(255,255,255,0.7); font-size: 0.8rem;
}
.about-hero-foot .ahs-pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--color-green, #2ECC71);
  flex-shrink: 0; animation: greenPulse 1.5s infinite;
}

/* ---------- Contact: glass contact-methods panel ---------- */
.contact-hero-panel {
  width: min(420px, 92%);
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 26px; padding: 12px;
  box-shadow: 0 40px 90px rgba(7,15,30,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  animation: heroCardFloat 9s ease-in-out infinite;
}
.contact-hero-panel-head {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px 14px; color: rgba(255,255,255,0.75); font-size: 0.8rem; font-weight: 600;
}
.contact-hero-panel-head .chp-live {
  width: 9px; height: 9px; border-radius: 50%; background: #2ECC71;
  animation: greenPulse 1.5s infinite;
}
.contact-hero-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 16px; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
a.contact-hero-row:hover { background: rgba(255,255,255,0.07); transform: translateX(3px); }
.contact-hero-row .chp-ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
}
.contact-hero-row .chp-txt { display: flex; flex-direction: column; }
.contact-hero-row .chp-txt strong { color: #fff; font-size: 1.02rem; font-weight: 800; }
.contact-hero-row .chp-txt small { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

/* ---------- Service Areas: floating city chips ---------- */
.areas-hero-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 620px; margin: 4px auto 28px;
}
.areas-chip {
  padding: 8px 15px; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 600;
  backdrop-filter: blur(6px); transition: transform 0.2s, background 0.2s;
}
.areas-chip:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }
.areas-chip-core {
  background: linear-gradient(135deg, rgba(0,180,216,0.25), rgba(46,134,222,0.18));
  border-color: rgba(72,202,228,0.45); color: #fff;
}
@media (max-width: 900px) {
  .about-hero-panel, .contact-hero-panel { margin: 0 auto; }
}

/* =============================================================
   ENHANCED SERVICE CARDS (for homepage)
   ============================================================= */
.service-card-v2 {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card-v2:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 80px rgba(10,22,40,0.2);
  border-color: var(--svc-color, var(--color-blue-accent));
}
.service-card-v2 .scv-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--svc-color, #2E86DE)22, var(--color-navy)22);
}
.service-card-v2 .scv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.service-card-v2:hover .scv-image img {
  transform: scale(1.12);
}
.service-card-v2 .scv-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.4) 100%);
  pointer-events: none;
}
.service-card-v2 .scv-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: var(--svc-color, var(--color-blue-accent));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.service-card-v2 .scv-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-v2 .scv-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}
.service-card-v2 .scv-desc {
  color: var(--color-text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.service-card-v2 .scv-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.service-card-v2 .scv-feature {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-light);
  padding: 4px 10px;
  background: var(--color-off-white);
  border-radius: 100px;
}
.service-card-v2 .scv-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.service-card-v2 .scv-price {
  font-size: 0.82rem;
  color: var(--color-text-light);
}
.service-card-v2 .scv-price strong {
  color: var(--svc-color, var(--color-blue-accent));
  font-size: 1.1rem;
  font-weight: 800;
}
.service-card-v2 .scv-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--svc-color, var(--color-blue-accent));
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.service-card-v2 .scv-link:hover {
  gap: 8px;
}

/* =============================================================
   ACCESSIBILITY ENHANCEMENTS (added during security/upgrade pass)
   - Honors prefers-reduced-motion: disables all animations &
     transitions for users who request reduced motion.
   - Targeted contrast lifts for muted text on dark backgrounds
     to meet WCAG AA (4.5:1) without altering the visual design
     language.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .particle, .login-particle, .hero-particle, [class*="particle"] { display: none !important; }
}

/* Contrast lifts (subtle — keeps the design, meets AA on dark sections) */
.breadcrumb,
.breadcrumb a { color: rgba(255, 255, 255, 0.82); }
.breadcrumb .sep { opacity: 0.7; }
.topbar a { color: rgba(255, 255, 255, 0.9); }
.footer-bottom,
.footer-bottom a { color: rgba(255, 255, 255, 0.82); }
.footer-contact-item .label { color: rgba(255, 255, 255, 0.78); }

/* =============================================================
   MOBILE RESPONSIVENESS FIXES (comprehensive pass)
   - Prevents horizontal overflow from the live activity ticker
     (the marquee row with nowrap children that extends beyond
     the viewport on small screens).
   - Seasonal Deals cards stack cleanly on mobile.
   - General touch-target + spacing improvements for <640px.
   No desktop design changes.
   ============================================================= */

/* ---- Global overflow guard ---- */
html, body { max-width: 100%; }
body { overflow-x: hidden; }
* { max-width: 100%; }
img, svg, video, canvas, iframe { max-width: 100%; }

/* Hide the live activity ticker marquee on mobile (it overflows) */
@media (max-width: 900px) {
  .ticker-desktop { display: none !important; }
  /* hide any element whose inline style references tickerScroll (the live activity marquee) */
  [style*="tickerScroll"] { display: none !important; }
  /* also hide the topbar's live-activity wrapper which can overflow on mobile */
  .topbar [style*="white-space:nowrap"], .topbar [style*="white-space: nowrap"] { display: none !important; }
}

/* ---- Seasonal Deals mobile ---- */
@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .offer-card, .deal-card, .offers-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  /* countdown timer: compact */
  [style*="display: inline-flex"][style*="flex-direction: row"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* ---- Service cards mobile ---- */
@media (max-width: 640px) {
  .services-grid, .svc-grid, .stats-grid, .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .service-card .svc-img-wrap,
  .service-card [style*="aspect-ratio"] {
    aspect-ratio: 16 / 10 !important;
  }
}

/* ---- Topbar + nav mobile ---- */
@media (max-width: 768px) {
  .topbar { font-size: 0.72rem; height: auto; min-height: 36px; padding: 6px 0; }
  .topbar .container { flex-wrap: wrap; gap: 6px; }
  .topbar-left, .topbar-right { gap: 10px; flex-wrap: wrap; }
  .topbar .topbar-divider { display: none; }
  .nav { min-height: 60px; }
  .nav-logo .brand-name { font-size: 1rem; }
  .nav-logo .brand-sub { font-size: 0.62rem; }
}

/* ---- Hero mobile ---- */
@media (max-width: 768px) {
  .hero-grid, .hero-orbit-wrap { gap: 16px !important; }
  .hero-orbit { display: none !important; } /* orbit chips overflow on small screens */
  .hero-contact-form { width: 100% !important; }
}

/* ---- CTA banner mobile ---- */
@media (max-width: 640px) {
  .cta-banner { padding: 28px 20px !important; text-align: center; }
  .cta-banner h2 { font-size: 1.4rem !important; }
  .cta-actions { flex-direction: column; gap: 10px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---- Before/After mobile ---- */
@media (max-width: 640px) {
  .ba-gallery { grid-template-columns: 1fr !important; gap: 18px !important; }
  .ba-comparison { aspect-ratio: 4 / 3 !important; }
  .ba-comparison .ba-handle::after { width: 40px; height: 40px; }
  .ba-info { padding: 16px 18px !important; }
  .ba-info h3 { font-size: 1.05rem !important; }
  .ba-info .ba-meta { gap: 8px !important; font-size: 0.72rem !important; flex-wrap: wrap; }
}

/* ---- Footer mobile ---- */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .fb-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ---- Tables / pricing mobile ---- */
@media (max-width: 640px) {
  .cost-table, table { display: block; overflow-x: auto; white-space: nowrap; max-width: 100%; }
  .cost-table thead, .cost-table tbody, .cost-table tr, .cost-table th, .cost-table td { display: table-cell; }
}

/* ---- Sticky CTA bar touch targets ---- */
@media (max-width: 640px) {
  .sticky-cta-bar { padding: 8px 12px; }
  .sticky-cta-bar .cta-call, .sticky-cta-bar .cta-quote { min-height: 44px; font-size: 0.85rem; }
}

/* ---- Floating buttons (chat + whatsapp) mobile spacing ---- */
@media (max-width: 640px) {
  .ai-chat-float, .whatsapp-float { width: 52px; height: 52px; bottom: 16px; }
  .ai-chat-float { right: 16px; }
  .whatsapp-float { left: 16px; }
  .ai-chat-window { width: calc(100vw - 24px) !important; right: 12px !important; left: 12px !important; bottom: 76px !important; max-height: 70vh !important; }
}

/* ---- Section spacing mobile ---- */
@media (max-width: 640px) {
  .section { padding: 48px 0 !important; }
  .section-header { margin-bottom: 32px !important; }
  .container { padding: 0 16px !important; }
  .section-title { font-size: 1.6rem !important; }
  .section-subtitle { font-size: 0.92rem !important; margin-bottom: 28px !important; }
}
