/* ============================================================
   Autosyncer v3 — light glass theme, gradient as accent only,
   banded sections, micro-animations, mobile sticky CTA
   ============================================================ */

:root {
  --green: #3aa52f;
  --blue: #1f63dd;
  --grad: linear-gradient(100deg, var(--green), var(--blue));

  --bg: #f7faf8;
  --ink: #10151a;
  --muted: #56616c;
  --line: rgba(16, 21, 26, 0.1);
  --surface: rgba(255, 255, 255, 0.66);
  --surface-strong: rgba(255, 255, 255, 0.85);
  --glass-blur: blur(18px) saturate(1.5);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --shadow: 0 24px 48px -28px rgba(16, 21, 26, 0.25);
  --stars: #e8a020;
  --bad: #c2410c;
  --orb-o: 0.55;
  --btn-radius: 12px;
  --font-head: "Sora", sans-serif;
  --font-body: "Sora", sans-serif;
  --font-hand: "Caveat", cursive;
}

* { 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;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- typography ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  text-wrap: balance;
}

h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 28px; font-weight: 600; }

p { margin: 0 0 16px 0; text-wrap: pretty; }

.lead { font-size: 19px; color: var(--muted); }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

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

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  padding: 15px 28px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-position 0.35s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--green), var(--blue), var(--green));
  background-size: 220% 100%;
  background-position: 0% 0%;
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(31, 99, 221, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 95% 0%;
  box-shadow: 0 14px 30px -10px rgba(31, 99, 221, 0.7);
}

.btn-ghost {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--glass-edge);
}

.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-small { font-size: 15px; padding: 10px 20px; }

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 14px 0;
}

.friction {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.friction span { display: inline-flex; align-items: center; gap: 7px; }
.tick { color: var(--green); font-weight: 700; }

.section-cta { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 70;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- floating pill header ---------- */

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(1120px, calc(100% - 32px));
  transition: top 0.25s ease;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px -16px rgba(16, 21, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled .nav-pill {
  height: 56px;
  box-shadow: 0 14px 34px -14px rgba(16, 21, 26, 0.4), var(--glass-edge);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.logo img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover { color: var(--ink); background: rgba(16, 21, 26, 0.05); }

.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.header-phone {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
}

.header-phone:hover { color: var(--blue); }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links, .header-phone { display: none; }
}

@media (max-width: 600px) {
  .nav-cta { display: none; }
  .nav-pill { justify-content: flex-start; padding: 0 22px; height: 56px; }
}

/* ---------- marquee ---------- */

.marquee {
  padding: 30px 0;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  align-items: center;
  animation: marquee-scroll 32s linear infinite;
}

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

.marquee-track img {
  height: 30px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.marquee-track img:hover { opacity: 1; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* keyword marquee (text chips) */
.marquee-kw .marquee-track { gap: 0; animation-duration: 40s; }

.kw {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 0 28px;
}

.kw::after {
  content: "✦";
  font-size: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marquee-kw.reverse .marquee-track { animation-direction: reverse; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- glass card primitive ---------- */

.glass {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--glass-edge);
}

.hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }

.hover-lift:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 99, 221, 0.3);
  box-shadow: var(--glass-edge), 0 18px 36px -20px rgba(16, 21, 26, 0.3);
}

/* ---------- section bands ---------- */

/* subtle light grid texture */
:root {
  --grid-line: rgba(16, 21, 26, 0.045);
  --grid-size: 44px;
}

.grid-bg { position: relative; }

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.grid-bg > * { position: relative; z-index: 1; }

section { border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.hero { border-top: none; }
.marquee { border-top: none; }

/* ---------- lead form ---------- */

.leadform-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.leadform-card {
  padding: 40px;
  border-radius: 22px;
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 30px 64px -28px rgba(16, 21, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* gradient ring to make the form stand out */
.leadform-card::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 23px;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 99, 221, 0.14);
}

.leadform-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0 0; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  min-height: 360px;
}

.form-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
}

.leadform-card.sent form { display: none; }
.leadform-card.sent .form-success { display: flex; }
.leadform-card.sent .step-indicator { display: none; }

/* ---------- 2-step form controls ---------- */

.step-indicator {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.form-step[hidden] { display: none; }

.lead-form-steps .js-step-next { width: 100%; justify-content: center; }

.step-actions { display: flex; gap: 12px; }
.step-actions .btn { flex: 1; justify-content: center; }

/* ---------- quote modal (glassmorphism popup) ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 21, 26, 0.38);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}

.modal-overlay.open { display: flex; }

.modal-card {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .modal-overlay.open .modal-card { animation: modal-in 0.32s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.modal-close:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- compact capture band ---------- */

.compact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 36px 40px;
  border-radius: 20px;
}

.compact-copy h3 { font-size: 26px; margin: 0 0 6px 0; }
.compact-copy p { margin: 0; font-size: 15.5px; }

.leadform-inline { flex: 1; min-width: 300px; }

.lead-form-compact {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lead-form-compact input {
  flex: 1;
  min-width: 160px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lead-form-compact input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 99, 221, 0.14);
}

.lead-form-compact .btn { flex-shrink: 0; }

.leadform-inline .form-success {
  display: none;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
}

.leadform-inline .form-success .check {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
}

.leadform-inline.sent form { display: none; }
.leadform-inline.sent .form-success { display: flex; }

.band-white { background: #ffffff; position: relative; }

.band-tint {
  background: linear-gradient(120deg, rgba(58, 165, 47, 0.06), rgba(31, 99, 221, 0.06));
  position: relative;
}

.band-white::before,
.band-tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 45%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 45%, #000 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.band-white > .container,
.band-tint > .container { position: relative; z-index: 1; }

/* ---------- hero (the only gradient-washed band) ---------- */

.hero { padding: 88px 0 72px 0; position: relative; overflow: hidden; }

/* denser, slightly stronger grid in the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(16, 21, 26, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 21, 26, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 35%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 80% at 50% 35%, #000 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--orb-o);
  pointer-events: none;
  z-index: 0;
}

.orb-a { width: 480px; height: 480px; top: -180px; left: -160px;
  background: radial-gradient(circle, rgba(58, 165, 47, 0.45), transparent 70%); }
.orb-b { width: 560px; height: 560px; top: -80px; right: -200px;
  background: radial-gradient(circle, rgba(31, 99, 221, 0.4), transparent 70%); }

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.proof-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px;
}

.stars { color: var(--stars); letter-spacing: 2px; font-size: 15px; }

.hero-visual { position: relative; }

.visual-frame {
  position: relative;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow), var(--glass-edge);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

.browser-dots { display: flex; gap: 6px; padding: 2px 4px 10px 4px; }

.browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-dots span:first-child { background: rgba(58, 165, 47, 0.55); }
.browser-dots span:last-child { background: rgba(31, 99, 221, 0.55); }

/* ---------- doodles ---------- */

.doodle { position: absolute; pointer-events: none; }
.doodle svg { display: block; overflow: visible; }
.doodle path, .doodle ellipse, .doodle line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.doodle.ink path, .doodle.ink ellipse, .doodle.ink line { stroke: var(--ink); }

.scribble {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

body[data-doodles="off"] .doodle,
body[data-doodles="off"] .scribble-block { display: none !important; }

.u-squiggle { position: relative; white-space: nowrap; }
.u-squiggle .doodle { left: 0; right: 0; bottom: -10px; height: 12px; }
.u-squiggle .doodle svg { width: 100%; height: 12px; }

.u-circled { position: relative; white-space: nowrap; }
.u-circled .doodle { left: -10%; top: -20%; width: 120%; height: 140%; }
.u-circled .doodle svg { width: 100%; height: 100%; }

/* ---------- proof bar ---------- */

.proofbar { padding: 40px 0 56px 0; border-top: none; }

.proofbar-inner { padding: 36px 44px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.stat-label { font-size: 14px; color: var(--muted); margin-top: 2px; }

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}

.logo-strip image-slot { opacity: 0.75; }

/* ---------- sections ---------- */

.section { padding: 80px 0; }

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

/* ---------- pain ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pain-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.pain-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--glass-edge);
  padding: 16px 20px;
  font-size: 16px;
}

.pain-list .x { color: var(--bad); font-weight: 700; font-family: var(--font-head); }

/* ---------- benefits ---------- */

.benefit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0;
}

.benefit + .benefit { border-top: 1px dashed var(--line); }

.benefit.flip .benefit-copy { order: 2; }
.benefit.flip .benefit-visual { order: 1; }

.benefit h3 { font-size: 32px; }

.bullets { list-style: none; margin: 20px 0 8px 0; padding: 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 12px; align-items: baseline; }

.benefit-visual { position: relative; }

.text-link {
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid rgba(31, 99, 221, 0.3);
  transition: border-color 0.15s ease;
}

.text-link:hover { border-bottom-color: var(--blue); }

/* ---------- testimonials ---------- */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testi-card { padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }

.testi-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; }

.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-name { font-weight: 600; font-size: 15px; }
.testi-role { font-size: 13.5px; color: var(--muted); }

/* ---------- differentiators ---------- */

.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.diff-card { padding: 28px; }

.diff-num {
  font-family: var(--font-hand);
  font-size: 26px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.diff-card h3 { font-size: 19px; margin: 8px 0 8px 0; }
.diff-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: start;
}

.step { text-align: center; padding: 0 8px; }

.step-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px auto;
  box-shadow: 0 10px 24px -10px rgba(31, 99, 221, 0.55);
}

.step h3 { font-size: 21px; }
.step p { font-size: 15.5px; color: var(--muted); }

.step-arrow { align-self: center; padding-top: 8px; }
.step-arrow svg { display: block; overflow: visible; }
.step-arrow path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body[data-doodles="off"] .step-arrow { visibility: hidden; }

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.team-card { display: grid; justify-items: center; gap: 4px; }
.team-card image-slot { margin-bottom: 12px; }
.team-name { font-weight: 600; }
.team-role { font-size: 14px; color: var(--muted); }

/* ---------- services offered ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.svc-card { padding: 30px 28px; }

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -10px rgba(31, 99, 221, 0.5);
}

.svc-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card h3 { font-size: 19px; margin: 0 0 8px 0; }
.svc-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- guarantee ---------- */

.guarantee-box {
  position: relative;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  border-radius: 20px;
}

.guarantee-seal {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2.5px dashed var(--green);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  transform: rotate(-8deg);
  padding: 10px;
}

.guarantee-box h3 { font-size: 26px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }

.faq-list details {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--glass-edge);
  padding: 0 26px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p { color: var(--muted); padding-bottom: 22px; margin: 0; font-size: 16px; }

/* ---------- final ---------- */

.final { padding: 96px 0; }

.final-box {
  position: relative;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  border-radius: 24px;
}

.value-props { list-style: none; margin: 24px 0 0 0; padding: 0; display: grid; gap: 12px; }
.value-props li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }

/* ---------- footer socials ---------- */

.socials { display: flex; gap: 10px; margin-top: 18px; }

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(16, 21, 26, 0.05);
  border: 1px solid var(--line);
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.socials a:hover { color: var(--ink); background: rgba(16, 21, 26, 0.1); transform: translateY(-2px); border-color: var(--line); }

.socials svg { width: 17px; height: 17px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px 0;
  background: #1c2127;
  color: #cdd4da;
}

.site-footer .logo { color: #ffffff; }
.site-footer .footer-grid h4 { color: #8b96a0; }
.site-footer .footer-grid a { color: #cdd4da; }
.site-footer .footer-grid a:hover { color: #ffffff; }
.site-footer .muted { color: #9aa4ad; }
.site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); color: #8b96a0; }
.site-footer .socials a { color: #cdd4da; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.site-footer .socials a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.24); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px 0;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- WhatsApp button ---------- */

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.75); }

.btn-whatsapp .wa-ic { width: 18px; height: 18px; fill: #ffffff; }

/* ---------- mobile sticky bar (3 actions, glass + rotating glow) ---------- */

@property --cta-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.mobile-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: none;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px -12px rgba(16, 21, 26, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mobile-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.15s ease, transform 0.12s ease;
}

.mobile-btn:active { transform: scale(0.96); }

.mobile-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-btn.wa { background: #25d366; color: #ffffff; }
.mobile-btn.wa svg { fill: #ffffff; stroke: none; }

.mobile-btn.primary { background: #374151; color: #ffffff; }
.mobile-btn.primary svg { stroke: #ffffff; }

.mobile-btn.portfolio { background: var(--blue); color: #ffffff; }
.mobile-btn.portfolio svg { stroke: #ffffff; }

/* ---------- desktop floating actions ---------- */

.float-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(16, 21, 26, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.float-btn svg { width: 28px; height: 28px; }

.float-btn:hover { transform: translateY(-3px) scale(1.04); }

.float-wa { background: #25d366; }
.float-wa svg { fill: #ffffff; }

.float-call { background: var(--grad); }
.float-call svg { fill: #ffffff; }

.float-book { background: #374151; }
.float-book svg { fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .float-wa::after { animation: float-ping 2.2s ease-out infinite; }
}

@keyframes float-ping {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

.float-label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 13px;
  border-radius: 9px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.float-label::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.float-btn:hover .float-label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- micro-animations ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
  }

  .reveal.in { opacity: 1; transform: none; }

  .u-squiggle .doodle path {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: squiggle-draw 0.9s ease-out 0.5s forwards;
  }

  @keyframes squiggle-draw {
    to { stroke-dashoffset: 0; }
  }

  .hero-visual .visual-frame { animation: hero-float 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) both; }

  @keyframes hero-float {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  body { padding-bottom: 88px; }
  h1 { font-size: 40px; }
  h2 { font-size: 31px; }
  .hero .container,
  .pain-grid,
  .benefit,
  .final-box { grid-template-columns: 1fr; gap: 40px; }
  .leadform-grid { grid-template-columns: 1fr; gap: 36px; }
  .benefit.flip .benefit-copy { order: 0; }
  .benefit.flip .benefit-visual { order: 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .testi-grid, .diff-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-box { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .final-box { padding: 48px 32px; }
  .mobile-bar { display: flex; }
  .float-stack { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .lead { font-size: 17px; }
  .hero { padding: 96px 0 48px 0; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .benefit { padding: 40px 0; gap: 28px; }
  .benefit h3 { font-size: 24px; }
  .proofbar-inner { padding: 26px 22px; }
  .stats-row { gap: 18px; }
  .stat-num { font-size: 28px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .scribble-block { display: none; }
  .hero-visual .doodle { display: none; }
  .visual-frame image-slot { height: 220px !important; }
  .guarantee-box h3 { font-size: 22px; }
  .final { padding: 56px 0; }
  .final-box { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; }
  .leadform-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .logo-strip { gap: 16px; }
  .logo-strip image-slot { width: 96px !important; height: 30px !important; }
}
