/* =====================================================================
   Primeros pasos con Claude Code — Workshop gratuito con Joaco Malig
   Estética: estudio / streaming / IA. Oscuro, alto contraste, acento rojo.
   Mobile-first.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --bg:        #09090b;
  --bg-2:      #0c0c0e;
  --panel:     #141417;
  --panel-2:   #18181c;
  --panel-3:   #1f1f24;
  --line:      rgba(255,255,255,.085);
  --line-2:    rgba(255,255,255,.14);
  --text:      #f4f4f5;
  --muted:     #a7a7b0;
  --muted-2:   #74747e;

  --red:       #ff4a32;
  --red-2:     #ff6a3d;
  --red-ink:   #ff5c45;
  --red-soft:  rgba(255,74,50,.14);
  --green:     #38d989;
  --amber:     #ffc24b;

  --grad: linear-gradient(135deg, #ff7a3a 0%, #ff4030 55%, #ff2f57 100%);
  --glow: radial-gradient(60% 60% at 50% 0%, rgba(255,74,50,.22), transparent 70%);

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow: 0 24px 60px -28px rgba(0,0,0,.8);
  --shadow-red: 0 18px 48px -16px rgba(255,74,50,.45);

  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Base ---------- */
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* faint studio grid + top glow */
  content: "";
  position: fixed; inset: 0;
  background:
    var(--glow),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 56px 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 92%);
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; position: relative; z-index: 1; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }

.accent { color: var(--red-ink); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:focus-visible { outline: 3px solid var(--red-2); outline-offset: 3px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 56px -14px rgba(255,74,50,.62); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Chips / pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .01em;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.chip.is-zoom .dot { background: #2d8cff; }
.chip.is-ia .dot { background: var(--green); }
.chip.is-nocode .dot { background: var(--amber); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-ink);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); opacity: .7; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9,9,11,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--ff-display); font-weight: 600; letter-spacing: -.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad); display: grid; place-items: center;
  font-size: .92rem; color: #fff; box-shadow: var(--shadow-red);
}
.brand .name { font-size: 1.02rem; }
.brand .sub { color: var(--muted-2); font-family: var(--ff-mono); font-size: .74rem; }
.nav .btn { --pad-y: 10px; --pad-x: 18px; font-size: .92rem; }
.nav-cta-wrap { display: flex; align-items: center; gap: 14px; }
.nav-link { color: var(--muted); font-size: .95rem; transition: color .2s ease; }
.nav-link:hover { color: var(--text); }

/* ---------- Section scaffolding ---------- */
section { position: relative; z-index: 1; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 4.6vw, 2.9rem); margin-top: 16px; }
.section-head p { color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.18rem); margin-top: 16px; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(108px, 16vw, 150px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); grid-template-columns: 1fr; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4.3rem); }
.hero .lead { color: var(--muted); font-size: clamp(1.08rem, 2.5vw, 1.35rem); margin-top: 22px; max-width: 36ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--muted-2); font-size: .9rem; flex-wrap: wrap; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* Terminal / live session card */
.terminal {
  background: linear-gradient(180deg, #0f0f12, #0b0b0d);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
  position: relative;
}
.terminal::after { /* soft red ambient */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 80% -10%, rgba(255,74,50,.16), transparent 55%);
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.term-dots { display: flex; gap: 7px; }
.term-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.term-dots i:nth-child(1) { background: #ff5f57; }
.term-dots i:nth-child(2) { background: #febc2e; }
.term-dots i:nth-child(3) { background: #28c840; }
.term-title { font-family: var(--ff-mono); font-size: .78rem; color: var(--muted-2); margin-left: 6px; }
.term-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: .72rem; color: #ff8b78; letter-spacing: .08em; }
.term-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,74,50,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,74,50,.55);} 70% { box-shadow: 0 0 0 9px rgba(255,74,50,0);} 100% { box-shadow: 0 0 0 0 rgba(255,74,50,0);} }

.term-body { padding: 20px 20px 24px; font-family: var(--ff-mono); font-size: .86rem; line-height: 1.85; min-height: 318px; }
.term-line { opacity: 0; transform: translateY(6px); animation: rise .5s ease forwards; }
.term-line:nth-child(1){ animation-delay:.15s } .term-line:nth-child(2){ animation-delay:.55s }
.term-line:nth-child(3){ animation-delay:1.05s } .term-line:nth-child(4){ animation-delay:1.7s }
.term-line:nth-child(5){ animation-delay:2.2s } .term-line:nth-child(6){ animation-delay:2.7s }
.term-line:nth-child(7){ animation-delay:3.2s }
@keyframes rise { to { opacity: 1; transform: none; } }
.t-muted { color: var(--muted-2); }
.t-prompt { color: var(--green); }
.t-user { color: var(--text); }
.t-cmd { color: #c9a6ff; }
.t-run { color: var(--muted); }
.t-ok { color: var(--green); }
.t-red { color: var(--red-ink); }
.caret { display: inline-block; width: 9px; height: 1.05em; vertical-align: -2px; background: var(--red); margin-left: 3px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Flyer del hero (reemplaza la terminal) */
.hero-flyer {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  background: var(--panel);
}
.hero-flyer img { width: 100%; height: auto; display: block; }

/* ---------- Bullet lists with markers ---------- */
.bullets { display: grid; gap: 14px; }
.bullets li { display: flex; gap: 14px; align-items: flex-start; list-style: none; color: var(--muted); font-size: 1.05rem; }
.bullets li strong { color: var(--text); font-weight: 600; }
.bullets .mk {
  flex: none; margin-top: 3px; width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--red-soft); border: 1px solid rgba(255,74,50,.3); color: var(--red-ink);
  font-size: .7rem;
}

/* ---------- Problem section ---------- */
.split { display: grid; gap: clamp(34px, 5vw, 60px); grid-template-columns: 1fr; align-items: start; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 38px);
}
.panel.soft { background: linear-gradient(180deg, var(--panel-2), var(--panel)); }

/* ---------- Solución highlight ---------- */
.solucion-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255,74,50,.12), transparent 50%),
    var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
}
.solucion-card .big-quote { font-family: var(--ff-display); font-size: clamp(1.5rem, 3.6vw, 2.3rem); font-weight: 600; line-height: 1.18; letter-spacing: -.02em; }
.solucion-card .big-quote em { font-style: normal; }
.compare { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 34px; }
.compare .vs {
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.compare .vs h4 { font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.compare .vs p { color: var(--muted); font-size: .98rem; }
.compare .tag { font-family: var(--ff-mono); font-size: .68rem; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted-2); }
.compare .vs.now h4 .tag { color: var(--red-ink); border-color: rgba(255,74,50,.4); }

/* ---------- Learn grid ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--panel-2); }
.card .num { font-family: var(--ff-mono); font-size: .8rem; color: var(--red-ink); margin-bottom: 14px; display: block; }
.card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Para quién (yes/no) ---------- */
.fit { display: grid; gap: 18px; grid-template-columns: 1fr; }
.fit-col { border-radius: var(--radius); padding: clamp(24px, 3.4vw, 34px); border: 1px solid var(--line); }
.fit-col.yes { background: linear-gradient(180deg, rgba(56,217,137,.06), transparent 60%), var(--panel); }
.fit-col.no  { background: var(--panel); }
.fit-col h3 { display: flex; align-items: center; gap: 11px; font-size: 1.2rem; margin-bottom: 20px; }
.fit-col h3 .icn { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .95rem; }
.fit-col.yes h3 .icn { background: rgba(56,217,137,.16); color: var(--green); border: 1px solid rgba(56,217,137,.3); }
.fit-col.no h3 .icn  { background: rgba(255,255,255,.05); color: var(--muted-2); border: 1px solid var(--line); }
.fit-list { display: grid; gap: 13px; }
.fit-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 1.01rem; }
.fit-list .mk { flex: none; margin-top: 4px; font-size: .8rem; }
.fit-col.yes .fit-list .mk { color: var(--green); }
.fit-col.no .fit-list .mk { color: var(--muted-2); }

/* ---------- Timeline (formato) ---------- */
.timeline { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
.tl-item {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px 22px; overflow: hidden;
}
.tl-item .time { font-family: var(--ff-mono); font-size: .82rem; color: var(--red-ink); letter-spacing: .04em; }
.tl-item h4 { font-size: 1.12rem; margin: 8px 0 6px; }
.tl-item p { color: var(--muted); font-size: .95rem; }
.tl-item .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
.tl-item.qa .bar { background: linear-gradient(180deg, #2d8cff, #6f53ff); }
.format-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Sobre Joaco ---------- */
.about-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
.about-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.6vw, 38px); }
.about-card .who { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.about-card .avatar {
  width: 66px; height: 66px; border-radius: 16px; flex: none;
  object-fit: cover; background: var(--panel-3);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-red);
}
.about-card .who .role { color: var(--muted); font-size: .92rem; }
.about-card p { color: var(--muted); font-size: 1.04rem; }
.about-creds { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

.about-side { display: grid; gap: 16px; align-content: start; }

.press {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  display: flex; align-items: stretch; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.press:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.26); }
.press-media { flex: none; width: 130px; background: #0b0b0d; }
.press-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.press-text { padding: 22px 22px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.press .label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.press .label .lun { font-weight: 700; letter-spacing: .02em; background: #fff; color:#0b0b0d; padding: 2px 7px; border-radius: 5px; font-family: var(--ff-display); }
.press h4 { font-size: 1.08rem; line-height: 1.28; }
.press .read { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: var(--red-ink); font-family: var(--ff-display); font-weight: 600; font-size: .94rem; }

.imperio-cred {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.cred-media { position: relative; aspect-ratio: 1910 / 972; background: #0b0b0d; border-bottom: 1px solid var(--line); }
.cred-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cred-tag {
  position: absolute; left: 13px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .03em;
  padding: 6px 11px 6px 7px; border-radius: 999px;
  background: rgba(9,9,11,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); color: #f4f4f5;
}
.cred-tag .sk { width: 17px; height: 17px; border-radius: 5px; background: var(--grad); display: grid; place-items: center; font-size: .62rem; color: #fff; }
.cred-text { padding: 20px 22px 24px; }
.cred-text h4 { font-size: 1.1rem; margin-bottom: 8px; }
.cred-text p { color: var(--muted); font-size: .98rem; }
.cred-text p strong { color: var(--text); font-weight: 600; }

/* ---------- Imperio / referido ---------- */
.imperio {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(111,83,255,.16), transparent 55%),
    radial-gradient(70% 120% at 0% 100%, rgba(255,74,50,.12), transparent 55%),
    var(--panel);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
}
.imperio .ribbon { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #b9a6ff; margin-bottom: 18px; }
.imperio h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
.imperio p { color: var(--muted); font-size: 1.06rem; margin-top: 16px; max-width: 62ch; }
.transparency {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  color: var(--muted); font-size: .98rem;
}
.transparency strong { color: var(--text); }
.imperio .note { margin-top: 18px; font-size: .92rem; color: var(--muted-2); }
.imperio .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Form ---------- */
.form-section {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255,74,50,.1), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.form-shell { display: grid; gap: clamp(34px, 5vw, 60px); grid-template-columns: 1fr; align-items: start; }
.form-aside h2 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); }
.form-aside p { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.form-aside .perks { display: grid; gap: 13px; margin-top: 26px; }
.form-aside .perks li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 1.02rem; }
.form-aside .perks .mk { flex: none; margin-top: 2px; color: var(--green); }

.form-card {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.6vw, 38px); box-shadow: var(--shadow);
}
.form-card .form-title { font-family: var(--ff-display); font-weight: 600; font-size: 1.3rem; }
.form-card .form-title + .form-hint { color: var(--muted-2); font-size: .92rem; margin-top: 6px; margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label.lbl { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field .opt { color: var(--muted-2); font-weight: 500; }
.field .req { color: var(--red-ink); }
.input, .textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; font-size: 1rem; color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); background: #0b0b0e; }
.textarea { resize: vertical; min-height: 96px; line-height: 1.55; }

.radio-group { display: grid; gap: 10px; }
.radio {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--bg); transition: border-color .18s ease, background .18s ease;
}
.radio:hover { border-color: rgba(255,255,255,.28); }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio .mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; transition: border-color .18s ease; }
.radio .mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .15s ease; }
.radio input:checked ~ .mark { border-color: var(--red); }
.radio input:checked ~ .mark::after { transform: scale(1); }
.radio input:focus-visible ~ .mark { box-shadow: 0 0 0 4px var(--red-soft); }
.radio:has(input:checked) { border-color: rgba(255,74,50,.5); background: rgba(255,74,50,.06); }
.radio .txt { font-size: .98rem; }

.check {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.02); margin-bottom: 12px; transition: border-color .18s ease, background .18s ease;
}
.check:hover { border-color: var(--line-2); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box { flex: none; margin-top: 1px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: all .15s ease; }
.check .box svg { opacity: 0; transform: scale(.6); transition: all .15s ease; }
.check input:checked ~ .box { background: var(--red); border-color: var(--red); }
.check input:checked ~ .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible ~ .box { box-shadow: 0 0 0 4px var(--red-soft); }
.check .txt { font-size: .94rem; color: var(--muted); }
.check:has(input:checked) .txt { color: var(--text); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-error {
  display: none; margin-bottom: 16px; padding: 13px 15px; border-radius: 12px;
  background: rgba(255,74,50,.1); border: 1px solid rgba(255,74,50,.35); color: #ff9b8a; font-size: .94rem;
}
.form-error.show { display: block; }
.form-foot { font-size: .82rem; color: var(--muted-2); margin-top: 14px; text-align: center; }

/* Success state */
.form-success { display: none; text-align: center; padding: 16px 6px; }
.form-success.show { display: block; }
.form-success .ok-icn {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; background: rgba(56,217,137,.14); border: 1px solid rgba(56,217,137,.4); color: var(--green);
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); font-size: 1.04rem; max-width: 42ch; margin-inline: auto; }
.form-success .next { margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 4px; font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--text);
}
.faq-q:focus-visible { outline: 3px solid var(--red-2); outline-offset: 2px; border-radius: 6px; }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .25s ease, background .2s ease, border-color .2s ease; color: var(--muted); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .32s ease; }
.faq-a-inner { padding: 0 4px 24px; color: var(--muted); font-size: 1.02rem; max-width: 68ch; }
.faq-a-inner a { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 52px 40px; background: var(--bg-2); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
.footer .brand { margin-bottom: 14px; }
.footer p { color: var(--muted-2); font-size: .92rem; max-width: 46ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.footer-links a { color: var(--muted); font-size: .92rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: .84rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(9,9,11,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(120%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  .compare { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .footer-links { justify-content: flex-end; }
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1.3fr 1fr; }
  .form-shell { grid-template-columns: .85fr 1.15fr; }
  .sticky-cta { display: none; }
}
@media (max-width: 979px) {
  .nav-link { display: none; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; }
  .nav .brand .sub { display: none; }
}
