/* ==========================================================================
   IT VISUAL SOLUTIONS — STYLESHEET
   Modern, Dark Mode, High-Conversion Design System
   ========================================================================== */

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

:root {
  --bg-ink: #080B12;
  --bg-navy: #0D1320;
  --bg-card: rgba(13, 19, 32, 0.7);
  --bg-card-hover: rgba(20, 28, 46, 0.85);
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(37, 99, 235, 0.4);
  
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --cyan: #22D3EE;
  --cyan-glow: rgba(34, 211, 238, 0.25);
  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #22D3EE 100%);
  --gradient-text: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-ink);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  outline: none;
  border: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
  line-height: 1.2;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Background Grids & Ambient Glow */
.bg-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  height: 500px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.18) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid-pattern {
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.35s ease;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.navbar.scrolled {
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 24px var(--primary-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(13, 19, 32, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta-wrapper {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 32px var(--primary-glow);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-light);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Badges & Section Headings */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-heading-wrap {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-heading-wrap.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Homepage: cinematic website showcase */
.iv-hero {
  padding: clamp(7.5rem, 12vh, 9rem) 0 0;
  overflow: hidden;
  isolation: isolate;
  background: #080c16;
}
.iv-hero > .container { max-width: 1400px; padding-inline: clamp(1.5rem, 4vw, 4rem); }
.iv-hero [hidden] { display: none !important; }
.iv-hero-atmosphere { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.iv-hero-aura {
  position: absolute;
  inset: -15% -15% -5% 18%;
  background: radial-gradient(ellipse at 63% 45%, #15367f66 0%, transparent 49%),
    radial-gradient(ellipse at 80% 62%, #0daebc24 0%, transparent 40%),
    radial-gradient(ellipse at 35% 25%, #5c3cc120 0%, transparent 40%);
}
.iv-hero-grid-floor {
  position: absolute;
  width: 140%; height: 65%; left: -20%; bottom: -28%;
  background-image: linear-gradient(#648cd31c 1px, transparent 1px), linear-gradient(90deg, #648cd31c 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(480px) rotateX(58deg);
  -webkit-mask-image: radial-gradient(ellipse, #000, transparent 66%);
  mask-image: radial-gradient(ellipse, #000, transparent 66%);
}
.iv-hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.iv-hero-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 2rem; align-items: center; }
.iv-hero-content { position: relative; z-index: 2; padding-block: 1rem 2.5rem; }
.iv-hero-eyebrow { display: inline-flex; align-items: center; gap: .7rem; color: #b5cae6; font: 500 .65rem var(--font-mono); letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.65rem; }
.iv-hero-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #75e8ee; box-shadow: 0 0 14px #22d3ee88; }
#iv-hero-title { font-size: clamp(3.4rem, 5.25vw, 4.7rem); font-weight: 800; line-height: 1.07; letter-spacing: -.055em; }
.iv-hero-accent {
  color: #78d4fa;
  background: linear-gradient(100deg, #89aaff 5%, #62cafa 55%, #96f3df 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.iv-hero-desc { color: #a6b5cc; font-size: 1.03rem; line-height: 1.8; max-width: 435px; margin-top: 1.6rem; }
.iv-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }
.iv-hero-actions .btn-primary { gap: 1.5rem; background: linear-gradient(115deg, #3979f5, #2359df); border: 1px solid #6f9fff66; box-shadow: 0 6px 32px #2563eb35, inset 0 1px #ffffff24; }
.iv-hero-actions .btn-primary:hover { box-shadow: 0 8px 38px #2563eb65; }
.iv-hero-actions svg { width: 18px; height: 18px; }
.iv-hero-work-link { display: inline-flex; align-items: center; gap: .7rem; font-size: .875rem; padding-block: .75rem; color: #d1def1; }
.iv-hero-work-link:hover { color: #7ce8ef; }
.iv-hero-work-link > span { font-size: 1.3rem; }
.iv-hero-note { display: flex; align-items: center; gap: .8rem; margin-top: 2.3rem; font-size: .75rem; color: #c3d2e6; line-height: 1.7; }
.iv-hero-note p > span { color: #8295b2; }
.iv-hero-note-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #91b7ff24; border-radius: 50%; color: #8cb8ed; }
.iv-hero-note-icon svg { width: 22px; height: 22px; }
.iv-hero-bottom { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; min-height: 80px; padding-block: 1.2rem; margin-top: 1.25rem; border-top: 1px solid #94b9ef20; font-size: .7rem; color: #91a4c0; }
.iv-hero-bottom > p { display: flex; align-items: center; gap: .6rem; }
.iv-hero-bottom > p > span { color: #67d3e7; font-size: 1.1rem; }
.iv-hero-capabilities { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.iv-hero-capabilities b { color: #456082; font-weight: 400; }
.iv-hero-motion { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: .5rem; min-height: 44px; margin-right: 2.25rem; padding: .4rem .75rem; background: transparent; color: #a4b6d0; font-size: .7rem; cursor: pointer; border: 1px solid #8eaad52b; border-radius: 30px; }
.iv-hero-motion:hover { background: #172740; color: white; }
.iv-hero-motion-icon { width: 9px; height: 10px; border-inline: 2px solid currentColor; }
.iv-hero-motion[aria-pressed="true"] .iv-hero-motion-icon { width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.iv-hero :is(a, button):focus-visible { outline: 2px solid #89efff; outline-offset: 5px; }

/* The scene is CSS 3D: no WebGL bundle or blocking animation loader. */
.iv-hero-showcase { min-width: 0; width: 100%; margin: 0; }
.iv-hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18;
  perspective: 1300px;
}
.iv-hero-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--iv-tilt-x, 0deg)) rotateY(var(--iv-tilt-y, 0deg));
  transition: transform .35s ease-out;
}
.iv-hero-coordinate {
  position: absolute;
  top: 7%; right: 1%;
  font: .56rem var(--font-mono);
  letter-spacing: .14em;
  color: #8aa9cf;
}
.iv-hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid #76a8ff26;
  box-shadow: 0 0 22px #4d8afa09, inset 0 0 22px #4d8afa09;
}
.iv-hero-orbit--outer { inset: 9% -8% 10% -4%; transform: rotate(-32deg); }
.iv-hero-orbit--inner { inset: 21% -9% 22% -6%; transform: rotate(28deg); border-color: #74dae520; }
.iv-hero-orbit::before {
  content: '';
  position: absolute;
  top: 18%; left: 12%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #81cdeb;
  box-shadow: 0 0 16px #6ccbf4;
}
.iv-hero-layer { position: absolute; }
.iv-hero-code {
  top: 3%; left: 5%; width: 60%;
  padding: 13px 17px;
  border: 1px solid #769ce73b;
  border-radius: 12px;
  background: linear-gradient(135deg, #14203a, #101728);
  box-shadow: 0 20px 50px #0005;
  transform: rotateX(-9deg) rotateY(-12deg) rotateZ(-8deg) translateZ(-35px);
  --iv-enter-x: -30px; --iv-enter-y: -24px;
}
.iv-hero-code-heading { display: flex; justify-content: space-between; gap: 5px; color: #93acd1; font: .53rem var(--font-mono); border-bottom: 1px solid #7e9ab524; padding-bottom: 10px; }
.iv-hero-code pre { margin: 12px 0; overflow: hidden; color: #c9d7ed; }
.iv-hero-code code { font: .64rem/1.9 var(--font-mono); }
.iv-code-purple { color: #b7a0f8; }
.iv-code-cyan { color: #79dfdf; }
.iv-hero-code-footer { display: flex; gap: 6px; align-items: center; color: #87a9c9; font: .46rem var(--font-mono); }
.iv-hero-code-footer > span { width: 4px; height: 4px; border-radius: 50%; background: #75ddaf; }
.iv-hero-blueprint {
  top: 26%; left: 5%; width: 84%; height: 50%;
  border: 1px solid #4e9dde66;
  border-radius: 14px;
  background: linear-gradient(90deg, #6092e314 1px, transparent 1px), linear-gradient(#6092e314 1px, transparent 1px), #0b183166;
  background-size: 26px 26px;
  transform: rotateX(9deg) rotateY(-14deg) rotateZ(-9deg) translateZ(-15px);
  --iv-enter-x: -20px; --iv-enter-y: 20px;
}
.iv-hero-blueprint > span { position: absolute; bottom: 8px; left: 14px; color: #68a1c7; font: .45rem var(--font-mono); letter-spacing: .13em; }
.iv-hero-browser {
  top: 26%; left: 7%; width: 85%;
  border: 1px solid #87afea80;
  border-radius: 13px;
  background: #101a2c;
  overflow: hidden;
  box-shadow: 0 28px 55px #0007, 0 0 35px #377af923, inset 0 1px #ffffff24;
  transform: rotateX(9deg) rotateY(-14deg) rotateZ(-4deg) translateZ(25px);
  --iv-enter-x: 0px; --iv-enter-y: 45px;
}
.iv-hero-browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #253551, #1a263c);
  border-bottom: 1px solid #ffffff19;
}
.iv-hero-browser-bar svg { width: 11px; height: 11px; flex-shrink: 0; color: #8faacc; }
.iv-hero-browser-dots { display: flex; gap: 4px; }
.iv-hero-browser-dots b { width: 6px; height: 6px; border-radius: 50%; background: #ff8a82; }
.iv-hero-browser-dots b:nth-child(2) { background: #efc56e; }
.iv-hero-browser-dots b:nth-child(3) { background: #7cd9ac; }
.iv-hero-browser-address {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 4px 6px;
  border: 1px solid #8dadd41c;
  border-radius: 5px;
  background: #080f205c;
  color: #bfcee4;
  font: .52rem var(--font-mono);
}
.iv-hero-browser-screen { aspect-ratio: 1852 / 901; overflow: hidden; background: #162138; }
.iv-hero-browser-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.iv-hero-browser-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; color: #a9bfdc; font: .47rem var(--font-mono); }
.iv-hero-browser-footer > span:first-child { display: flex; align-items: center; gap: 6px; }
.iv-hero-browser-footer b { width: 4px; height: 4px; background: #73ddc2; border-radius: 50%; }
.iv-hero-phone {
  top: 42%; right: 5%; width: 22%;
  aspect-ratio: .48;
  padding: 8% 7px 9px;
  border: 3px solid #4b607c;
  border-radius: 25px;
  background: linear-gradient(155deg, #182a49, #0b1222 65%);
  box-shadow: 12px 20px 35px #0009, inset 0 0 0 2px #0a101f, 0 0 25px #68d9f21a;
  transform: translateZ(150px) rotateX(7deg) rotateY(-10deg) rotateZ(9deg);
  overflow: hidden;
  --iv-enter-x: 45px; --iv-enter-y: 25px;
}
.iv-hero-phone-speaker { position: absolute; top: 9px; left: 34%; width: 32%; height: 7px; border-radius: 8px; background: #050811; }
.iv-hero-phone-nav { position: absolute; top: 28px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; font-size: .6rem; color: #cde2ff; }
.iv-hero-phone-nav > span:first-child { font-weight: 800; letter-spacing: -.05em; }
.iv-hero-phone-nav > span > span { font-size: .35rem; vertical-align: top; margin-left: 2px; }
.iv-hero-phone-art {
  position: relative;
  width: 78%; aspect-ratio: 1;
  margin: 0 auto 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, #699be650, #10224f75 60%, #143052);
  box-shadow: inset -8px -8px 18px #050e2d, 0 0 20px #4d87ea35;
  display: grid; place-items: center;
}
.iv-hero-phone-art > span { position: absolute; inset: 8%; border: 1px solid #75dcff75; border-radius: 50%; transform: rotate(-30deg) scaleX(.4); }
.iv-hero-phone-art > span:nth-child(2) { transform: rotate(40deg) scaleX(.5); }
.iv-hero-phone-art > span:nth-child(3) { transform: rotate(100deg) scaleX(.6); }
.iv-hero-phone-art > b { font: 800 2rem var(--font-heading); letter-spacing: -.08em; color: #ccf3ff; z-index: 1; }
.iv-hero-phone-copy { padding-inline: 6px; }
.iv-hero-phone-copy > small { display: block; color: #8dc9df; font: .32rem var(--font-mono); letter-spacing: .05em; margin-bottom: 7px; }
.iv-hero-phone-copy > strong { display: block; font: 700 clamp(.8rem, 1.45vw, 1.25rem)/1.2 var(--font-heading); letter-spacing: -.04em; }
.iv-hero-phone-copy > span { display: block; margin-top: 10px; padding: 7px 4px; border-radius: 4px; background: #a8e4f5; color: #142236; font-size: .35rem; font-weight: 700; }
.iv-hero-phone-label { position: absolute; bottom: 10px; left: 0; right: 0; color: #9baec8; font-size: .38rem; text-align: center; }
.iv-hero-launch {
  bottom: 8%; left: 10%;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1px solid #6fa8c655;
  border-radius: 11px;
  background: linear-gradient(120deg, #182b3e, #101d31);
  box-shadow: 0 14px 32px #0005;
  transform: rotateZ(-4deg) translateZ(50px);
  --iv-enter-x: -20px; --iv-enter-y: 35px;
}
.iv-hero-launch-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #81efd3; background: #52d5b51a; border: 1px solid #52d5b53b; }
.iv-hero-launch-icon svg { width: 15px; height: 15px; }
.iv-hero-launch strong { display: block; font-size: .64rem; font-weight: 600; }
.iv-hero-launch div > span { display: block; font: .46rem var(--font-mono); color: #9ab2cc; margin-top: 5px; }
.iv-hero-launch-spark { color: #77e4e0; font-size: 1.25rem; margin-left: 5px; }
.iv-hero-showcase-caption {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin: 2.5rem 0 0 7%;
  padding-top: 1rem;
  border-top: 1px solid #779bcc29;
}
.iv-hero-project-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.iv-hero-label { font: .5rem var(--font-mono); letter-spacing: .13em; color: #93a9c6; text-transform: uppercase; }
.iv-hero-project-info strong { font-size: .75rem; font-weight: 500; color: #dfebfc; }
.iv-hero-project-category { display: inline-block; margin-left: .7rem; font-size: .6rem; color: #8ca4c5; }
.iv-hero-project-picker { display: flex; flex-shrink: 0; gap: 4px; }
.iv-hero-project-picker button {
  width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid transparent;
  background: transparent; color: #90a8ca;
  font: .65rem var(--font-mono);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.iv-hero-project-picker button:hover { background: #29497866; color: #fff; }
.iv-hero-project-picker button[aria-pressed="true"] { background: #203652; border-color: #7eaed96b; color: #a4eff5; }

/* Motion is opt-in through enhancement; a static scene remains without JS. */
.iv-hero[data-iv-enhanced="true"] .iv-hero-layer { animation: iv-hero-assemble 1.2s cubic-bezier(.16, 1, .3, 1) both; }
.iv-hero[data-iv-enhanced="true"] .iv-hero-browser { animation-delay: .12s; }
.iv-hero[data-iv-enhanced="true"] .iv-hero-phone { animation-delay: .25s; }
.iv-hero[data-iv-enhanced="true"] .iv-hero-launch { animation-delay: .4s; }
.iv-hero[data-iv-enhanced="true"] .iv-hero-scene { animation: iv-hero-drift 9s ease-in-out 1.6s infinite; }
.iv-hero[data-iv-enhanced="true"] .iv-hero-aura { animation: iv-hero-aura 16s ease-in-out infinite alternate; }
.iv-hero[data-iv-enhanced="true"] .iv-hero-orbit--outer { animation: iv-hero-orbit 22s ease-in-out infinite alternate; }
.iv-hero[data-iv-running="false"] :is(.iv-hero-layer, .iv-hero-scene, .iv-hero-aura, .iv-hero-orbit) { animation-play-state: paused; }
@keyframes iv-hero-assemble {
  from { opacity: 0; translate: var(--iv-enter-x, 0) var(--iv-enter-y, 30px); }
  to { opacity: 1; translate: 0 0; }
}
@keyframes iv-hero-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
@keyframes iv-hero-aura {
  from { transform: translate3d(-2%, 0, 0); opacity: .8; }
  to { transform: translate3d(3%, -3%, 0); opacity: 1; }
}
@keyframes iv-hero-orbit {
  from { rotate: -5deg; }
  to { rotate: 9deg; }
}
@media (min-width: 1051px) and (max-width: 1200px) {
  .iv-hero-layout { gap: 1rem; }
  .iv-hero-actions { gap: 1rem; }
  .iv-hero-actions .btn-primary { padding-inline: 1.25rem; gap: .75rem; }
  .iv-hero-project-category { display: block; margin-left: 0; }
}
@media (max-width: 1050px) {
  .iv-hero { padding-top: 8rem; }
  .iv-hero-layout { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .iv-hero-content { text-align: center; padding-bottom: 1rem; }
  #iv-hero-title { font-size: clamp(3.5rem, 8vw, 5rem); }
  .iv-hero-desc { margin-inline: auto; max-width: 490px; }
  .iv-hero-actions, .iv-hero-note { justify-content: center; }
  .iv-hero-note { text-align: left; margin-top: 1.7rem; }
  .iv-hero-showcase { max-width: 660px; margin: 1rem auto 0; }
  .iv-hero-phone-copy > strong { font-size: 1.25rem; }
  .iv-hero-aura { inset: 20% -40% 0 -40%; }
  .iv-hero-capabilities { display: none; }
  .iv-hero-motion { margin-left: auto; }
}
@media (max-width: 600px) {
  .iv-hero { padding-top: 7rem; }
  .iv-hero > .container { padding-inline: 1.25rem; }
  .iv-hero-eyebrow { font-size: .57rem; letter-spacing: .1em; margin-bottom: 1.3rem; }
  #iv-hero-title { font-size: clamp(2.8rem, 11.5vw, 4rem); }
  .iv-hero-desc { font-size: .95rem; line-height: 1.75; margin-top: 1.25rem; }
  .iv-hero-actions { gap: 1rem; margin-top: 1.5rem; }
  .iv-hero-actions .btn-primary { padding: .85rem 1.15rem; gap: .6rem; font-size: .8rem; }
  .iv-hero-work-link { font-size: .8rem; }
  .iv-hero-note { display: none; }
  .iv-hero-stage { aspect-ratio: 1.08; }
  .iv-hero-coordinate { top: 5%; right: 0; font-size: .4rem; }
  .iv-hero-code { top: 7%; left: 3%; width: 67%; padding: 9px 11px; }
  .iv-hero-code-heading { font-size: .35rem; padding-bottom: 6px; }
  .iv-hero-code code { font-size: .42rem; line-height: 1.7; }
  .iv-hero-code pre { margin-block: 7px; }
  .iv-hero-code-footer { font-size: .3rem; }
  .iv-hero-browser { top: 30%; left: 3%; width: 88%; border-radius: 8px; }
  .iv-hero-blueprint { top: 31%; left: 3%; height: 47%; }
  .iv-hero-browser-bar { gap: 6px; padding: 6px 7px; }
  .iv-hero-browser-address { font-size: .35rem; padding: 3px; }
  .iv-hero-browser-dots { gap: 3px; }
  .iv-hero-browser-dots b { width: 4px; height: 4px; }
  .iv-hero-browser-bar svg { width: 8px; height: 8px; }
  .iv-hero-browser-footer { padding: 6px 8px; font-size: .3rem; }
  .iv-hero-phone { top: 43%; right: 6%; width: 24%; border-radius: 16px; border-width: 2px; padding: 10% 5px 6px; }
  .iv-hero-phone-speaker { top: 6px; height: 5px; }
  .iv-hero-phone-nav { top: 17px; left: 8px; right: 8px; font-size: .4rem; }
  .iv-hero-phone-art { margin-bottom: 8%; }
  .iv-hero-phone-art > b { font-size: 1.2rem; }
  .iv-hero-phone-copy { padding-inline: 3px; }
  .iv-hero-phone-copy > small { font-size: .21rem; margin-bottom: 4px; }
  .iv-hero-phone-copy > strong { font-size: .7rem; }
  .iv-hero-phone-copy > span { font-size: .23rem; margin-top: 5px; padding: 4px 2px; }
  .iv-hero-phone-label { bottom: 7px; font-size: .25rem; }
  .iv-hero-launch { bottom: 4%; left: 5%; padding: 8px 10px; gap: 7px; }
  .iv-hero-launch-icon { width: 24px; height: 24px; }
  .iv-hero-launch strong { font-size: .5rem; }
  .iv-hero-launch div > span { font-size: .34rem; }
  .iv-hero-launch-spark { font-size: .9rem; }
  .iv-hero-showcase-caption { margin: 1.5rem 0 0; gap: .5rem; }
  .iv-hero-label { font-size: .43rem; letter-spacing: .08em; }
  .iv-hero-project-info strong { font-size: .7rem; }
  .iv-hero-project-category { display: block; margin-left: 0; font-size: .56rem; }
  .iv-hero-project-picker { gap: 0; }
  .iv-hero-bottom { flex-direction: column; justify-content: center; gap: .65rem; margin-top: 2rem; }
  .iv-hero-bottom > p { font-size: .6rem; text-align: center; }
  .iv-hero-motion { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .iv-hero[data-iv-enhanced="true"] :is(.iv-hero-layer, .iv-hero-scene, .iv-hero-aura, .iv-hero-orbit) { animation: none; }
  .iv-hero-scene { transform: none; transition: none; }
  .iv-hero :is(a, button) { transition: none; }
}
@media (forced-colors: active) {
  .iv-hero-accent { background: none; -webkit-text-fill-color: CanvasText; }
  .iv-hero-project-picker button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* Trust Strip */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  padding: 2.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.trust-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Infinite Marquee */
.marquee-wrap {
  overflow: hidden;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 19, 32, 0.5);
  display: flex;
  user-select: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.01em;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

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

/* Client Logos Infinite Marquee */
.clients-marquee {
  overflow: hidden;
  display: flex;
  padding: 1rem 0;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.clients-marquee-track {
  display: flex;
  flex-shrink: 0;
  animation: clients-marquee 36s linear infinite;
}

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

.clients-marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
}

.client-logo-item {
  width: 180px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.client-logo-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(37, 99, 235, 0.2);
}

.client-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

@media (max-width: 640px) {
  .client-logo-item {
    width: 150px;
    height: 72px;
    padding: 0.75rem 1rem;
  }
  .clients-marquee-group {
    gap: 1.75rem;
    padding-right: 1.75rem;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 99, 235, 0.12);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.8);
}

.deliverable-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.points-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.point-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.point-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
}

.point-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
}

.point-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.point-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.4);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(180deg, rgba(13, 19, 32, 0.6) 0%, rgba(8, 11, 18, 0.8) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-lbl {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Portfolio Cards & Filter */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 99, 235, 0.15);
}

.project-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-mockup-inner {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(13, 19, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
  gap: 0.5rem;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.project-cat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-industry {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.project-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Portfolio uploads and accessible image lightbox */
.portfolio-cover { display: block; padding: 0; background: var(--bg-ink); }
.portfolio-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.3s ease; }
.portfolio-cover:hover > img { transform: scale(1.04); }
.portfolio-image-count { position: absolute; right: 0.8rem; bottom: 0.8rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border-radius: 8px; background: rgba(8, 11, 18, 0.88); color: #fff; font-size: 0.75rem; }
.portfolio-image-count svg, .portfolio-visit svg { width: 16px; height: 16px; }
.portfolio-description { white-space: pre-line; overflow-wrap: anywhere; }
.portfolio-project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: auto; padding-top: 1.5rem; }
.portfolio-project-actions .btn { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
.portfolio-visit { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--cyan); font-size: 0.8rem; }
.portfolio-empty { text-align: center; color: var(--text-muted); padding: 3rem 1rem; }
.portfolio-empty[hidden], .pf-lightbox-control[hidden] { display: none; }
.pf-lightbox-open { overflow: hidden; }
.pf-lightbox { width: min(1100px, 94vw); max-width: 94vw; max-height: 94vh; margin: auto; padding: 1.25rem; border: 1px solid var(--border); border-radius: 18px; background: #080b12; color: #fff; box-shadow: 0 20px 80px #000; }
.pf-lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.pf-lightbox-header, .pf-lightbox-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pf-lightbox-header h2 { font-size: 1.1rem; overflow-wrap: anywhere; }
.pf-lightbox-control { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: #111827; color: #fff; cursor: pointer; }
.pf-lightbox-control:hover { background: var(--primary); }
.pf-lightbox-control:focus-visible, .portfolio-cover:focus-visible, .portfolio-visit:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.pf-lightbox-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 200px; margin: 1rem 0; }
.pf-lightbox-stage img { display: block; width: 100%; height: min(65vh, 720px); object-fit: contain; touch-action: pan-y pinch-zoom; }
.pf-lightbox-prev, .pf-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.pf-lightbox-prev { left: 0.25rem; }
.pf-lightbox-next { right: 0.25rem; }
.pf-lightbox-footer { font-size: 0.85rem; }
.pf-lightbox-footer a { color: var(--cyan); }
.pf-lightbox-help { text-align: center; color: var(--text-muted); font-size: 0.75rem; margin-top: 0.75rem; }
@media (max-width: 640px) {
  .pf-lightbox { padding: 0.75rem; }
  .pf-lightbox-stage img { height: 55vh; }
  .pf-lightbox-header h2 { font-size: 0.95rem; }
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-header {
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer-inner {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Reviews (Testimonials) Page */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
}

.reviews-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.reviews-stat-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
}

.reviews-stat-value svg.star {
  width: 20px;
  height: 20px;
  color: #FBBF24;
  fill: #FBBF24;
}

.reviews-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.review-write-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.review-write-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.review-write-link img {
  width: 16px;
  height: 16px;
}

.review-write-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.reviews-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Distinct from the portfolio .filter-btn so the two filter systems never clash */
.rv-filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.rv-filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.rv-filter-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 99, 235, 0.15);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.35);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-initial {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.reviewer-info {
  flex: 1;
  min-width: 0;
}

.reviewer-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 3px;
}

.review-stars svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.15);
}

.review-stars svg.filled {
  color: #FBBF24;
  fill: #FBBF24;
}

.review-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.review-source-badge img {
  width: 13px;
  height: 13px;
}

.review-source-google {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93C5FD;
}

.review-source-facebook {
  background: rgba(24, 119, 242, 0.12);
  border: 1px solid rgba(24, 119, 242, 0.35);
  color: #82AFFF;
}

.review-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.review-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.review-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.review-quote-icon {
  width: 18px;
  height: 18px;
  color: rgba(34, 211, 238, 0.4);
}

.reviews-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-subtle);
  font-size: 0.95rem;
}

.reviews-empty p {
  margin-top: 1rem;
}

/* Tech Stack Badges */
.tech-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tech-badge {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.tech-badge:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(6, 182, 212, 0.12) 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cta-banner--animated {
  --cta-motion-state: paused;
  isolation: isolate;
  padding: 2.5rem 3rem 2.5rem;
  background: radial-gradient(ellipse at 50% 110%, #123d72, transparent 65%), #080e20;
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 65px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-banner--animated[data-cta-running="true"] {
  --cta-motion-state: running;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cta-banner__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 900px;
}

/* Keep the brightest color at the edges and the copy on a dark center. */
.cta-banner__scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(8, 14, 32, 0.82) 8%, rgba(8, 14, 32, 0.48) 40%, transparent 75%);
}

.cta-banner__wave {
  position: absolute;
  width: 110%;
  height: 75%;
  left: -25%;
  bottom: -42%;
  border-radius: 42% 58% 64% 36% / 48% 42% 58% 52%;
  background: linear-gradient(125deg, transparent 12%, #2563eb 42%, #6366f1 62%, transparent 87%);
  box-shadow: 0 -18px 65px rgba(59, 130, 246, 0.3);
  filter: blur(24px);
  opacity: 0.85;
  transform: translate3d(0, -8%, 0) rotate(-14deg) scale(1.05);
  animation: cta-wave-flow 16s ease-in-out infinite alternate;
  animation-play-state: var(--cta-motion-state);
}

.cta-banner__wave--violet {
  left: 30%;
  bottom: 56%;
  height: 65%;
  background: linear-gradient(120deg, transparent 10%, #4338ca 40%, #a855f7 65%, transparent 90%);
  opacity: 0.6;
  animation-duration: 21s;
  animation-delay: -9s;
  animation-direction: alternate-reverse;
}

.cta-banner__wave--cyan {
  left: 20%;
  bottom: -51%;
  height: 78%;
  background: linear-gradient(115deg, transparent 15%, #2563eb 36%, #22d3ee 66%, transparent 88%);
  box-shadow: 0 -16px 55px rgba(34, 211, 238, 0.35);
  animation-duration: 19s;
  animation-delay: -6s;
}

.cta-banner__ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-top-color: rgba(224, 242, 254, 0.85);
  border-right-color: rgba(129, 140, 248, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12), inset 0 0 20px rgba(96, 165, 250, 0.08);
  transform: rotateX(62deg) rotateY(-20deg) rotateZ(0deg);
  animation: cta-ring-orbit 26s linear infinite;
  animation-play-state: var(--cta-motion-state);
}

.cta-banner__ring::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(165, 180, 252, 0.3);
  border-radius: inherit;
}

.cta-banner__ring::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  top: 14%;
  left: 14%;
  border-radius: 50%;
  background: #e0f2fe;
  box-shadow: 0 0 12px #22d3ee, 0 0 26px #2563eb;
}

.cta-banner__ring--left {
  left: -110px;
  bottom: -75px;
}

.cta-banner__ring--right {
  width: 300px;
  height: 300px;
  right: -80px;
  top: -50px;
  animation-direction: reverse;
  animation-duration: 32s;
  animation-delay: -8s;
}

.cta-banner__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-banner__particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #c4f1ff;
  box-shadow: 0 0 9px rgba(103, 232, 249, 0.8);
  opacity: 0.5;
  animation: cta-particle-float var(--duration) ease-in-out var(--delay) infinite;
  animation-play-state: var(--cta-motion-state);
}

.cta-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(165, 243, 252, 0.2);
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.6);
  color: #a5f3fc;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-banner__eyebrow svg {
  width: 15px;
  height: 15px;
}

.cta-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.cta-banner--animated .cta-title {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.cta-banner__title-accent {
  display: block;
  color: #a5f3fc;
  background: linear-gradient(100deg, #fff 5%, #a5f3fc 42%, #a5b4fc 78%, #e9d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-banner--animated .cta-desc {
  color: #bac9df;
}

.cta-banner--animated .btn-primary {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  background: linear-gradient(110deg, #2563eb, #4f46e5);
  box-shadow: 0 8px 35px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.cta-banner--animated .btn-primary:hover {
  box-shadow: 0 12px 45px rgba(59, 130, 246, 0.55), 0 0 0 1px rgba(165, 243, 252, 0.5) inset;
}

.cta-banner--animated .btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta-banner--animated .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  animation: cta-button-shine 6s ease-in-out infinite;
  animation-play-state: var(--cta-motion-state);
  pointer-events: none;
}

.cta-banner--animated .btn-primary > * {
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.cta-banner__motion {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(186, 201, 223, 0.22);
  border-radius: var(--radius-full);
  background: rgba(8, 14, 32, 0.75);
  color: #bac9df;
  font: 500 0.7rem var(--font-sans);
  cursor: pointer;
}

.cta-banner__motion[hidden] {
  display: none;
}

.cta-banner__motion:hover {
  color: #fff;
  border-color: rgba(165, 243, 252, 0.5);
}

.cta-banner__motion:focus-visible,
.cta-banner--animated .btn-primary:focus-visible {
  outline: 2px solid #a5f3fc;
  outline-offset: 4px;
}

.cta-banner__motion-icon {
  width: 8px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.cta-banner__motion[aria-pressed="true"] .cta-banner__motion-icon {
  opacity: 0.5;
}

@keyframes cta-wave-flow {
  0% { transform: translate3d(-5%, -8%, 0) rotate(-14deg) scale(1.05); }
  50% { transform: translate3d(8%, -18%, 0) rotate(3deg) scale(1.12, 0.9); }
  100% { transform: translate3d(15%, 6%, 0) rotate(-7deg) scale(0.95, 1.15); }
}

@keyframes cta-ring-orbit {
  from { transform: rotateX(62deg) rotateY(-20deg) rotateZ(0deg); }
  to { transform: rotateX(62deg) rotateY(-20deg) rotateZ(360deg); }
}

@keyframes cta-particle-float {
  0%, 100% { transform: translate3d(0, 12px, 0) scale(0.7); opacity: 0.2; }
  50% { transform: translate3d(18px, -30px, 35px) scale(1.1); opacity: 0.8; }
}

@keyframes cta-button-shine {
  0%, 55% { transform: translateX(-130%); }
  80%, 100% { transform: translateX(130%); }
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 3.5rem 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-banner--animated {
    padding: 3.5rem 1.25rem 5.5rem;
  }

  .cta-banner__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .cta-banner--animated .btn-primary {
    padding: 0.9rem 1.1rem;
    font-size: 0.9rem;
  }

  .cta-banner__wave {
    width: 160%;
    filter: blur(18px);
  }

  .cta-banner__ring--left {
    left: -210px;
  }

  .cta-banner__ring--right {
    right: -180px;
  }

  .cta-banner__particles span:nth-child(even) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner__wave,
  .cta-banner__ring,
  .cta-banner__particles span,
  .cta-banner--animated .btn-primary::before {
    animation: none;
  }

  .cta-banner--animated.reveal,
  .cta-banner--animated .btn-primary {
    transition: none;
    transform: none;
  }

  .cta-banner__motion {
    display: none;
  }
}

/* Forms */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

@media (max-width: 640px) {
  .form-card {
    padding: 1.5rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .form-group.col-span-2 {
    grid-column: span 1;
  }
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.925rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-error {
  font-size: 0.75rem;
  color: #F87171;
  margin-top: 0.25rem;
}

.form-select option {
  background-color: var(--bg-navy);
  color: #fff;
}

/* Detailed enquiry form (contact page) */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (min-width: 901px) {
  .contact-sidebar {
    position: sticky;
    top: 6.5rem;
  }
}

.form-section + .form-section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.form-section-title.form-submit-title {
  justify-content: center;
}

.form-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.form-section > .form-group + .form-group {
  margin-top: 1.35rem;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.5;
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
  color: #FCA5A5;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.form-alert i {
  color: #F87171;
}

/* Selectable option pills (radio + checkbox groups) */
.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.option-grid.option-grid-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .option-grid.option-grid-cols {
    grid-template-columns: 1fr;
  }
}

.option-pill {
  position: relative;
  display: block;
  cursor: pointer;
  min-width: 0;
}

.option-pill input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.option-pill > span {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.35;
  transition: var(--transition);
}

.option-pill:hover > span {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.option-pill input:checked + span {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.18);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.option-pill input:focus-visible + span {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.option-grid.has-error .option-pill > span {
  border-color: rgba(239, 68, 68, 0.55);
}

/* Attachment upload */
.file-upload-box {
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.file-upload-box:hover {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(37, 99, 235, 0.05);
}

.file-upload-box input[type="file"] {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.file-upload-box input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload-box input[type="file"]::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.file-upload-box input[type="file"].error {
  outline: 1px solid #EF4444;
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.file-upload-box .form-hint {
  margin-top: 0.75rem;
}

.file-list {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--cyan);
}

.file-list.show {
  display: block;
}

.form-submit-section .form-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Multi-Step Form Wizard (contact page)
   ========================================================================== */

/* Stepper progress bar */
.cf-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  position: relative;
  padding: 0 0.25rem;
}

/* The connecting line behind the dots */
.cf-stepper::before {
  content: '';
  position: absolute;
  top: 17px;           /* vertically centered on the 34px dot */
  left: 17px;
  right: 17px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.cf-stepper-fill {
  position: absolute;
  top: 17px;
  left: 17px;
  height: 2px;
  background: var(--gradient-brand);
  z-index: 1;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0;
}

.cf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  cursor: default;
}

.cf-step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--bg-navy);
  color: var(--text-subtle);
  transition: var(--transition);
}

.cf-step-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* States */
.cf-step.active .cf-step-dot {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.2);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.cf-step.active .cf-step-label {
  color: #fff;
}

.cf-step.done .cf-step-dot {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.18);
  color: var(--cyan);
}
.cf-step.done .cf-step-label {
  color: var(--text-muted);
}

/* Clickable completed steps let users jump back */
.cf-step.clickable {
  cursor: pointer;
}

@media (max-width: 520px) {
  .cf-step-label { display: none; }
  .cf-stepper::before { top: 15px; }
  .cf-stepper-fill { top: 15px; }
  .cf-step-dot { width: 30px; height: 30px; font-size: 0.72rem; }
}

/* Step panels — only the active one is visible */
.cf-panel {
  display: none;
}

.cf-panel.cf-panel-active {
  display: block;
  animation: cfFadeIn 0.35s ease both;
}

@keyframes cfFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Navigation buttons row */
.cf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.cf-nav-spacer {
  flex: 1;
}

/* Back button — subtle ghost style */
.cf-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cf-btn-back:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Next button — primary pill */
.cf-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.cf-btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--primary-glow);
}

.cf-btn-next:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Review summary table (step 5) */
.cf-review {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf-review-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.cf-review-row:last-child {
  border-bottom: none;
}

.cf-review-label {
  color: var(--text-subtle);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cf-review-value {
  color: #fff;
  word-break: break-word;
}

.cf-review-value .cf-review-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0.15rem 0.25rem 0.15rem 0;
}

.cf-review-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cf-review-edit:hover {
  color: var(--cyan);
}

@media (max-width: 520px) {
  .cf-review-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Success Confirmation State */
.form-success-box {
  display: none;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(13, 19, 32, 0.95);
  border: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(34, 211, 238, 0.4);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.5);
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(13, 19, 32, 0.6);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-social-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social-links a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.footer-social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-subtle);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: whatsapp-pulse 2s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float:hover {
  background: #1EBE5B;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MEGA MENU & SUBMENU NAVIGATION
   Multi-column category and service dropdown matching user visual reference
   ========================================================================== */

.nav-item {
  position: relative;
}

.nav-item.has-dropdown {
  position: static;
}

.nav-item.has-dropdown > .nav-link {
  position: relative;
  z-index: 202;
  display: inline-flex;
  align-items: center;
}

/* Unbroken downward hover bridge connecting Services link directly to mega menu */
.nav-item.has-dropdown > .nav-link::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -30px;
  right: -30px;
  height: 48px;
  background: transparent;
  pointer-events: auto;
}

.nav-link .dropdown-caret {
  width: 14px;
  height: 14px;
  margin-left: 3px;
  transition: transform 0.25s ease;
  display: inline-block;
  vertical-align: middle;
}

.nav-item.has-dropdown:hover .dropdown-caret,
.nav-item.has-dropdown:focus-within .dropdown-caret,
.nav-item.has-dropdown.menu-open .dropdown-caret {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: calc(100vw - 48px);
  max-width: 1240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  z-index: 200;
  padding-top: 16px;
}

/* Full-width top invisible buffer on the mega menu container overlapping navbar bottom */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 32px;
  background: transparent;
  pointer-events: auto;
}

.nav-item.has-dropdown:hover .mega-menu,
.nav-item.has-dropdown:focus-within .mega-menu,
.nav-item.has-dropdown.menu-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  background: rgba(10, 15, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 2.25rem 2.25rem 1.5rem;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-cat-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cat-square {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #f59e0b;
  border-radius: 1.5px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
  flex-shrink: 0;
}

.mega-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.mega-service-link {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  padding: 0.2rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.35;
}

.mega-service-link:hover {
  color: #22d3ee;
  transform: translateX(4px);
}

.mega-menu-footer {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.mega-footer-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.mega-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93c5fd;
  font-size: 0.825rem;
  font-weight: 600;
  transition: var(--transition);
}

.mega-footer-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Mobile Accordion Submenu */
.mobile-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  padding: 0.6rem 0;
  cursor: pointer;
  text-align: left;
}

.mobile-accordion-toggle .mobile-caret {
  transition: transform 0.25s ease;
}

.mobile-services-accordion.open .mobile-accordion-toggle .mobile-caret {
  transform: rotate(180deg);
}

.mobile-accordion-content {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0 1rem 0.75rem;
  border-left: 2px solid rgba(37, 99, 235, 0.4);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.mobile-services-accordion.open .mobile-accordion-content {
  display: flex;
}

.mobile-view-all-services {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  padding: 0.3rem 0;
}

.mobile-cat-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-cat-header {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.mobile-cat-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.85rem;
}

.mobile-sub-link {
  font-size: 0.86rem;
  color: #94a3b8;
  padding: 0.15rem 0;
}

.mobile-sub-link:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .mega-menu {
    display: none;
  }
}

/* ==========================================================================
   SERVICE DETAIL PAGE STYLING
   ========================================================================== */

.service-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 1.5rem;
}

.crumb-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.crumb-link:hover {
  color: var(--cyan);
}

.crumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.crumb-current {
  color: #ffffff;
  font-weight: 600;
}

.service-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 860px;
  margin-bottom: 2rem;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.service-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* Two Column Layout */
.service-layout-grid {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .service-layout-grid {
    grid-template-columns: 1fr;
  }
}

.service-main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.service-block-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.block-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--cyan);
  flex-shrink: 0;
}

.service-block-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.service-block-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.service-rich-text {
  color: #cbd5e1;
  font-size: 1.025rem;
  line-height: 1.75;
}

.service-rich-text p {
  margin-bottom: 1.25rem;
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.deliverable-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.deliverable-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.deliverable-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.deliverable-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.45;
  font-weight: 500;
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding-left: 0.5rem;
}

.timeline-step {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.timeline-marker {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(34, 211, 238, 0.2) 100%);
  border: 1px solid rgba(34, 211, 238, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.marker-number {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.timeline-body {
  padding-top: 0.35rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Benefits List */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.benefit-bullet {
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
}

/* Tech Tags */
.tech-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: var(--transition);
}

.tech-tag:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Service FAQ Accordion */
.service-faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Sticky Sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.quick-quote-card {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, rgba(13, 19, 32, 0.85) 0%, rgba(10, 15, 26, 0.95) 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.qq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.qq-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.qq-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sidebar-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidebar-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

.sidebar-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.875rem;
  transition: var(--transition);
}

.sidebar-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1.25rem 0 1rem;
}

.sidebar-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-mini-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.mini-label {
  font-size: 0.72rem;
  color: var(--text-subtle);
  line-height: 1.2;
}

.mini-val {
  color: #fff;
  font-weight: 600;
  transition: color 0.2s ease;
}

.mini-val:hover {
  color: var(--cyan);
}

.sidebar-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.related-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.related-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: var(--transition);
}

.related-service-link:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
  color: #fff;
  transform: translateX(3px);
}

.sidebar-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--cyan);
  transition: var(--transition);
}

.sidebar-view-all:hover {
  text-decoration: underline;
}

.pillar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.p-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan);
}

.p-lbl {
  font-size: 0.7rem;
  color: var(--text-subtle);
}

/* --- Service Hero Visual + Work Gallery + Lightbox ------------------- */

/* Hero grid: single column by default, two columns when a featured image exists */
.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.service-hero-grid.has-visual {
  grid-template-columns: minmax(0, 1fr) 440px;
}

.service-hero-main {
  min-width: 0;
}

.service-hero-visual {
  position: relative;
  min-width: 0;
}

.service-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(37, 99, 235, 0.12);
}

@media (max-width: 992px) {
  .service-hero-grid.has-visual {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero-visual {
    max-width: 620px;
  }
}

/* Work gallery grid (click-to-zoom thumbnails) */
.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.svc-gallery-item {
  position: relative;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  cursor: zoom-in;
  transition: var(--transition);
}

.svc-gallery-item img {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.svc-gallery-item:hover,
.svc-gallery-item:focus-visible {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-3px);
}

.svc-gallery-item:hover img {
  transform: scale(1.05);
}

.svc-gallery-zoom {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(10, 15, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Lightbox overlay (dedicated .svc-lightbox-* classes, no shared state names) */
.svc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem;
  background: rgba(4, 7, 14, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.svc-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.svc-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: min(1100px, 100%);
}

.svc-lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.svc-lightbox-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.svc-lightbox-close,
.svc-lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.svc-lightbox-close:hover,
.svc-lightbox-nav:hover {
  background: rgba(37, 99, 235, 0.35);
  border-color: rgba(37, 99, 235, 0.6);
}

.svc-lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.svc-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.svc-lightbox-prev {
  left: 1.5rem;
}

.svc-lightbox-next {
  right: 1.5rem;
}

@media (max-width: 640px) {
  .svc-lightbox {
    padding: 3.5rem 1rem;
  }

  .svc-lightbox-close,
  .svc-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .svc-lightbox-prev {
    left: 0.5rem;
  }

  .svc-lightbox-next {
    right: 0.5rem;
  }
}

/* Category Filter Tabs on Services Directory */
.services-cat-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.cat-tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.cat-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

