:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --ink: #1a1a1a;
  --muted: #6b6862;
  --line: #e6e3dd;
  --accent: #10B981;
  --accent-ink: #1a1a1a;
  --max: 1280px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
section { padding: clamp(48px, 6vw, 72px) 0; }
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 8px; max-width: 20ch; line-height: 1.15; }
.beneficios .section-title { color: #fff; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 12px 26px;
  text-decoration: none;
  border-radius: 40px;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}
.btn:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.btn:disabled { opacity: 0.6; pointer-events: none; }
.site { border-top: 1px solid var(--line); padding: 24px 0; }
.nav { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.logo .s-black { color: var(--ink); }
.accent { color: var(--accent); }
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 40px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--bg-soft); }
.hero { padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(48px, 6vw, 72px); }
.niche-selector { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.niche-selector::-webkit-scrollbar { display: none; }
.niche-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.niche-btn:hover { border-color: var(--accent); color: var(--ink); }
.niche-btn.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.hero-grid { display: flex; gap: 40px; align-items: flex-start; }
.hero-text { flex: 1; min-width: 0; }
.hero-image { flex: 0 0 420px; max-width: 500px; position: relative; }
.hero-image::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  opacity: 0.15;
}
.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.18);
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.3s ease;
}
.hero-image img:hover { transform: scale(1.02); box-shadow: 0 20px 60px -10px rgba(0,0,0,0.25); }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 6vw, 3.6rem); margin-bottom: 8px; letter-spacing: -0.02em; line-height: 1.05; }
.hero .lede { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(0.9rem, 2vw, 1.15rem); color: var(--ink); margin-bottom: 8px; }
.hero p.sub { font-size: clamp(0.85rem, 1.5vw, 1rem); color: var(--muted); margin-bottom: 24px; }
.problema { background: var(--bg-soft); }
.problema .eyebrow { font-size: clamp(1.2rem, 2.5vw, 1.8rem); margin-bottom: 4px; }
.problema .grid { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.problema p { font-family: 'Inter', sans-serif; font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink); line-height: 1.6; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.sol-card { background: var(--bg); padding: 32px 24px; border: 1px solid var(--line); }
.sol-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.sol-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.sol-card p { color: var(--muted); font-size: 0.9rem; }
.sol-heading { font-size: clamp(1.5rem,4vw,2.2rem); font-weight: 800; max-width: 18ch; }
.beneficios { background: var(--ink); color: #fff; }
.beneficios .eyebrow { color: var(--accent); font-size: clamp(1rem, 2.5vw, 1.4rem); }
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 32px; }
.ben-stat { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: #fff; letter-spacing: -0.03em; margin-bottom: 8px; }
.ben-stat .unit { font-size: 0.6em; }
.ben-item p { color: #c9c6c0; font-size: 0.9rem; }
.calc-section { background: #f8fafc; }
.calc-title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 28px; max-width: 20ch; }
.calc-box { display: flex; gap: 40px; align-items: stretch; background: var(--bg); border-radius: 20px; padding: 36px clamp(24px, 3vw, 48px); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.calc-left { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.calc-label { font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.calc-slider-row { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.calc-slider-row input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: #d1d5db; outline: none; }
.calc-slider-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.calc-slider-row input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.calc-value { font-weight: 800; font-size: 1.1rem; color: var(--accent); min-width: 90px; text-align: right; }
.calc-hint { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.calc-btn { align-self: flex-start; }
.calc-right { flex: 0 0 340px; display: flex; align-items: center; justify-content: center; padding: 20px; border-radius: 16px; background: #f8fafc; min-height: 140px; }
.calc-placeholder { color: var(--muted); font-size: 0.9rem; text-align: center; }
.calc-result-box { text-align: center; }
.calc-loss { font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.calc-loss strong { color: #dc2626; }
.calc-save { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.calc-save strong { color: var(--accent); }
.calc-warn { font-size: 0.85rem; color: #92400e; background: #fef3c7; padding: 12px 16px; border-radius: 12px; line-height: 1.5; }
.calc-warn strong { color: #78350f; }
.calc-success { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 820px) {
  .calc-box { flex-direction: column; }
  .calc-right { flex: 1; }
  .calc-slider-row { flex-wrap: wrap; }
  .calc-value { min-width: auto; }
}
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 32px; }
.paso .n { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; margin-bottom: 8px; color: var(--accent); }
.paso p { font-size: 0.9rem; color: var(--muted); }
.testi { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.testi-avatar { margin-bottom: 12px; }
blockquote { background: var(--bg); border: 1px solid var(--line); padding: 24px; }
blockquote p { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem; line-height: 1.4; margin-bottom: 12px; color: var(--ink); }
cite { font-style: normal; color: var(--muted); font-size: 0.8rem; }
.pricing { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.pricing-card { background: var(--bg); border: 1px solid var(--line); padding: 36px 28px; position: relative; transition: border-color 0.2s; }
.pricing-card:hover { border-color: var(--accent); }
.pricing-card.featured { border: 2px solid var(--accent); background: var(--bg-soft); }
.pricing-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.pricing-price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--accent); margin-bottom: 4px; }
.pricing-annual { font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }
.pricing-card ul { list-style: none; margin-bottom: 28px; }
.pricing-card ul li { font-size: 0.85rem; color: var(--muted); padding: 5px 0; border-bottom: 1px solid var(--line); }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before { content: '\2014 '; color: var(--accent); }
.pricing-cta-group { display: flex; flex-direction: column; gap: 8px; }
.pricing-cta-group .btn { text-align: center; font-size: 0.8rem; padding: 10px 20px; }
.pricing-cta-group .btn-outline {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  text-align: center; font-size: 0.8rem; padding: 10px 20px; border-radius: 40px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; text-decoration: none; transition: background 0.2s;
}
.pricing-cta-group .btn-outline:hover { background: var(--bg-soft); }
.cta-final { text-align: center; }
.cta-final h2 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); max-width: 18ch; margin: 0 auto 24px; }
.cta-final h2 .em { color: var(--accent); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 0.8rem; color: var(--muted); }
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { text-decoration: underline; }
.cross-link { font-size: 0.75rem; text-align: center; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.cross-link a { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (max-width: 820px) {
  .hero-grid { flex-direction: column; }
  .hero-image { max-width: 100%; }
  .hero-image img { height: 360px; }
  .problema .grid { grid-template-columns: 1fr; gap: 20px; }
  .sol-grid { grid-template-columns: 1fr; }
  .ben-grid { grid-template-columns: 1fr; gap: 32px; }
  .pasos { grid-template-columns: 1fr; gap: 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .foot { flex-direction: column; text-align: center; }
  .nav { flex-direction: column; gap: 12px; }
}
