/* =========================================================
   VendePremium · Sistema de diseño
   ========================================================= */

:root {
  /* Paleta */
  --bg: #f7f8fb;
  --bg-elev: #ffffff;
  --ink: #0a1628;
  --ink-2: #1e293b;
  --ink-3: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  /* Acentos */
  --primary: #0a1628;
  --primary-2: #1e293b;
  --accent: #3b82f6;
  --accent-2: #1d4ed8;
  --gold: #d4a574;
  --gold-2: #b8895a;
  --success: #10b981;
  --danger: #ef4444;
  --warn: #f59e0b;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04), 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.06), 0 2px 4px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(10, 22, 40, 0.18), 0 8px 16px -8px rgba(10, 22, 40, 0.10);
  --shadow-xl: 0 32px 64px -20px rgba(10, 22, 40, 0.28);

  /* Radios */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Layout */
  --max: 1200px;
  --space-section: clamp(64px, 9vw, 120px);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }
em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Botones
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, var(--shadow-md);
}
.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, var(--shadow-lg);
}
.btn-primary:active { transform: translateY(0); }

.btn-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(212, 165, 116, 0.5), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(212, 165, 116, 0.6), 0 1px 0 rgba(255,255,255,0.2) inset;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.1rem;
  font-family: 'Instrument Serif', serif;
}
.brand-text { color: var(--ink); }
.brand-accent { color: var(--gold-2); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-3);
}
.nav-links a:hover { color: var(--ink); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 80% 20%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 300px at 10% 80%, rgba(212, 165, 116, 0.06), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.dot-live {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.05); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ink);
}
.hero-title em {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.05em;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-3);
  margin: 0 0 32px;
  max-width: 480px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 480px;
}
.hero-trust li {
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}
.hero-trust strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-trust span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* Hero card */
.hero-card-wrap {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.hero-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}
.hero-card:hover { transform: rotate(0deg) translateY(-4px); }
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.hero-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero-card-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hero-car-illu {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.hero-data-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-price-block { margin-bottom: 20px; }
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-price-sep { color: var(--muted); font-weight: 300; }
.hero-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.hero-meter-value { font-weight: 700; color: var(--success); }
.hero-meter-bar {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.hero-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success) 0%, #34d399 100%);
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-floating {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  animation: float 4s ease-in-out infinite;
}
.hero-floating strong { display: block; font-weight: 700; color: var(--ink); }
.hero-floating span { color: var(--muted); font-size: 0.78rem; }
.hero-floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-floating-1 {
  top: 10%;
  left: -8%;
  animation-delay: 0s;
}
.hero-floating-1 .hero-floating-icon { background: rgba(245, 158, 11, 0.15); }
.hero-floating-2 {
  bottom: 14%;
  right: -6%;
  animation-delay: 1.5s;
}
.hero-floating-2 .hero-floating-icon { background: rgba(16, 185, 129, 0.15); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 600px) {
  .hero-floating-1 { left: 0; top: 5%; }
  .hero-floating-2 { right: 0; bottom: 5%; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
}

/* Marquee */
.hero-marquee {
  margin-top: 64px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Sections base
   ========================================================= */
.section {
  padding: var(--space-section) 0;
  position: relative;
}
.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.kicker.light { color: var(--gold); }
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-title em {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.05em;
}
.section-title.light { color: #fff; }
.section-title.light em {
  background: linear-gradient(135deg, #fcd9a8 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}
.section-sub.light { color: rgba(255,255,255,0.75); }
.section-sub strong { color: #fff; }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* =========================================================
   Calculadora
   ========================================================= */
.section-calc { background: var(--bg); }
.calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 920px) {
  .calc-grid { grid-template-columns: 1fr; }
}

.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) {
  .calc-row { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field select {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-weight: 500;
}
.field input:hover,
.field select:hover { border-color: var(--line-strong); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.field select:disabled {
  background: var(--bg);
  color: var(--muted);
  cursor: not-allowed;
}
.field input.error,
.field select.error {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.04);
}

.extras {
  border: none;
  padding: 0;
  margin: 24px 0 24px;
}
.extras legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 12px;
  padding: 0;
}
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: all 0.2s ease;
}
.chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
.chip input { margin: 0; accent-color: var(--accent); }
.chip:has(input:checked) {
  background: rgba(59, 130, 246, 0.06);
  border-color: var(--accent);
  color: var(--accent-2);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: left;
}
.form-disclaimer.center { text-align: center; }

/* Resultado calculadora */
.calc-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.calc-result-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 280px;
  color: var(--muted);
}
.empty-illu {
  color: var(--line-strong);
  margin-bottom: 16px;
}
.calc-result-empty h3 {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin: 0 0 8px;
  font-weight: 700;
}
.calc-result-empty p {
  font-size: 0.9rem;
  margin: 0;
  max-width: 280px;
}

.result-card { animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.result-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.result-header .kicker { margin: 0; }

.result-price-block {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(212, 165, 116, 0.04) 100%);
  border-radius: var(--r-md);
}
.result-price-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.result-price-range {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.result-price-range .sep { color: var(--muted); font-weight: 300; margin: 0 8px; }
.result-price-mid {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.result-stat {
  padding: 14px;
  background: var(--bg);
  border-radius: var(--r-sm);
  text-align: center;
}
.result-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.result-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.result-recommend {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  background: rgba(59, 130, 246, 0.06);
  color: var(--ink-2);
  margin-bottom: 20px;
}
.result-recommend strong { color: var(--accent-2); }

.result-cta { display: flex; gap: 8px; flex-direction: column; }

/* Demand pill */
.demand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.demand-alta { background: rgba(16, 185, 129, 0.12); color: #047857; }
.demand-media { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.demand-baja { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

/* =========================================================
   Score
   ========================================================= */
.section-score { background: #fff; }
.score-locked {
  background: var(--bg);
  border: 2px dashed var(--line);
  border-radius: var(--r-xl);
  padding: 64px 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.score-lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--muted);
}
.score-locked h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.score-locked p {
  color: var(--muted);
  margin: 0 0 20px;
}

.score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 760px) {
  .score-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; text-align: center; }
}

.score-ring {
  position: relative;
  width: 220px;
  height: 220px;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring-bg {
  fill: none;
  stroke: var(--line);
  stroke-width: 12;
}
.score-ring-fg {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.score-ring-fg.cat-alta { stroke: var(--success); }
.score-ring-fg.cat-media { stroke: var(--warn); }
.score-ring-fg.cat-baja { stroke: var(--danger); }
.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-number {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.score-max {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}
.score-cat-pill {
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.score-cat-pill.cat-alta { background: rgba(16, 185, 129, 0.12); color: #047857; }
.score-cat-pill.cat-media { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.score-cat-pill.cat-baja { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

.score-content h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.score-explain {
  color: var(--ink-3);
  margin: 0 0 20px;
  line-height: 1.6;
}
.score-factors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.score-factors li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
}
.score-factor-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.score-factor-icon.pos { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.score-factor-icon.neg { background: rgba(239, 68, 68, 0.12); color: var(--danger); }
.score-factor-icon.neu { background: rgba(245, 158, 11, 0.12); color: var(--warn); }
.score-factor-value { font-weight: 700; color: var(--ink); }

/* =========================================================
   Comparativa
   ========================================================= */
.section-comp { background: var(--bg); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { display: none; }
}

.compare-vs {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  align-self: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
}
.compare-good {
  background: linear-gradient(135deg, #fff 0%, rgba(212, 165, 116, 0.04) 100%);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -12px rgba(212, 165, 116, 0.2);
}
.compare-good::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.compare-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.tag-premium {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.compare-head h3 {
  margin: 0 0 24px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
  flex: 1;
}
.compare-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.compare-list li strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
}
.compare-list li span:not(.compare-icon) {
  font-size: 0.85rem;
  color: var(--muted);
}
.compare-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 2px;
}
.compare-icon.bad { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.compare-icon.good { background: rgba(16, 185, 129, 0.12); color: var(--success); }

.compare-price {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.compare-price strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.compare-good .compare-price strong { color: var(--gold-2); }
.compare-extra {
  margin-top: 12px;
  text-align: center;
  padding: 10px;
  background: rgba(212, 165, 116, 0.1);
  border-radius: var(--r-sm);
  font-weight: 700;
  color: var(--gold-2);
  font-size: 0.95rem;
}

.compare-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.compare-note a { color: var(--accent-2); text-decoration: underline; }

/* =========================================================
   Lead form
   ========================================================= */
.section-lead {
  padding: var(--space-section) 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 20%, rgba(212, 165, 116, 0.15), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(59, 130, 246, 0.1), transparent 60%),
    var(--ink);
}
.lead-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .lead-card { grid-template-columns: 1fr; gap: 40px; }
}

.lead-content { color: #fff; }
.lead-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.lead-bullets li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.lead-form {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-3);
  cursor: pointer;
  margin-top: 4px;
}
.check input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.check a { color: var(--accent-2); text-decoration: underline; }

/* =========================================================
   Testimonios
   ========================================================= */
.section-test { background: #fff; }
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 1rem;
}
.stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.rating-summary strong { font-weight: 800; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.testimonial-quote {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-meta { font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.section-faq { background: var(--bg); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  color: var(--ink-3);
}
.faq-item.open .faq-q-icon {
  background: var(--ink);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--ink-3);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #fff;
  padding: 64px 0 24px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-cols h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}
.footer-cols a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 4px 0;
}
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Mobile CTA fijo
   ========================================================= */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  z-index: 40;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}
.mobile-cta.visible { transform: translateY(0); }
@media (max-width: 880px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* =========================================================
   Modal
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.visible { opacity: 1; pointer-events: auto; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px 32px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.visible .modal-card { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--muted);
  transition: all 0.2s ease;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.modal-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.modal-card p { color: var(--ink-3); margin: 0 0 20px; }
.modal-summary {
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  text-align: left;
}
.modal-summary div { display: flex; justify-content: space-between; padding: 4px 0; }
.modal-summary strong { color: var(--ink); }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  transform: translateX(calc(100% + 32px));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 360px;
}
.toast.visible { transform: translateX(0); }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }
@media (max-width: 480px) {
  .toast { top: auto; bottom: 88px; left: 16px; right: 16px; transform: translateY(calc(100% + 32px)); }
  .toast.visible { transform: translateY(0); }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Reduce motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
