/* ============================================================
   StackVire — design system
   Base: deep navy + white  |  Primary: royal blue  |  Accent: amber (used sparingly)
   No gradients (brand rule). Depth comes from solid color, blur & shadow.
   ============================================================ */

:root {
  /* base */
  --navy-950: #060912;
  --navy-900: #0a0f1e;
  --navy-850: #0d1424;
  --navy-800: #111a2e;
  --navy-700: #17223b;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: #e6ebf4;

  /* light surfaces */
  --white: #ffffff;
  --paper: #f5f8fd;
  --paper-2: #eef3fb;

  /* brand */
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1743b0;
  --primary-400: #3b82f6;
  --primary-300: #60a5fa;

  /* accent (secondary) — a touch of warmth against all the blue */
  --accent: #ffb020;
  --accent-600: #f59e0b;

  /* text */
  --ink: #0b1220;
  --ink-2: #38445c;
  --ink-3: #64748b;
  --on-dark: #eef2fb;
  --on-dark-2: #9db0d1;
  --on-dark-3: #6c7ea3;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(6, 12, 30, 0.06);
  --shadow-md: 0 18px 40px -20px rgba(9, 20, 50, 0.35);
  --shadow-blue: 0 20px 45px -18px rgba(37, 99, 235, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--navy-950);
  color: var(--on-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- section framing ---------- */
.section { padding: 108px 0; position: relative; }
.section.dark { background: var(--navy-950); color: var(--on-dark); }
.section.light { background: var(--white); color: var(--ink); }
.section.paper { background: var(--paper); color: var(--ink); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-400);
  margin-bottom: 18px;
}
.section.light .eyebrow, .section.paper .eyebrow { color: var(--primary-600); }
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.18);
}

h2.title { font-size: clamp(30px, 4.4vw, 50px); }
.section-head p { margin-top: 18px; font-size: 17.5px; color: var(--ink-2); }
.section.dark .section-head p { color: var(--on-dark-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.35s, color 0.3s, border-color 0.3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-3px); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1px solid var(--line-dark); color: var(--on-dark); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--primary-400); color: #fff; transform: translateY(-3px); background: rgba(59,130,246,0.08); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-3px); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* ---------- navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { height: 40px; width: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 21px; letter-spacing: 0.02em; }
.brand-word b { color: var(--primary-400); font-weight: 700; }
.brand-tag { font-size: 8.5px; letter-spacing: 0.34em; color: var(--on-dark-3); margin-top: 4px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; font-size: 14.5px; font-weight: 500; color: var(--on-dark-2);
  border-radius: 999px; position: relative; transition: color 0.25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); color: #fff; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 96px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  position: relative; z-index: 2;
}
.hero h1 { font-size: clamp(40px, 6vw, 74px); }
.hero h1 .blue { color: var(--primary-400); }
.hero-sub { margin-top: 26px; font-size: 19px; color: var(--on-dark-2); max-width: 540px; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 44px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .stat { display: flex; flex-direction: column; }
.hero-trust .num { font-family: "Space Grotesk", sans-serif; font-size: 30px; font-weight: 700; color: #fff; }
.hero-trust .num b { color: var(--accent); }
.hero-trust .lbl { font-size: 13px; color: var(--on-dark-3); letter-spacing: 0.02em; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,0.03);
  font-size: 13px; font-weight: 500; color: var(--on-dark-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-400); }
.pill.accent .dot { background: var(--accent); }

/* hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: 0; }
.orb.blue { width: 340px; height: 340px; background: #1e40af; top: -40px; right: -20px; }
.orb.amber { width: 200px; height: 200px; background: #7a5410; bottom: 0; left: -20px; opacity: 0.35; }
.hero-cube {
  width: min(360px, 80%); position: relative; z-index: 2;
  animation: float 6s ease-in-out infinite; filter: drop-shadow(0 40px 60px rgba(37,99,235,0.35));
}
@keyframes float { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(12px); } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(13, 20, 38, 0.82); backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-md);
  animation: floatCard 5s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(37,99,235,0.16); color: var(--primary-300); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card .ic.amber { background: rgba(255,176,32,0.16); color: var(--accent); }
.float-card b { font-size: 14px; font-weight: 600; display: block; }
.float-card span { font-size: 12px; color: var(--on-dark-3); }
.float-card.c1 { top: 8%; left: -6%; animation-delay: 0.4s; }
.float-card.c2 { bottom: 14%; right: -8%; animation-delay: 1.2s; }
.float-card.c3 { bottom: -2%; left: 6%; animation-delay: 2s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- background helpers ---------- */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--navy-900); padding: 26px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 600; color: var(--on-dark-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 60px; }
.marquee-track span::after { content: "•"; color: var(--primary); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- two-lines split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.split-card {
  position: relative; border-radius: var(--radius-lg); padding: 40px; overflow: hidden;
  border: 1px solid var(--line-light); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.split-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.split-card .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.split-card.svc .tag { color: var(--primary-600); }
.split-card.acad .tag { color: var(--accent-600); }
.split-card .big-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.split-card.svc .big-ic { background: rgba(37,99,235,0.1); color: var(--primary); }
.split-card.acad .big-ic { background: rgba(255,176,32,0.14); color: var(--accent-600); }
.split-card .big-ic svg { width: 30px; height: 30px; }
.split-card h3 { font-size: 27px; margin-bottom: 12px; }
.split-card p { color: var(--ink-2); font-size: 16px; }
.split-card .list { margin-top: 22px; display: grid; gap: 12px; }
.split-card .list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.split-card .list li svg { width: 18px; height: 18px; flex: none; }
.split-card.svc .list li svg { color: var(--primary); }
.split-card.acad .list li svg { color: var(--accent-600); }
.split-card .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 600; font-size: 15px; }
.split-card.svc .card-link { color: var(--primary-600); }
.split-card.acad .card-link { color: var(--accent-600); }
.split-card .card-link svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.split-card:hover .card-link svg { transform: translateX(5px); }
.split-card .edge { position: absolute; top: 0; left: 0; height: 4px; width: 100%; }
.split-card.svc .edge { background: var(--primary); }
.split-card.acad .edge { background: var(--accent); }

/* ---------- service grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--line-light); background: var(--white); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.svc-card::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.1), transparent 62%);
  left: var(--x, 50%); top: var(--y, 50%); transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.35); }
.svc-card:hover::before { opacity: 1; }
.svc-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--primary); margin-bottom: 20px; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); position: relative; z-index: 1; }
.svc-card .ic svg { width: 26px; height: 26px; }
.svc-card:hover .ic { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 20px; margin-bottom: 10px; position: relative; z-index: 1; }
.svc-card p { color: var(--ink-2); font-size: 15px; position: relative; z-index: 1; }

/* ---------- courses ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-850); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.course:hover { transform: translateY(-8px); border-color: rgba(59,130,246,0.4); box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7); }
.course .top { padding: 26px 26px 0; }
.course .badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #201400; }
.course .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(37,99,235,0.14); color: var(--primary-300); margin-bottom: 18px; }
.course .ic svg { width: 27px; height: 27px; }
.course h3 { font-size: 21px; color: #fff; margin-bottom: 8px; }
.course .desc { color: var(--on-dark-2); font-size: 14px; }
.course .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.course .meta span { font-size: 12px; color: var(--on-dark-2); padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); }
.course .bottom { margin-top: auto; padding: 0 26px 26px; }
.course .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.course .price b { font-family: "Space Grotesk", sans-serif; font-size: 24px; color: #fff; }
.course .price small { color: var(--on-dark-3); font-size: 13px; }
.course .book-btn {
  width: 100%; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  background: rgba(37,99,235,0.14); color: var(--primary-300); border: 1px solid rgba(37,99,235,0.3);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.course:hover .book-btn { background: var(--primary); color: #fff; }
.course .book-btn:active { transform: scale(0.97); }

/* ---------- why / features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-dark);
  background: var(--navy-850); transition: transform 0.4s var(--ease), background 0.4s;
}
.feat:hover { transform: translateY(-5px); background: var(--navy-800); }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(37,99,235,0.14); color: var(--primary-300); }
.feat .ic.amber { background: rgba(255,176,32,0.14); color: var(--accent); }
.feat .ic svg { width: 23px; height: 23px; }
.feat h3 { font-size: 18px; color: #fff; margin-bottom: 9px; }
.feat p { font-size: 14.5px; color: var(--on-dark-2); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 20px; }
.step .n { font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-light); color: var(--primary-600); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.step:nth-child(2) .n { color: var(--accent-600); }
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--ink-2); }
.step .bar { position: absolute; top: 40px; left: 54px; right: -22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-light) 0 8px, transparent 8px 16px); }
.step:last-child .bar { display: none; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,0.02); }
.stat-box .n { font-family: "Space Grotesk", sans-serif; font-size: clamp(34px, 5vw, 52px); font-weight: 700; color: #fff; }
.stat-box .n .suffix { color: var(--accent); }
.stat-box .l { color: var(--on-dark-2); font-size: 14.5px; margin-top: 4px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.quote .stars svg { width: 17px; height: 17px; }
.quote p { font-size: 15.5px; color: var(--ink); margin-bottom: 22px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: "Space Grotesk", sans-serif; }
.quote .who b { display: block; font-size: 15px; }
.quote .who span { font-size: 13px; color: var(--ink-3); }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.book-info h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.book-info p { color: var(--on-dark-2); font-size: 17px; }
.book-benefits { margin-top: 30px; display: grid; gap: 16px; }
.book-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.book-benefits .ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(37,99,235,0.14); color: var(--primary-300); }
.book-benefits .ic svg { width: 20px; height: 20px; }
.book-benefits b { color: #fff; font-size: 15.5px; display: block; }
.book-benefits span { color: var(--on-dark-2); font-size: 14px; }
.book-contact { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; }
.book-contact a { display: inline-flex; align-items: center; gap: 11px; color: var(--on-dark); font-size: 15px; }
.book-contact a svg { width: 18px; height: 18px; color: var(--primary-300); }
.book-contact a:hover { color: var(--primary-300); }

.book-form {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.book-form h3 { font-size: 22px; margin-bottom: 6px; }
.book-form .form-sub { color: var(--ink-3); font-size: 14.5px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.field label .req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-light);
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
.field.invalid input, .field.invalid select { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,0.1); }
.field .err { color: #e5484d; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; text-align: center; }

.book-success {
  display: none; text-align: center; padding: 30px 10px;
}
.book-success.show { display: block; animation: pop 0.5s var(--ease); }
.book-success .check { width: 76px; height: 76px; border-radius: 50%; background: rgba(37,99,235,0.12); color: var(--primary); display: grid; place-items: center; margin: 0 auto 22px; }
.book-success .check svg { width: 40px; height: 40px; animation: draw 0.6s var(--ease) 0.15s both; }
.book-success h3 { font-size: 24px; margin-bottom: 12px; }
.book-success p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 24px; }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes draw { from { opacity: 0; transform: scale(0.5) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--primary); border-radius: var(--radius-lg); padding: 64px; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 40px 40px; opacity: 0.6; }
.cta-band .accent-orb { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--accent); filter: blur(90px); opacity: 0.4; top: -80px; right: -40px; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 48px); color: #fff; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 18px; margin: 16px auto 30px; max-width: 560px; position: relative; z-index: 1; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-white { background: #fff; color: var(--primary-700); }
.cta-band .btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4); }
.cta-band .btn-outline { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); border-top: 1px solid var(--line-dark); padding: 70px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { margin-bottom: 20px; }
.footer-about p { color: var(--on-dark-2); font-size: 15px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-2); transition: color 0.3s, border-color 0.3s, transform 0.3s, background 0.3s; }
.footer-social a:hover { color: #fff; border-color: var(--primary-400); background: rgba(37,99,235,0.12); transform: translateY(-3px); }
.footer-social a svg { width: 19px; height: 19px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 18px; font-family: "Space Grotesk", sans-serif; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--on-dark-2); font-size: 14.5px; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--on-dark-3); font-size: 13.5px; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom .made .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: 0.08s; }
[data-reveal].d2 { transition-delay: 0.16s; }
[data-reveal].d3 { transition-delay: 0.24s; }
[data-reveal].d4 { transition-delay: 0.32s; }

/* ---------- back to top ---------- */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 50; width: 48px; height: 48px; border-radius: 14px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.4s, transform 0.4s, background 0.3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary-600); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- mobile menu ---------- */
.mobile-menu { position: fixed; inset: 76px 0 auto 0; z-index: 55; background: rgba(8,12,24,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-dark); padding: 20px 24px 28px; transform: translateY(-120%); transition: transform 0.4s var(--ease); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 14px 6px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  /* only the hamburger stays in the bar so nothing overlaps the logo */
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 340px; order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .feat-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .bar { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }

  .nav-inner { height: 66px; }
  .nav { border-bottom: 1px solid var(--line-dark); background: rgba(8, 12, 24, 0.82); backdrop-filter: blur(14px); }
  .brand .mark { height: 34px; }
  .brand-word { font-size: 19px; }
  .brand-tag { font-size: 8px; letter-spacing: 0.28em; }

  /* hero */
  .hero { padding: 98px 0 56px; }
  .hero h1 { font-size: clamp(31px, 8.5vw, 40px); }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-visual { min-height: 270px; margin-bottom: 4px; }
  .hero-cube { width: min(220px, 60%); }
  /* the floating labels get busy on a small screen — hide for a clean hero */
  .float-card { display: none; }
  .orb.blue { width: 240px; height: 240px; }
  .pill-row { gap: 8px; margin-bottom: 20px; }
  .pill { font-size: 12px; padding: 7px 12px; }

  /* consistent, full-width action buttons everywhere */
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero-actions .btn,
  .cta-band .btn-row .btn { width: 100%; }
  .cta-band .btn-row { flex-direction: column; gap: 12px; }
  .btn { padding: 13px 22px; font-size: 14.5px; }
  .btn-lg { padding: 15px 24px; font-size: 15px; }

  .hero-trust { gap: 16px 26px; margin-top: 32px; }
  .hero-trust .num { font-size: 25px; }
  .hero-trust .lbl { font-size: 12px; }

  /* stacked single-column grids */
  .grid-3, .feat-grid, .quotes, .grid-4, .stats, .footer-top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field.row { grid-template-columns: 1fr; }

  .split-card { padding: 30px 24px; }
  .split-card h3 { font-size: 24px; }
  .svc-card, .feat, .quote { padding: 26px 22px; }

  .book-form { padding: 24px 20px; }
  .book-info h2 { font-size: clamp(28px, 8vw, 36px); }
  .book-benefits .ic { width: 38px; height: 38px; }

  .cta-band { padding: 40px 24px; }
  .cta-band p { font-size: 16px; }

  .footer { padding: 56px 0 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
