/* BaseHub — v4 · bold agency / playful brutalism */
:root {
  color-scheme: light;
  --bg: #f6f4ed;
  --ink: #111213;
  --muted: #62615a;
  --lime: #d4f53c;
  --violet: #6b5cff;
  --peach: #ffb86b;
  --card: #ffffff;
  --bd: 2px solid var(--ink);
  --sh: 5px 5px 0 var(--ink);
  --sh-sm: 3px 3px 0 var(--ink);
  --sh-lg: 9px 9px 0 var(--ink);
  --radius: 20px;
  --font-head: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--lime); }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(246, 244, 237, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--bd);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; }
.brand-mark { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark.small { width: 1.9rem; height: 1.9rem; }
.top-nav { display: flex; align-items: center; gap: clamp(0.8rem, 1.8vw, 1.6rem); font-size: 0.94rem; font-weight: 600; }
.top-nav > a:not(.button) { position: relative; }
.top-nav > a:not(.button):hover { text-decoration: underline 2.5px var(--violet); text-underline-offset: 5px; }
.lang { border: var(--bd); border-radius: 999px; padding: 0.3rem 0.75rem; background: var(--card); }

/* ================= BUTTONS ================= */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border: var(--bd); border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; cursor: pointer;
  background: var(--card); color: var(--ink);
  box-shadow: var(--sh-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.button:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.button.primary { background: var(--lime); }
.button.ghost { background: var(--card); }
.button.small { min-height: 2.35rem; padding: 0.4rem 1.05rem; font-size: 0.88rem; box-shadow: 2px 2px 0 var(--ink); }
.button.big { width: 100%; min-height: 3.5rem; font-size: 1.05rem; }

/* ================= TYPOGRAPHY ================= */
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 1rem; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.9rem); font-weight: 900; line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.02rem, 1.7vw, 1.22rem); font-weight: 700; }
p { margin-top: 0; }
.grad {
  background: var(--lime);
  padding: 0.04em 0.18em;
  border-radius: 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.eyebrow {
  display: inline-block; margin: 0 0 1.1rem;
  padding: 0.35rem 0.95rem; border: var(--bd); border-radius: 999px;
  background: var(--card); box-shadow: var(--sh-sm);
  font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  transform: rotate(-1.2deg);
}

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s cubic-bezier(0.25, 0.6, 0.3, 1), transform 0.55s cubic-bezier(0.25, 0.6, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.pain-grid .reveal:nth-child(2), .service-grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .plans-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.pain-grid .reveal:nth-child(3), .service-grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .plans-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.pain-grid .reveal:nth-child(4), .service-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.service-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.service-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ================= HERO ================= */
.hero { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
}
.hero::before { width: 30rem; height: 30rem; right: -12rem; top: -10rem; background: var(--violet); opacity: 0.12; }
.hero::after { width: 22rem; height: 22rem; left: -9rem; bottom: -9rem; background: var(--lime); opacity: 0.35; }
.hero-inner {
  width: min(1180px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-lede { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1rem; }
.hero-note { color: var(--muted); font-size: 0.87rem; max-width: 470px; }

/* report mock + stickers */
.hero-visual { position: relative; }
.report-card {
  border: var(--bd); border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.report-head {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.15rem; border-bottom: var(--bd);
  font-size: 0.82rem; color: var(--muted); background: var(--bg);
}
.dot { width: 0.68rem; height: 0.68rem; border-radius: 50%; border: 1.5px solid var(--ink); }
.dot.r { background: #ff6f61; } .dot.y { background: var(--peach); } .dot.g { background: var(--lime); }
.report-title { margin-left: auto; font-weight: 600; }
.report-body { padding: 1.5rem; display: grid; gap: 1.3rem; }
.stat-big { display: flex; align-items: baseline; gap: 0.8rem; }
.stat-num { font-family: var(--font-head); font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 900; line-height: 1; }
.stat-label { color: var(--muted); font-weight: 600; }
.bars { display: grid; gap: 0.75rem; }
.bar-row { display: grid; grid-template-columns: 4.8rem 1fr 2rem; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: var(--muted); }
.bar-row b { color: var(--ink); text-align: right; font-weight: 700; }
.bar { height: 0.85rem; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--ink); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width 1.1s cubic-bezier(0.25, 0.7, 0.25, 1); }
.bar-row:nth-child(2) .bar i { background: var(--violet); }
.bar-row:nth-child(3) .bar i { background: var(--peach); }
.in .bar i { width: var(--w, 50%); }
.report-foot { display: grid; gap: 0.3rem; color: var(--muted); font-size: 0.87rem; border-top: 1.5px dashed var(--ink); padding-top: 1rem; }

.sticker {
  position: absolute; z-index: 2;
  padding: 0.5rem 1rem; border: var(--bd); border-radius: 999px;
  background: var(--card); box-shadow: var(--sh-sm);
  font-weight: 700; font-size: 0.88rem; white-space: nowrap;
}
.sticker.s1 { top: -1.2rem; right: -0.6rem; transform: rotate(4deg); background: var(--lime); }
.sticker.s2 { bottom: -1.1rem; left: -0.7rem; transform: rotate(-5deg); background: var(--card); }

/* ================= MARQUEE band ================= */
.strip { padding: 1.6rem 0 1.2rem; overflow: hidden; }
.strip > p { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 1rem; font-weight: 600; color: var(--muted); }
.marquee {
  background: var(--ink);
  transform: rotate(-1.4deg) scale(1.02);
  border-block: var(--bd);
  overflow: hidden;
}
.marquee-track { display: flex; align-items: center; gap: 0; width: max-content; animation: marquee 28s linear infinite; padding: 0.85rem 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--bg); white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--lime); margin: 0 1.1rem; }

/* ================= SECTIONS ================= */
.section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 5.2rem) 0; }
.section-head { max-width: 800px; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head h2 { margin-bottom: 0.6rem; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

/* card base */
.spot {
  border: var(--bd); border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--sh);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.spot:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }

/* ---------- pains ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pain { padding: 1.5rem; }
.pain-icon {
  display: inline-grid; place-items: center;
  width: 3.1rem; height: 3.1rem; border-radius: 50%; margin-bottom: 1rem;
  border: var(--bd); background: var(--bg);
  font-size: 1.4rem;
}
.pain:nth-child(1) .pain-icon { background: var(--lime); }
.pain:nth-child(2) .pain-icon { background: var(--peach); }
.pain:nth-child(3) .pain-icon { background: #cfc6ff; }
.pain:nth-child(4) .pain-icon { background: #ffd7e0; }
.pain p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.pain-outro { margin-top: 2rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.4rem); }
.pain-outro b { background: var(--lime); padding: 0.04em 0.18em; border-radius: 0.25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service { position: relative; padding: 1.7rem 1.6rem; }
.service-num {
  position: absolute; right: 1.1rem; top: 1rem;
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 0.8rem;
  border: var(--bd); background: var(--lime);
  font-family: var(--font-head); font-weight: 900; font-size: 0.9rem;
  transform: rotate(6deg);
  transition: transform 0.2s ease, background 0.2s ease;
}
.service:nth-child(even) .service-num { background: #cfc6ff; transform: rotate(-6deg); }
.service:hover .service-num { transform: rotate(0deg) scale(1.08); }
.service h3 { margin-top: 0.2rem; max-width: 78%; }
.service p { color: var(--muted); font-size: 0.94rem; }
.service-result { color: var(--ink) !important; font-weight: 700; font-size: 0.92rem !important; margin: 0.9rem 0 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.step { display: flex; flex-direction: column; padding: 1.8rem 1.7rem; }
.step.featured { background: var(--lime); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 1.1rem; }
.step-num {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: var(--bd); background: var(--ink); color: var(--bg);
  font-family: var(--font-head); font-weight: 900;
}
.step-price { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; text-align: right; }
.step-price small { display: block; font-family: var(--font-body); color: var(--muted); font-weight: 600; font-size: 0.76rem; }
.step.featured .step-price small { color: #3c3f22; }
.step-price.free { background: var(--lime); padding: 0.1em 0.4em; border-radius: 0.4em; border: var(--bd); }
.step p { color: var(--muted); font-size: 0.94rem; }
.step.featured p { color: #3c3f22; }
.step ul { margin: auto 0 0; padding: 1rem 0 0; list-style: none; border-top: 1.5px dashed var(--ink); display: grid; gap: 0.5rem; }
.step ul li { position: relative; padding-left: 1.5rem; font-size: 0.93rem; font-weight: 500; }
.step ul li::before { content: "→"; position: absolute; left: 0; font-weight: 800; }

/* ---------- plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.7rem; }
.plan.featured { background: var(--lime); }
.plan-badge {
  position: absolute; top: -1rem; left: 1.4rem;
  padding: 0.35rem 0.9rem; border: var(--bd); border-radius: 999px;
  background: var(--violet); color: #fff; font-size: 0.76rem; font-weight: 800;
  box-shadow: var(--sh-sm); transform: rotate(-2deg);
}
.plan h3 { margin-bottom: 0.3rem; }
.plan-price { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.55rem, 3vw, 2rem); margin-bottom: 0.8rem; }
.plan-price small { font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.plan.featured .plan-price small, .plan.featured .plan-for { color: #3c3f22; }
.plan-for { color: var(--muted); font-size: 0.94rem; min-height: 4.2em; }
.plan ul { margin: auto 0 0; padding: 1.1rem 0 0; list-style: none; border-top: 1.5px dashed var(--ink); display: grid; gap: 0.55rem; }
.plan ul li { position: relative; padding-left: 1.5rem; font-size: 0.93rem; font-weight: 500; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.plans-note {
  margin: 1.7rem 0 0; padding: 1.15rem 1.35rem;
  border: 1.5px dashed var(--ink); border-radius: 16px;
  color: var(--muted); font-size: 0.94rem; background: var(--card);
}
.plans-note b { color: var(--ink); }

/* modules */
.modules { margin-top: 2.6rem; }
.modules h3 { margin-bottom: 1.1rem; }
.module-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.module {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 1rem 1.2rem; border: var(--bd); border-radius: 14px; background: var(--card);
  font-size: 0.95rem; font-weight: 600;
  box-shadow: var(--sh-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.module:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.module b { white-space: nowrap; background: var(--lime); padding: 0.1em 0.45em; border-radius: 0.5em; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.why-card { padding: 1.7rem 1.6rem; }
.why-card.wide { grid-column: 1 / -1; background: #cfc6ff; }
.why-card p { color: var(--muted); margin: 0; }
.why-card.wide p { color: #2b2653; }
.work-strip { margin-top: 1.6rem; }
.work-strip p { margin-bottom: 0.6rem; font-weight: 600; color: var(--muted); }
.work-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.work-links a {
  padding: 0.6rem 1.15rem; border: var(--bd); border-radius: 999px;
  background: var(--card); font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--sh-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.work-links a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--lime); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 0.8rem; max-width: 880px; }
.faq-list details {
  border: var(--bd); border-radius: 16px; background: var(--card);
  padding: 0 1.35rem; overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.faq-list details[open] { box-shadow: var(--sh); }
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 0; font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-family: var(--font-head); font-size: 1.15rem;
  display: grid; place-items: center; flex: none;
  width: 1.9rem; height: 1.9rem; border: var(--bd); border-radius: 50%; background: var(--lime);
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; font-size: 0.96rem; animation: faq-in 0.3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-copy p { color: var(--muted); }
.contact-alt a { font-weight: 700; background: var(--lime); padding: 0.08em 0.35em; border-radius: 0.4em; }
.lead-form {
  display: grid; gap: 0.95rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: var(--bd); border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--sh-lg);
}
label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; }
input, textarea {
  width: 100%; border: var(--bd); border-radius: 12px;
  padding: 0.85rem 1rem; background: var(--bg);
  color: var(--ink); font: inherit; font-size: 0.98rem;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus { outline: none; background: #fff; box-shadow: 3px 3px 0 var(--violet); }
input::placeholder, textarea::placeholder { color: rgba(98, 97, 90, 0.55); }
textarea { resize: vertical; }
.honey { display: none; }
.form-note { color: var(--muted); font-size: 0.84rem; text-align: center; margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.8rem clamp(1rem, 4vw, 3.5rem);
  border-top: var(--bd);
  background: var(--ink); color: #b9b8b1; font-size: 0.92rem;
}
.site-footer > div { display: flex; align-items: center; gap: 0.6rem; }
.footer-links { display: flex; gap: 1.2rem; }
.site-footer a:hover { color: #fff; text-decoration: underline 2px var(--lime); text-underline-offset: 4px; }

/* ---------- motion prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bar i, .in .bar i { width: var(--w, 50%); }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .module-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-top: 0.6rem; }
  .steps, .plans-grid { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .contact { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .top-nav a:not(.lang):not(.button) { display: none; }
  .sticker.s1 { right: 0.3rem; }
  .sticker.s2 { left: 0.3rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pain-grid, .service-grid, .module-list { grid-template-columns: 1fr; }
  .hero { padding-top: 2.4rem; }
  .hero-actions .button { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .sticker { font-size: 0.8rem; }
}
