/* ============================================================
   Braineewaves — Minimal Design System
   Clean, spacious, typography-first. No noise.
   ============================================================ */

/* ─── 1. Tokens ──────────────────────────────────────────── */
:root {
  --ink:      #08111F;
  --ink-2:    #1A2840;
  --body-c:   #3D4F63;
  --muted:    #7889A0;
  --rule:     #E4EAF2;
  --rule-2:   #F0F4FA;
  --bg:       #FFFFFF;
  --bg-off:   #F7F9FC;
  --blue:     #1D55E8;
  --blue-l:   #3B7BFF;
  --cyan:     #06B6D4;
  --dark:     #08111F;

  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Manrope', 'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --container: 1100px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 144px);
  --section-y-sm: clamp(56px, 6vw, 96px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 260ms;
  --dur-slow: 520ms;

  --shadow-card: 0 4px 16px rgba(8, 17, 31, .06), 0 1px 3px rgba(8, 17, 31, .04);
  --shadow-lg:   0 20px 56px rgba(8, 17, 31, .10), 0 4px 12px rgba(8, 17, 31, .04);
  --shadow-xl:   0 40px 80px rgba(8, 17, 31, .14), 0 8px 20px rgba(8, 17, 31, .05);
}

/* ─── 2. Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body-c);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 .55em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5vw + 1rem, 5rem); }
h2 { font-size: clamp(2rem, 3vw + .6rem, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
p.large {
  font-size: clamp(1.05rem, .5vw + .9rem, 1.2rem);
  line-height: 1.75;
  color: var(--body-c);
  max-width: 58ch;
}
p.lead {
  font-size: clamp(1.1rem, .7vw + .9rem, 1.3rem);
  line-height: 1.7;
  color: var(--body-c);
}
ul,ol { padding-left: 1.2rem; }
li { margin-bottom: .3rem; }
::selection { background: var(--blue); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── 3. Layout ───────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section-sm { padding-block: var(--section-y-sm); }
.section-alt { background: var(--bg-off); }
.section-dark {
  background: var(--dark);
  color: rgba(255,255,255,.80);
}
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }

/* ─── 4. Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 60;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(200%) blur(20px);
  -webkit-backdrop-filter: saturate(200%) blur(20px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-brand .logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity var(--dur) var(--ease);
}
.nav-brand:hover .logo-img { opacity: .8; }
.logo-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: var(--ink);
  white-space: nowrap;
}
.logo-text-ee { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  display: block;
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--body-c);
  border-radius: var(--r-sm);
  transition: color var(--dur), background var(--dur);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); background: var(--rule-2); }

.nav-cta { display: flex; align-items: center; gap: .5rem; }

/* Mobile nav toggle (checkbox) */
.nav-toggle-input { display: none; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--rule-2);
  border: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle::before, .nav-toggle::after, .nav-toggle span {
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.nav-toggle::before { top: 13px; }
.nav-toggle span    { top: 19px; }
.nav-toggle::after  { top: 25px; }
.nav-toggle-input:checked ~ .nav .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle-input:checked ~ .nav .nav-toggle::after  { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle-input:checked ~ .nav .nav-toggle span    { opacity: 0; }

main { padding-top: var(--nav-h); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .logo-text { font-size: .85rem; letter-spacing: .08em; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    padding: 0 var(--gutter);
    gap: .15rem;
    max-height: 0;
    overflow: hidden;
    border-bottom: 0 solid var(--rule);
    box-shadow: 0 16px 40px rgba(8,17,31,0);
    transition:
      max-height var(--dur-slow) var(--ease),
      padding var(--dur) var(--ease),
      box-shadow var(--dur) var(--ease),
      border-bottom-width var(--dur);
  }
  .nav-links a { padding: .9rem 1rem; font-size: 1rem; border-radius: var(--r-sm); }
  .nav-cta .btn-desk { display: none; }
  .nav-toggle-input:checked ~ .nav .nav-links {
    max-height: 600px;
    padding: .75rem var(--gutter) 1.25rem;
    border-bottom-width: 1px;
    box-shadow: 0 16px 40px rgba(8,17,31,.08);
  }
}

/* ─── 5. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur),
    color var(--dur),
    border-color var(--dur);
}
.btn:focus-visible { outline: 3px solid rgba(29,85,232,.35); outline-offset: 3px; }
.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(8,17,31,.22);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--rule-2);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(8,17,31,.08);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(8,17,31,.14);
}

.btn-sm { padding: .65rem 1.1rem; font-size: .875rem; }

/* ─── 6. Typography helpers ───────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.label::before {
  content: "";
  width: 18px; height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
}
.label.light { color: rgba(255,255,255,.65); }
.label.light::before { background: rgba(255,255,255,.4); }

.section-eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: "";
  width: 20px; height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
}

.text-blue { color: var(--blue); }
.text-muted { color: var(--muted); }

/* ─── 7. Hero ─────────────────────────────────────────────── */
.hero {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--rule);
}

.hero-statement {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw + .5rem, 5.25rem);
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 .9em;
  max-width: 14ch;
}
.hero-statement .blue { color: var(--blue); }
.hero-statement .cross {
  display: inline;
  position: relative;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(29,85,232,.5);
  text-decoration-thickness: 3px;
}

.hero-sub {
  max-width: 52ch;
  font-size: clamp(1.05rem, .5vw + .9rem, 1.2rem);
  line-height: 1.75;
  color: var(--body-c);
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-numbers {
  display: flex;
  gap: clamp(24px, 4vw, 60px);
  margin-top: clamp(52px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.hero-num .n {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.5vw + .5rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hero-num .d {
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ─── 8. Split two-col ────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split.flip .split-b { order: -1; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-b { order: 0; }
}

/* ─── 9. Cards ────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.5vw, 36px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-grid {
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }
}

/* Numbered step card */
.step {
  padding: clamp(24px, 2.5vw, 36px);
  border-top: 2px solid var(--rule);
  transition: border-color var(--dur);
}
.step:hover { border-color: var(--blue); }
.step-n {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.step h4 { margin-bottom: .5rem; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; line-height: 1.65; }

/* Stat block */
.stat-block {
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--r-xl);
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stat-block::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,85,232,.25), transparent 70%);
  right: -60px; bottom: -60px;
  pointer-events: none;
}
.stat-block .s-num {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.stat-block .s-lbl {
  margin-top: .6rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
}

/* ─── 10. Case study cards ───────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 720px) { .cs-grid { grid-template-columns: 1fr; } }

.cs-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 340px;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.cs-card-bg {
  position: absolute;
  inset: 0;
  opacity: .55;
}
.cs-card-bg.school   { background: linear-gradient(135deg, #0B1220 0%, #1E3A5F 100%); opacity:1; }
.cs-card-bg.lifecraft { background: linear-gradient(135deg, #03252A 0%, #0E6B7E 100%); opacity:1; }
.cs-card-bg.hotel    { background: linear-gradient(135deg, #0D2257 0%, #1B4FA8 100%); opacity:1; }
.cs-card-bg.orders   { background: linear-gradient(135deg, #240235 0%, #6B1680 100%); opacity:1; }

.cs-accent {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  opacity: .18;
  bottom: -40px; right: -40px;
}
.cs-accent.school   { background: radial-gradient(circle, #3B82F6, transparent); }
.cs-accent.lifecraft { background: radial-gradient(circle, #06B6D4, transparent); }
.cs-accent.hotel    { background: radial-gradient(circle, #38BDF8, transparent); }
.cs-accent.orders   { background: radial-gradient(circle, #C026D3, transparent); }

.cs-body {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cs-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.5rem;
}
.cs-tag::before {
  content: "";
  width: 14px; height: 1.5px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
}

.cs-metric {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: .5rem;
}

.cs-card h3 {
  color: #fff;
  font-size: clamp(1rem, 1.5vw + .5rem, 1.3rem);
  font-weight: 600;
  margin-bottom: .6rem;
  letter-spacing: -0.01em;
}
.cs-card p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.cs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.cs-link {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color var(--dur), gap var(--dur) var(--ease);
}
.cs-card:hover .cs-link { color: #fff; gap: .65rem; }

.cs-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.cs-chip {
  font-size: .68rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── 11. Horizontal rule / Divider ──────────────────────── */
.rule { height: 1px; background: var(--rule); margin: 0; }

/* ─── 12. Process steps (vertical) ──────────────────────── */
.process { display: grid; gap: 0; }
.p-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 clamp(20px, 2.5vw, 36px);
  padding-block: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background var(--dur);
}
.p-step:first-child { border-top: 1px solid var(--rule); }
.p-step:hover { background: var(--bg-off); }
.p-num {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rule);
  letter-spacing: -0.02em;
  padding-top: .2rem;
  transition: color var(--dur);
}
.p-step:hover .p-num { color: var(--blue); }
.p-content h4 { margin-bottom: .35rem; font-size: 1.15rem; }
.p-content p { color: var(--muted); font-size: .95rem; margin: 0; line-height: 1.65; }

/* ─── 13. Check list ─────────────────────────────────────── */
.check-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: .85rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .97rem;
  color: var(--body-c);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"),
    linear-gradient(135deg, %231D55E8, %2306B6D4);
  background-size: 58%, cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-dark .check-list li { color: rgba(255,255,255,.82); }

/* ─── 14. Big quote / pullout ────────────────────────────── */
.pullout {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw + .5rem, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
  max-width: 34ch;
}
.pullout .hl { color: var(--blue); }

.blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.5rem;
  margin: 0;
}
.blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--body-c);
  margin-bottom: .75rem;
  line-height: 1.72;
}
.blockquote cite {
  font-size: .85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

/* ─── 15. Inline metrics row ─────────────────────────────── */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.metric-cell {
  background: var(--bg);
  padding: clamp(20px, 2.5vw, 32px);
}
.metric-cell .m-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.metric-cell .m-lbl {
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}
.section-dark .metrics { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.08); }
.section-dark .metric-cell { background: rgba(255,255,255,.04); }
.section-dark .metric-cell .m-num { color: #fff; }
.section-dark .metric-cell .m-lbl { color: rgba(255,255,255,.55); }

/* ─── 16. Deliverables list ──────────────────────────────── */
.deliverables { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.deliverables li:last-child { border-bottom: 0; }
.deliverables .d-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg-off);
  color: var(--blue);
  display: grid; place-items: center;
  margin-top: 2px;
}
.deliverables .d-icon svg { width: 16px; height: 16px; }
.deliverables strong { display: block; color: var(--ink); font-size: .97rem; font-weight: 600; margin-bottom: .1rem; }
.deliverables .d-desc { font-size: .88rem; color: var(--muted); }

/* ─── 17. CTA section ────────────────────────────────────── */
.cta-block {
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,85,232,.3), transparent 65%);
  right: -100px; top: -150px;
  pointer-events: none;
}
.cta-block::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.2), transparent 65%);
  left: -60px; bottom: -80px;
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: #fff; max-width: 18ch; margin-bottom: .75rem; }
.cta-block p { color: rgba(255,255,255,.72); max-width: 56ch; margin-bottom: 2rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ─── 18. FAQ ────────────────────────────────────────────── */
.faq { display: grid; gap: 0; }
.faq details {
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  padding: 1.25rem 0;
  font-family: var(--display);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--dur);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), color var(--dur);
}
.faq details[open] summary { color: var(--blue); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--blue); }
.faq .faq-body { padding: 0 0 1.5rem; color: var(--muted); font-size: .97rem; line-height: 1.72; }

/* ─── 19. Contact form ───────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 44px);
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: .8rem 1rem;
  font-family: var(--sans);
  font-size: .97rem;
  color: var(--ink);
  background: var(--bg-off);
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29,85,232,.1);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ─── 20. Footer ─────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  padding-block: clamp(56px, 7vw, 88px) 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 3rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-card {
  display: inline-flex;
  padding: 12px 18px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  margin-bottom: 1.25rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: fit-content;
}
.footer-brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}
.footer-brand-card .logo-img { height: 40px; filter: none; }

.footer p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 28ch;
  margin: 0;
}
.footer h5 {
  color: rgba(255,255,255,.4);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .5rem; }
.footer ul a {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  transition: color var(--dur);
}
.footer ul a:hover { color: #fff; }
.footer-contact { font-size: .92rem; }
.footer-contact a { display: block; color: rgba(255,255,255,.65); margin-bottom: .5rem; transition: color var(--dur); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.38);
  font-size: .84rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── 21. Mockup UI replicas ─────────────────────────────── */
.ui-mockup {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--rule);
  background: var(--bg-off);
}
.ui-mockup-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  background: #fff;
}
.ui-mockup-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.ui-mockup-bar .dot:nth-child(1) { background: #FF5F57; }
.ui-mockup-bar .dot:nth-child(2) { background: #FEBC2E; }
.ui-mockup-bar .dot:nth-child(3) { background: #28C840; }
.ui-mockup-bar .title {
  flex: 1;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}
.ui-mockup-body { padding: 1.25rem; }
.ui-section {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  margin-bottom: .75rem;
  position: relative;
}
.ui-section:last-child { margin-bottom: 0; }
.ui-section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .65rem;
}
.ui-btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.ui-btn {
  padding: .4rem .75rem;
  border-radius: var(--r-sm);
  font-size: .77rem;
  font-weight: 600;
  cursor: default;
  border: none;
  font-family: var(--sans);
}
.ui-btn.dark { background: var(--ink); color: #fff; }
.ui-btn.blue { background: var(--blue); color: #fff; }
.ui-btn.cyan { background: var(--cyan); color: #fff; }
.ui-btn.teal { background: #0D9488; color: #fff; }
.ui-btn.purple { background: #7C3AED; color: #fff; }
.ui-btn.green { background: #16A34A; color: #fff; }
.ui-btn.red { background: #DC2626; color: #fff; }
.ui-btn.ghost { background: var(--rule-2); color: var(--body-c); }

/* ─── 22. Case study hero ───────────────────────────────── */
.cs-hero {
  padding-block: clamp(72px, 9vw, 120px) clamp(52px, 6vw, 80px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cs-hero.school   { background: #0B1220; }
.cs-hero.lifecraft { background: #03252A; }
.cs-hero.hotel    { background: #0D2257; }
.cs-hero.orders   { background: #1A0226; }
.cs-hero * { color: rgba(255,255,255,.85); }
.cs-hero h1 { color: #fff; }
.cs-hero .lead { max-width: 58ch; color: rgba(255,255,255,.78); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 2rem;
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--dur); }
.breadcrumb a:hover { color: #fff; }

.impact-pills {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.impact-pill {
  padding: .8rem 1.25rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}
.impact-pill .i-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.impact-pill .i-lbl {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-top: .3rem;
  font-weight: 500;
}

/* ─── 23. Compare (before/after) ────────────────────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }
.compare-col { background: var(--bg); padding: clamp(24px, 3vw, 36px); }
.compare-col.after { background: var(--bg-off); }
.compare-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.compare-col.before h4 { color: var(--muted); }
.compare-col.after h4  { color: var(--blue); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.compare-col ul li {
  font-size: .95rem;
  color: var(--body-c);
  padding-left: 1.4rem;
  position: relative;
}
.compare-col ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 300;
}
.compare-col.after ul li { color: var(--ink); }
.compare-col.after ul li::before { content: "✓"; color: var(--blue); font-weight: 700; }

/* ─── 24. Responsive polish ─────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  .cta-block { padding: clamp(32px, 6vw, 56px); border-radius: var(--r-lg); }
  .cta-row .btn { flex: 1; min-width: 160px; justify-content: center; }
  .hero-numbers { gap: 1.25rem; }
}
@media (max-width: 420px) {
  .logo-text { display: none; }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .hero-statement { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero-num .n { font-size: 1.65rem; }
  .cta-block { padding: 28px 22px; border-radius: var(--r-lg); }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .impact-pills { gap: .6rem; }
  .impact-pill { padding: .6rem 1rem; }
  .impact-pill .i-num { font-size: 1.1rem; }
  .cs-metric { font-size: 1.7rem; }
  .cs-body { padding: 20px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-brand-card { padding: 10px 14px; }
  .footer-brand-card .logo-img { height: 34px; }
}

/* ─── 25. Animation ──────────────────────────────────────── */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rev linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
}
@keyframes rev {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fade-up 600ms var(--ease) both;
}
.fade-up.d1 { animation-delay: 80ms; }
.fade-up.d2 { animation-delay: 160ms; }
.fade-up.d3 { animation-delay: 240ms; }
.fade-up.d4 { animation-delay: 320ms; }
.fade-up.d5 { animation-delay: 400ms; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
