:root {
  --bg: #F7F6F3;
  --bg-alt: #FCFCFA;
  --bg-card: #FFFFFF;
  --surface: #FFFFFF;
  --surface-light: #E8E6E1;
  --border: #E8E6E1;
  --border-l: #F0EFEB;
  --text: #1A1A1A;
  --text-primary: #1A1A1A;
  --text-secondary: #3D3D3D;
  --text-muted: #9A9A9A;
  --ink2: #3D3D3D;
  --ink3: #6B6B6B;
  --accent: #C9A84C;
  --accent-light: #D4BA6E;
  --accent-dark: #A88B35;
  --accent-soft: rgba(201, 168, 76, 0.12);
  --pos: #3E8E6B;
  --neg: #B04A46;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: 0.2s ease;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --basico: #D95A55;
  --sacral: #EA8B3A;
  --plexo: #E8A317;
  --cardiaco: #4CAF82;
  --laringeo: #4A9FD9;
  --frontal: #8B5CF6;
  --coronario: #C77DBA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 56px;
}

a { color: inherit; }

::selection { background: var(--accent-soft); color: var(--text); }

body > nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink3);
  font-size: 0.8125rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.nav-cta {
  background: var(--text) !important;
  color: #fff !important;
  border-color: var(--text) !important;
  font-weight: 500;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

@media (max-width: 720px) {
  .nav-links > a:not(.nav-cta) { display: none; }
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}

footer.site-footer .disclaimer { margin-top: 6px; }

/* Lead capture gate */
.quiz-lead-card {
  max-width: 480px;
  margin: 40px auto;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.quiz-lead-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 16px;
}

.quiz-lead-card h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.quiz-lead-sub {
  color: var(--ink3);
  font-size: 0.95rem;
  margin-bottom: 26px;
  line-height: 1.55;
}

.quiz-lead-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.quiz-lead-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 8px;
}

.quiz-lead-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.quiz-lead-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.quiz-lead-error {
  color: var(--neg);
  font-size: 0.875rem;
  margin-top: 4px;
}

.quiz-lead-btn {
  margin-top: 16px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition);
}

.quiz-lead-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.quiz-lead-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.quiz-save-status {
  max-width: 640px;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  text-align: center;
}

.quiz-save-saving {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.quiz-save-ok {
  background: #F2FAF6;
  color: var(--pos);
  border: 1px solid rgba(62, 142, 107, 0.25);
}

.quiz-save-err {
  background: #FDF4F3;
  color: var(--neg);
  border: 1px solid rgba(176, 74, 70, 0.2);
}
