/* ============================================================
   Fluxo.ai — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Surfaces */
  --bg: #08080a;
  --bg-2: #0c0c0f;
  --surface: #131318;
  --surface-2: #1a1a20;
  --surface-3: #222229;

  /* Borders */
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --border-orange: rgba(241, 90, 36, 0.4);

  /* Text — lighter for legibility */
  --text: #f7f5f1;
  --text-dim: #c4c4cc;
  --text-faint: #8f8f99;

  /* Brand — real Fluxo orange #F15A24 */
  --orange: #f15a24;
  --orange-bright: #ff7c4d;
  --orange-deep: #d4440f;
  --amber: #ff9a3d;
  --glow: rgba(241, 90, 36, 0.45);
  --glow-soft: rgba(241, 90, 36, 0.16);

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #0a0500; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 130px 0; position: relative; }
.section--tight { padding: 90px 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.display {
  font-size: clamp(2.6rem, 6.5vw, 5.1rem);
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 400;
  max-width: 60ch;
}
.text-grad {
  background: linear-gradient(105deg, var(--orange-bright), var(--orange) 45%, var(--orange-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }

.btn--primary {
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  color: #fff;
  text-shadow: 0 1px 1px rgba(110, 28, 0, 0.4);
  box-shadow: 0 8px 30px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.38);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: var(--border-orange);
  background: rgba(241, 90, 36, 0.07);
  transform: translateY(-2px);
}
.btn--lg { padding: 18px 34px; font-size: 16.5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand__mark { width: 34px; height: 34px; border-radius: 50%; }
.brand b { font-weight: 700; }
.brand .wm { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.brand .wm i { color: var(--orange); font-style: normal; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav__burger { display: none; background: none; border: none; color: var(--text); width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__glow {
  position: absolute;
  top: -12%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(closest-side, var(--glow-soft), transparent 72%);
  filter: blur(20px);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.5;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero h1 { margin: 22px 0 24px; }
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 38px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 2px;
}

/* Hero infinity visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.infinity-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 0.78;
}
.infinity-stage .ring-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(closest-side, var(--glow-soft), transparent 70%);
  filter: blur(30px);
}

/* ---------- Logo marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}
.marquee__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 26px;
}
.marquee__track {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: scroll-x 32s linear infinite;
  align-items: center;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-faint);
  white-space: nowrap;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color .3s;
}
.marquee__item:hover { color: var(--text-dim); }
.marquee__item .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

/* ---------- Section header ---------- */
.shead { max-width: 720px; margin-bottom: 64px; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead h2 { margin: 18px 0 18px; }
.shead.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Problem strip ---------- */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.problem__x {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 80, 80, 0.1);
  color: #ff7a6b;
  margin-bottom: 18px;
}
.problem h4 { font-size: 1.12rem; margin-bottom: 8px; font-weight: 600; }
.problem p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- Branches ---------- */
.branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.branch {
  position: relative;
  padding: 42px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(241, 90, 36,0.07), transparent 55%),
    var(--surface);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.branch:hover {
  transform: translateY(-6px);
  border-color: var(--border-orange);
  box-shadow: 0 30px 70px -30px var(--glow);
}
.branch__no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.branch h3 {
  font-size: 1.85rem;
  margin: 16px 0 14px;
}
.branch__desc { color: var(--text-dim); font-size: 15.5px; margin-bottom: 28px; }
.branch__list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.branch__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
}
.branch__list svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.branch__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--orange-bright);
  transition: gap .3s;
}
.branch:hover .branch__link { gap: 14px; }
.branch__icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(241, 90, 36,0.18), rgba(241, 90, 36,0.05));
  border: 1px solid var(--border-orange);
  color: var(--orange-bright);
  margin-bottom: 24px;
}
.branch__icon svg { width: 28px; height: 28px; }

/* ---------- Bento services ---------- */
.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 44px;
}
.tab {
  padding: 11px 24px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 15px;
  transition: color .25s, background .25s;
}
.tab.active {
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  color: #fff;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.bento__pane { display: none; }
.bento__pane.active { display: contents; }

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, background .35s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-orange);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 90% at 100% 0%, var(--glow-soft), transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--orange-bright);
  margin-bottom: auto;
}
.card__icon svg { width: 22px; height: 22px; }
.card h4 { font-size: 1.2rem; margin: 18px 0 8px; font-weight: 600; }
.card p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.card--span2 { grid-column: span 2; }
.card--span3 { grid-column: span 3; }
.card--span4 { grid-column: span 4; }
.card--tall { grid-row: span 1; }

.card--feature {
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(241, 90, 36,0.13), transparent 55%),
    var(--surface);
  justify-content: flex-end;
}
.card--feature h4 { font-size: 1.5rem; }
.card--feature .pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(241, 90, 36,0.1);
  border: 1px solid var(--border-orange);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: auto;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step {
  position: relative;
  padding: 0 26px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px; right: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--border-orange), transparent);
}
.step__no {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border-orange);
  color: var(--orange-bright);
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}
.step h4 { font-size: 1.22rem; margin-bottom: 10px; font-weight: 600; }
.step p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- Results / stats band ---------- */
.results {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 130% at 50% 0%, rgba(241, 90, 36,0.08), transparent 60%),
    var(--bg-2);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.result { text-align: center; }
.result__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.result__label { color: var(--text-dim); font-size: 14.5px; margin-top: 12px; }

/* ---------- Case study ---------- */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.case__media {
  position: relative;
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(241, 90, 36,0.16), transparent 60%),
    var(--surface-2);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 40px;
}
.case__body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.case__quote { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin: 22px 0 30px; }
.case__metrics { display: flex; gap: 40px; padding-top: 26px; border-top: 1px solid var(--border); }
.case__author { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.case__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, var(--orange-bright), var(--orange-deep)); }
.case__author b { display: block; font-size: 15px; }
.case__author span { font-size: 13px; color: var(--text-faint); }

/* dashboard mock inside case media */
.dashmock {
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.dashmock__top { display: flex; gap: 6px; margin-bottom: 16px; }
.dashmock__top i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.dashmock__row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.dashmock__bar { height: 10px; border-radius: 4px; background: var(--surface-2); flex: 1; }
.dashmock__bar.fill { background: linear-gradient(90deg, var(--orange), var(--orange-deep)); }
.dashmock__chart { display: flex; align-items: flex-end; gap: 7px; height: 90px; margin-top: 16px; }
.dashmock__chart span { flex: 1; background: var(--surface-2); border-radius: 4px 4px 0 0; }
.dashmock__chart span.hi { background: linear-gradient(180deg, var(--orange-bright), var(--orange)); }

/* ---------- Price compare mock ---------- */
.compare {
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.compare__head {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.compare__head .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.compare__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 8px; font-size: 14px;
}
.compare__row span { color: var(--text-dim); }
.compare__row b { font-weight: 600; }
.compare__row.dim { opacity: 0.55; }
.compare__row.dim b { text-decoration: line-through; }
.compare__row.best {
  border-color: var(--border-orange);
  background: linear-gradient(100deg, rgba(241,90,36,0.14), transparent);
}
.compare__row.best span { color: var(--text); }
.compare__tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--orange-bright); font-weight: 600;
  margin-top: 3px;
}
.compare__save {
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between;
}
.compare__save .lbl { font-size: 13px; color: var(--text-dim); }
.compare__save b {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.case__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px;
  margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--border);
}
.case__stat .n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.case__stat .l { font-size: 13.5px; color: var(--text-dim); margin-top: 7px; }

/* ---------- CTA reassurance microcopy ---------- */
.cta-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.cta-note span { display: inline-flex; align-items: center; gap: 7px; }
.cta-note svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }
.cta .cta-note { justify-content: center; position: relative; margin-top: 24px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.55);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 33px; height: 33px; color: #fff; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float__label {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.wa-float:hover .wa-float__label { opacity: 1; transform: translateX(0); }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 680px) {
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 30px; height: 30px; }
  .wa-float__label { display: none; }
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 18px; }
.quote__stars svg { width: 16px; height: 16px; }
.quote p { font-size: 15.5px; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-3); flex-shrink: 0; }
.quote__who b { display: block; font-size: 14.5px; }
.quote__who span { font-size: 12.5px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  letter-spacing: -0.01em;
}
.faq__q svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; transition: transform .35s var(--ease); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .35s;
  opacity: 0;
}
.faq__item.open .faq__a { opacity: 1; }
.faq__a p { padding-bottom: 26px; color: var(--text-dim); font-size: 15.5px; max-width: 64ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-orange);
  background:
    radial-gradient(90% 140% at 50% 120%, rgba(241, 90, 36,0.22), transparent 60%),
    var(--bg-2);
  padding: 90px 48px;
  text-align: center;
}
.cta__inf {
  position: absolute;
  bottom: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 380px;
  opacity: 0.4;
  pointer-events: none;
}
.cta h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 22px; position: relative; }
.cta .lead { margin: 0 auto 38px; position: relative; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand .lead { font-size: 15px; margin-top: 18px; max-width: 34ch; }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 13px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--orange-bright); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-faint);
  gap: 20px;
  flex-wrap: wrap;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-dim);
  transition: all .25s;
}
.footer__social a:hover { color: var(--orange); border-color: var(--border-orange); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Infinity animation ---------- */
.inf-path-bg { stroke: var(--border-strong); }
.inf-path-fg {
  stroke: url(#infGrad);
  stroke-dasharray: 70 260;
  animation: dashflow 3.4s linear infinite;
  filter: drop-shadow(0 0 8px var(--glow));
}
@keyframes dashflow {
  to { stroke-dashoffset: -330; }
}
.inf-dot { fill: var(--orange-bright); filter: drop-shadow(0 0 8px var(--orange)); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__visual { min-height: 360px; order: -1; }
  .branches { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .card { min-height: 190px; }
  .card--span2, .card--span3, .card--span4 { grid-column: span 1; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:not(:last-child)::after { display: none; }
  .results { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 30px; }
  .case { grid-template-columns: 1fr; }
  .case__media { min-height: 320px; }
  .case__body { padding: 40px; }
  .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .shead { margin-bottom: 44px; }
  .nav__inner { height: 64px; }
  .nav__links { display: none; }
  .nav__cta .btn--primary { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .hero { padding: 104px 0 60px; }
  .hero__visual { min-height: 280px; }
  .hero h1 { margin: 16px 0 18px; }
  .hero__actions { margin-top: 28px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 18px; margin-top: 36px; padding-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat__num { font-size: 1.5rem; }
  .stat__label { font-size: 11.5px; }
  .branch { padding: 32px 24px; }
  .branch h3 { font-size: 1.6rem; }
  .problems { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 40px 22px; }
  .result__num { font-size: 2rem; }
  .case__metrics { gap: 24px; flex-wrap: wrap; }
  .case__body { padding: 32px 26px; }
  .case__media { min-height: 260px; padding: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .wrap { padding: 0 18px; }
  .cta { padding: 52px 22px; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 12px 8px; font-size: 14px; }
}
@media (max-width: 400px) {
  .hero__stats { gap: 12px; }
  .stat__num { font-size: 1.3rem; }
  .stat__label { font-size: 11px; }
  .result__num { font-size: 1.7rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .display { font-size: 2.35rem; }
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(8,8,10,0.97);
  backdrop-filter: blur(18px);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 24px; }
.mobile-close { position: absolute; top: 26px; right: 24px; background: none; border: none; color: var(--text); width: 32px; height: 32px; }

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