/* ============================================================
   radiusReach — styles.css
   Token system, layout, components. Mobile-first.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --ink: #0E1B2C;
  --ink-2: #16273C;
  --accent: #FF6A2B;
  --accent-600: #E85718;
  --accent-tint: #FFF1EA;
  --gold: #C9A227;
  --paper: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F3F1EC;
  --text: #0E1B2C;
  --muted: #5B6B7C;
  --muted-on-ink: #9FB2C6;
  --line: #E7E3DA;
  --line-on-ink: rgba(255, 255, 255, 0.12);
  --success: #2E9E6B;
  --success-tint: #E8F5EE;
  --danger: #D8452B;
  --wa: #25D366;

  /* Gradients */
  --grad-ink: radial-gradient(120% 140% at 80% 0%, #16273C 0%, #0E1B2C 55%, #0A1420 100%);
  --grad-accent: linear-gradient(135deg, #FF7A3D 0%, #FF6A2B 55%, #E85718 100%);
  --grad-halo: radial-gradient(closest-side, rgba(255, 106, 43, 0.28), rgba(255, 106, 43, 0) 70%);

  /* Spacing */
  --space-4: 4px;   --space-8: 8px;   --space-12: 12px; --space-16: 16px;
  --space-24: 24px; --space-32: 32px; --space-48: 48px; --space-64: 64px;
  --space-80: 80px; --space-96: 96px; --space-128: 128px;

  /* Radius */
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Elevation */
  --e1: 0 1px 2px rgba(14,27,44,0.06), 0 1px 1px rgba(14,27,44,0.04);
  --e2: 0 8px 24px rgba(14,27,44,0.08);
  --e3: 0 18px 48px rgba(14,27,44,0.14);
  --e-accent: 0 12px 32px rgba(255,106,43,0.35);
  --ring-focus: 0 0 0 3px rgba(255,106,43,0.45);

  /* Type */
  --font-display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Ensure the [hidden] attribute always wins over component display rules
   (e.g. .form-success / .form__error use display:flex). Without this, the
   success and error panels render on page load instead of staying hidden. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; }
h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05; letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em;
}
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

.body-lg { font-size: clamp(1.125rem, 2vw, 1.25rem); line-height: 1.55; }
.body { font-size: 1rem; line-height: 1.65; }
.body-sm { font-size: 0.9375rem; line-height: 1.6; }
.caption { font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.02em; font-weight: 500; }

.overline {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.75rem; line-height: 1.2;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.overline__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.overline--on-ink { color: var(--muted-on-ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }
.section { padding: 96px 0; position: relative; }
.section--band { background: var(--surface-2); }
[id] { scroll-margin-top: 88px; }

/* Dark sections */
.section--ink {
  background: var(--grad-ink);
  color: var(--paper);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head--left { max-width: 720px; margin: 0 0 48px; text-align: left; }
.section-head h2 { margin-top: 14px; }
.section-lead { color: var(--muted); margin-top: 16px; }
.section--ink .section-lead { color: var(--muted-on-ink); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  border-radius: var(--r-sm);
  padding: 10px 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease, filter 200ms ease;
  min-height: 44px; white-space: nowrap;
}
.btn-lg { padding: 14px 24px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad-accent); color: #fff; }
.btn-primary:hover { box-shadow: var(--e-accent); transform: translateY(-2px); filter: brightness(1.04); }
.btn-primary:active { transform: translateY(0); background: var(--accent-600); }

.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn-outline { border-color: var(--paper); color: var(--paper); }
.section--ink .btn-outline:hover { background: var(--paper); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: rgba(14,27,44,0.06); }

.btn-whatsapp { background: transparent; border-color: var(--wa); color: #0d7a3f; }
.btn-whatsapp:hover { background: var(--wa); color: #fff; }
.btn-whatsapp-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--paper); }
.btn-whatsapp-outline:hover { background: var(--wa); border-color: var(--wa); color: #fff; }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .checkbox input:focus-visible + .checkbox__box {
  outline: none; box-shadow: var(--ring-focus);
}
.section--ink a:focus-visible, .section--ink button:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,106,43,0.6), 0 0 0 5px rgba(255,255,255,0.4);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: var(--r-xs);
  transition: top 200ms ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Brand / wordmark ---------- */
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.ring-glyph { display: inline-flex; color: currentColor; }
.wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
  letter-spacing: -0.02em; color: currentColor;
}
.wordmark__r--accent { color: var(--accent); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  color: var(--paper);
  transition: height 250ms ease, background 250ms ease, box-shadow 250ms ease, color 250ms ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 0.9375rem; font-weight: 500; position: relative; padding: 4px 0;
  color: currentColor;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width 200ms ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--accent); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

/* scrolled state */
.nav.is-scrolled {
  height: 64px;
  background: rgba(251,250,247,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled .nav__links a.is-active { color: var(--accent-600); }

.nav__toggle {
  display: none; width: 44px; height: 44px; background: transparent; border: 0;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 250ms ease, opacity 200ms ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--grad-ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 96px 24px 48px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform 300ms var(--ease-out), opacity 250ms ease, visibility 300ms;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu__links a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + 64px); padding-bottom: 96px;
}
.hero__rings { position: absolute; top: -10%; right: -10%; width: 900px; max-width: 120%; opacity: 0.9; pointer-events: none; }
.hero__rings svg { width: 100%; height: auto; }
.hero__rings circle { fill: none; stroke: var(--line-on-ink); stroke-width: 1.5; }
.hero__sweep {
  stroke: var(--accent); stroke-width: 2; opacity: 0.7;
  transform-origin: 450px 450px;
  animation: sweep 8s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero__title { margin: 18px 0 20px; }
.hero__title span { display: block; }
.hero__subhead { color: var(--muted-on-ink); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__seelink { display: inline-block; margin-top: 14px; color: var(--muted-on-ink); font-size: 0.9375rem; border-bottom: 1px solid var(--line-on-ink); padding-bottom: 1px; }
.hero__seelink:hover { color: var(--paper); }

.hero__trust { margin-top: 32px; }
.hero__stars { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.hero__stars .caption { color: var(--muted-on-ink); }

.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; }
.trust-strip li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--muted-on-ink); }
.tick { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--success); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.8125rem; font-weight: 500; padding: 6px 14px;
  border-radius: var(--r-pill); border: 1px solid var(--line-on-ink);
  color: var(--paper); background: rgba(255,255,255,0.04);
}

/* Hero stat card */
.hero__card-wrap { position: relative; display: flex; justify-content: center; }
.hero__halo { position: absolute; inset: -40px; background: var(--grad-halo); z-index: 0; }
.stat-card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r-xl);
  padding: 32px; max-width: 380px; width: 100%;
  box-shadow: var(--e3);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
.stat-card__eyebrow { color: var(--muted-on-ink); }
.stat-card__label { font-family: var(--font-display); font-weight: 600; color: var(--paper); margin-top: 4px; }
.stat-card__note { font-size: 0.875rem; color: var(--muted-on-ink); margin-top: 10px; line-height: 1.5; }
.stat-card__divider { height: 1px; background: var(--line-on-ink); margin: 20px 0; }
.stat-card__foot { display: flex; align-items: center; gap: 12px; }
.avatar-cluster { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; margin-left: -8px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem;
  background: var(--ink-2); border: 2px solid var(--ink); color: var(--paper);
}
.avatar:first-child { margin-left: 0; }
.stat-card__foot .caption { color: var(--muted-on-ink); }

/* Price */
.price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.75rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.price--accent { color: var(--accent); }
.section--ink .price--accent { color: var(--accent); }
.price__cur { font-size: 0.6em; }
.price__suffix { font-size: 0.32em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.section--ink .price__suffix { color: var(--muted-on-ink); }

/* ---------- Stats bar ---------- */
.stats { padding: 48px 0; }
.stats__lead { text-align: center; color: var(--muted); margin-bottom: 28px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
.stat { text-align: center; position: relative; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.stat__num--accent { color: var(--accent-600); }
.stat__num .price__cur { font-size: 0.6em; }
.stat__suffix { font-size: 0.42em; font-weight: 600; letter-spacing: 0; }
.stat__label { color: var(--muted); margin-top: 8px; }

/* ---------- Cards (generic) ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px; box-shadow: var(--e2);
  transition: transform 250ms ease, box-shadow 250ms ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.card--featured { box-shadow: var(--e3); overflow: hidden; }
.card--featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-accent); transition: height 250ms ease;
}
.card--featured:hover::before { height: 6px; }
.card__icon { width: 56px; height: 56px; color: var(--ink); margin-bottom: 20px; }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 10px; }
.card__desc { color: var(--muted); margin-bottom: 20px; }

.pill {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.pill--gold { color: var(--gold); background: rgba(201,162,39,0.12); border: 1px solid rgba(201,162,39,0.35); }
.pill--sample { position: static; display: inline-block; color: var(--muted-on-ink); background: rgba(255,255,255,0.06); border: 1px solid var(--line-on-ink); margin-bottom: 14px; }

/* tick list */
.ticklist { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 24px; }
.ticklist li { position: relative; padding-left: 30px; font-size: 0.9375rem; line-height: 1.5; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--success-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E9E6B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.section--ink .ticklist li::before { background-color: rgba(46,158,107,0.2); }

/* price block inside cards */
.price-block { background: var(--accent-tint); border-radius: var(--r-md); padding: 20px; margin-bottom: 20px; margin-top: auto; }
.price-block__line { font-family: var(--font-display); font-weight: 600; color: var(--text); margin-top: 4px; }
.price-block__note { color: var(--muted); margin-top: 8px; }
.price-block--muted { background: var(--surface-2); }
.price-block__from { color: var(--text); font-size: 1.0625rem; }
.price-block__from strong { font-family: var(--font-display); }

/* Services sub-grid */
.services__model { margin-top: 18px; font-size: 1.0625rem; color: var(--text); }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
.subgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.subgrid__item { display: flex; gap: 12px; }
.subgrid__icon { width: 32px; height: 32px; flex: none; color: var(--ink); }
.subgrid__icon svg { width: 100%; height: 100%; }
.subgrid__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.subgrid__item .body-sm { color: var(--muted); }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps__thread { position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 2px; z-index: 0; }
.steps__thread svg { width: 100%; height: 4px; overflow: visible; }
.steps__line { stroke: var(--line); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 700ms ease; }
.steps.is-drawn .steps__line { stroke-dashoffset: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step__node {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--surface-2); transform: scale(0.9); transition: transform 350ms var(--ease-out);
}
.steps.is-drawn .step__node { transform: scale(1); }
.step__num { font-family: var(--font-display); font-weight: 700; color: var(--accent-600); font-size: 1.125rem; }
.step h4 { margin-bottom: 8px; }
.step .body-sm { color: var(--muted); }

/* ---------- Why choose ---------- */
.why { overflow: hidden; }
.why__watermark { position: absolute; top: 50%; right: -120px; transform: translateY(-50%); width: 600px; opacity: 0.04; pointer-events: none; }
.why__watermark circle { fill: none; stroke: var(--ink); stroke-width: 2; }
.why__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.why__head h2 { margin: 14px 0 18px; }
.why__head .body { color: var(--muted); margin-bottom: 28px; max-width: 46ch; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--e1); transition: transform 250ms ease, box-shadow 250ms ease; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--e2); }
.benefit__icon { display: inline-flex; width: 40px; height: 40px; color: var(--ink); margin-bottom: 14px; }
.benefit__icon svg { width: 100%; height: 100%; }
.benefit h4 { margin-bottom: 8px; }
.benefit .body-sm { color: var(--muted); }

/* ---------- Working / results (reframed) ---------- */
.working__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.founder { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.founder__photo {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem;
  background: var(--grad-accent); color: #fff;
}
.founder__name { font-family: var(--font-display); font-weight: 600; color: var(--paper); }
.founder__role { color: var(--muted-on-ink); }
.working__note { color: var(--paper); }
.working__cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.expect-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-on-ink); border-radius: var(--r-md); padding: 24px;
}
.expect-card__icon { display: inline-flex; width: 40px; height: 40px; color: var(--accent); margin-bottom: 12px; }
.expect-card__icon svg { width: 100%; height: 100%; }
.expect-card h4 { margin-bottom: 6px; }
.expect-card .body-sm { color: var(--muted-on-ink); }

.sample-quote {
  margin: 40px 0 0; max-width: 720px; padding: 24px 28px;
  background: rgba(255,255,255,0.04); border: 1px dashed var(--line-on-ink); border-radius: var(--r-md);
}
.sample-quote blockquote { margin: 0 0 12px; color: var(--paper); }
.sample-quote figcaption { color: var(--muted-on-ink); }

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px; box-shadow: var(--e2);
  transition: transform 250ms ease, box-shadow 250ms ease; overflow: hidden;
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.plan--featured { box-shadow: var(--e3); border-color: rgba(255,106,43,0.3); }
.plan__halo { position: absolute; top: -80px; right: -80px; width: 260px; height: 260px; background: var(--grad-halo); pointer-events: none; }
.plan__name { position: relative; margin-bottom: 16px; padding-right: 90px; }
.plan__price { position: relative; margin-bottom: 8px; }
.plan__price .price__suffix { font-size: 0.28em; }
.plan__subline { position: relative; color: var(--muted); font-family: var(--font-display); font-weight: 600; margin-bottom: 6px; }
.plan__from { color: var(--text); }
.plan__expect { position: relative; color: var(--muted); margin-bottom: 20px; }
.plan__micro { text-align: center; color: var(--muted); margin-top: 12px; }
.plan__transparency { color: var(--muted); margin-top: 14px; }
.guarantee {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px;
  padding: 14px 16px; background: var(--success-tint); border-radius: var(--r-sm);
  font-size: 0.9375rem; color: #1d6b47; line-height: 1.45;
}
.guarantee svg { flex: none; color: var(--success); margin-top: 1px; }
.pricing__reassure { text-align: center; color: var(--muted); margin-top: 32px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.acc-item__h { margin: 0; }
.acc-item__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: transparent; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--text);
}
.acc-item__chev { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms ease, stroke 200ms ease; }
.acc-item__btn[aria-expanded="true"] .acc-item__chev { transform: rotate(180deg); stroke: var(--accent-600); }
.acc-item__panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 300ms ease, opacity 300ms ease; }
.acc-item__btn[aria-expanded="true"] + .acc-item__panel { opacity: 1; }
.acc-item__inner { padding: 0 24px 22px; }
.acc-item__inner .body { color: var(--muted); }

/* ---------- Final CTA band ---------- */
.cta-band { text-align: center; overflow: hidden; }
.cta-band__rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; max-width: 140%; opacity: 0.5; pointer-events: none; }
.cta-band__rings circle { fill: none; stroke: var(--line-on-ink); stroke-width: 1.5; }
.cta-band__inner { position: relative; z-index: 1; max-width: 720px; }
.cta-band h2 { margin: 14px 0 18px; }
.cta-band__sub { color: var(--muted-on-ink); margin: 0 auto 28px; max-width: 52ch; }
.cta-band__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band__reassure { color: var(--muted-on-ink); margin-top: 20px; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.contact__info h2 { margin: 14px 0 16px; }
.contact__info .body { color: var(--muted); margin-bottom: 28px; max-width: 42ch; }
.contact__direct { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.contact__email { font-size: 0.9375rem; color: var(--muted); margin-top: 4px; }
.contact__email a { color: var(--accent-600); border-bottom: 1px solid currentColor; }
.contact__hint { color: var(--muted); }

.contact__form-wrap { position: relative; }
.form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px; box-shadow: var(--e2);
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; }
.field label { font-size: 0.9375rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs);
  padding: 12px 14px; transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface); box-shadow: var(--ring-focus);
}
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.8125rem; margin-top: 6px; min-height: 0; display: none; }
.field.has-error .field__error { display: block; }

/* checkbox */
.field--check { }
.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 20px; height: 20px; }
.checkbox__box {
  width: 20px; height: 20px; flex: none; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface); display: grid; place-items: center; transition: background 150ms ease, border-color 150ms ease;
}
.checkbox__box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.checkbox input:checked + .checkbox__box { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked + .checkbox__box svg { opacity: 1; }
.form__foot { color: var(--muted); text-align: center; }

/* error panel (submission failed) */
.form__error {
  margin-top: 16px; padding: 16px 18px;
  background: color-mix(in srgb, var(--danger) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line));
  border-radius: var(--r-md); display: flex; flex-direction: column; gap: 12px;
}
.form__error .body-sm { color: var(--ink); }

/* success panel */
.form-success {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 32px; box-shadow: var(--e2); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.form-success__icon { color: var(--success); width: 56px; height: 56px; }
.form-success__icon svg { width: 100%; height: 100%; }
.form-success .body { color: var(--muted); max-width: 36ch; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: 72px; }
.footer__watermark { position: absolute; bottom: -60px; right: -60px; width: 400px; opacity: 0.06; pointer-events: none; }
.footer__watermark circle { fill: none; stroke: var(--paper); stroke-width: 2; }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.footer .nav__brand { color: var(--paper); }
.footer__tag { color: var(--muted-on-ink); margin: 16px 0; max-width: 30ch; }
.footer__addr { color: var(--muted-on-ink); margin-top: 8px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-on-ink); color: var(--paper); transition: background 200ms ease, border-color 200ms ease; }
.footer__social a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.footer__h { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--paper); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--muted-on-ink); font-size: 0.9375rem; transition: color 200ms ease; }
.footer__col a:hover { color: var(--paper); }
.footer__col .btn-primary { margin-bottom: 12px; }
.footer__email a { color: var(--muted-on-ink); }
.footer__email a:hover { color: var(--paper); }
.footer__bottom {
  position: relative; z-index: 1; border-top: 1px solid var(--line-on-ink);
  padding: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.footer__bottom .caption { color: var(--muted-on-ink); }
.footer__legal a { color: var(--muted-on-ink); }
.footer__legal a:hover { color: var(--paper); }

/* ---------- Floating WhatsApp FAB ---------- */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 200ms ease;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { position: relative; z-index: 1; }
.fab-whatsapp__pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  z-index: 0; animation: fabpulse 2.4s ease-out 3;
}
@keyframes fabpulse {
  0% { transform: scale(1); opacity: 0.6; }
  70%,100% { transform: scale(1.9); opacity: 0; }
}
@media (min-width: 1025px) {
  .fab-whatsapp { width: 60px; height: 60px; right: 28px; bottom: 28px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 641px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 10%; height: 80%; width: 1px; background: var(--line); }
}

@media (min-width: 901px) {
  .hero__inner { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .pricing__grid { grid-template-columns: 1fr 1fr; }
  .why__inner { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .working__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .contact__inner { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
}

@media (min-width: 769px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}
@media (min-width: 641px) and (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapse */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__call { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn-primary { padding: 8px 14px; font-size: 0.9375rem; }
}

/* Tablet */
@media (max-width: 1024px) {
  .section { padding: 64px 0; }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .card, .form, .plan { padding: 24px; }
  .contact__direct { max-width: none; }
  .contact__inner { grid-template-columns: 1fr; }
  .working__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .subgrid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .pill { position: static; display: inline-block; margin-bottom: 14px; }
  .plan__name { padding-right: 0; }
  .hero__cta .btn, .cta-band__cta .btn { width: 100%; }
}

/* Process: vertical timeline on mobile */
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .steps__thread { top: 24px; bottom: 24px; left: 24px; right: auto; width: 2px; height: auto; }
  .steps__thread svg { display: none; }
  .steps__thread { background: var(--line); }
  .step { text-align: left; display: grid; grid-template-columns: 48px 1fr; gap: 16px 18px; padding: 0 0 32px 0; align-items: start; }
  .step:last-child { padding-bottom: 0; }
  .step__node { margin: 0; grid-row: span 2; box-shadow: 0 0 0 6px var(--surface-2); }
  .step h4 { align-self: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__sweep, .stat-card, .fab-whatsapp__pulse { animation: none !important; }
  .steps__line { stroke-dashoffset: 0 !important; }
  .step__node { transform: scale(1) !important; }
}
