:root {
  --bg: #050810;
  --surface: #0c1220;
  --surface-2: #121a2e;
  --text: #eef3ff;
  --muted: #9eb0d4;
  --primary: #3d8fff;
  --primary-2: #6ec8ff;
  --accent: #4df0c5;
  --border: #1e2a44;
  --glow-primary: rgba(61, 143, 255, 0.35);
  --glow-accent: rgba(77, 240, 197, 0.2);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated mesh + grid (agency-style depth) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 100% 80% at 85% -10%, rgba(61, 143, 255, 0.22), transparent 50%),
    radial-gradient(ellipse 70% 50% at 10% 100%, rgba(77, 240, 197, 0.12), transparent 45%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(30, 60, 120, 0.25), transparent 60%),
    var(--bg);
  animation: mesh-shift 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent 75%);
  pointer-events: none;
}

@keyframes mesh-shift {
  0% { filter: hue-rotate(0deg) saturate(1); transform: scale(1); }
  100% { filter: hue-rotate(12deg) saturate(1.08); transform: scale(1.02); }
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(30, 42, 68, 0.8);
  transition: border-color 0.35s var(--ease-out-expo), background 0.35s var(--ease-out-expo);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: transform 0.4s var(--ease-out-expo);
}

.brand:hover { transform: translateY(-1px); }

.brand span {
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a {
  position: relative;
  margin-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out-expo);
}

nav a:hover,
nav a.active {
  color: var(--text);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero */
.hero {
  position: relative;
  padding: 86px 0 64px;
  isolation: isolate;
}

/* Vancouver skyline — home hero (full bleed, readable overlay) */
.hero--vancouver {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(5rem, 14vh, 7.5rem) 0 clamp(2.75rem, 7vh, 4.25rem);
  min-height: min(88vh, 920px);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.hero--vancouver .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero--vancouver .hero__media-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/vancouver-hero-aerial-hd.jpg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero--vancouver .hero__fx-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
  mix-blend-mode: screen;
}

.hero--vancouver .hero__media-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.92) 0%, rgba(5, 8, 16, 0.45) 38%, rgba(5, 8, 16, 0.55) 62%, rgba(5, 8, 16, 0.88) 100%),
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(5, 8, 16, 0.2), transparent 55%);
}

.hero--vancouver .hero__content {
  position: relative;
  z-index: 4;
}

.hero--vancouver .section-label {
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.8);
}

.hero--vancouver h1 {
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.75);
  max-width: 18ch;
}

.hero--vancouver .hero p {
  color: #c8d6ef;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.7);
}

.hero--vancouver .marquee {
  margin-top: 32px;
  background: rgba(5, 8, 16, 0.5);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Compact local strip — About */
.local-banner {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 160px;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.local-banner__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/vancouver-hero-aerial-hd.jpg");
  background-size: cover;
  background-position: center 50%;
}

.local-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 16, 0.88) 0%, rgba(5, 8, 16, 0.55) 45%, rgba(5, 8, 16, 0.88) 100%);
}

.local-banner__text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8f0ff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.hero__blobs {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  z-index: -1;
  pointer-events: none;
}

.hero--vancouver .hero__blobs {
  z-index: 2;
  opacity: 0.32;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  animation: blob-float 14s ease-in-out infinite;
}

.hero__blob--1 {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: 0;
  right: 5%;
  background: var(--glow-primary);
  animation-delay: 0s;
}

.hero__blob--2 {
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  top: 20%;
  left: 0;
  background: var(--glow-accent);
  animation-delay: -4s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -4%) scale(1.05); }
  66% { transform: translate(-4%, 2%) scale(0.98); }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 26px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-trust {
  margin: 14px 0 0;
  max-width: 700px;
  font-size: 0.96rem;
  color: #c8d6ef;
}

.hero-offer {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 240, 197, 0.32);
  background: rgba(8, 14, 26, 0.72);
  color: #d8e7ff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.hero .btn-row {
  margin-bottom: 10px;
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 600;
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    border-color 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 143, 255, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.btn.primary {
  background: linear-gradient(125deg, var(--primary), var(--primary-2));
  color: #031021;
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(61, 143, 255, 0.35);
}

.btn.primary:hover {
  box-shadow: 0 14px 48px rgba(61, 143, 255, 0.45);
}

/* Section label + marquee strip (services chips vibe) */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-locations {
  letter-spacing: 0.08em;
  color: #c9dafb;
}

.hero-locations__dot {
  color: rgba(201, 218, 251, 0.6);
  margin: 0 0.3rem;
}

.hero-locations__city--vancouver {
  color: #4dff88;
}

.hero-locations__city--toronto {
  color: #ffe34d;
}

.hero-locations__city--calgary {
  color: #ff5a5a;
}

.marquee {
  margin: 28px 0 8px;
  overflow: hidden;
  border: 1px solid rgba(30, 42, 68, 0.9);
  border-radius: 10px;
  background: rgba(12, 18, 32, 0.6);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding: 12px 0;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__item strong {
  color: var(--text);
  font-weight: 700;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section { padding: 40px 0; }

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section .lead {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 720px;
}

/* Homepage — premium stats / presence section */
.section--stats {
  position: relative;
  padding: clamp(48px, 8vw, 72px) 0 clamp(40px, 6vw, 56px);
  overflow: hidden;
}

.section--stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 85% 55% at 50% -25%, rgba(61, 143, 255, 0.16), transparent 52%),
    radial-gradient(ellipse 60% 45% at 100% 70%, rgba(77, 240, 197, 0.07), transparent 50%),
    linear-gradient(180deg, #080d18 0%, #050810 42%, #070c14 100%);
  pointer-events: none;
}

.stats-premium {
  width: min(1000px, 92%);
  margin: 0 auto;
}

.stats-premium__panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 22px;
  border: 1px solid rgba(100, 140, 200, 0.28);
  background: linear-gradient(158deg, rgba(22, 32, 54, 0.97) 0%, rgba(10, 14, 26, 0.96) 100%);
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.stats-premium__main {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  align-items: start;
}

@media (min-width: 880px) {
  .stats-premium__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(36px, 5vw, 52px);
    align-items: stretch;
  }
}

.stats-premium__eyebrow {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.95;
}

.section--stats .stats-premium__title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3.4vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text);
  max-width: 22ch;
}

@media (min-width: 880px) {
  .section--stats .stats-premium__title {
    max-width: 18ch;
  }
}

.stats-premium__lede {
  margin: 0 0 22px;
  font-size: 0.98rem;
  line-height: 1.62;
  color: #a8b8d9;
  max-width: 40ch;
}

@media (min-width: 880px) {
  .stats-premium__lede {
    max-width: none;
  }
}

.stats-premium__stats-rail {
  padding: clamp(14px, 2vw, 18px);
  border-radius: 18px;
  border: 1px solid rgba(70, 100, 150, 0.22);
  background: linear-gradient(165deg, rgba(8, 12, 24, 0.55) 0%, rgba(6, 9, 18, 0.4) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stats-premium__cta-box {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(100, 140, 200, 0.26);
  background: linear-gradient(168deg, rgba(24, 36, 60, 0.9), rgba(12, 18, 32, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.32);
}

.stats-premium__cta-box-kicker {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d8fb0;
}

.stats-premium__cta-box-line {
  margin: 0 0 16px;
  font-size: 0.91rem;
  line-height: 1.55;
  color: #c8d6ef;
}

.stats-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.5vw, 20px);
}

@media (min-width: 560px) {
  .stats-grid-2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat-card {
  position: relative;
  height: 100%;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(120, 160, 220, 0.32);
  background:
    linear-gradient(90deg, rgba(77, 240, 197, 0.95), rgba(110, 200, 255, 0.92)) 0 0 / 100% 3px no-repeat,
    linear-gradient(168deg, rgba(34, 48, 82, 0.99) 0%, rgba(20, 30, 54, 0.98) 45%, rgba(12, 18, 34, 1) 100%);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 36px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.45s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.45s var(--ease-out-expo);
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(61, 143, 255, 0.22), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 240, 197, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(61, 143, 255, 0.28),
    0 0 60px rgba(61, 143, 255, 0.16);
}

.stat-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3.2vw, 28px) clamp(20px, 2.8vw, 24px) clamp(20px, 3vw, 26px);
}

.stat-card__value {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 3.65rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f6f9ff;
  text-shadow:
    0 0 56px rgba(61, 143, 255, 0.35),
    0 2px 24px rgba(0, 0, 0, 0.5);
}

.stat-card__label {
  margin: 16px 0 10px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.stat-card__text {
  margin: 0;
  color: #9eb4d4;
  font-size: 0.87rem;
  line-height: 1.58;
}

.stats-premium__bottom {
  margin-top: clamp(28px, 4vw, 40px);
}

.stats-premium__bottom-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px);
  border-radius: 18px;
  border: 1px solid rgba(100, 160, 230, 0.3);
  background:
    linear-gradient(90deg, rgba(77, 240, 197, 0.35), rgba(61, 143, 255, 0.25)) 0 0 / 100% 2px no-repeat,
    linear-gradient(125deg, rgba(24, 36, 62, 0.98) 0%, rgba(12, 18, 34, 0.97) 100%);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stats-premium__bottom-copy {
  flex: 1;
  min-width: min(100%, 260px);
}

.stats-premium__bottom-title {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.2vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.28;
}

.stats-premium__bottom-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.52;
  max-width: 48ch;
}

.stats-premium__bottom-actions {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .stats-premium__bottom-actions {
    width: 100%;
  }

  .stats-premium__bottom-actions.btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-premium__bottom-actions .btn {
    text-align: center;
  }
}

.stats-source {
  margin: 22px auto 0;
  padding-top: 2px;
  max-width: 48rem;
  text-align: center;
  color: rgba(120, 138, 172, 0.48);
  font-size: 0.62rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

/* Lost revenue calculator */
.section--calc-loss {
  position: relative;
  padding: clamp(44px, 7vw, 68px) 0;
  overflow: hidden;
}

.section--calc-loss::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(61, 143, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(77, 240, 197, 0.06), transparent 50%),
    linear-gradient(180deg, #060a12 0%, #050810 50%, #070c14 100%);
  pointer-events: none;
}

.lrc {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.lrc__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(77, 240, 197, 0.28);
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.65);
}

.section--calc-loss .lrc__title {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text);
  max-width: 22ch;
}

@media (min-width: 720px) {
  .section--calc-loss .lrc__title {
    max-width: none;
  }
}

.lrc__subtitle {
  margin: 0 0 clamp(28px, 4vw, 36px);
  font-size: 1rem;
  line-height: 1.6;
  color: #a8b8d9;
  max-width: 52ch;
}

.lrc__grid {
  display: grid;
  gap: clamp(22px, 3vw, 28px);
  align-items: start;
}

@media (min-width: 900px) {
  .lrc__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: clamp(24px, 3vw, 32px);
  }
}

.lrc-spotlight {
  position: relative;
  overflow: hidden;
}

.lrc-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 35%), rgba(61, 143, 255, 0.16), transparent 48%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.lrc-spotlight:hover::before {
  opacity: 1;
}

.lrc-panel,
.lrc-results,
.lrc-mini {
  border-radius: 18px;
  border: 1px solid rgba(100, 140, 200, 0.26);
  background:
    linear-gradient(90deg, rgba(77, 240, 197, 0.5), rgba(110, 200, 255, 0.45)) 0 0 / 100% 2px no-repeat,
    linear-gradient(165deg, rgba(26, 36, 60, 0.95) 0%, rgba(12, 18, 32, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s var(--ease-out-expo);
}

.lrc-panel:hover,
.lrc-results:hover,
.lrc-mini:hover {
  border-color: rgba(77, 240, 197, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(61, 143, 255, 0.12);
}

.lrc-panel {
  padding: clamp(22px, 3vw, 28px);
}

.lrc-panel__eyebrow,
.lrc-fields {
  position: relative;
  z-index: 1;
}

.lrc-panel__eyebrow {
  margin: 0 0 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a9ec0;
}

.lrc-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lrc-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b4c4e4;
}

.lrc-input-wrap {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  border: 1px solid rgba(58, 78, 118, 0.9);
  background: rgba(5, 8, 16, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lrc-input-wrap:focus-within {
  border-color: rgba(61, 143, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 143, 255, 0.12);
}

.lrc-input-affix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(12, 18, 32, 0.6);
  border-right: 1px solid rgba(58, 78, 118, 0.6);
}

.lrc-input-affix--suffix {
  border-right: none;
  border-left: 1px solid rgba(58, 78, 118, 0.6);
}

.lrc-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
}

.lrc-input:focus {
  outline: none;
}

.lrc-input--plain {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(58, 78, 118, 0.9);
  background: rgba(5, 8, 16, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lrc-input--plain:focus {
  outline: none;
  border-color: rgba(61, 143, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 143, 255, 0.12);
}

.lrc-hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #7d8fb0;
}

.lrc-results {
  padding: clamp(22px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lrc-results > * {
  position: relative;
  z-index: 1;
}

.lrc-results__main {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(58, 78, 118, 0.45);
}

.lrc-results__kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lrc-results__money {
  margin: 0 0 6px;
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f4f8ff;
  text-shadow: 0 0 40px rgba(61, 143, 255, 0.22);
}

.lrc-results__year {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #d2dff7;
}

.lrc-results__period {
  font-size: 0.55em;
  font-weight: 600;
  color: #8a9ec0;
  letter-spacing: 0.02em;
}

.lrc-results__cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .lrc-results__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lrc-mini--wide {
    grid-column: 1 / -1;
  }
}

.lrc-mini {
  padding: 16px 18px;
}

.lrc-mini > * {
  position: relative;
  z-index: 1;
}

.lrc-mini__label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a9ec0;
}

.lrc-mini__value {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lrc-mini__unit {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: #7d8fb0;
}

.lrc-mini__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #a8b8d9;
}

.lrc-results__cta {
  padding-top: 4px;
}

.lrc-results__cta-head {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lrc-results__cta-copy {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.lrc__disclaimer {
  margin: clamp(22px, 3vw, 28px) 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(125, 143, 176, 0.75);
  max-width: 52rem;
}

.lrc__trust {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #9eb4d4;
}

@media (prefers-reduced-motion: reduce) {
  .lrc-spotlight:hover::before {
    opacity: 0;
  }
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  position: relative;
  background: linear-gradient(165deg, rgba(12, 18, 32, 0.95), rgba(18, 26, 46, 0.88));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.45s var(--ease-out-expo);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 143, 255, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 143, 255, 0.35);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(77, 240, 197, 0.08);
}

.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.steps { counter-reset: step; }
.steps .card h3::before {
  counter-increment: step;
  content: counter(step) ". ";
  color: var(--accent);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li { margin: 8px 0; }

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form-wrap {
  position: relative;
  background: linear-gradient(165deg, rgba(12, 18, 32, 0.95), rgba(18, 26, 46, 0.88));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.contact-form-wrap h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.contact-form-wrap .form-hint {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-row { margin-bottom: 12px; }

.form-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-row label .req { color: var(--accent); margin-left: 2px; }

.form-row .label-note {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(5, 8, 16, 0.65);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239eb0d4' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(61, 143, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(61, 143, 255, 0.15);
}

.form-row textarea {
  min-height: 108px;
  resize: vertical;
}

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.form-status.is-visible { display: block; }

.form-status--error {
  background: rgba(180, 40, 60, 0.15);
  border: 1px solid rgba(220, 80, 100, 0.35);
  color: #ffb4c0;
}

.form-status--ok {
  background: rgba(77, 240, 197, 0.1);
  border: 1px solid rgba(77, 240, 197, 0.3);
  color: var(--accent);
}

.contact-success {
  margin-top: 22px;
  padding: 20px 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(77, 240, 197, 0.35);
  background: linear-gradient(165deg, rgba(14, 28, 40, 0.92), rgba(8, 18, 28, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 36px rgba(0, 0, 0, 0.35);
}

.contact-success[hidden] {
  display: none !important;
}

.contact-success__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.contact-success__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #c8d6ef;
}

.form-actions { margin-top: 4px; }

.form-actions .btn.primary {
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
}

.form-actions .btn.primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hp-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-aside .card {
  margin-top: 0;
}

.contact-aside-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 901px) {
  .contact-form-wrap {
    padding: 20px 20px 22px;
  }

  .form-row {
    margin-bottom: 10px;
  }

  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row input[type="tel"],
  .form-row select,
  .form-row textarea {
    padding: 10px 12px;
  }

  .form-row textarea {
    min-height: 96px;
  }
}

@media (max-width: 760px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 8px; }
  nav a { margin: 0 14px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .hero__blob { animation: none; }
  .marquee__track { animation: none; }
  .stat-card:hover {
    transform: none;
  }

  .stat-card:hover::before {
    opacity: 0;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
