/* ==========================================================
   Genio — Design System v2 · Brand colors (modrá + zelená), bold modern type, lots of motion
   ========================================================== */

:root {
  /* Brand palette — Genio modrá + zelená */
  --blue:        #0A4FFF;          /* primary brand blue */
  --blue-deep:   #062D8E;          /* deep navy */
  --blue-soft:   #6E94FF;          /* light fade */
  --blue-bg:     #EAF0FF;          /* tinted bg */
  --green:       #14C27A;          /* fresh growth green */
  --green-deep:  #0A8E55;          /* deep forest */
  --green-soft:  #6EE5B0;          /* light fade */
  --green-bg:    #E6FAF1;          /* tinted bg */
  --gold:        #F5C24A;          /* highlight, sparingly */

  /* Neutrals */
  --bg:    #F4F6FA;
  --bg-2:  #ECEFF6;
  --bg-3:  #DEE3EE;
  --paper: #FFFFFF;
  --ink:   #06122B;                /* deep navy ink */
  --ink-2: #14213D;
  --muted: #5A6478;
  --muted-2: #8B95AB;
  --line: rgba(6, 18, 43, 0.10);
  --line-soft: rgba(6, 18, 43, 0.06);

  /* Type — bold + modern */
  --display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --sans:    "Manrope", "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono:    "Manrope", "Inter Tight", system-ui, sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(6, 18, 43, 0.06), 0 2px 8px rgba(6, 18, 43, 0.04);
  --shadow-md: 0 4px 12px rgba(6, 18, 43, 0.06), 0 18px 40px rgba(6, 18, 43, 0.08);
  --shadow-lg: 0 10px 30px rgba(6, 18, 43, 0.08), 0 30px 80px rgba(6, 18, 43, 0.14);
  --shadow-blue: 0 10px 30px rgba(10, 79, 255, 0.20), 0 2px 6px rgba(10, 79, 255, 0.15);
  --shadow-green: 0 10px 30px rgba(20, 194, 122, 0.22), 0 2px 6px rgba(20, 194, 122, 0.15);

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(900px 600px at 8% 12%, rgba(10,79,255,0.10), transparent 60%),
    radial-gradient(800px 600px at 92% 30%, rgba(20,194,122,0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 85%, rgba(245,194,74,0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--blue); color: #fff; }

/* Aurora animated background blobs */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 700px at 8% 12%, rgba(10, 79, 255, 0.10), transparent 60%),
    radial-gradient(800px 700px at 92% 30%, rgba(20, 194, 122, 0.08), transparent 60%),
    radial-gradient(600px 600px at 50% 110%, rgba(10, 79, 255, 0.07), transparent 60%);
  z-index: 0;
  animation: auroraShift 22s ease-in-out infinite;
}
@keyframes auroraShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.04); }
  66% { transform: translate(-30px, 40px) scale(0.98); }
}

main, header, footer, section { position: relative; z-index: 2; }

/* ==========================================================
   Typography
   ========================================================== */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 1px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.h1 {
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.italic { font-style: italic; }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; font-weight: 500; }
.muted { color: var(--muted); }

/* Brand text gradients */
.grad-blue {
  background: linear-gradient(110deg, var(--blue-deep), var(--blue) 50%, var(--blue-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-green {
  background: linear-gradient(110deg, var(--green-deep), var(--green) 50%, var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-mix {
  background: linear-gradient(110deg, var(--blue-deep) 0%, var(--blue) 30%, var(--green) 70%, var(--green-deep) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 8s ease-in-out infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Animated underline link */
.under-link {
  position: relative;
  display: inline-block;
}
.under-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.65,0,.35,1);
}
.under-link:hover::after { transform: scaleX(1); }

/* ==========================================================
   Layout
   ========================================================== */

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

section { padding: clamp(72px, 10vw, 140px) 0; }
section.tight { padding: clamp(40px, 5vw, 72px) 0; }

.divider { height: 1px; background: var(--line); width: 100%; }

/* ==========================================================
   Navigation
   ========================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease, background .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding: 10px 0;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 50%, var(--green) 100%);
  background-size: 180% 180%;
  animation: markShift 6s ease-in-out infinite;
  position: relative;
  box-shadow: 0 4px 14px rgba(10, 79, 255, 0.30);
}
.brand-mark::after {
  content: "G";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
}
@keyframes markShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { background: rgba(10, 79, 255, 0.08); color: var(--blue); }
.nav-link.active { color: var(--blue); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 1px;
}

.has-sub > .sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.has-sub { position: relative; }
.has-sub:hover > .sub { opacity: 1; pointer-events: auto; transform: translateY(4px); }
.sub a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}
.sub a:hover { background: var(--blue-bg); color: var(--blue); }
.sub a small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; font-weight: 500; }

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 18px; height: 18px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 100;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.65,0,.35,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--display); font-size: 28px; font-weight: 700; }
.mobile-menu a small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 500; }

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ==========================================================
   Buttons
   ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.005em;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
  isolation: isolate;
  font-family: var(--sans);
}
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.20) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  z-index: -1;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(10, 79, 255, 0.40); }

.btn-green {
  background: linear-gradient(120deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-green:hover { box-shadow: 0 16px 40px rgba(20, 194, 122, 0.40); }

.btn-gradient {
  background: linear-gradient(110deg, var(--blue) 0%, var(--blue-deep) 30%, var(--green) 70%, var(--green-deep) 100%);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: var(--shadow-blue);
  animation: btnShift 6s ease-in-out infinite;
}
@keyframes btnShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 15px; }

/* ==========================================================
   Hero
   ========================================================== */

/* ==========================================================
   HERO — fullscreen, structured, layered
   ========================================================== */

.hero {
  position: relative;
  min-height: clamp(720px, 96vh, 1000px);
  padding-top: clamp(60px, 6vw, 90px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}

/* Hero background: real photo + dark veil */
.hero-bg {
  position: absolute; inset: 0;
  z-index: -3;
  overflow: hidden;
}
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroPan 24s ease-in-out infinite alternate;
}
@keyframes heroPan {
  0% { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}
.hero-veil {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6,18,43,0.75) 0%, rgba(6,18,43,0.55) 35%, rgba(6,18,43,0.85) 100%),
    radial-gradient(80% 60% at 75% 30%, rgba(10,79,255,0.55), transparent 60%),
    radial-gradient(70% 60% at 20% 80%, rgba(20,194,122,0.45), transparent 60%);
}
.hero-grain {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.5px),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.5px);
  background-size: 28px 28px, 40px 40px;
  background-position: 0 0, 14px 22px;
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
.hero-orb.o1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(110,148,255,0.55), transparent 70%);
  top: -120px; right: -120px;
  animation: float 20s ease-in-out infinite;
}
.hero-orb.o2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(110,229,176,0.50), transparent 70%);
  bottom: -180px; left: -120px;
  animation: float 24s ease-in-out infinite -8s;
}
.hero-orb.o3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,194,74,0.35), transparent 70%);
  top: 40%; left: 50%;
  animation: float 18s ease-in-out infinite -12s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px, -50px) scale(1.10); }
  66% { transform: translate(-50px, 50px) scale(0.92); }
}

/* Floating ornaments */
.hero-ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  color: #fff;
  z-index: -1;
}
.hero-ornament svg { width: 100%; height: 100%; }
.hero-ornament.or1 { top: 12%; right: 18%; width: 90px; animation: floatRot 14s ease-in-out infinite; }
.hero-ornament.or2 { bottom: 22%; right: 8%; width: 64px; animation: floatRot 18s ease-in-out infinite -6s; opacity: 0.12; }
.hero-ornament.or3 { top: 30%; left: 6%; width: 76px; animation: floatRot 22s ease-in-out infinite -3s; opacity: 0.14; }
.hero-ornament.or4 { bottom: 14%; left: 32%; width: 54px; animation: floatRot 12s ease-in-out infinite -9s; opacity: 0.10; }
@keyframes floatRot {
  0%, 100% { transform: translate(0,0) rotate(0); }
  50% { transform: translate(20px, -30px) rotate(180deg); }
}

/* Hero inner — structured grid */
.hero .container { position: relative; z-index: 2; }

.hero-top {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(20px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: 0 0 0 0 rgba(110,229,176,.5);
  animation: dotPulse 2s ease-out infinite;
}

/* Headline */
.hero-title {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 22ch;
  text-wrap: balance;
  padding: 0 4px;
}
.hero-title.hero-title-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  font-size: clamp(54px, 8.5vw, 148px);
}
.hero-title .accent {
  background: linear-gradient(110deg, #6EE5B0 0%, #6E94FF 50%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
  animation: gradFlow 8s ease-in-out infinite;
}

/* Below-hero meta row */
.hero-meta-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  margin-top: clamp(48px, 7vw, 88px);
}
@media (max-width: 980px) { .hero-meta-row { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Hero square cards (3 side by side) ---------- */
.hero-cards {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .hero-cards { grid-template-columns: 1fr; } }

.hero-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 12px 24px -12px rgba(0,0,0,0.45);
  transition: transform .6s cubic-bezier(.2,.7,.3,1), box-shadow .6s ease;
  isolation: isolate;
}
.hero-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s cubic-bezier(.2,.7,.3,1);
  z-index: -1;
}
.hero-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.65), 0 16px 32px -16px rgba(0,0,0,0.5); }
.hero-card-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.hero-card-title {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.hero-card-arrow {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .4s ease, background .4s ease;
}
.hero-card-arrow svg { width: 16px; height: 16px; }
.hero-card:hover .hero-card-arrow { transform: rotate(-45deg) scale(1.08); }

.hero-lede {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
  max-width: 38ch;
  text-wrap: pretty;
  font-weight: 500;
}

.hero-side {
  display: grid;
  gap: 28px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
@media (max-width: 980px) { .hero-side { padding-left: 0; border-left: none; } }

.hero-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero-stat {
  position: relative;
}
.hero-stat::before {
  content: "";
  position: absolute;
  top: -10px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--green-soft), var(--blue-soft));
  transition: width 1.4s cubic-bezier(.2,.7,.3,1) .3s;
}
.hero-stat.in::before, .in .hero-stat::before { width: 50px; }
.hero-stat .num {
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
}
.hero-stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  display: block;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.55));
  animation: scrollDown 2.4s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* On hero use white-on-glass buttons */
.hero .btn-light {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(20px);
}
.hero .btn-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ==========================================================
   Image — actually-decorative placeholder system
   Real photos can drop in via background-image override.
   ========================================================== */

.imgph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  color: #fff;
}
.imgph .ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.4s cubic-bezier(.2,.7,.3,1);
  will-change: transform;
}
.imgph:hover .ph-img { transform: scale(1.06); }

/* The art layer — gradient overlay only; the actual image is on the host element */
.imgph {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0B1F4A;
}
.imgph::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,18,43,0) 35%, rgba(6,18,43,0.78) 100%);
  z-index: 1;
  transition: opacity .6s ease;
  pointer-events: none;
}
.imgph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 80% 0%, rgba(110,148,255,0.18), transparent 60%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
  transition: opacity .6s ease;
}
.imgph:hover::after { opacity: 1; }

.imgph[data-tone="blue"]::before { background: linear-gradient(180deg, rgba(6,18,43,0) 35%, rgba(6,45,142,0.85) 100%); }
.imgph[data-tone="green"]::before { background: linear-gradient(180deg, rgba(6,18,43,0) 35%, rgba(10,122,74,0.85) 100%); }
.imgph[data-tone="mix"]::before { background: linear-gradient(180deg, rgba(6,18,43,0) 30%, rgba(10,79,255,0.55) 70%, rgba(20,194,122,0.55) 100%); }
.imgph[data-tone="dark"]::before { background: linear-gradient(180deg, rgba(6,18,43,0.10) 0%, rgba(6,18,43,0.85) 100%); }
.imgph[data-tone="light"]::before { background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.30) 100%); }
.imgph[data-tone="light"] { color: var(--ink); }

/* Decorative SVG glyphs floating inside */
.imgph .glyph {
  position: absolute;
  opacity: 0.18;
  z-index: -1;
  animation: floatSlow 12s ease-in-out infinite;
}
.imgph .glyph.g1 { top: 20%; right: 12%; width: 40%; }
.imgph .glyph.g2 { bottom: 14%; right: 20%; width: 28%; animation-delay: -4s; }
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -10px) rotate(4deg); }
}

.imgph > * { position: relative; z-index: 2; }
.imgph .ph-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  align-self: flex-start;
}
.imgph[data-tone="light"] .ph-tag { background: rgba(6,18,43,0.85); color: #fff; }

.imgph .ph-title {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 8px;
  max-width: 24ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.40);
}
.imgph { display: flex; flex-direction: column; justify-content: space-between; }

/* ==========================================================
   Service / Card grid
   ========================================================== */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.section-head .lede { margin-top: 18px; }

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.4,0,.2,1), box-shadow .5s ease, border-color .5s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 380px;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, var(--blue), 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 .5s ease;
  pointer-events: none;
  z-index: 1;
}
.card:hover::before { opacity: 1; }
.card.green-accent::before {
  background: linear-gradient(135deg, transparent 30%, var(--green), transparent 70%);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(10,79,255,0.18), 0 4px 12px rgba(6,18,43,0.08);
  border-color: transparent;
}
.card.green-accent:hover {
  box-shadow: 0 24px 60px rgba(20,194,122,0.20), 0 4px 12px rgba(6,18,43,0.08);
}
.card::after {
  content: "";
  position: absolute;
  bottom: -160px; right: -160px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 79, 255, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
  z-index: 0;
  filter: blur(20px);
}
.card:hover::after { opacity: 1; transform: scale(1.15); }
.card.green-accent::after { background: radial-gradient(circle, rgba(20, 194, 122, 0.28), transparent 70%); }
.card > * { position: relative; z-index: 2; }

.card-img {
  position: relative;
  margin: -36px -36px 0;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-img img { transform: scale(1.06); }
.card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,18,43,0) 50%, rgba(6,18,43,0.40) 100%);
  pointer-events: none;
}

.card-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.green-accent .card-num { color: var(--green-deep); }
.card h3 { font-size: clamp(26px, 2.2vw, 34px); }
.card .card-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.card .card-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.card .card-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  margin-top: 7px;
  flex-shrink: 0;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.card-foot .arrow-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .4s ease, color .4s ease, transform .4s ease, border-color .4s ease;
}
.card:hover .arrow-wrap {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-color: transparent;
  transform: rotate(-45deg);
}
.green-accent:hover .arrow-wrap {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}

/* Tall feature card variant */
.card-feature {
  grid-column: span 2;
  min-height: 440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
@media (max-width: 900px) { .card-feature { grid-column: span 1; grid-template-columns: 1fr; } }
.card-feature .card-body { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.card-feature .card-image { background: var(--bg-3); position: relative; min-height: 280px; }

/* ==========================================================
   Stats section
   ========================================================== */

.stats {
  background: linear-gradient(135deg, #06122B 0%, #0B1F4A 50%, #062D8E 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 194, 122, 0.30), transparent 70%);
  pointer-events: none;
  animation: orbPulse 9s ease-in-out infinite;
}
.stats::after {
  content: "";
  position: absolute;
  bottom: -250px; left: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 79, 255, 0.40), transparent 70%);
  pointer-events: none;
  animation: orbPulse 11s ease-in-out infinite reverse;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.15) translate(20px, -10px); }
}
.stats > * { position: relative; z-index: 1; }
.stats-head {
  margin-bottom: clamp(40px, 5vw, 60px);
  max-width: 720px;
}
.stats-head .eyebrow { color: var(--green-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  border-top: 2px solid rgba(255,255,255,.15);
  padding-top: 18px;
  position: relative;
}
.stat::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--green-soft), var(--blue-soft));
  transition: width 1.4s cubic-bezier(.2,.7,.3,1) .2s;
}
.stat.in::before, .in .stat::before { width: 80px; }
.stat .stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.stat .stat-num .unit {
  font-size: 0.45em;
  color: var(--green-soft);
  margin-left: 6px;
  font-weight: 600;
}
.stat .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin-top: 14px;
  max-width: 22ch;
  font-weight: 500;
}

/* ==========================================================
   Editorial
   ========================================================== */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; } }
.editorial-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(360px, 50vw, 560px);
  position: sticky;
  top: 100px;
}
.editorial-body p { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 58ch; font-weight: 500; }
.editorial-body p + p { margin-top: 1em; }
.editorial-body .pull {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  margin: 40px 0;
  padding: 24px 0 24px 24px;
  border-left: 4px solid;
  border-image: linear-gradient(to bottom, var(--blue), var(--green)) 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ==========================================================
   Pills
   ========================================================== */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  transition: all .25s ease;
}
.pill.active, .pill:hover {
  background: linear-gradient(120deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

/* ==========================================================
   Property cards
   ========================================================== */

.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .props { grid-template-columns: 1fr; } }

.prop {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s ease, border-color .5s ease;
}
.prop:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.prop-img { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.prop-img .imgph { height: 100%; transition: transform 1s cubic-bezier(.4,0,.2,1); }
.prop:hover .prop-img .imgph { transform: scale(1.06); }
.prop-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  z-index: 4;
}
.prop-body { padding: 22px; display: grid; gap: 8px; }
.prop-body h4 { font-family: var(--display); font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.prop-meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); font-weight: 500; flex-wrap: wrap; }
.prop-price { font-family: var(--display); font-size: 24px; margin-top: 8px; font-weight: 700; color: var(--blue-deep); letter-spacing: -0.02em; }

/* ==========================================================
   Steps / Process
   ========================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  transition: background .3s ease;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.65,0,.35,1);
}
.step:hover { background: var(--paper); }
.step:hover::before { transform: scaleX(1); }
.step:nth-child(4n) { border-right: none; }
@media (max-width: 900px) {
  .step:nth-child(4n) { border-right: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: none; }
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.step h4 { font-family: var(--display); font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.step p { font-size: 14px; color: var(--muted); margin: 0; font-weight: 500; }

/* ==========================================================
   Tools grid (Regenio)
   ========================================================== */

.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 900px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tools { grid-template-columns: 1fr; } }
.tool {
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  transition: background .3s ease, transform .3s ease;
  position: relative;
}
.tool:hover { background: var(--bg); transform: scale(1.02); z-index: 2; box-shadow: var(--shadow-md); }
.tool .num { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--blue); letter-spacing: 0.12em; }
.tool h4 { font-family: var(--display); font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.tool p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; font-weight: 500; }

/* ==========================================================
   Testimonials
   ========================================================== */

.tlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .tlist { grid-template-columns: 1fr; } }
.tcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  position: relative;
  overflow: hidden;
}
.tcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.tcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 0 0 4px 0;
}
.tcard blockquote {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.tcard blockquote::before { content: "“"; color: var(--blue); margin-right: 2px; }
.tcard blockquote::after { content: "”"; color: var(--green-deep); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}
.tcard .who-text { font-size: 13px; font-weight: 500; }
.tcard .who-text small { color: var(--muted); display: block; font-weight: 500; }

/* ==========================================================
   CTA bands
   ========================================================== */

.cta-band {
  background: linear-gradient(135deg, #06122B 0%, #0B1F4A 50%, #062D8E 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band::before {
  content: "";
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 194, 122, 0.30), transparent 70%);
  animation: orbPulse 12s ease-in-out infinite;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 79, 255, 0.40), transparent 70%);
  animation: orbPulse 10s ease-in-out infinite reverse;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(36px, 4.5vw, 64px); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band .actions { justify-content: flex-start; } }

.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.30); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Green CTA variant */
.cta-band.green-band {
  background: linear-gradient(135deg, #0A7A4A 0%, #0FA362 50%, #14C27A 100%);
}
.cta-band.green-band::before { background: radial-gradient(circle, rgba(10, 79, 255, 0.30), transparent 70%); }
.cta-band.green-band::after { background: radial-gradient(circle, rgba(255,255,255,0.20), transparent 70%); }

/* ==========================================================
   Forms
   ========================================================== */

.form { display: grid; gap: 16px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) { .form-grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 79, 255, 0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.checkbox input { margin-top: 3px; accent-color: var(--blue); }

/* ==========================================================
   Footer
   ========================================================== */

.footer {
  background: linear-gradient(180deg, #06122B 0%, #020816 100%);
  color: var(--bg);
  padding: 80px 0 40px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 194, 122, 0.18), transparent 70%);
  animation: orbPulse 14s ease-in-out infinite;
}
.footer::after {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 79, 255, 0.18), transparent 70%);
  animation: orbPulse 16s ease-in-out infinite reverse;
}
.footer > * { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin: 0 0 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.75); font-size: 14px; transition: color .2s ease; font-weight: 500; }
.footer ul a:hover { color: var(--green-soft); }

.footer .brand-block .brand { color: var(--bg); font-size: 26px; margin-bottom: 16px; }
.footer .brand-block p { color: rgba(255,255,255,.70); font-size: 14px; max-width: 32ch; line-height: 1.6; font-weight: 500; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--green-soft); }

/* ==========================================================
   Page header
   ========================================================== */

.page-head {
  position: relative;
  padding-top: clamp(120px, 14vw, 200px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background-color: #06122B;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--page-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroPan 24s ease-in-out infinite alternate;
}
.page-head::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,18,43,0.65) 0%, rgba(6,18,43,0.50) 40%, rgba(6,18,43,0.85) 100%),
    radial-gradient(70% 60% at 80% 20%, rgba(10,79,255,0.45), transparent 60%),
    radial-gradient(60% 60% at 15% 85%, rgba(20,194,122,0.35), transparent 60%);
  width: auto; height: auto; border-radius: 0; opacity: 1; filter: none;
  animation: none;
}
.page-head .container { position: relative; z-index: 1; text-align: center; }
.page-head .crumb { color: rgba(255,255,255,0.75); justify-content: center; display: flex; }
.page-head .crumb a { color: #fff; }
.page-head .crumb a:hover { color: var(--green-soft); }
.page-head .crumb span { color: rgba(255,255,255,0.6); }
.page-head .display { color: #fff; max-width: 22ch; margin-left: auto; margin-right: auto; }
.page-head .lede { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; max-width: 56ch; }
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumb a { color: var(--blue); }
.crumb a:hover { color: var(--ink); }
.page-head::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,18,43,0.65) 0%, rgba(6,18,43,0.50) 40%, rgba(6,18,43,0.85) 100%),
    radial-gradient(70% 60% at 80% 20%, rgba(10,79,255,0.45), transparent 60%),
    radial-gradient(60% 60% at 15% 85%, rgba(20,194,122,0.35), transparent 60%);
  pointer-events: none;
}
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumb a { color: var(--blue); }
.crumb a:hover { color: var(--ink); }

/* ==========================================================
   Reveal animations
   ========================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.3,1), transform 1s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }

/* Reveal variants */
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].in { transform: none; }

/* Word-by-word reveal */
.split-words { display: inline; }
.split-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
.split-words .space { display: inline-block; width: .25em; }
.split-words.in .w { opacity: 1; transform: none; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: linear-gradient(90deg, var(--blue-bg), var(--green-bg));
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marq 32s linear infinite;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: inline-block;
}
@keyframes marq {
  to { transform: translateX(-50%); }
}

/* ==========================================================
   Video block (YouTube embed)
   ========================================================== */

/* ==========================================================
   Page-wide motion + ornament upgrade
   ========================================================== */

/* Animated background gradient that drifts behind sections */
section { position: relative; }
.section-anim-bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.section-anim-bg::before,
.section-anim-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: orbDrift 28s ease-in-out infinite;
}
.section-anim-bg::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(10,79,255,0.40), transparent 70%);
  top: -200px; left: -150px;
}
.section-anim-bg::after {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(20,194,122,0.35), transparent 70%);
  bottom: -220px; right: -120px;
  animation-delay: -14s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.15); }
}

/* Dark-section variant */
.section-dark {
  background: linear-gradient(135deg, #06122B 0%, #0B1F4A 50%, #062D8E 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(60px, 7vw, 100px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-dark .h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lede, .section-dark p { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow { color: rgba(255,255,255,0.65); }

/* Section divider — animated wave */
.section-divider {
  display: block;
  width: 100%;
  height: 60px;
  margin: 40px 0;
  background-image: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 100% 1px;
  position: relative;
}
.section-divider::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line);
  animation: dividerPulse 3s ease-in-out infinite;
}
@keyframes dividerPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.6; }
}

/* Decorative SVG ornaments — sprinkle into pages */
.deco-ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.10;
  z-index: 0;
  animation: deco 18s ease-in-out infinite;
}
@keyframes deco {
  0%, 100% { transform: translate(0,0) rotate(0); }
  50% { transform: translate(20px, -30px) rotate(180deg); }
}

/* Marquee text strip — runs between sections */
.marquee-strip {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee-strip::before, .marquee-strip::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.marquee-strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-strip::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: marqueeRun 40s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-track span::after {
  content: "✦";
  color: var(--green);
}
@keyframes marqueeRun {
  to { transform: translateX(-50%); }
}

/* Number tile (big numbered chips for sections) */
.num-tile {
  display: inline-flex;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  align-items: center; justify-content: center;
  letter-spacing: 0;
  box-shadow: 0 8px 24px rgba(10,79,255,0.35);
}
.num-tile.green { background: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 8px 24px rgba(20,194,122,0.35); }

/* Animated bordered card — hover glows */
.glow-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s, box-shadow .5s, border-color .5s;
}
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(10,79,255,0.10), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  z-index: 0;
}
.glow-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(6,18,43,0.12); border-color: transparent; }
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* Big-number reveal */
.big-num {
  font-family: var(--display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Page hero polish — hero photo always present + tinted */
.page-head {
  position: relative;
  padding: clamp(120px, 14vw, 200px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #06122B;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--page-img);
  background-size: cover; background-position: center;
  opacity: 0.45;
  z-index: -2;
  animation: heroPan 30s ease-in-out infinite alternate;
}
.page-head::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,43,0.5) 0%, rgba(6,18,43,0.85) 100%),
    radial-gradient(70% 60% at 80% 20%, rgba(10,79,255,0.4), transparent 60%),
    radial-gradient(60% 60% at 20% 80%, rgba(20,194,122,0.4), transparent 60%);
  z-index: -1;
}
.page-head .crumb { color: rgba(255,255,255,0.7); }
.page-head .crumb a { color: rgba(255,255,255,0.85); }
.page-head .lede { color: rgba(255,255,255,0.78); }

/* Inline icon chip with text */
.icon-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10,79,255,0.08);
  border: 1px solid rgba(10,79,255,0.18);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
}
.icon-chip.green { background: rgba(20,194,122,0.10); border-color: rgba(20,194,122,0.22); color: var(--green-deep); }

/* Hero stat row — chips below subhead */
.hero-stat-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.page-head .hero-stat-row .icon-chip {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.page-head .hero-stat-row .icon-chip.green {
  background: rgba(110,229,176,0.16);
  border-color: rgba(110,229,176,0.32);
  color: #B5F4D1;
}

/* Big number row */
.big-num-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 700px) { .big-num-row { grid-template-columns: 1fr; } }
.big-num-block {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.big-num-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.section-dark .big-num {
  background: linear-gradient(135deg, #6E94FF 0%, #6EE5B0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
}
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; gap: 32px; } }

.video-block {
  position: relative;
  aspect-ratio: 16/9;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-block iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-poster {
  position: absolute; inset: 0;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease;
  overflow: hidden;
}
.video-poster img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s ease;
}
.video-poster:hover img { transform: scale(1.08); }
.video-poster.hidden { opacity: 0; pointer-events: none; }
.video-poster::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,43,0.30) 0%, rgba(6,18,43,0.55) 100%),
    radial-gradient(circle at 30% 30%, rgba(10, 79, 255, 0.30), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(20, 194, 122, 0.30), transparent 60%);
  z-index: 1;
}
.video-play {
  width: clamp(80px, 10vw, 130px);
  height: clamp(80px, 10vw, 130px);
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.video-play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  animation: pulseRing 2s ease-out infinite;
}
.video-play::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  animation: pulseRing 2s ease-out infinite .5s;
}
@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.video-play svg {
  width: 40%; height: 40%;
  fill: var(--blue-deep);
  margin-left: 6px;
}
.video-poster:hover .video-play { transform: scale(1.06); }
.video-label {
  position: absolute;
  bottom: 24px; left: 24px;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}
.video-yt-link {
  position: absolute;
  bottom: 16px; right: 16px;
  z-index: 5;
  background: rgba(0,0,0,0.65);
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.video-yt-link:hover { background: rgba(0,0,0,0.85); }

/* Colorful icon cards */
.icards .icard { padding-top: 28px; min-height: 280px; }
.icard .ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.3);
}
.icard .ic svg { width: 28px; height: 28px; color: #fff; }
.icard .ic-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-soft); }
.icard .chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  color: var(--ink);
  font-weight: 600;
}
.ic-blue .ic { background: linear-gradient(135deg,#0A4FFF,#062D8E); }
.ic-blue { background: linear-gradient(180deg,#fff,#EEF3FF); }
.ic-blue .chip { background: rgba(10,79,255,.10); color: #0A4FFF; }
.ic-green .ic { background: linear-gradient(135deg,#14C27A,#0A7A4A); }
.ic-green { background: linear-gradient(180deg,#fff,#E9FBF2); }
.ic-green .chip { background: rgba(20,194,122,.12); color: #0A7A4A; }
.ic-amber .ic { background: linear-gradient(135deg,#F5A524,#C77A00); }
.ic-amber { background: linear-gradient(180deg,#fff,#FFF6E6); }
.ic-amber .chip { background: rgba(245,165,36,.14); color: #9A5C00; }
.ic-violet .ic { background: linear-gradient(135deg,#7C5CFF,#4F2FCC); }
.ic-violet { background: linear-gradient(180deg,#fff,#F1ECFF); }
.ic-violet .chip { background: rgba(124,92,255,.12); color: #4F2FCC; }
.ic-teal .ic { background: linear-gradient(135deg,#18B6B6,#0E7A7A); }
.ic-teal { background: linear-gradient(180deg,#fff,#E5F8F8); }
.ic-teal .chip { background: rgba(24,182,182,.14); color: #0E7A7A; }
.ic-rose .ic { background: linear-gradient(135deg,#F2618A,#B73063); }
.ic-rose { background: linear-gradient(180deg,#fff,#FFEAF1); }
.ic-rose .chip { background: rgba(242,97,138,.14); color: #B73063; }

/* Icard grid — colorful service cards */
.icard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.icard-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .icard-grid, .icard-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .icard-grid, .icard-grid.cols-2 { grid-template-columns: 1fr; } }
/* Floating ornaments scattered across page background */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(10,79,255,0.10) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 18%, rgba(20,194,122,0.10) 0 6px, transparent 7px),
    radial-gradient(circle at 22% 78%, rgba(245,194,74,0.10) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 82%, rgba(10,79,255,0.08) 0 4px, transparent 5px);
}
main, header, footer { position: relative; z-index: 1; }

/* Floating circles — many small dots drifting behind sections */
section { position: relative; overflow: hidden; }
section:not(.section-dark):not(.hero):not(.page-head)::before,
section:not(.section-dark):not(.hero):not(.page-head)::after { /* keep blurred orbs */ }

/* ==========================================================
   MOBILE RESPONSIVE — phone-optimized layouts
   ========================================================== */
@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
  }
  html, body { font-size: 15px; }

  /* Compact hero */
  .hero { min-height: auto; padding-top: 90px; padding-bottom: 60px; }
  .hero h1, .display { font-size: clamp(36px, 9vw, 52px) !important; line-height: 1.05 !important; }
  .h2 { font-size: clamp(26px, 7vw, 36px) !important; }
  .lede { font-size: 15px !important; line-height: 1.5; }

  /* Page head */
  .page-head { padding-top: 100px !important; padding-bottom: 50px !important; }

  /* Section padding tighter */
  section { padding-top: 50px; padding-bottom: 50px; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Cards: KEEP 2 columns side by side instead of single column */
  .cards, .icard-grid, .icard-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .card, .icard {
    padding: 16px 14px !important;
    min-height: auto !important;
  }
  .card h3, .icard h3 { font-size: 15px !important; line-height: 1.25; }
  .card p, .icard p { font-size: 12px !important; line-height: 1.45; }
  .card-num, .chip { font-size: 9px !important; letter-spacing: 0.10em; padding: 4px 8px; }
  .icard .ic { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 4px; }
  .icard .ic svg { width: 20px; height: 20px; }
  .icard .ic-foot { display: none; }
  .card-list { font-size: 12px; }
  .card-list li { padding: 4px 0; }

  /* Hero cards (3 squares) — 3 across, smaller */
  .hero-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .hero-cards .imgph { height: 120px !important; min-height: 120px; }
  .hero-cards .ph-tag { font-size: 9px !important; padding: 3px 6px; }
  .hero-cards .ph-title { font-size: 11px !important; }
  /* Hide circular arrow on mobile so it doesn't overlap the title */
  .hero-card-arrow { display: none !important; }
  .hero-card { padding: 14px 12px !important; min-height: 150px !important; }
  .hero-card-tag { font-size: 9px !important; letter-spacing: 0.14em !important; padding: 4px 8px !important; }
  .hero-card-title { font-size: 14px !important; line-height: 1.15 !important; }
  .hero-card-title br { display: none; }

  /* Stats grid 2x2 */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .stat-num { font-size: clamp(28px, 8vw, 40px) !important; }
  .stat-label { font-size: 11px !important; }

  /* Hero stat row */
  .hero-stat-row { gap: 6px !important; }
  .icon-chip { font-size: 11px !important; padding: 6px 10px !important; }

  /* Big-num row stays 3 across (compact) */
  .big-num-row { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
  .big-num { font-size: clamp(24px, 7vw, 32px) !important; }
  .big-num-label { font-size: 10px !important; letter-spacing: 0.10em; }

  /* Editorial / 2-col grids stack */
  .editorial, .grid-2 { grid-template-columns: 1fr !important; gap: 24px !important; }
  .editorial-image .imgph { height: 240px !important; }

  /* Section heads */
  .section-head { grid-template-columns: 1fr !important; gap: 16px; margin-bottom: 24px; }
  .eyebrow { font-size: 10px !important; letter-spacing: 0.14em; }

  /* Buttons */
  .btn { font-size: 14px !important; padding: 12px 18px !important; }
  .btn-lg { padding: 14px 22px !important; font-size: 15px !important; }

  /* Process / biglist — keep stacked but tighter */
  .biglist li { grid-template-columns: 1fr !important; gap: 4px !important; padding: 14px 0 !important; }
  .biglist .t { font-size: 18px !important; }
  .biglist .arrow { display: none !important; }

  /* Rich CTA stacks */
  .rich-cta { grid-template-columns: 1fr !important; padding: 28px 20px !important; gap: 24px !important; }
  .form-card { padding: 18px !important; }
  .form-grid-2 { grid-template-columns: 1fr !important; gap: 10px !important; }

  /* Footer cols */
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }

  /* Property listings — 2 cols */
  .prop-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .prop { padding: 10px !important; }
  .prop h3, .prop-title { font-size: 14px !important; line-height: 1.2; }
  .prop-meta { font-size: 11px !important; }
  .prop-price { font-size: 16px !important; }
  .prop-img { height: 140px !important; }
  .prop-photos, .prop-sample { font-size: 9px !important; padding: 3px 6px !important; }

  /* Property modal — fullscreen */
  .prop-modal { padding: 0 !important; }
  .prop-modal-inner { max-height: 100vh !important; border-radius: 0 !important; }

  /* Filter chips wrap nicely */
  .filter-chips { gap: 6px !important; flex-wrap: wrap; }
  .filter-chips button { font-size: 11px !important; padding: 6px 10px !important; }

  /* Tools grid */
  .tools { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }

  /* Marquee a touch slower-readable */
  .marquee { font-size: 14px !important; }

  /* Reduce decorative orbs density on mobile */
  section::before, section::after { opacity: 0.4 !important; filter: blur(50px) !important; }
  section:not(.section-dark):not(.hero):not(.page-head) > .container::before {
    background-size:
      14px 14px, 10px 10px, 18px 18px, 12px 12px,
      16px 16px, 8px 8px, 12px 12px, 14px 14px,
      10px 10px, 14px 14px, 12px 12px, 16px 16px,
      9px 9px, 18px 18px, 14px 14px, 8px 8px,
      12px 12px, 10px 10px, 14px 14px, 9px 9px !important;
    opacity: 0.6;
  }

  /* Nav mobile */
  .nav-links { display: none !important; }
  .nav-cta-mobile { display: inline-flex !important; }

  /* Video block keeps 16:9 */
  .video-block { border-radius: 16px !important; }
  .video-label { font-size: 10px !important; bottom: 12px !important; left: 12px !important; padding: 4px 10px !important; }
  .video-play { width: 64px !important; height: 64px !important; }

  /* Tags / pills */
  .ph-tag, .pill, .rich-pill { font-size: 10px !important; padding: 5px 10px !important; }

  /* Section dark */
  .section-dark { padding: 40px 20px !important; border-radius: 20px !important; }

  /* Image placeholders shorter on mobile */
  .imgph { min-height: 180px; }
}

@media (max-width: 420px) {
  .hero h1, .display { font-size: clamp(30px, 9vw, 40px) !important; }
  .h2 { font-size: clamp(22px, 7vw, 28px) !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-cards { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
  .hero-cards .imgph { height: 90px !important; min-height: 90px; }
  .hero-cards .ph-title { font-size: 10px !important; }
  .hero-card { padding: 10px 9px !important; min-height: 130px !important; }
  .hero-card-title { font-size: 12px !important; }
}
section:not(.section-dark):not(.hero):not(.page-head) > .container::before {
  content: "";
  position: absolute;
  inset: -100px -50px;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(10,79,255,0.55) 0 6px, transparent 7px),
    radial-gradient(circle, rgba(20,194,122,0.50) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(245,194,74,0.55) 0 8px, transparent 9px),
    radial-gradient(circle, rgba(110,148,255,0.50) 0 5px, transparent 6px),
    radial-gradient(circle, rgba(110,229,176,0.45) 0 7px, transparent 8px),
    radial-gradient(circle, rgba(10,79,255,0.40) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(245,194,74,0.40) 0 5px, transparent 6px),
    radial-gradient(circle, rgba(20,194,122,0.40) 0 6px, transparent 7px),
    radial-gradient(circle, rgba(110,148,255,0.45) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(245,194,74,0.50) 0 6px, transparent 7px),
    radial-gradient(circle, rgba(20,194,122,0.45) 0 5px, transparent 6px),
    radial-gradient(circle, rgba(10,79,255,0.45) 0 7px, transparent 8px),
    radial-gradient(circle, rgba(110,229,176,0.50) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(245,194,74,0.35) 0 8px, transparent 9px),
    radial-gradient(circle, rgba(110,148,255,0.40) 0 6px, transparent 7px),
    radial-gradient(circle, rgba(20,194,122,0.50) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(10,79,255,0.35) 0 5px, transparent 6px),
    radial-gradient(circle, rgba(245,194,74,0.45) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(110,229,176,0.40) 0 6px, transparent 7px),
    radial-gradient(circle, rgba(10,79,255,0.50) 0 4px, transparent 5px);
  background-position:
    4% 8%, 96% 12%, 18% 28%, 82% 32%,
    8% 48%, 92% 52%, 26% 68%, 74% 72%,
    12% 88%, 88% 92%, 38% 18%, 62% 22%,
    44% 42%, 56% 38%, 32% 58%, 68% 62%,
    48% 78%, 52% 82%, 6% 68%, 94% 78%;
  background-repeat: no-repeat;
  background-size:
    22px 22px, 16px 16px, 30px 30px, 20px 20px,
    26px 26px, 12px 12px, 18px 18px, 24px 24px,
    16px 16px, 22px 22px, 18px 18px, 28px 28px,
    14px 14px, 32px 32px, 22px 22px, 12px 12px,
    18px 18px, 16px 16px, 24px 24px, 14px 14px;
  animation: dotsDrift 30s ease-in-out infinite alternate;
}
@keyframes dotsDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(20px, -16px); }
}

section::before, section::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(70px); opacity: 0.7;
}
section:nth-of-type(odd)::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(10,79,255,0.30), transparent 70%);
  top: -140px; right: -160px;
  animation: floatOrnA 22s ease-in-out infinite;
}
section:nth-of-type(odd)::after {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(20,194,122,0.28), transparent 70%);
  bottom: -120px; left: -140px;
  animation: floatOrnB 26s ease-in-out infinite -6s;
}
section:nth-of-type(even)::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245,194,74,0.26), transparent 70%);
  top: 15%; left: -160px;
  animation: floatOrnB 24s ease-in-out infinite -3s;
}
section:nth-of-type(even)::after {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(110,148,255,0.30), transparent 70%);
  bottom: -140px; right: -160px;
  animation: floatOrnA 28s ease-in-out infinite -10s;
}
section > .container { position: relative; z-index: 2; }
section.section-dark::before, section.section-dark::after,
section.hero::before, section.hero::after,
section.page-head::before, section.page-head::after { display: none; }
@keyframes floatOrnA {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.08); }
}
@keyframes floatOrnB {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px,40px) scale(0.94); }
}
.icard {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.4,0,.2,1), box-shadow .5s ease;
}
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.icard h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.icard p { font-size: 14px; line-height: 1.55; }

/* Big numbered list */
.biglist { list-style: none; padding: 0; margin: 0; }
.biglist li {
  display: grid;
  grid-template-columns: 110px 1fr 2fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .35s ease, background .35s ease;
}
.biglist li:last-child { border-bottom: 1px solid var(--line); }
.biglist li:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(10,79,255,0.04), transparent 60%); }
.biglist .n { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: 0.16em; font-weight: 600; }
.biglist .t { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.biglist .arrow { font-size: 24px; color: var(--blue); transition: transform .35s ease; }
.biglist li:hover .arrow { transform: translateX(8px); }
@media (max-width: 800px) {
  .biglist li { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .biglist .arrow { display: none; }
}

/* Rich CTA — dark band with form on right */
.rich-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #06122B 0%, #0B1F4A 50%, #062D8E 100%);
  color: #fff;
  padding: clamp(40px, 5vw, 72px);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.rich-cta::before {
  content: ""; position: absolute; top: -180px; right: -180px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,229,176,0.30), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.rich-cta::after {
  content: ""; position: absolute; bottom: -160px; left: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,148,255,0.30), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.rich-cta-l, .rich-cta-r { position: relative; z-index: 2; }
.rich-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rich-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500;
}
.rich-bullets li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #6EE5B0, #6E94FF);
  margin-top: 7px; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(110,229,176,0.6);
}
.form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-card .field label { color: rgba(255,255,255,0.75); }
.form-card .field input,
.form-card .field textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
}
.form-card .field input::placeholder,
.form-card .field textarea::placeholder { color: rgba(255,255,255,0.45); }
.form-card .checkbox { color: rgba(255,255,255,0.78); font-size: 13px; }
@media (max-width: 900px) { .rich-cta { grid-template-columns: 1fr; gap: 32px; } }

/* Legacy 3-col rich-cta (back-compat) */
.rich-cta-bullets-row { display: grid !important; grid-template-columns: 1fr 1.4fr auto; gap: 36px; align-items: center; }
@media (max-width: 980px) { .rich-cta-bullets-row { grid-template-columns: 1fr; gap: 24px; } }
.rich-cta-bullets { display: flex; flex-direction: column; gap: 10px; }
.rich-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.10em; font-weight: 500;
}

/* Property card additions */
.prop { cursor: pointer; }
.prop-photos {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.65);
  color: #fff; font-family: var(--mono); font-size: 11px;
  padding: 6px 10px; border-radius: 999px; letter-spacing: 0.08em;
  z-index: 2;
}
.prop-sample {
  position: absolute; top: 12px; right: 12px;
  background: rgba(245,194,74,0.95); color: #06122B;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  padding: 5px 9px; border-radius: 4px; letter-spacing: 0.14em;
  z-index: 2;
}
.prop-detail-link {
  margin-top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue); font-weight: 600;
}

/* Property modal */
.prop-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6,18,43,0.85); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.prop-overlay.open { display: flex; animation: propFade .25s ease; }
@keyframes propFade { from { opacity: 0; } to { opacity: 1; } }
.prop-modal {
  background: #fff; border-radius: 24px; overflow: hidden;
  width: min(1180px, 100%); max-height: 92vh;
  display: grid; grid-template-columns: 1.4fr 1fr;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  position: relative;
}
@media (max-width: 880px) { .prop-modal { grid-template-columns: 1fr; max-height: 96vh; overflow-y: auto; } }
.prop-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: none;
  font-size: 24px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.prop-gallery { position: relative; background: #0a0a0a; min-height: 420px; }
.prop-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 92vh; }
@media (max-width: 880px) { .prop-hero-img { max-height: 50vh; } }
.prop-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: none;
  font-size: 28px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.prop-prev { left: 14px; } .prop-next { right: 14px; }
.prop-counter {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,0.65); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.10em;
}
.prop-thumbs {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; max-width: 90%; overflow-x: auto;
  padding: 6px;
}
.prop-thumb {
  width: 56px; height: 40px; border-radius: 6px;
  background-size: cover; background-position: center;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer; flex-shrink: 0;
}
.prop-thumb.active { border-color: #fff; }
.prop-info {
  padding: 36px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
}
.prop-tag2 {
  align-self: flex-start;
  font-family: var(--mono); font-size: 11px;
  background: var(--green); color: #fff;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.14em;
}
.prop-title { font-family: var(--display); font-size: clamp(24px,2vw,32px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.prop-loc { color: var(--ink-2); font-size: 14px; }
.prop-price2 { font-family: var(--display); font-size: clamp(28px,2.4vw,40px); font-weight: 700; color: var(--ink); }
.prop-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.prop-spec { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.prop-spec .k { color: var(--muted); }
.prop-spec .v { color: var(--ink); font-weight: 600; text-align: right; }
.prop-desc { color: var(--ink-2); line-height: 1.55; font-size: 14px; }
.prop-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* ==========================================================
   Utility
   ========================================================== */

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 24px; }
.center { text-align: center; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(20,194,122,.5);
  animation: dotPulse 2s ease-out infinite;
}
.tag.tag-blue .dot { background: var(--blue); }
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(20,194,122,.5); }
  100% { box-shadow: 0 0 0 8px rgba(20,194,122,0); }
}

/* Two-col text block */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Big list */
.biglist { list-style: none; padding: 0; margin: 0; }
.biglist li {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: center;
  transition: padding .3s ease, background .3s ease;
  position: relative;
}
.biglist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width .5s ease;
}
.biglist li:hover::before { width: 100%; top: -1px; }
.biglist li:last-child { border-bottom: 1px solid var(--line); }
.biglist li:hover { padding-left: 16px; }
.biglist .n { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: 0.16em; font-weight: 500; }
.biglist .t { font-family: var(--display); font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -0.02em; }
.biglist .arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.biglist li:hover .arrow {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-color: transparent;
  transform: translateX(4px);
}

/* ==========================================================
   Tilt / hover effects on card images
   ========================================================== */

.tilt {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.tilt-inner {
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

/* ==========================================================
   Counter and number animations
   ========================================================== */

.counter-wrap {
  display: inline-block;
  position: relative;
}
