*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.wbp-sub { margin: 0; background: var(--wbp-bg); color: #fff; font-family: var(--wbp-font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.wbp-sub h1, body.wbp-sub h2, body.wbp-sub h3 { line-height: 1.2; margin: 0 0 12px; }
body.wbp-sub p { margin: 0 0 14px; color: var(--wbp-text); }
body.wbp-sub strong { color: #fff; }
body.wbp-sub a { color: var(--wbp-accent); }

.wbp-sub-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.wbp-narrow { max-width: 760px; }
.wbp-center { text-align: center; }
.wbp-small { font-size: 13px; }

/* Barra superior */
.wbp-sub-top { position: sticky; top: 0; z-index: 20; background: rgba(13,13,13,.88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.wbp-sub-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.wbp-sub-logo { max-height: 34px; width: auto; display: block; }
.wbp-sub-logo-text { font-weight: 800; font-size: 18px; color: #fff; }
.wbp-sub-brand { text-decoration: none; }

/* Botones */
.wbp-btn { font-family: var(--wbp-font); font-weight: 700; font-size: 15px; background: var(--wbp-accent); color: #0D0D0D; border: none; border-radius: 999px; padding: 13px 26px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; transition: transform .12s ease, box-shadow .12s ease; box-shadow: 0 4px 18px rgba(161,230,26,.28); }
body.wbp-sub a.wbp-btn { color: #0D0D0D; }
.wbp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(161,230,26,.4); }
.wbp-btn:focus-visible, .wbp-input:focus-visible, .wbp-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wbp-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.wbp-btn-sm { padding: 9px 18px; font-size: 14px; }
.wbp-btn-lg { padding: 16px 34px; font-size: 17px; }
.wbp-btn-block { display: block; width: 100%; }
.wbp-link { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }

/* Banner */
.wbp-sub-hero { padding: 72px 0 56px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(161,230,26,.14), transparent 60%); }
.wbp-pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--wbp-accent); border: 1px solid rgba(161,230,26,.4); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px; }
.wbp-sub-hero h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; letter-spacing: -.02em; max-width: 820px; margin: 0 auto 18px; }
.wbp-sub-hero h1 em { font-style: normal; color: var(--wbp-accent); }
.wbp-lead { font-size: clamp(16px, 2.4vw, 19px); max-width: 640px; margin: 0 auto 28px !important; }
.wbp-hero-actions { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.wbp-hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.wbp-hero-facts li { font-size: 14px; font-weight: 600; color: #fff; }
.wbp-hero-facts-long { max-width: 760px; margin: 0 auto; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
.wbp-hero-facts-long li { font-weight: 400; color: var(--wbp-text); }
.wbp-hero-facts-long li strong { color: #fff; }
.wbp-lead-strong { color: #fff !important; font-weight: 600; }
.wbp-hero-facts li::before { content: "✓"; color: var(--wbp-accent); margin-right: 7px; font-weight: 800; }

/* Comparativa */
.wbp-compare { max-width: 940px; margin: 0 auto; display: grid; gap: 10px; }
.wbp-compare-head, .wbp-compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wbp-compare-head div { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 0 6px; color: var(--wbp-text); }
.wbp-compare-head div:last-child { color: var(--wbp-accent); }
.wbp-compare-old, .wbp-compare-new { border-radius: 14px; padding: 16px 18px; font-size: 15px; line-height: 1.5; }
.wbp-compare-old { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); color: var(--wbp-text); }
.wbp-compare-old strong { color: #d4d4d8; }
.wbp-compare-new { background: linear-gradient(180deg, rgba(161,230,26,.09), var(--wbp-card)); border: 1px solid rgba(161,230,26,.45); color: #e8e8ea; }
.wbp-compare-new strong { color: #fff; }

/* Secciones */
.wbp-sub-section { padding: 64px 0; }
.wbp-sub-alt { background: rgba(255,255,255,.025); }
.wbp-sub-section h2 { font-size: clamp(25px, 4vw, 34px); font-weight: 800; text-align: center; margin-bottom: 30px; letter-spacing: -.01em; }
.wbp-sub-intro { text-align: center; margin: -14px 0 22px !important; }

.wbp-card { background: var(--wbp-card); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 24px; }
.wbp-card h3 { font-size: 18px; }
.wbp-card p:last-child { margin-bottom: 0; }
.wbp-card-accent { border-color: rgba(161,230,26,.55); background: linear-gradient(180deg, rgba(161,230,26,.07), var(--wbp-card)); }
.wbp-ico { font-size: 26px; margin-bottom: 10px; }

.wbp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.wbp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.wbp-list { list-style: none; padding: 0; margin: 0 0 14px; }
.wbp-list li { position: relative; padding: 5px 0 5px 28px; color: #e8e8ea; }
.wbp-list li::before { content: "✓"; position: absolute; left: 0; color: var(--wbp-accent); font-weight: 800; }
.wbp-list-neg li { color: var(--wbp-text); }
.wbp-list-neg li::before { content: "–"; color: var(--wbp-text); }

/* Pasos */
.wbp-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 14px; }
.wbp-steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--wbp-card); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 18px 20px; }
.wbp-steps h3 { font-size: 17px; margin-bottom: 4px; }
.wbp-steps p { margin: 0; }
.wbp-step-n { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--wbp-accent); color: #0D0D0D; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.wbp-steps-compact li { background: transparent; border: none; padding: 10px 0; }

/* Precio */
.wbp-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.wbp-tab { font-family: var(--wbp-font); font-weight: 600; font-size: 14px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.wbp-tab.is-active { background: var(--wbp-accent); color: #0D0D0D; border-color: var(--wbp-accent); }
.wbp-price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 700px; margin: 0 auto 16px; }
.wbp-price-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--wbp-text); }
.wbp-price-num { font-size: clamp(30px, 5vw, 42px); font-weight: 800; color: #fff; margin: 6px 0 8px; letter-spacing: -.02em; }
.wbp-price-sub { font-size: 13px; margin: -2px 0 10px !important; color: var(--wbp-accent) !important; font-weight: 600; }
.wbp-price-num small { font-size: 15px; font-weight: 600; color: var(--wbp-text); }
.wbp-pause-box { max-width: 700px; margin: 0 auto 16px; border: 1px dashed rgba(255,255,255,.25); border-radius: 14px; padding: 16px 20px; background: rgba(255,255,255,.03); }
.wbp-pause-box p { margin: 6px 0 0; }
.wbp-final-note { margin-top: 16px !important; }
.wbp-price-note { max-width: 700px; margin: 0 auto 28px !important; text-align: center; font-size: 14px; }
[hidden] { display: none !important; }

/* FAQ */
.wbp-faq { background: var(--wbp-card); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.wbp-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.wbp-faq summary::-webkit-details-marker { display: none; }
.wbp-faq summary::after { content: "+"; float: right; color: var(--wbp-accent); font-size: 20px; line-height: 1; }
.wbp-faq[open] summary::after { content: "–"; }

/* CTA final */
.wbp-sub-final { padding: 64px 0; background: radial-gradient(ellipse at 50% 100%, rgba(161,230,26,.13), transparent 65%); }
.wbp-sub-final h2 { font-size: clamp(25px, 4vw, 34px); font-weight: 800; }

/* Legales */
.wbp-legal h2 { text-align: left; }
.wbp-legal h3 { font-size: 17px; margin: 26px 0 8px; color: #fff; }
.wbp-legal ul { padding-left: 20px; margin: 0 0 14px; color: var(--wbp-text); }
.wbp-legal li { margin-bottom: 6px; }

.wbp-sub-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0 90px; font-size: 13px; color: var(--wbp-text); }
.wbp-sub-footer .wbp-sub-wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.wbp-sub-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

.wbp-sticky-cta { display: none; }

/* Ventana emergente */
.wbp-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.wbp-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.wbp-modal-box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--wbp-card); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 28px 24px; animation: wbpPop .22s ease; }
@keyframes wbpPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.wbp-modal-box h2 { font-size: 24px; margin-bottom: 8px; text-align: left; }
.wbp-modal-x { position: absolute; top: 10px; right: 12px; background: none; border: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 6px 10px; }
.wbp-label { display: block; font-size: 13px; font-weight: 700; color: #fff; margin: 16px 0 6px; }
.wbp-input { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 10px; padding: 13px 14px; font-size: 16px; font-family: var(--wbp-font); }
.wbp-input::placeholder { color: rgba(255,255,255,.35); }
.wbp-input.has-error { border-color: #ef4444; }
select.wbp-input option { background: #1c1c1c; color: #fff; }
.wbp-phone-row { display: flex; gap: 8px; }
.wbp-phone-row select { flex: 0 0 48%; font-size: 14px; }
.wbp-phone-row input { flex: 1; min-width: 0; }
.wbp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--wbp-text); margin: 18px 0; cursor: pointer; }
.wbp-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--wbp-accent); flex-shrink: 0; }
.wbp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wbp-form-error { color: #fca5a5; font-size: 14px; margin: 0 0 12px !important; }

/* Gracias */
.wbp-thanks { min-height: 100vh; }
.wbp-thanks-box { max-width: 620px; margin: 0 auto; padding: 40px 20px 60px; text-align: center; }
.wbp-thanks-logo { margin-bottom: 26px; display: flex; justify-content: center; }
.wbp-thanks-check { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--wbp-accent); color: #0D0D0D; font-size: 38px; font-weight: 800; display: flex; align-items: center; justify-content: center; animation: wbpPop .4s ease; }
.wbp-thanks h1 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; }
.wbp-thanks-card { text-align: left; margin: 26px 0 18px; }
.wbp-thanks-card h2 { font-size: 20px; margin-bottom: 8px; text-align: left; }
.wbp-thanks-actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 820px) {
	.wbp-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.wbp-compare-head { display: none; }
	.wbp-compare-row { grid-template-columns: 1fr; gap: 6px; margin-bottom: 14px; }
	.wbp-compare-old::before, .wbp-compare-new::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; opacity: .8; }
	.wbp-compare-new::before { color: var(--wbp-accent); }
	.wbp-sub-hero { padding: 48px 0 40px; }
	.wbp-sub-section { padding: 46px 0; }
	.wbp-two-col, .wbp-grid-3, .wbp-price-cards { grid-template-columns: 1fr; }
	.wbp-sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(13,13,13,.94); border-top: 1px solid rgba(255,255,255,.1); }
	.wbp-sub-top .wbp-btn { display: none; }
	.wbp-sub-top-inner { justify-content: center; min-height: 54px; }
	.wbp-phone-row select { flex-basis: 50%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.wbp-modal-box, .wbp-thanks-check { animation: none; }
}
