/* ============================================================
   BOOSTA DIGITAL — Design System
   Black / azure, heavy uppercase grotesque, mono micro-labels.
   8px spacing grid.
   ============================================================ */

/* ---------- Fonts ---------- */

/* ---------- Tokens ---------- */
:root {
  /* color */
  --black: #000000;
  --ink: #0a0a0b;            /* near-black surface */
  --ink-2: #111114;          /* raised surface */
  --line-dark: rgba(255,255,255,0.12);
  --line-dark-soft: rgba(255,255,255,0.07);
  --white: #ffffff;
  --paper: #ffffff;
  --paper-2: #f4f5f6;
  --line-light: #e6e7e9;
  --blue: #00a6ff;
  --blue-600: #0090e0;
  --blue-700: #007cc4;

  /* text */
  --on-dark: #ffffff;
  --on-dark-muted: #8b9096;
  --on-dark-faint: #5b6066;
  --on-light: #0a0a0b;
  --on-light-muted: #5b6066;

  /* type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* spacing (8px grid) */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s7: 64px; --s8: 80px;
  --s9: 96px; --s10: 128px; --s11: 160px;

  /* layout */
  --container: 1160px;
  --radius: 0px;            /* sharp, technical */
  --nav-h: 84px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--on-dark);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}
.section { padding-block: var(--s11); }
.section--tight { padding-block: var(--s9); }
.section--dark { background: var(--black); color: var(--on-dark); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--light { background: var(--paper); color: var(--on-light); }
.divider-line { border: 0; border-top: 1px solid var(--line-dark-soft); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow--dot::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}
.eyebrow--bracket::before { content: "[ "; color: var(--blue); }
.eyebrow--bracket::after  { content: " ]"; color: var(--blue); }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
}
.display .accent, .accent { color: var(--blue); }
.section--light .display { color: var(--on-light); }

h2.heading, .heading {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
.heading--center { text-align: center; }

h3.subhead, .subhead {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--on-dark-muted);
  line-height: 1.5;
  max-width: 46ch;
}
.section--light .lead { color: var(--on-light-muted); }
.muted { color: var(--on-dark-muted); }
.section--light .muted { color: var(--on-light-muted); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  padding: 15px 26px;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #00131f; }
.btn--primary:hover { background: var(--white); color: #000; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }
.section--light .btn--ghost { color: var(--on-light); border-color: var(--line-light); }
.section--light .btn--ghost:hover { border-color: var(--on-light); background: rgba(0,0,0,0.03); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 18px 32px; font-size: 15px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark-soft);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 34px; height: 34px;
  background: var(--blue);
  display: grid; place-items: center;
  flex: none;
}
.brand__mark::after {
  content: "";
  width: 15px; height: 15px;
  background: var(--black);
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 22px;
  color: var(--white);
}
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  transition: color .18s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--white); }
.nav__link.is-active { color: var(--blue); }
.nav__right { display: flex; align-items: center; gap: 22px; }

.nav__toggle {
  display: none;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 4px;
}

/* mobile dropdown */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  right: 32px;
  width: min(78vw, 320px);
  background: #050506;
  border: 1px solid var(--line-dark);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  border-bottom: 1px solid var(--line-dark-soft);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.mobile-menu a.is-active { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line-dark-soft); }
.footer-cta { padding-block: var(--s10); text-align: center; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-block: var(--s8);
  border-top: 1px solid var(--line-dark-soft);
  align-items: start;
}
.footer-ready {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--blue);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-top: 24px;
  line-height: 1.9;
}
.footer-right { text-align: right; }
.footer-email {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--white);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 6px;
  display: inline-block;
  transition: color .18s var(--ease);
}
.footer-email:hover { color: var(--blue); }
.footer-links {
  display: flex;
  gap: 26px;
  justify-content: flex-end;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-links a { color: var(--on-dark-faint); transition: color .15s var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 20px;
}
.footer-social a {
  color: var(--on-dark-faint);
  transition: color .15s var(--ease);
  line-height: 0;
}
.footer-social a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 28px;
  border-top: 1px solid var(--line-dark-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
}
.pkg {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--line-dark);
  position: relative;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
  display: flex;
  flex-direction: column;
}
.pkg::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s var(--ease);
}
.pkg:last-child { border-right: 0; }
.pkg:hover { background: rgba(0,166,255,0.07); box-shadow: inset 0 0 0 1px rgba(0,166,255,0.35); }
.pkg:hover::before { transform: scaleY(1); }
.pkg:hover .pkg__title { color: var(--blue); }
.pkg__title { transition: color .2s var(--ease); }
.pkg__no { margin-bottom: 22px; }
.pkg__title { margin-bottom: 16px; }
.pkg__desc { color: var(--on-dark-muted); font-size: 16px; line-height: 1.55; }
.pkg__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pkg__list li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pkg__list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue);
  margin-top: 4px;
  flex: none;
  opacity: 0.45;
  transition: opacity .2s var(--ease);
}
.pkg:hover .pkg__list li::before { opacity: 1; }
.pkg__best { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.pkg__best .mono-label { display: block; margin-bottom: 10px; font-size: 11px; }
.pkg__best p { color: var(--on-dark-muted); font-size: 14px; line-height: 1.55; }
.pkg__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 22px;
  transition: color .2s var(--ease);
}
.pkg__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.pkg__link .arrow { transition: transform .25s var(--ease); display: inline-block; }
.pkg__link:hover .arrow, .pkg:hover .pkg__link .arrow { transform: translateX(4px); }
.pkg:hover .pkg__link { color: var(--white); }

/* problem list */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.list-rows { border: 1px solid var(--line-light); }
.section--dark .list-rows, .section--ink .list-rows { border-color: var(--line-dark); }
.list-row {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line-light);
  transition: background .18s var(--ease);
}
.section--dark .list-row, .section--ink .list-row { border-color: var(--line-dark); }
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--paper-2); }
.section--dark .list-row:hover, .section--ink .list-row:hover { background: rgba(255,255,255,0.03); }
.list-row__label { margin-bottom: 12px; display: block; }
.list-row__text { font-size: 1.15rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -0.01em; }
.list-row__text .reg { font-weight: 400; color: var(--on-light-muted); }
.section--dark .list-row__text .reg, .section--ink .list-row__text .reg { color: var(--on-dark-muted); }

/* trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.trust-strip .dot { color: var(--blue); }

/* ---------- Reveal animation (frozen-render-safe: transform only) ----------
   Opacity stays 1 at all times, so content is NEVER invisible — even in
   renderers that freeze CSS animations. The entrance is a subtle slide-up;
   if an animation is frozen it just resolves to a small (or zero) offset. */
.js-reveal .reveal { transform: translateY(20px); will-change: transform; }
.js-reveal .reveal.is-in {
  transform: none;
  animation: revealIn .7s var(--ease) forwards;
}
.js-reveal .reveal.is-in[data-delay="1"] { animation-delay: .08s; }
.js-reveal .reveal.is-in[data-delay="2"] { animation-delay: .16s; }
.js-reveal .reveal.is-in[data-delay="3"] { animation-delay: .26s; }
@keyframes revealIn {
  from { transform: translateY(20px); }
  to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { transform: none; }
  .js-reveal .reveal.is-in { animation: none; }
  html { scroll-behavior: auto; }
  .logo-bubble { animation: bubblePop 0.55s var(--pop-delay, 0s) forwards; }
}

/* ---------- Utilities ---------- */
.stack-sm > * + * { margin-top: 16px; }
.stack-md > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.maxw-60 { max-width: 60ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 40px;
  align-items: center;
  margin-top: 26px;
}
.hero .display { margin-block: 22px 26px; }
.hero .cta-row { margin-top: 34px; }
.hero__trust { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-dark-soft); }

/* --- Hero logo bubbles --- */
.hero__logos {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  padding-bottom: 6px;
}

.logo-bubble {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0;
  animation:
    bubblePop 0.55s var(--pop-delay, 0s) cubic-bezier(0.34,1.56,0.64,1) forwards,
    bubbleFloat var(--float-dur, 4s) var(--float-delay, 0.6s) ease-in-out infinite;
}

@keyframes bubblePop {
  from { opacity: 0; scale: 0.4; }
  65%  { scale: 1.1; }
  to   { opacity: 1; scale: 1; }
}

@keyframes bubbleFloat {
  0%, 100% { translate: 0 0px; }
  50%       { translate: 0 -10px; }
}

.logo-bubble--google {
  background: #ffffff;
  --pop-delay: 0.15s;
  --float-delay: 0.72s;
  --float-dur: 3.8s;
}
.logo-bubble--facebook {
  background: #1877F2;
  --pop-delay: 0.32s;
  --float-delay: 0.89s;
  --float-dur: 4.4s;
}
.logo-bubble--instagram {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #F77737 100%);
  --pop-delay: 0.49s;
  --float-delay: 1.06s;
  --float-dur: 3.5s;
}
.logo-bubble--linkedin {
  background: #0A66C2;
  --pop-delay: 0.66s;
  --float-delay: 1.23s;
  --float-dur: 4.7s;
}
/* logo bubble hover label */
.logo-bubble { position: relative; }
.logo-bubble__label {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.logo-bubble:hover .logo-bubble__label { opacity: 1; }

.logo-bubble--youtube {
  background: #FF0000;
  --pop-delay: 0.83s;
  --float-delay: 1.40s;
  --float-dur: 3.2s;
}

/* page header band (interior pages) */
.page-head { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 92px); }
.page-head .display { margin-top: 22px; }
.page-head__split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.page-head__copy { color: var(--on-dark-muted); font-size: 1.12rem; line-height: 1.6; }
.page-head__copy p + p { margin-top: 20px; }

/* ---------- Services offer cards ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer {
  padding: 28px 28px;
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: background .2s var(--ease);
}
.offer:hover { background: #f5f9ff; }
.offer__no { margin-bottom: 14px; color: var(--blue); }
.offer__title { margin-bottom: 6px; color: var(--on-light); font-size: clamp(1.1rem, 1.5vw, 1.3rem); white-space: nowrap; }
.offer__kind { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-light-muted); }
.offer__desc { color: var(--on-light-muted); font-size: 15px; line-height: 1.5; margin-top: 14px; }
.offer__list { margin-top: 16px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.offer__list li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-light-muted);
  display: flex; align-items: flex-start; gap: 12px;
}
.offer__list li::before { content: ""; width: 7px; height: 7px; background: var(--blue); margin-top: 5px; flex: none; }
.offer__best { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-light); }
.offer__best .mono-label { display: block; margin-bottom: 6px; color: var(--blue); }
.offer__best p { color: var(--on-light-muted); font-size: 14px; line-height: 1.5; }
.offer__cta { margin-top: 16px; }

/* stage grid (services page - which stage are you at) */
.stage-grid { margin-top: 40px; border-top: 2px solid var(--black); }
.stage-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0 48px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 2px solid var(--black);
}
.stage-row__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stage-row__q {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.stage-row__fit {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  letter-spacing: -0.01em;
  color: var(--blue);
  white-space: nowrap;
}
.stage-row__fit { position: relative; }
.stage-row__fit::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .3s var(--ease);
}
.stage-row__fit:hover::after { width: 100%; }

/* about values reuse list-rows */
.value-row__name { font-weight: 700; }

/* about values redesign */
.values-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: end;
  margin-top: 20px;
  padding-bottom: 64px;
}
.values-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}
.val-col { padding: 44px 40px 0; min-width: 0; }
.val-col + .val-col { border-left: 1px solid var(--line-light); }
.val-col__name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--on-light);
  margin-top: 18px;
  line-height: 0.95;
  word-break: break-word;
}
.val-col__desc {
  margin-top: 14px;
  color: var(--on-light-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* about values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}
.values-item { padding: 36px 32px 36px 0; }
.values-item + .values-item { padding-left: 32px; border-left: 1px solid var(--line-light); }
.values-item__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.values-item__desc { color: var(--on-light-muted); margin-top: 8px; font-size: 0.95rem; line-height: 1.6; }


/* who it's for accordion */
.wif-list { counter-reset: wif; border-top: 1px solid var(--line-dark); margin-top: 56px; }
.wif-item { counter-increment: wif; border-bottom: 1px solid var(--line-dark); position: relative; transition: background .25s var(--ease); }
.wif-item.is-open { background: var(--ink-2); }
.wif-item.is-open::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
}
.wif-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  text-align: left;
}
.wif-name {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color .15s var(--ease);
}
.wif-btn:hover .wif-name,
.wif-item.is-open .wif-name { color: var(--blue); }
.wif-plus {
  font-size: 2rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.wif-item.is-open .wif-plus { transform: rotate(45deg); }
.wif-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease);
  position: relative;
}
.wif-body::before {
  content: "0" counter(wif);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 7vw, 6rem);
  letter-spacing: -0.05em;
  color: var(--blue);
  opacity: 0.1;
  position: absolute;
  right: 32px;
  bottom: 12px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
/* max-height set dynamically via JS scrollHeight for cross-browser reliability */
.wif-body p {
  padding: 4px 28px 44px 28px;
  color: var(--white);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  max-width: calc(100% - 220px);
  position: relative;
  z-index: 1;
}

/* ---------- FAQ ---------- */
.faq-page-body { padding-top: 0; padding-bottom: 96px; }
.faq-group {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0 72px;
  align-items: start;
  padding-top: 48px;
  border-top: 1px solid var(--line-dark);
}
.faq-group + .faq-group { margin-top: 56px; }
.faq-group__head { padding-top: 6px; }
.faq-group__name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-top: 14px;
}
.faq { }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item:first-child { border-top: 1px solid var(--line-dark); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 26px 0;
  color: var(--white);
}
.faq-q__text {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  line-height: 1.1;
}
.faq-q__icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq-q__icon::before, .faq-q__icon::after {
  content: ""; position: absolute; background: var(--blue);
  left: 50%; top: 50%;
  transition: transform 0.3s var(--ease);
}
.faq-q__icon::before { width: 2px; height: 20px; transform: translate(-50%,-50%); }
.faq-q__icon::after { width: 20px; height: 2px; transform: translate(-50%,-50%); }
.faq-item.is-open .faq-q__icon::before { transform: translate(-50%,-50%) scaleY(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a__inner { }
.faq-a p { color: var(--on-dark-muted); font-size: 1.05rem; padding: 0 0 28px; max-width: 58ch; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-meta { display: flex; flex-direction: column; gap: 18px; margin-top: 44px; }
.contact-meta__row { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; }
.contact-meta__row .ic { color: var(--blue); width: 20px; flex: none; }
.contact-meta__row a { border-bottom: 1px solid transparent; transition: border-color .15s var(--ease); }
.contact-meta__row a:hover { border-color: var(--blue); }

.form-card { background: var(--white); color: var(--on-light); padding: 32px 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 16px; }
.field > label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--on-light);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  padding: 6px 0 10px;
  transition: border-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 60px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230a0a0b' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #b3b6ba; }
.field select:invalid { color: #b3b6ba; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e0392b; }
.field__error { display: none; color: #e0392b; font-size: 12.5px; font-family: var(--font-mono); margin-top: 8px; letter-spacing: 0.02em; }
.field.has-error .field__error { display: block; }
.form-success { background: var(--white); color: var(--on-light); padding: 56px 44px; text-align: center; }
.form-success__mark { width: 56px; height: 56px; background: var(--blue); display: grid; place-items: center; margin: 0 auto 24px; }
.form-success__mark svg { width: 28px; height: 28px; }
.form-success h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.8rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.form-success p { color: var(--on-light-muted); max-width: 40ch; margin-inline: auto; }

/* legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; letter-spacing: -0.01em; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--on-dark-muted); font-size: 1.02rem; line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose ul { margin: 14px 0 0; padding-left: 0; }
.prose li { display: flex; gap: 12px; margin-top: 10px; }
.prose li::before { content: ""; width: 7px; height: 7px; background: var(--blue); margin-top: 9px; flex: none; }
.prose a { color: var(--blue); border-bottom: 1px solid transparent; }
.prose a:hover { border-color: var(--blue); }

/* ---------- Responsive ---------- */
.mobile-only { display: none; }
@media (max-width: 960px) {
  .mobile-only { display: block; }
  .desktop-only { display: none; }
  .offers { grid-template-columns: 1fr; gap: 16px; }
  .offer { border: 1px solid var(--line-light); scroll-margin-top: 96px; }
  .page-head__split { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .faq-group { grid-template-columns: 1fr; gap: 12px 0; padding-top: 36px; }
  .faq-group + .faq-group { margin-top: 36px; }
  .faq-group__name { display: none; }
  .faq-page-body { padding-bottom: 64px; }
  .stage-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .stage-row__num { font-size: clamp(1.4rem, 5vw, 2rem); }
  .stage-row__q { font-size: clamp(1rem, 4vw, 1.2rem); }
  .stage-row__fit { margin-top: 4px; }
  .hero__logos { display: none; }
}
/* Full desktop nav stays visible down to tablet; phones get the MENU dropdown. */
@media (max-width: 1040px) {
  .nav__links { gap: 26px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 76px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .nav__right .btn { padding: 12px 18px; font-size: 13px; }
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .pkg:last-child { border-bottom: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .footer-social { justify-content: flex-start; }
  .values-grid { grid-template-columns: 1fr; }
  .values-item { padding-right: 0; }
  .values-item + .values-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .values-hero { grid-template-columns: 1fr; gap: 20px; padding-bottom: 24px; align-items: start; }
  .values-cols { grid-template-columns: 1fr; border-top: none; gap: 8px; }
  .val-col { padding: 16px 16px; background: var(--paper-2); border-left: 3px solid var(--blue); }
  .val-col + .val-col { border-top: none; border-left: 3px solid var(--blue); }
  .val-col__name { font-size: 1.25rem; margin-top: 10px; }
  .val-col__desc { font-size: 14px; margin-top: 8px; }
  .section { padding-block: var(--s9); }
  .section--tight { padding-block: var(--s8); }
  .mobile-block { display: block; margin-top: 20px; }
  .wif-body::before { display: none; }
  .wif-body p { max-width: 100%; padding: 4px 20px 36px; }
  .wif-btn { padding: 22px 20px; }
  .wif-name { font-size: clamp(1.4rem, 5.5vw, 2rem); }
}
@media (max-width: 768px) {
  .form-card { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .field { margin-bottom: 18px; }
  .field > label { margin-bottom: 5px; }
  .field input, .field select, .field textarea { padding: 5px 0 7px; font-size: 16px; }
  .field textarea { min-height: 44px; }
  .contact-meta { display: none; }
  .page-head { padding-top: clamp(20px, 4vw, 36px); padding-bottom: clamp(48px, 7vw, 64px); }
  .page-head .display { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  body { font-size: 16px; }
  .mobile-menu { right: 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .brand__word { font-size: 19px; }
}

/* ---------- Search bar mock ---------- */
.search-mock { display: flex; justify-content: center; margin-top: 32px; }
.search-mock__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 100px;
  padding: 16px 26px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.search-mock__icon { width: 18px; height: 18px; color: #9aa0a6; flex: none; }
.search-mock__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: #202124;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.search-mock__cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #202124;
  margin-left: 1px;
  vertical-align: middle;
  animation: cursorBlink .8s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---------- Problem section ---------- */
.problem-head { margin-bottom: 56px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.problem-card {
  background: var(--white);
  padding: 40px 36px 44px;
  position: relative;
  border-top: 3px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.problem-card:hover { border-top-color: var(--blue); background: #f5fbff; }
.problem-card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  color: rgba(0,166,255,0.15);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  transition: color .25s var(--ease);
}
.problem-card:hover .problem-card__num { color: rgba(0,166,255,0.35); }
.problem-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--on-light);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.problem-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--on-light-muted);
}
.problem-pivot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
@media (max-width: 960px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ===== AD FORMATS MARQUEE ===== */
.orbit-section { padding-block: 64px; }

.orbit-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.orbit-track {
  display: flex;
  width: max-content;
  animation: hMarquee 30s linear infinite;
}

.orbit-wrap:hover .orbit-track { animation-play-state: paused; }

@keyframes hMarquee { to { transform: translateX(-50%); } }

.orbit-card {
  width: 182px;   /* 158px card + 24px gap */
  height: 290px;
  padding-right: 24px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-track { animation-play-state: paused; }
}

/* --- Base ad card --- */
.ad-card {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 9.5px;
  line-height: 1.4;
  color: #202124;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

/* shared sub-components */
.adc-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px 5px; flex-shrink: 0;
}
.adc-page-name { font-size: 10px; font-weight: 700; color: #050505; line-height: 1.2; }
.adc-sponsored { font-size: 8px; color: #65676b; }
.adc-body { padding: 5px 10px; flex: 1; }
.adc-title { font-size: 10.5px; font-weight: 700; color: #050505; line-height: 1.3; margin-bottom: 3px; }
.adc-desc  { font-size: 8.5px; color: #65676b; line-height: 1.4; }
.adc-footer {
  padding: 4px 10px 8px; flex-shrink: 0;
}
.adc-cta {
  display: block; text-align: center;
  padding: 4px 0; border-radius: 4px;
  font-size: 10px; font-weight: 700; cursor: pointer;
}
.adc-img-band {
  width: 100%; height: 158px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  position: relative; overflow: hidden;
}
.adc-img-band img,
.adc-product-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* --- Google Search --- */
.ad-card--search .adc-header { border-bottom: 1px solid #e8eaed; }
.adc-ad-pill {
  font-size: 8px; font-weight: 700; color: #006621;
  border: 1px solid #006621; padding: 1px 3px; border-radius: 2px; line-height: 1;
}
.adc-url { font-size: 9px; color: #006621; }
.adc-title--link { font-size: 11px; font-weight: 400; color: #1a0dab; }
.adc-stars { font-size: 8.5px; color: #f4b400; margin-top: 3px; }
.adc-stars span { color: #70757a; }
.adc-sitelinks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px 6px; margin-top: 5px;
  border-top: 1px solid #e8eaed; padding-top: 5px;
}
.adc-sitelinks span { font-size: 8.5px; color: #1a0dab; }

/* --- Google Shopping --- */
.ad-card--shopping { padding: 0; }
.adc-product-img {
  width: 100%; height: 158px; flex-shrink: 0;
  background: #f0e8db;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.adc-body--shopping { padding: 7px 10px; }
.adc-price { font-size: 15px; font-weight: 700; color: #202124; }
.adc-product-name { font-size: 9.5px; color: #202124; margin: 1px 0 2px; line-height: 1.3; }
.adc-store { font-size: 8.5px; color: #70757a; }
.adc-shopping-footer {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-top: 1px solid #e8eaed; flex-shrink: 0;
  font-size: 8px; color: #70757a;
}

/* --- Facebook --- */
.adc-img-band--barber { background: #1a1a1a; }
.adc-img-band--nails  { background: linear-gradient(135deg, #f9a8c9 0%, #fde8f0 100%); }
.adc-img-band--builder { background: #2d3a47; }
.adc-img-band--dentist { background: #eaf4fb; }
.adc-img-band--spa {
  background: linear-gradient(135deg, #c8a4d6 0%, #e8c3d4 100%);
  color: #5a2d7a;
}
.adc-cta--fb { background: #e7f3ff; color: #0866ff; }

/* --- Instagram --- */
.adc-ig-header {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 8px 5px; flex-shrink: 0;
}
.adc-ig-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.adc-ig-dots { margin-left: auto; color: #262626; font-size: 12px; letter-spacing: 1px; }
.ad-card--instagram .adc-page-name { color: #262626; }
.ad-card--instagram .adc-sponsored { color: #8e8e8e; }
.adc-img-band--gym {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff; font-size: 22px;
}
.adc-ig-actions { padding: 4px 8px 2px; font-size: 12px; color: #262626; flex-shrink: 0; }
.adc-body--ig { padding: 2px 8px; font-size: 8.5px; color: #262626; }
.adc-cta--ig { border: 1px solid #dbdbdb; color: #0095f6; background: transparent; }

/* --- YouTube --- */
.ad-card--youtube { background: #0f0f0f; color: #fff; }
.adc-yt-thumb {
  position: relative; height: 158px; flex-shrink: 0;
  background: #1a1a2e;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.adc-yt-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.adc-yt-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.35); z-index: 1;
}
.adc-yt-play {
  width: 34px; height: 34px; background: rgba(255,255,255,0.92);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #0f0f0f; padding-left: 2px; position: relative; z-index: 2;
}
.adc-yt-skip {
  position: absolute; bottom: 5px; right: 6px; z-index: 2;
  font-size: 8px; background: rgba(0,0,0,0.72); color: #fff;
  padding: 2px 5px; border-radius: 2px;
}
.adc-yt-meta {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 8px 3px; flex-shrink: 0;
}
.adc-ad-pill--yt { font-size: 8px; color: #aaa; border: 1px solid #555; padding: 1px 3px; border-radius: 2px; line-height: 1; }
.adc-body--yt { padding: 0 8px; }
.adc-title--yt { font-size: 11px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.adc-desc--yt  { font-size: 8.5px; color: #aaa; }
.adc-cta--yt { background: #065fd4; color: #fff; margin-top: 2px; }

/* --- LinkedIn --- */
.adc-header--li { align-items: flex-start; }
.adc-li-avatar {
  width: 28px; height: 28px; border-radius: 4px; flex-shrink: 0;
  background: #0a66c2;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.adc-img-band--li {
  background: linear-gradient(135deg, #004182 0%, #0a66c2 100%);
  color: #fff; font-size: 9.5px; font-weight: 600;
  padding: 0 12px; text-align: center; line-height: 1.4;
}
.adc-cta--li { border: 1.5px solid #0a66c2; color: #0a66c2; background: transparent; }

/* Mobile: hide marquee */
@media (max-width: 640px) {
  .orbit-section { display: none; }
}
