/* ============================================================
   Spacekart India Pvt. Ltd — Brand Stylesheet
   Premium blue & white theme, illustration-first, animated.
   Mobile-first, accessible, honors prefers-reduced-motion.
   ============================================================ */

:root {
  /* Brand palette */
  --brand-deep:     #12325E;   /* darkest navy — gradients, footer */
  --brand-primary:  #1F4E8C;   /* deep navy — headings */
  --brand-accent:   #2E75B6;   /* mid blue — subheadings/links */
  --brand-sky:      #6FA8DC;   /* light sky blue — illustration mids */
  --brand-soft:     #DCE6F1;   /* soft blue — table header alt / callout border */
  --brand-fill:     #EAF1F8;   /* paler blue — callout fill / hover */
  --brand-gold:     #E8B94A;   /* warm accent — badges, highlights */
  --brand-gold-soft:#FBF0D7;   /* pale gold — highlight fills */
  --brand-ink:      #16202E;   /* body text */
  --brand-muted:    #5A6472;   /* captions */
  --brand-line:     #E5E9F0;   /* dividers */
  --brand-bg:       #FFFFFF;   /* main background */
  --brand-bg-alt:   #F6F9FC;   /* alternate section bg */

  /* Gradients & glass */
  --grad-brand: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-primary) 45%, var(--brand-accent) 100%);
  --grad-text:  linear-gradient(105deg, var(--brand-accent) 0%, var(--brand-primary) 60%, var(--brand-deep) 100%);
  --glass-bg:     rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;

  /* Typography */
  --font-body: 'Inter', 'Calibri', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;

  /* Layout */
  --container-max: 1140px;
  --header-h:      72px;
  --radius:        12px;
  --radius-sm:     7px;
  --radius-lg:     22px;

  /* Shadows — blue-tinted, layered */
  --shadow-sm:  0 1px 2px rgba(31, 78, 140, 0.05), 0 2px 6px rgba(31, 78, 140, 0.05);
  --shadow-md:  0 2px 4px rgba(31, 78, 140, 0.05), 0 8px 20px rgba(31, 78, 140, 0.08);
  --shadow-lg:  0 4px 10px rgba(31, 78, 140, 0.06), 0 24px 48px -12px rgba(31, 78, 140, 0.18);
  --shadow-glow: 0 0 0 1px rgba(46, 117, 182, 0.10), 0 24px 60px -12px rgba(31, 78, 140, 0.28);

  /* Motion */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, table, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: var(--brand-accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-primary); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brand-ink);
  background: var(--brand-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

h1, h2, h3 { text-wrap: balance; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ---------- Header / top nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--brand-line);
  box-shadow: 0 8px 30px -12px rgba(31, 78, 140, 0.16);
}
.site-header .nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -0.01em;
}
.brand .brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(31, 78, 140, 0.28);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 6px 18px rgba(31, 78, 140, 0.36);
}
.brand .brand-text small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--brand-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Nav links — animated underline */
.nav-links {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}
.nav-links a {
  position: relative;
  color: var(--brand-ink);
  font-weight: 500;
  font-size: 14.5px;
  padding: var(--space-2) 0;
  transition: color .2s var(--ease);
}
.nav-links a:not(.cta-pill)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--brand-primary); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* Mobile menu button */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--brand-primary);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* CTA pill in nav */
a.cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 22px;
  background: var(--grad-brand);
  background-size: 160% 100%;
  background-position: 0% 0%;
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 0 !important;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(31, 78, 140, 0.28), 0 0 0 0 rgba(46, 117, 182, 0.45);
  transition: background-position .4s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
  animation: cta-pulse 2.6s ease-in-out infinite;
}
.cta-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: 150% 0%;
  transition: background-position .6s ease;
  pointer-events: none;
}
.cta-pill-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.cta-pill-arrow svg {
  width: 13px;
  height: 13px;
  transition: transform .3s var(--ease);
}
.cta-pill:hover {
  background-position: 100% 0%;
  color: white !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 24px rgba(31, 78, 140, 0.38), 0 0 0 0 rgba(46, 117, 182, 0.45);
  animation-play-state: paused;
}
.cta-pill:hover::before {
  background-position: -50% 0%;
}
.cta-pill:hover .cta-pill-arrow {
  background: rgba(255, 255, 255, 0.32);
}
.cta-pill:hover .cta-pill-arrow svg {
  transform: translateX(2px);
}
.cta-pill:active {
  transform: translateY(0) scale(0.98);
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(31, 78, 140, 0.28), 0 0 0 0 rgba(46, 117, 182, 0.45); }
  50% { box-shadow: 0 4px 14px rgba(31, 78, 140, 0.28), 0 0 0 8px rgba(46, 117, 182, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-pill { animation: none; }
  .cta-pill::before { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(var(--space-7), 7vw, 84px) 0 var(--space-8);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-bg-alt) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--brand-line);
}
/* Animated aurora blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 620px; height: 620px;
  top: -260px; right: -140px;
  background: radial-gradient(circle at 35% 35%, var(--brand-sky) 0%, var(--brand-fill) 55%, transparent 75%);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 480px; height: 480px;
  bottom: -220px; left: -160px;
  background: radial-gradient(circle at 60% 40%, var(--brand-gold-soft) 0%, var(--brand-fill) 50%, transparent 75%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--brand-soft);
  border-radius: 999px;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 3px var(--brand-gold-soft);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--brand-primary);
  margin-bottom: var(--space-5);
}
.hero .lead {
  font-size: clamp(17px, 1.7vw, 19.5px);
  color: var(--brand-muted);
  max-width: 56ch;
  margin-bottom: var(--space-6);
}
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Hero entrance sequence (JS pages only) */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
html.js .hero-copy > * {
  opacity: 0;
  animation: rise-in .85s var(--ease-out) forwards;
}
html.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
html.js .hero-copy > *:nth-child(2) { animation-delay: .14s; }
html.js .hero-copy > *:nth-child(3) { animation-delay: .23s; }
html.js .hero-copy > *:nth-child(4) { animation-delay: .32s; }
html.js .hero-visual {
  opacity: 0;
  animation: rise-in 1s var(--ease-out) .3s forwards;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--grad-brand);
  background-size: 150% 100%;
  color: white;
  box-shadow: 0 8px 20px -4px rgba(31, 78, 140, 0.4);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  transition: left .55s var(--ease-out);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(31, 78, 140, 0.48);
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  background: white;
  border-color: var(--brand-soft);
  color: var(--brand-primary);
}
.btn-ghost:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Hero visual: illustration + glass pricing card ---------- */
.hero-visual { position: relative; }
.hero-scene { width: 100%; height: auto; }
.hero-card {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  padding: var(--space-6);
  border: 1px solid var(--glass-border);
  margin-top: -132px;
  margin-left: auto;
  max-width: 400px;
  z-index: 2;
}
.hero-card h3 {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 var(--space-3);
  font-family: var(--font-body);
  font-weight: 700;
}
.hero-card .price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}
.hero-card .price small { font-size: 14px; font-family: var(--font-body); color: var(--brand-muted); margin-left: 6px; }
.hero-card ul { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.hero-card ul li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14.5px;
  color: var(--brand-ink);
}
.hero-card ul li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--brand-fill);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.hero-card ul li::after {
  content: '✓';
  position: absolute;
  margin-left: -2px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-primary);
}

.hero-stats {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.hero-stats .stat {
  position: relative;
  background: white;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.hero-stats .stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.hero-stats .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hero-stats .stat:hover::before { transform: scaleX(1); }
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}
.hero-stats .stat span {
  font-size: 13px;
  color: var(--brand-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Sections ---------- */
section { padding: clamp(var(--space-8), 9vw, 112px) 0; position: relative; }
section.alt { background: var(--brand-bg-alt); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.section-eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--brand-gold);
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--brand-primary);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--brand-primary);
  margin: var(--space-6) 0 var(--space-3);
}
h4 {
  font-size: 17px;
  color: var(--brand-accent);
  margin: var(--space-4) 0 var(--space-2);
}
p { margin-bottom: var(--space-4); }
p.lead { font-size: 18px; color: var(--brand-muted); }
section > .container > p:last-child { margin-bottom: 0; }

/* Gradient text + gold marker highlight */
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mark-gold {
  background-image: linear-gradient(transparent 64%, rgba(232, 185, 74, 0.38) 64%, rgba(232, 185, 74, 0.38) 92%, transparent 92%);
  padding: 0 2px;
}

/* ---------- Split (text + illustration) sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-6), 5vw, var(--space-8));
  align-items: center;
}
.split.reverse > .split-illo { order: -1; }
.split h2, .split h3 { margin-top: 0; }
.split-illo { display: grid; place-items: center; }
.split-illo .illo { width: min(100%, 420px); }

/* Spot illustration frame — soft blob backdrop + gentle float */
.illo {
  position: relative;
  padding: var(--space-4);
}
.illo::before {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 46% 54% 55% 45% / 48% 44% 56% 52%;
  background: radial-gradient(circle at 32% 28%, var(--brand-fill) 0%, var(--brand-bg-alt) 70%, transparent 100%);
  z-index: 0;
}
.illo svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  animation: float-slow 8s ease-in-out infinite;
}
.illo-sm { max-width: 300px; margin: 0 auto; }

/* Dot-grid corner accent (decorative) */
.dots {
  position: absolute;
  width: 140px; height: 140px;
  background-image: radial-gradient(rgba(31, 78, 140, 0.22) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

/* Wave section divider */
.divider {
  display: block;
  width: 100%;
  height: 54px;
  margin-bottom: -1px;
  color: var(--brand-bg-alt);
}
.divider.flip { transform: scaleY(-1); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.card {
  position: relative;
  background: white;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft);
}
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 48px; height: 48px;
  background: var(--brand-fill);
  color: var(--brand-primary);
  border-radius: 13px;
  display: grid; place-items: center;
  margin-bottom: var(--space-3);
  transition: transform .35s var(--ease-out), background .35s var(--ease), color .35s var(--ease);
}
.card:hover .icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--brand-primary);
  color: white;
}
.card h4 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Callout (left-border blue box) ---------- */
.callout {
  border-left: 4px solid var(--brand-primary);
  background: var(--brand-fill);
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--space-5) 0;
  color: var(--brand-ink);
}
.callout strong { color: var(--brand-primary); }

/* ---------- Tables ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-sm);
  margin: var(--space-5) 0;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 480px;
}
thead {
  background: var(--grad-brand);
  color: white;
}
thead th {
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 18px;
  font-size: 13.5px;
}
tbody td {
  padding: 14px 18px;
  border-top: 1px solid var(--brand-line);
  vertical-align: top;
  transition: background .25s var(--ease);
}
tbody tr:nth-child(even) { background: var(--brand-fill); }
tbody tr:hover { background: var(--brand-soft); }

/* Compact stat cards for "plans" or features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0;
}
.feature {
  background: white;
  border-radius: var(--radius);
  padding: var(--space-5);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature h4 { margin-top: 0; color: var(--brand-primary); }
.feature p { font-size: 14.5px; color: var(--brand-muted); margin-bottom: 0; }

/* ---------- Lists (bullets / checked / numbered) ---------- */
.bullet-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0;
}
.bullet-list li {
  position: relative;
  padding-left: 34px;
  color: var(--brand-ink);
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-fill);
}
.bullet-list li::after {
  content: '✓';
  position: absolute;
  left: 7px; top: 4px;
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 13px;
}

.numbered-list {
  counter-reset: step;
  display: grid;
  gap: var(--space-4);
  margin: var(--space-4) 0;
}
.numbered-list li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  color: var(--brand-ink);
}
.numbered-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 15px;
}

/* ---------- Service highlights / reasons ---------- */
.reasons {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-7);
  align-items: start;
}
.reasons ul { gap: var(--space-4); }

/* ---------- Plans / pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin: var(--space-6) 0;
}
.plan {
  background: white;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan.featured {
  border-color: var(--brand-primary);
  position: relative;
  box-shadow: var(--shadow-glow);
  animation: breathe 4.5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(46, 117, 182, 0.10), 0 24px 60px -12px rgba(31, 78, 140, 0.24); }
  50%      { box-shadow: 0 0 0 1px rgba(46, 117, 182, 0.18), 0 28px 70px -10px rgba(31, 78, 140, 0.36); }
}
.plan.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -12px; right: var(--space-5);
  background: linear-gradient(120deg, var(--brand-gold), #D9A32E);
  color: var(--brand-deep);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(232, 185, 74, 0.45);
}
.plan h3 { margin-top: 0; }
.plan .price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: var(--space-4) 0 var(--space-5);
  border-top: 1px dashed var(--brand-line);
  border-bottom: 1px dashed var(--brand-line);
  padding: var(--space-4) 0;
}
.plan .price {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.plan .price small { font-size: 14px; font-family: var(--font-body); color: var(--brand-muted); }
.plan ul { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.plan ul li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
}
.plan ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--brand-accent);
  font-weight: 700;
}
.plan .btn { margin-top: auto; justify-content: center; }

/* Step number circle — shared by every .step-row usage */
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--grad-brand);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(31, 78, 140, 0.3);
  transition: transform .35s var(--ease-out);
  position: relative;
  z-index: 1;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brand-accent);
  animation: pulse-ring 2.6s ease-out infinite;
}
.step-h:nth-child(1) .step-num::after { animation-delay: 0s; }
.step-h:nth-child(2) .step-num::after { animation-delay: .5s; }
.step-h:nth-child(3) .step-num::after { animation-delay: 1s; }
.step-h:nth-child(4) .step-num::after { animation-delay: 1.5s; }
.step-h:nth-child(5) .step-num::after { animation-delay: 2s; }
.step-h:hover .step-num { transform: scale(1.12) rotate(8deg); }

/* ---------- Process / step row (horizontal) ---------- */
.step-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin: var(--space-5) 0;
  position: relative;
}
.step-row::before {
  content: '';
  position: absolute;
  left: 40px;
  right: 40px;
  top: 20px;
  height: 3px;
  background: repeating-linear-gradient(to right, var(--brand-accent) 0 8px, transparent 8px 18px);
  background-size: 36px 3px;
  animation: dash-flow-x 1.8s linear infinite;
  opacity: .55;
}
.step-h {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-h .step-num { margin: 0 auto var(--space-3); }
.step-h-body h4 { margin: 0 0 var(--space-2); color: var(--brand-primary); }
.step-h-body p { font-size: 14px; color: var(--brand-muted); margin: 0; }
@keyframes dash-flow-x {
  to { background-position: 36px 0; }
}
@media (max-width: 760px) {
  .step-row { grid-template-columns: 1fr; gap: var(--space-5); text-align: left; }
  .step-row::before { display: none; }
  .step-h { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); text-align: left; align-items: start; }
  .step-h .step-num { margin: 0; }
}

/* ---------- Locations row ---------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.location-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: var(--space-5);
  border: 1px solid var(--brand-line);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease);
}
.location-card::after {
  content: '';
  position: absolute;
  right: -34px; bottom: -34px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--brand-fill) 0%, transparent 70%);
  transition: transform .4s var(--ease-out);
}
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
}
.location-card:hover::after { transform: scale(1.5); }
.location-card h4 { margin-top: 0; }
.location-card .status {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.status.open   { background: #DEF7E5; color: #166534; }
.status.soon   { background: var(--brand-gold-soft); color: #8A6210; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
}
.contact-form { display: grid; gap: var(--space-4); }
.contact-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--brand-line);
  border-radius: 10px;
  background: white;
  color: var(--brand-ink);
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease-out), transform .25s var(--ease-out);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-sm);
  transform: translateY(-1px);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { justify-self: start; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  background: white;
  transition: box-shadow .25s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--brand-soft); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-primary);
  padding: var(--space-4) var(--space-5);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-primary);
  font-size: 22px;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--brand-ink);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-primary) 40%, var(--brand-accent) 75%, var(--brand-primary));
  background-size: 220% 100%;
  animation: gradient-pan 12s ease-in-out infinite alternate;
  color: white;
  padding: var(--space-8) 0;
  text-align: center;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}
.cta-strip > .container { position: relative; }
.cta-strip h2 {
  color: white;
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: var(--space-3);
}
.cta-strip p {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  max-width: 60ch;
  margin: 0 auto var(--space-5);
}
.cta-strip .btn {
  background: white;
  color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.cta-strip .btn:hover {
  background: rgba(255,255,255,0.94);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(160deg, #0E2440 0%, var(--brand-deep) 55%, #173C6E 100%);
  color: rgba(255,255,255,0.78);
  padding: var(--space-8) 0 var(--space-5);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 320px; height: 320px;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
  mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
  pointer-events: none;
}
.site-footer > .container { position: relative; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-6);
}
.site-footer h5 {
  font-family: var(--font-body);
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-2);
  position: relative;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--brand-gold);
}
.site-footer ul li { margin-bottom: var(--space-2); }
.site-footer ul li a {
  position: relative;
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  padding-left: 0;
  transition: color .25s var(--ease), padding-left .25s var(--ease-out);
}
.site-footer ul li a::before {
  content: '→';
  position: absolute;
  left: -4px;
  opacity: 0;
  transition: opacity .25s var(--ease), left .25s var(--ease-out);
}
.site-footer ul li a:hover {
  color: white;
  padding-left: 20px;
}
.site-footer ul li a:hover::before { opacity: 1; left: 0; }
.site-footer .brand { color: white; margin-bottom: var(--space-3); }
.site-footer .brand-text small { color: rgba(255,255,255,0.6); }
.site-footer p { color: rgba(255,255,255,0.72); font-size: 14.5px; max-width: 38ch; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.site-footer .legal a { color: rgba(255,255,255,0.78); }
.site-footer .legal a:hover { color: white; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(var(--space-7), 7vw, var(--space-9)) 0 var(--space-7);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-bg-alt) 100%);
  border-bottom: 1px solid var(--brand-line);
  overflow: hidden;
}
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  pointer-events: none;
}
.page-hero::before {
  width: 480px; height: 480px;
  top: -220px; right: -100px;
  background: radial-gradient(circle at 40% 40%, var(--brand-sky) 0%, var(--brand-fill) 55%, transparent 75%);
  animation: drift 18s ease-in-out infinite alternate;
}
.page-hero::after {
  width: 360px; height: 360px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle at 60% 40%, var(--brand-gold-soft) 0%, var(--brand-fill) 55%, transparent 75%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  color: var(--brand-primary);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}
.page-hero .lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 70ch; color: var(--brand-muted); }
.page-hero .crumbs {
  font-size: 13.5px;
  color: var(--brand-muted);
  margin-bottom: var(--space-3);
}
.page-hero .crumbs a { color: var(--brand-accent); }
.page-hero .crumbs a:hover { color: var(--brand-primary); }

/* Page hero with illustration on the right */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--space-6), 5vw, var(--space-8));
  align-items: center;
}
.page-hero-grid .illo { width: min(100%, 380px); justify-self: center; }
html.js .page-hero .container > * ,
html.js .page-hero-grid > div > * { /* entrance handled via data-reveal instead */ }

/* ---------- Utilities ---------- */
.stack-lg > * + * { margin-top: var(--space-5); }
.center-text { text-align: center; }
.muted { color: var(--brand-muted); }
.legal-doc { max-width: 800px; margin: 0 auto; }
.legal-doc h2 {
  font-size: 22px;
  margin: var(--space-6) 0 var(--space-3);
}
.legal-doc h3 {
  font-size: 16px;
  margin: var(--space-4) 0 var(--space-2);
}

/* ============================================================
   Animation engine
   ============================================================ */

/* Keyframe library */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(30px, 18px) rotate(6deg) scale(1.06); }
  100% { transform: translate(-24px, -14px) rotate(-5deg) scale(0.97); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes gradient-pan {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* SVG scene element motion (applies to inline hero SVG groups) */
.fl-a { animation: float 6s ease-in-out infinite; }
.fl-b { animation: float 7s ease-in-out .8s infinite; }
.fl-c { animation: float-slow 8s ease-in-out .4s infinite; }
.fl-d { animation: float-slow 9s ease-in-out 1.2s infinite; }

/* Parallax layers get GPU hints */
[data-depth] { will-change: transform; transition: transform .25s ease-out; }

/* ---------- Reveal-on-scroll v2 (JS pages only; content visible without JS) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    filter .7s var(--ease-out);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
html.js [data-reveal="left"]  { transform: translateX(-36px); }
html.js [data-reveal="right"] { transform: translateX(36px); }
html.js [data-reveal="zoom"]  { transform: scale(0.93); }
html.js [data-reveal="blur"]  { transform: translateY(14px); filter: blur(8px); }
html.js [data-reveal="fade"]  { transform: none; }
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .reasons, .contact-grid, .site-footer .footer-grid,
  .split, .page-hero-grid {
    grid-template-columns: 1fr;
  }
  .split.reverse > .split-illo { order: 0; }
  .split-illo .illo, .page-hero-grid .illo { width: min(100%, 340px); }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-card { margin-top: -96px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-bottom: 1px solid var(--brand-line);
    padding: var(--space-4) var(--space-5) var(--space-5);
    gap: var(--space-3);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--brand-line);
  }
  .nav-links a:not(.cta-pill)::after { display: none; }
  .cta-pill { justify-content: center; }
}
@media (max-width: 540px) {
  section { padding: var(--space-7) 0; }
  .container { padding: 0 var(--space-4); }
  .hero-scene { display: none; }
  .hero-card { margin-top: 0; max-width: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat strong { font-size: 22px; }
  .hero-card { padding: var(--space-4); }
  .hero-card .price { font-size: 32px; }
  .plan { padding: var(--space-4); }
  .dots { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-strip { display: none !important; }
  body { padding-top: 0; color: black; }
  a { color: var(--brand-primary); }
}

/* ---------- Reduce motion (keep last — global kill-switch) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html.js [data-reveal],
  html.js .hero-copy > *,
  html.js .hero-visual {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
