/* =========================================================
   HelloClient WebSolution — Design System
   Colours sampled directly from the official logo:
     Navy   #060E27  (wordmark "HelloClient", H mark)
     Cyan   #00C2FC  (C mark)
     Indigo #3438FB  (">|" mark, "WebSolution")
   Everything else is a tint/shade of these three + white.
   ========================================================= */

:root {
  /* Brand (exact logo samples) */
  --brand-navy: #060E27;
  --brand-cyan: #00C2FC;
  --brand-indigo: #3438FB;
  --white: #FFFFFF;

  /* Navy scale (shades/tints of #060E27) */
  --navy-950: #030716;
  --navy-900: #060E27;
  --navy-850: #0A1433;
  --navy-800: #0E1A40;
  --navy-700: #16244F;
  --navy-600: #24335F;
  --navy-300: #A9B3D1;
  --navy-200: #CDD3E6;
  --navy-100: #E6E9F3;
  --navy-50:  #F4F6FC;

  /* Indigo scale */
  --indigo-700: #2124C9;
  --indigo-600: #2A2EE6;
  --indigo-500: #3438FB;
  --indigo-300: #8C8FFF;   /* text on dark: 6.8:1 on navy */
  --indigo-100: #E3E4FF;

  /* Cyan scale */
  --cyan-600: #0098C7;
  --cyan-500: #00C2FC;
  --cyan-300: #7BE0FF;
  --cyan-100: #DDF6FF;

  /* Semantic */
  --bg-dark: var(--navy-900);
  --bg-darker: var(--navy-950);
  --bg-light: var(--navy-50);
  --surface-dark: rgba(255,255,255,.04);
  --border-dark: rgba(169,179,209,.14);
  --border-light: var(--navy-100);
  --text-on-dark: #E9ECF7;
  --muted-on-dark: #A9B3D1;
  --text-on-light: var(--navy-900);
  --muted-on-light: #4A5578;
  --link-on-dark: var(--cyan-500);
  --link-on-light: var(--indigo-500);
  --success: #00C2FC;
  --error: #FF8A8A;
  --error-light: #C62828;

  --grad-brand: linear-gradient(120deg, var(--brand-indigo) 0%, var(--brand-cyan) 100%);
  --grad-text: linear-gradient(100deg, #FFFFFF 10%, var(--cyan-300) 55%, var(--indigo-300) 100%);
  --glow-indigo: radial-gradient(closest-side, rgba(52,56,251,.35), transparent);
  --glow-cyan: radial-gradient(closest-side, rgba(0,194,252,.22), transparent);

  /* Type */
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Inter", "Manrope", system-ui, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  --fs-3xl: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
  --fs-hero: clamp(2.4rem, 1.2rem + 5vw, 5.2rem);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(3,7,22,.6);
  --shadow-light: 0 1px 2px rgba(6,14,39,.06), 0 12px 32px -12px rgba(6,14,39,.18);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--indigo-500); }
::selection { background: var(--brand-indigo); color: #fff; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.light { background: var(--bg-light); color: var(--text-on-light); }
.section.white { background: var(--white); color: var(--text-on-light); }
.section.darker { background: var(--bg-darker); }
.light p, .white p { color: var(--muted-on-light); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-500); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.light .eyebrow, .white .eyebrow { color: var(--indigo-500); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: var(--fs-lg); color: var(--muted-on-dark); }
.light .section-head p, .white .section-head p { color: var(--muted-on-light); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: var(--fs-lg); color: var(--muted-on-dark); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--brand-indigo);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-indigo); color: #fff; box-shadow: 0 10px 30px -10px rgba(52,56,251,.7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--indigo-700), var(--indigo-500) 60%, #2B6BF0); opacity: 0; transition: opacity .3s; }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(0,194,252,.55); transform: translateY(-2px); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text-on-dark); border-color: rgba(169,179,209,.3); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cyan-500); color: var(--cyan-500); transform: translateY(-2px); }
.light .btn-ghost, .white .btn-ghost { color: var(--navy-900); border-color: var(--navy-200); background: var(--white); }
.light .btn-ghost:hover, .white .btn-ghost:hover { border-color: var(--indigo-500); color: var(--indigo-500); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: var(--fs-xs); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { color: var(--link-on-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.light .text-link, .white .text-link { color: var(--link-on-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(6,14,39,.06); color: var(--navy-900);
  transition: box-shadow .3s, height .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(6,14,39,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-sm); color: var(--navy-700); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.active { color: var(--indigo-500); background: var(--indigo-100); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s; }
.has-mega[data-open="true"] .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(760px, 92vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--white); border: 1px solid var(--navy-100); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(6,14,39,.35);
  padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-mega[data-open="true"] .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .2s; }
.mega a:hover, .mega a:focus-visible { background: var(--navy-50); }
.mega .mi { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--indigo-100); color: var(--indigo-500); }
.mega .mi svg { width: 20px; height: 20px; }
.mega strong { display: block; font-family: var(--font-ui); font-size: var(--fs-sm); color: var(--navy-900); }
.mega span { display: block; font-size: var(--fs-xs); color: var(--muted-on-light); line-height: 1.45; }
.mega .mega-all { grid-column: 1 / -1; justify-content: center; font-weight: 700; color: var(--indigo-500); background: var(--navy-50); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--navy-100); background: var(--white); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .header-cta .btn { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto;
    padding: 16px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .primary-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: var(--fs-base); }
  .mega { position: static; width: 100%; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .has-mega[data-open="true"] .mega { display: grid; transform: none; }
  .mega a span { display: none; }
  .mobile-cta { display: grid !important; gap: 10px; margin-top: 18px; }
}
.mobile-cta { display: none !important; }
@media (max-width: 520px) { .brand img { height: 38px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); background: var(--bg-dark); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-bg .orb.a { width: 720px; height: 720px; right: -180px; top: -260px; background: var(--glow-indigo); animation: drift 18s ease-in-out infinite alternate; }
.hero-bg .orb.b { width: 560px; height: 560px; left: -200px; bottom: -260px; background: var(--glow-cyan); animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg-dark)); }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(169,179,209,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(169,179,209,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero-brandline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 26px; font-family: var(--font-ui); font-size: var(--fs-sm); color: var(--muted-on-dark); }
.hero-brandline strong { color: var(--text-on-dark); font-weight: 700; }
.hero-brandline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 4px rgba(0,194,252,.15); }
.slogan { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); }
.slogan span { display: inline-flex; align-items: center; gap: 8px; }
.slogan span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--grad-brand); }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.page-hero h1 { max-width: 900px; font-size: var(--fs-3xl); text-transform: none; line-height: 1.08; letter-spacing: -.03em; }
.page-hero .hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero.simple .lead { max-width: 760px; }

.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-family: var(--font-ui); font-size: var(--fs-xs); color: var(--muted-on-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--muted-on-dark); } .breadcrumb a:hover { color: var(--cyan-500); }
.breadcrumb [aria-current] { color: var(--text-on-dark); }

/* ---------- 3D visual stage ---------- */
.stage { position: relative; perspective: 1400px; min-height: 420px; }
.stage-inner { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform .6s var(--ease); }
.glass { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(169,179,209,.18); border-radius: var(--radius-lg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-card); }
.browser { overflow: hidden; border-radius: 18px; background: var(--navy-850); border: 1px solid rgba(169,179,209,.18); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(169,179,209,.1); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-600); }
.browser-bar i:nth-child(1) { background: var(--indigo-300); } .browser-bar i:nth-child(2) { background: var(--cyan-300); }
.browser-bar .url { margin-left: 12px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255,255,255,.05); font: 500 11px/20px var(--font-ui); color: var(--muted-on-dark); padding: 0 10px; overflow: hidden; white-space: nowrap; }
.browser-body { padding: 18px; }
.sk { border-radius: 6px; background: rgba(169,179,209,.14); height: 10px; }
.sk.w30{width:30%}.sk.w40{width:40%}.sk.w50{width:50%}.sk.w60{width:60%}.sk.w70{width:70%}.sk.w80{width:80%}.sk.w90{width:90%}
.sk.h16{height:16px}.sk.h22{height:22px}.sk.h8{height:8px}
.sk.brand { background: var(--grad-brand); }
.sk.cyan { background: var(--cyan-500); } .sk.indigo { background: var(--indigo-500); }
.sk-stack { display: grid; gap: 9px; }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; padding: 8px 0 16px; }
.mock-img { aspect-ratio: 4/3; border-radius: 12px; background: radial-gradient(circle at 30% 30%, rgba(0,194,252,.55), transparent 55%), radial-gradient(circle at 75% 70%, rgba(52,56,251,.75), transparent 55%), var(--navy-700); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { border-radius: 10px; padding: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(169,179,209,.1); display: grid; gap: 7px; }
.mock-card .ic { width: 22px; height: 22px; border-radius: 7px; background: var(--grad-brand); }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.chart-bars b { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--cyan-500), var(--indigo-500)); opacity: .9; transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.chart-bars b:nth-child(odd) { background: rgba(140,143,255,.45); }
@keyframes grow { from { transform: scaleY(.1); } }
.float { position: absolute; transform: translateZ(60px); }
.phone { width: 150px; border-radius: 26px; padding: 8px; background: var(--navy-950); border: 1px solid rgba(169,179,209,.22); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.phone-screen { border-radius: 20px; overflow: hidden; background: var(--navy-850); padding: 14px 10px; display: grid; gap: 8px; aspect-ratio: 9/18; align-content: start; }
.phone-notch { width: 46px; height: 6px; border-radius: 6px; background: var(--navy-700); margin: 0 auto 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font: 600 12px/1.2 var(--font-ui); color: var(--text-on-dark); }
.chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 0 rgba(0,194,252,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0,194,252,0); } 100% { box-shadow: 0 0 0 0 rgba(0,194,252,0); } }
.tablet { width: 230px; border-radius: 20px; padding: 9px; background: var(--navy-950); border: 1px solid rgba(169,179,209,.22); box-shadow: 0 30px 60px -20px rgba(0,0,0,.75); }
.tablet .phone-screen { aspect-ratio: 4/3; border-radius: 13px; }
.bob { animation: bob 6s ease-in-out infinite; }
.bob.d2 { animation-delay: -2s; } .bob.d3 { animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }
.swatches { display: flex; gap: 8px; } .swatches i { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.post-grid i { aspect-ratio: 1; border-radius: 8px; background: var(--navy-700); }
.post-grid i:nth-child(3n+1) { background: linear-gradient(135deg, var(--indigo-500), var(--navy-700)); }
.post-grid i:nth-child(4n) { background: linear-gradient(135deg, var(--cyan-500), var(--indigo-500)); }
.timeline-track { display: grid; gap: 6px; }
.timeline-track div { height: 18px; border-radius: 5px; display: flex; gap: 4px; }
.timeline-track span { border-radius: 5px; background: rgba(140,143,255,.4); }
.timeline-track span.c { background: rgba(0,194,252,.5); }
.play { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.play::after { content: ""; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.pin { width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad-brand); display: grid; place-items: center; }
.pin::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-900); }
.stars { display: flex; gap: 3px; } .stars i { width: 12px; height: 12px; background: var(--cyan-500); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--border-dark); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease), background .3s;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted-on-dark); font-size: var(--fs-sm); margin-bottom: 0; }
.light .card, .white .card { background: var(--white); border-color: var(--border-light); box-shadow: var(--shadow-light); }
.light .card p, .white .card p { color: var(--muted-on-light); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--cyan-500); background: linear-gradient(135deg, rgba(52,56,251,.28), rgba(0,194,252,.12)); border: 1px solid rgba(0,194,252,.22); }
.card-icon svg { width: 26px; height: 26px; }
.light .card-icon, .white .card-icon { color: var(--indigo-500); background: var(--indigo-100); border-color: transparent; }

/* service card with 3D tilt + spotlight */
.service-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; transform-style: preserve-3d; }
.service-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0,194,252,.14), transparent 45%); }
.service-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(0,194,252,.6), rgba(52,56,251,.6) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.service-card:hover::before, .service-card:hover::after, .service-card:focus-within::after { opacity: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(52,56,251,.55); }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; list-style: none; }
.service-card .tags li { font: 600 12px/1 var(--font-ui); padding: 7px 10px; border-radius: 999px; color: var(--muted-on-dark); background: rgba(255,255,255,.05); border: 1px solid rgba(169,179,209,.12); }
.service-card .text-link { margin-top: auto; }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-num { position: absolute; top: 24px; right: 26px; font: 700 13px var(--font-display); color: rgba(169,179,209,.35); letter-spacing: .1em; }

/* feature list */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/18px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.check-list.simple li::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/20px no-repeat; }

/* Why / feature tiles */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .card-icon { flex: none; margin: 0; }

/* Process */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.process.c4 { grid-template-columns: repeat(4, 1fr); }
.process::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(0,194,252,.5), rgba(52,56,251,.5), transparent); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { counter-increment: step; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; font: 700 18px var(--font-display); color: #fff; background: var(--navy-900); border: 2px solid rgba(0,194,252,.55); box-shadow: 0 0 0 6px var(--bg-dark); }
.darker .step-num { box-shadow: 0 0 0 6px var(--bg-darker); }
.light .step-num { background: var(--white); color: var(--indigo-500); border-color: var(--indigo-500); box-shadow: 0 0 0 6px var(--bg-light); }
.step h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.step p { font-size: var(--fs-sm); color: var(--muted-on-dark); margin: 0; }
.light .step p { color: var(--muted-on-light); }

/* Work / portfolio */
.work-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-850); border: 1px solid var(--border-dark); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,194,252,.4); }
.work-thumb { aspect-ratio: 16/11; position: relative; overflow: hidden; display: grid; place-items: center; padding: 26px; background: radial-gradient(120% 80% at 80% 0%, rgba(52,56,251,.45), transparent 60%), radial-gradient(80% 80% at 0% 100%, rgba(0,194,252,.25), transparent 60%), var(--navy-800); }
.work-thumb .browser { width: 100%; transform: perspective(900px) rotateX(10deg) rotateY(-8deg) translateY(8px); transition: transform .6s var(--ease); }
.work-card:hover .work-thumb .browser { transform: perspective(900px) rotateX(4deg) rotateY(-2deg) translateY(0) scale(1.02); }
.work-thumb .browser-body { padding: 12px; }
.work-meta { padding: 22px 24px 26px; }
.work-meta h3 { margin-bottom: 6px; }
.work-meta p { color: var(--muted-on-dark); font-size: var(--fs-sm); margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; color: var(--cyan-500); background: rgba(0,194,252,.1); border: 1px solid rgba(0,194,252,.25); margin-bottom: 12px; }
.badge.indigo { color: var(--indigo-300); background: rgba(52,56,251,.14); border-color: rgba(140,143,255,.3); }
.light .badge, .white .badge { color: var(--indigo-500); background: var(--indigo-100); border-color: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border-dark); background: transparent; color: var(--muted-on-dark); font: 600 var(--fs-sm) var(--font-ui); cursor: pointer; transition: all .25s; }
.filter-btn:hover { color: var(--text-on-dark); border-color: rgba(0,194,252,.5); }
.filter-btn[aria-pressed="true"] { background: var(--brand-indigo); color: #fff; border-color: var(--brand-indigo); }
.work-item[hidden] { display: none; }

/* Industries */
.industry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border-light); font-weight: 700; font-family: var(--font-ui); color: var(--navy-900); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.industry:hover { transform: translateY(-3px); border-color: var(--indigo-500); box-shadow: var(--shadow-light); }
.industry .card-icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.industry .card-icon svg { width: 22px; height: 22px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: var(--radius); border: 1px solid var(--border-dark); background: rgba(255,255,255,.03); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(0,194,252,.4); background: rgba(255,255,255,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,194,252,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300C2FC' d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted-on-dark); }
.light .faq details { border-color: var(--border-light); background: var(--white); }
.light .faq details[open] { border-color: var(--indigo-500); }
.light .faq .answer { color: var(--muted-on-light); }
.light .faq summary::after { background-color: var(--indigo-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233438FB' d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E"); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 72px); background: radial-gradient(90% 140% at 100% 0%, rgba(0,194,252,.35), transparent 55%), radial-gradient(70% 120% at 0% 100%, rgba(52,56,251,.65), transparent 60%), var(--navy-850); border: 1px solid rgba(169,179,209,.16); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted-on-dark); margin: 0; font-size: var(--fs-lg); }
.cta-band .btn-row { justify-content: flex-end; }
.contact-quick { display: grid; gap: 10px; }
.contact-quick a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(169,179,209,.15); font-weight: 600; transition: border-color .25s, transform .25s var(--ease); word-break: break-word; }
.contact-quick a:hover { border-color: var(--cyan-500); transform: translateX(4px); }
.contact-quick svg { width: 20px; height: 20px; color: var(--cyan-500); flex: none; }

/* Two-column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted-on-dark); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; display: grid; gap: 6px; }
.prose a { color: var(--cyan-500); text-decoration: underline; text-underline-offset: 3px; }
.light .prose p, .light .prose li, .white .prose p, .white .prose li { color: var(--muted-on-light); }
.light .prose a, .white .prose a { color: var(--indigo-500); }
.prose strong { color: inherit; }

.deliverables { columns: 2; column-gap: 32px; }
.deliverables li { break-inside: avoid; margin-bottom: 12px; }

.note { border-radius: var(--radius); padding: 18px 20px; border: 1px dashed rgba(0,194,252,.4); background: rgba(0,194,252,.06); color: var(--muted-on-dark); font-size: var(--fs-sm); }
.light .note, .white .note { border-color: var(--indigo-500); background: var(--indigo-100); color: var(--navy-700); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(22px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--white); color: var(--navy-900); box-shadow: 0 40px 80px -40px rgba(3,7,22,.8); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 600 var(--fs-sm) var(--font-ui); color: var(--navy-900); }
.field .req { color: var(--indigo-500); }
.field .hint { font-size: var(--fs-xs); color: var(--muted-on-light); }
.input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--navy-200); background: var(--navy-50);
  font-family: var(--font-ui); font-size: 16px; color: var(--navy-900); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23060E27' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 22px; padding-right: 44px; }
.input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-300); }
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-500); background: var(--white); box-shadow: 0 0 0 4px rgba(52,56,251,.15); }
.field.invalid .input, .field.invalid select, .field.invalid textarea { border-color: var(--error-light); background: #FFF6F6; }
.field .error-msg { display: none; font: 600 var(--fs-xs) var(--font-ui); color: var(--error-light); }
.field.invalid .error-msg { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--navy-200); background: var(--navy-50); cursor: pointer; font: 600 14px/1.3 var(--font-ui); transition: all .2s; }
.choice label::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--navy-300); background: #fff; transition: all .2s; }
.choice input:checked + label { border-color: var(--indigo-500); background: var(--indigo-100); color: var(--indigo-700); }
.choice input:checked + label::before { background: var(--indigo-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--indigo-500); }
.choice input:focus-visible + label { outline: 3px solid var(--indigo-500); outline-offset: 2px; }
.choice input[type=radio] + label::before { border-radius: 50%; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted-on-light); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--indigo-500); flex: none; }
.consent a { color: var(--indigo-500); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-weight: 600; font-size: var(--fs-sm); }
.form-status.show { display: block; }
.form-status.success { background: var(--cyan-100); color: #00445A; border: 1px solid var(--cyan-500); }
.form-status.error { background: #FFEFEF; color: #8E1B1B; border: 1px solid #F3B4B4; }
.form-status a { text-decoration: underline; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact info cards */
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card a { color: var(--text-on-dark); font-weight: 600; word-break: break-word; }
.info-card a:hover { color: var(--cyan-500); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(169,179,209,.16); color: var(--text-on-dark); transition: all .25s var(--ease); }
.socials a:hover { color: var(--navy-900); background: var(--cyan-500); border-color: var(--cyan-500); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

/* Blog */
.post-card { display: flex; flex-direction: column; }
.post-card time { font: 600 var(--fs-xs) var(--font-ui); color: var(--muted-on-dark); letter-spacing: .04em; }
.article { max-width: 760px; margin: 0 auto; }
.article .prose { max-width: none; }
.article .prose p, .article .prose li { font-size: 1.0625rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-darker); border-top: 1px solid var(--border-dark); padding: clamp(56px, 7vw, 88px) 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan-500), var(--indigo-500), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); }
.footer-logo { display: inline-block; background: var(--white); padding: 12px 16px; border-radius: 16px; margin-bottom: 18px; }
.footer-logo img { height: 48px; width: auto; }
.site-footer h2 { font-size: var(--fs-sm); font-family: var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark); margin-bottom: 18px; }
.site-footer p { color: var(--muted-on-dark); font-size: var(--fs-sm); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--muted-on-dark); font-size: var(--fs-sm); transition: color .2s; }
.footer-links a:hover { color: var(--cyan-500); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--fs-xs); color: var(--muted-on-dark); }
.footer-bottom a:hover { color: var(--cyan-500); }
.footer-slogan { font-family: var(--font-display); font-weight: 600; color: var(--text-on-dark); letter-spacing: .02em; }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(169,179,209,.25); background: rgba(6,14,39,.85); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-indigo); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-mask.in { clip-path: inset(0 0 0 0); }
.page-fade { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.gradient-anim { background-size: 200% 200%; animation: gradMove 8s ease infinite; }
@keyframes gradMove { 50% { background-position: 100% 50%; } }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font: 700 clamp(5rem, 18vw, 11rem)/1 var(--font-display); letter-spacing: -.05em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process::before { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .page-hero .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band .btn-row { justify-content: flex-start; }
  .stage { min-height: 340px; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .process, .process.c4 { grid-template-columns: 1fr; text-align: left; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; }
  .step-num { margin: 0; grid-row: span 2; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .deliverables { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .stage { min-height: 300px; }
  .float.hide-sm { display: none; }
  .mock-cards { grid-template-columns: repeat(2, 1fr); }
  .mock-cards .mock-card:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-mask { opacity: 1; transform: none; clip-path: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

.work-thumb .phone { width: 112px; }
.work-thumb > div { max-width: 100%; }
.cta-card { justify-content: center; background: radial-gradient(120% 90% at 100% 0%, rgba(0,194,252,.22), transparent 60%), radial-gradient(90% 90% at 0% 100%, rgba(52,56,251,.4), transparent 60%), var(--navy-850) !important; }

/* Reviews */
.review-card { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { color: var(--text-on-dark); font-size: var(--fs-base); line-height: 1.6; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-dark); }
.review-card figcaption strong { display: block; font-family: var(--font-ui); font-size: var(--fs-sm); }
.review-card figcaption span span { display: block; font-size: var(--fs-xs); color: var(--muted-on-dark); }
.review-card .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--grad-brand); color: #fff; font: 700 15px var(--font-display); }
.review-card .badge { align-self: flex-start; margin: 0; }
.review-card.is-sample { border-style: dashed; }
.review-card.is-sample blockquote p { color: var(--muted-on-dark); font-style: italic; }
.sample-badge { color: var(--cyan-300); }
.light .review-card blockquote p, .white .review-card blockquote p { color: var(--navy-900); }

/* Problems */
.problem { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius-lg); background: var(--navy-50); border: 1px solid var(--border-light); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.problem:hover { transform: translateY(-4px); border-color: var(--indigo-500); box-shadow: var(--shadow-light); }
.problem p { margin: 0; }
.problem span[aria-hidden] { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; margin-right: 10px; font-size: 13px; font-weight: 700; vertical-align: -5px; }
.problem-q { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.3; color: var(--navy-900) !important; }
.problem-q span { background: var(--navy-100); color: var(--navy-700); }
.problem-a { color: var(--muted-on-light); font-size: var(--fs-sm); }
.problem-a span { background: var(--indigo-100); color: var(--indigo-500); }
.problem .text-link { margin-top: auto; font-size: var(--fs-sm); }

/* =========================================================
   MOTION PACK v2 — loader, scroll progress, split headline,
   spotlight, marquee, particles, shimmer, magnetic buttons
   ========================================================= */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Page loader (brand bar sweep, removes itself) */
.page-loader { position: fixed; inset: 0; z-index: 300; background: var(--navy-900); display: grid; place-items: center; transition: opacity .5s var(--ease), visibility .5s; }
.page-loader .bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(169,179,209,.15); overflow: hidden; position: relative; }
.page-loader .bar::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 3px; background: var(--grad-brand); animation: loadSweep 1s var(--ease) infinite; }
.page-loader.done { opacity: 0; visibility: hidden; }
@keyframes loadSweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
html:not(.js) .page-loader { display: none; }

/* Split-word headline reveal */
.wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.wsplit .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms + .15s); }
.wsplit.in .w > span { transform: none; }
html:not(.js) .wsplit .w > span { transform: none; }

/* Cursor spotlight in hero */
.hero .spotlight { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 30%), rgba(0,194,252,.10), transparent 60%); }
.hero:hover .spotlight { opacity: 1; }

/* Particle network canvas */
.hero canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .55; }

/* Services marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--border-dark); background: var(--bg-darker); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font: 600 clamp(1rem, .9rem + .5vw, 1.3rem)/1 var(--font-display); color: var(--muted-on-dark); white-space: nowrap; transition: color .25s; }
.marquee-item:hover { color: var(--text-on-dark); }
.marquee-item svg { width: 22px; height: 22px; color: var(--cyan-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Button shimmer + magnetic */
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); animation: shimmer 4.5s ease-in-out infinite; }
@keyframes shimmer { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn[aria-busy="true"]::after { position: static; animation: spin .7s linear infinite; background: none; transform: none; width: 16px; }
.magnetic { transition: transform .35s var(--ease), box-shadow .25s; will-change: transform; }

/* Ripple on click */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.35); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Animated gradient border on CTA band */
.cta-band::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--cyan-500) 75%, var(--indigo-500) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinBorder 6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinBorder { to { --ang: 360deg; } }

/* Process line draws on scroll */
.process::before { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.process.in::before { transform: scaleX(1); }
.js .step.reveal .step-num { transform: scale(.6); transition: transform .7s cubic-bezier(.34,1.56,.64,1); transition-delay: inherit; }
.js .step.reveal.in .step-num { transform: none; }

/* Eyebrow line grows in */
.js .reveal .eyebrow::before, .js .reveal.eyebrow::before { width: 0; transition: width .8s var(--ease) .2s; }
.js .reveal.in .eyebrow::before, .js .reveal.eyebrow.in::before { width: 22px; }

/* Blur-scale reveal variant for cards */
.js .card.reveal, .js .work-item.reveal, .js .problem.reveal { transform: translateY(30px) scale(.97); filter: blur(4px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0s); }
.js .card.reveal.in, .js .work-item.reveal.in, .js .problem.reveal.in { transform: none; filter: none; }

/* Icon micro-interaction */
.card-icon svg { transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.card:hover .card-icon svg, .industry:hover .card-icon svg { transform: scale(1.15) rotate(-6deg); }
.industry:hover .card-icon { background: var(--grad-brand); color: #fff; }
.industry .card-icon { transition: background .3s, color .3s; }

/* Nav link underline */
@media (min-width: 1081px) {
  .nav-link { position: relative; }
  .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transition: transform .3s var(--ease); }
  .nav-link:hover::after { transform: scaleX(1); }
}

/* Review card glow on hover */
.review-card { transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.review-card:hover { transform: translateY(-5px); border-color: rgba(0,194,252,.35); box-shadow: 0 24px 50px -28px rgba(0,194,252,.45); }

/* FAQ answer slide */
.faq details[open] .answer { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track .dup { display: none; }
  .wsplit .w > span { transform: none !important; }
  .js .card.reveal, .js .work-item.reveal, .js .problem.reveal { filter: none; }
  .process::before { transform: none; }
  canvas.particles, .page-loader { display: none !important; }
  .btn-primary::after, .cta-band::after { animation: none; }
}

/* =========================================================
   COMPACT LAYOUT — sections & cards fit a laptop screen
   ========================================================= */
:root {
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.05rem + .7vw, 1.5rem);
  --fs-2xl: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  --fs-3xl: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  --fs-hero: clamp(2.1rem, 1.2rem + 3.2vw, 3.6rem);
  --header-h: 68px;
}
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.section.tight { padding: clamp(32px, 4vw, 52px) 0; }
.section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.section-head p { font-size: var(--fs-base); margin-bottom: 0; }
.eyebrow { margin-bottom: 10px; }
.brand img { height: 40px; }

/* Hero fits in one screen */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 5.5vw, 72px); }
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin-bottom: 22px; font-size: var(--fs-base); }
.hero-brandline { margin-bottom: 16px; }
.slogan { margin-top: 22px; }
.stage { min-height: 340px; }
.stage-inner { transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)) scale(.88); }
.page-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(36px, 4.5vw, 60px); }
.breadcrumb { margin-bottom: 16px; }
.btn { min-height: 46px; padding: 0 22px; }
.btn-sm { min-height: 38px; padding: 0 16px; }

/* Cards: tighter padding & icons */
.card { padding: clamp(18px, 1.8vw, 24px); border-radius: 18px; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
.card-icon svg { width: 22px; height: 22px; }
.service-card .tags { margin: 12px 0 14px; }
.service-card .tags li { padding: 5px 9px; font-size: 11.5px; }
.card-num { top: 18px; right: 20px; }
.grid { gap: clamp(12px, 1.5vw, 18px); }

/* 4 columns on wide screens: 12 service cards = 3 rows */
@media (min-width: 1180px) {
  .grid.c3.svc-grid { grid-template-columns: repeat(4, 1fr); }
  .container { max-width: 1240px; }
}
.svc-grid .service-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Problems, reviews, work, industries */
.problem { padding: 20px; gap: 8px; border-radius: 18px; }
.problem-q { font-size: 1.05rem; }
.review-card { gap: 10px; }
.review-card blockquote p { font-size: var(--fs-sm); margin: 0; }
.review-card figcaption { padding-top: 12px; }
.review-card .avatar { width: 38px; height: 38px; font-size: 13px; }
.work-thumb { aspect-ratio: 16/9; padding: 18px; }
.work-meta { padding: 16px 18px 18px; }
.work-meta .badge { margin-bottom: 8px; }
.industry { padding: 12px 14px; font-size: var(--fs-sm); }
.industry .card-icon { width: 36px; height: 36px; }

/* Process, FAQ, CTA, footer */
.step-num { width: 46px; height: 46px; font-size: 16px; margin-bottom: 12px; }
.process::before { top: 22px; }
.faq { gap: 8px; }
.faq summary { padding: 14px 18px; font-size: var(--fs-sm); }
.faq .answer { padding: 0 18px 14px; font-size: var(--fs-sm); }
.cta-band { padding: clamp(24px, 3.5vw, 44px); gap: 24px; }
.cta-band p { font-size: var(--fs-base); }
.contact-quick a { padding: 10px 14px; }
.site-footer { padding: clamp(40px, 5vw, 60px) 0 22px; }
.footer-bottom { margin-top: 32px; }
.form-card { padding: clamp(18px, 3vw, 32px); }
.form-grid { gap: 14px; }
.input, .field select, .field textarea { min-height: 46px; padding: 10px 14px; }
.field textarea { min-height: 110px; }
.choice label { min-height: 42px; padding: 8px 12px; }
.marquee { padding: 12px 0; }

@media (max-width: 640px) {
  .stage { min-height: 260px; }
  .card { padding: 18px; }
  .service-card .tags { display: none; }
}

/* Compact horizontal cards (icon left) */
.hcard { display: grid !important; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; }
.hcard .card-icon { margin: 0; grid-row: span 3; width: 38px; height: 38px; }
.hcard .card-icon svg { width: 20px; height: 20px; }
.hcard h3 { margin: 2px 0 2px; font-size: 1rem; }
.hcard p { font-size: .875rem; line-height: 1.5; }
.svc-grid .hcard p { -webkit-line-clamp: 2; }
.svc-grid .hcard .text-link { grid-column: 2; margin-top: 8px; font-size: .875rem; }
.svc-grid .hcard .tags, .svc-grid .hcard .card-num { display: none; }
.svc-grid .cta-card .btn { margin-top: 4px; }
.svc-grid .cta-card > div:last-child { grid-column: 2; margin-top: 8px !important; }
.offer-grid .hcard .card-icon { width: 32px; height: 32px; border-radius: 9px; }
.offer-grid .hcard .card-icon svg { width: 17px; height: 17px; }
@media (min-width: 1180px) { .offer-grid { grid-template-columns: repeat(4, 1fr) !important; } }
.problem { padding: 18px; }
.problem-q { font-size: 1rem; }
.problem-a { font-size: .875rem; line-height: 1.5; }
.work-thumb { aspect-ratio: 16/8; padding: 14px 22px 0; align-items: end; }
.work-meta p { font-size: .875rem; line-height: 1.5; }
.work-meta h3 { font-size: 1rem; }
.section { padding: clamp(40px, 4.5vw, 64px) 0; }
.svc-grid .hcard p { -webkit-line-clamp: 3; }
.btn { white-space: nowrap; }
/* Services grid: whole card clickable, arrow in corner */
.svc-grid .hcard { padding: 16px 18px; }
.svc-grid .hcard h3 { padding-right: 22px; }
.svc-grid .hcard p { -webkit-line-clamp: 2; }
.svc-grid .service-card:not(.cta-card) .text-link { position: absolute; top: 16px; right: 16px; margin: 0; font-size: 0; color: var(--cyan-500); }
.svc-grid .service-card:not(.cta-card) .text-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc-grid .service-card:hover .text-link svg { transform: translate(3px, -3px) rotate(-45deg); }
.offer-grid .hcard { padding: 14px 16px; }
.offer-grid .hcard p { font-size: .84rem; }
#offer-h + p, .section-head:has(#offer-h) p { display: none; }
.section.snug { padding: clamp(32px, 3.4vw, 46px) 0; } .snug .section-head { margin-bottom: 20px; }
.hcard { align-content: start; }

/* =========================================================
   PROFESSIONAL CLEAN-UP v3 — flat, no 3D, calmer motion
   ========================================================= */
/* Remove 3D + gimmicks */
.stage, canvas.particles, .spotlight, .page-loader { display: none !important; }
.service-card:hover, .service-card { transform: none; }
.service-card:hover { transform: translateY(-3px); }
.work-thumb .browser, .work-card:hover .work-thumb .browser { transform: none !important; }
.btn-primary::after { content: none; }
.cta-band::after { content: none; }
.hero-bg .orb { animation: none; }
.hero-bg .orb.a { opacity: .7; }
.js .card.reveal, .js .work-item.reveal, .js .problem.reveal { filter: none; transform: translateY(16px); }
.js .card.reveal.in, .js .work-item.reveal.in, .js .problem.reveal.in { transform: none; }
.card:hover .card-icon svg, .industry:hover .card-icon svg { transform: none; }
.bob { animation: none; }
.grad-text { background: linear-gradient(100deg, var(--cyan-300), var(--indigo-300)); -webkit-background-clip: text; background-clip: text; }

/* Header phone */
.header-phone { display: none; align-items: center; gap: 8px; font: 600 var(--fs-sm) var(--font-ui); color: var(--navy-800); padding: 8px 10px; border-radius: 10px; transition: color .2s; }
.header-phone svg { width: 18px; height: 18px; color: var(--indigo-500); }
.header-phone:hover { color: var(--indigo-500); }
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* Hero panel (flat card) */
.panel { background: var(--white); color: var(--navy-900); border-radius: 20px; padding: clamp(20px, 2.4vw, 30px); box-shadow: 0 30px 60px -30px rgba(3,7,22,.7); border: 1px solid rgba(255,255,255,.6); display: grid; gap: 16px; max-width: 480px; justify-self: end; width: 100%; }
.panel-kicker { margin: 0; font: 700 var(--fs-xs)/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--indigo-500); }
.panel-title { margin: 0; font-size: var(--fs-xl); color: var(--navy-900); }
.panel-head { display: flex; gap: 14px; align-items: center; }
.panel-head .card-icon { margin: 0; flex: none; color: var(--indigo-500); background: var(--indigo-100); border: 0; }
.panel-head .panel-kicker { margin-bottom: 6px; }
.quick-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.quick-form select { min-height: 46px; padding: 0 40px 0 14px; border-radius: 12px; border: 1.5px solid var(--navy-200); background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23060E27' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center/20px; appearance: none; font: 600 15px var(--font-ui); color: var(--navy-900); min-width: 0; width: 100%; }
.quick-form select:focus { outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 4px rgba(52,56,251,.15); }
.panel-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.panel-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted-on-light); line-height: 1.45; }
.panel-list svg { width: 18px; height: 18px; flex: none; color: var(--indigo-500); margin-top: 1px; }
.panel-note { margin: 0; font-size: var(--fs-sm); color: var(--muted-on-light); padding: 12px 14px; background: var(--navy-50); border-radius: 12px; }
.panel-note strong { color: var(--navy-900); }
.panel-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--navy-100); font-size: var(--fs-sm); color: var(--muted-on-light); }
.panel-foot span { width: 100%; font-size: var(--fs-xs); }
.panel-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-900); word-break: break-all; }
.panel-foot a:hover { color: var(--indigo-500); }
.panel-foot svg { width: 16px; height: 16px; color: var(--indigo-500); flex: none; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; }
.pillars li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--navy-100); }
.pillars li:first-child { border-top: 0; padding-top: 4px; }
.pillars strong { font: 700 var(--fs-xl)/1.1 var(--font-display); color: var(--navy-900); }
.pillars li:nth-child(2) strong { color: var(--indigo-500); }
.pillars li:nth-child(3) strong { color: var(--cyan-600); }
.pillars span { font-size: var(--fs-sm); color: var(--muted-on-light); }
@media (max-width: 900px) { .panel { justify-self: stretch; max-width: none; } }
@media (max-width: 420px) { .quick-form { grid-template-columns: 1fr; } }

/* Commitments strip */
.commit { background: var(--bg-darker); border-block: 1px solid var(--border-dark); }
.commit ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.commit li { display: flex; align-items: center; gap: 10px; font: 600 var(--fs-sm) var(--font-ui); color: var(--text-on-dark); }
.commit svg { width: 20px; height: 20px; color: var(--cyan-500); flex: none; }
@media (max-width: 900px) { .commit ul { grid-template-columns: repeat(2, 1fr); } }
/* gradient word fix inside split headline (each word gets its own gradient) */
.wsplit .grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.wsplit .grad-text .w > span { background: linear-gradient(100deg, var(--cyan-300), var(--indigo-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .hero-grid { align-items: center; }

/* ===== Reviews: header, star input, modal ===== */
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.rev-head .section-head { margin-bottom: 0; }
.rev-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rev-actions .btn svg { width: 18px; height: 18px; }
.rev-summary { margin: 0; display: flex; align-items: center; gap: 10px; font: 500 var(--fs-sm) var(--font-ui); color: var(--muted-on-dark); }
.rev-summary strong { color: var(--text-on-dark); font-size: 1.05rem; }
.light .rev-summary, .white .rev-summary { color: var(--muted-on-light); }
.light .rev-summary strong, .white .rev-summary strong { color: var(--navy-900); }
.stars i.off { background: rgba(169,179,209,.3); }
.rev-more { margin-top: 24px; text-align: center; }
.review-card.just-added { border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(0,194,252,.18); animation: newCard .6s var(--ease); }
@keyframes newCard { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.review-card blockquote p { overflow-wrap: anywhere; }

.review-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: auto; }
.review-modal::backdrop { background: rgba(3,7,22,.72); backdrop-filter: blur(4px); }
.review-modal[open] { animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.review-modal .form-card { position: relative; box-shadow: none; }
.rv-title { font-size: var(--fs-xl); color: var(--navy-900); margin: 0 0 4px; }
.rv-sub { color: var(--muted-on-light); font-size: var(--fs-sm); margin: 0 0 18px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--navy-100); background: var(--navy-50); color: var(--navy-900); font-size: 24px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--indigo-100); color: var(--indigo-500); }
.review-modal .form-grid { grid-template-columns: 1fr 1fr; }

/* Star rating input (right-to-left trick so hover fills previous stars) */
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; padding: 2px; border-radius: 8px; }
.star-input svg { width: 36px; height: 36px; fill: var(--navy-100); stroke: var(--navy-200); stroke-width: 1; transition: fill .15s, transform .15s; }
.star-input label:hover svg, .star-input label:hover ~ label svg,
.star-input input:checked ~ label svg { fill: #FFB400; stroke: #E6A200; }
.star-input label:hover svg { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 3px solid var(--indigo-500); outline-offset: 2px; }
@media (max-width: 640px) { .review-modal .form-grid { grid-template-columns: 1fr; } .star-input svg { width: 32px; height: 32px; } }
.star-input label:hover svg, .star-input label:hover ~ label svg,
.star-input input:checked ~ label svg { fill: var(--cyan-500); stroke: var(--cyan-600); }
.rv-title, .rv-sub { padding-right: 48px; }
.rev-empty { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--border-dark); background: rgba(255,255,255,.03); color: var(--muted-on-dark); }
.rev-empty p { margin: 0; }
.rev-empty strong { color: var(--text-on-dark); }
.rev-empty .card-icon { margin: 0; flex: none; width: 42px; height: 42px; }
.light .rev-empty, .white .rev-empty { border-color: var(--navy-200); background: var(--white); color: var(--muted-on-light); }
.light .rev-empty strong, .white .rev-empty strong { color: var(--navy-900); }
#reviews-grid:empty { display: none; }

/* ===== Mobile fixes v4 ===== */
.quote-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
.hero-grid > *, .split > *, .grid > *, .footer-grid > *, .cta-band > * { min-width: 0; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
  .page-hero h1 { overflow-wrap: break-word; }
  .footer-links { gap: 2px; }
  .footer-links a { display: inline-block; padding: 8px 0; }
  .footer-bottom a { display: inline-block; padding: 8px 2px; }
  .info-card ul a, .info-card > div > a { display: inline-block; padding: 6px 0; }
  .contact-quick a { min-height: 48px; }
  .hero-brandline span:last-child { width: 100%; }
  .slogan { gap: 10px 18px; }
  .panel { padding: 18px; }
  .rev-head { align-items: flex-start; }
  .rev-actions { width: 100%; }
  .rev-actions .btn { width: 100%; }
}
