/* Plantilla IMPULSO — oscura y audaz: negro + lima + violeta. */
:root { --rl-accent: var(--rl-accent-custom, #7c5cff); --ti-bg: #0a0a0b; --ti-card: #131316; --ti-line: #26262c; --ti-text: #b7b7c2; --ti-white: #f6f6f8; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--ti-bg); color: var(--ti-text); }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; color: var(--ti-white); font-weight: 700; letter-spacing: -.03em; }
.ti-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.ti-narrow { max-width: 880px; }
.ti-tag { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rl-primary); }
.ti-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--rl-primary); box-shadow: 0 0 12px var(--rl-primary); }

.ti-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 30px; border-radius: 999px; background: var(--rl-primary); color: var(--rl-on-primary, #0a0a0b); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--rl-primary); cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; }
.ti-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px color-mix(in srgb, var(--rl-primary) 40%, transparent); }
.ti-btn-sm { padding: 10px 22px; font-size: .88rem; }
.ti-btn-ghost { background: transparent; color: var(--ti-white); border-color: #3a3a44; } .ti-btn-ghost:hover { border-color: var(--rl-primary); color: var(--rl-primary); box-shadow: none; }
.ti-btn-dark { background: #0a0a0b; color: var(--rl-primary); border-color: #0a0a0b; }
.ti-btn-line { background: transparent; color: #0a0a0b; border-color: rgba(10, 10, 11, .45); }

/* Cabecera */
.ti-header { position: sticky; top: 0; z-index: 70; background: rgba(10, 10, 11, .72); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.ti-header.is-scrolled { border-color: var(--ti-line); }
.ti-header-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.ti-logo { text-decoration: none; display: flex; align-items: center; } .ti-logo img { max-height: 36px; filter: brightness(0) invert(1); }
.ti-logo span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--ti-white); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ti-logo b { width: 14px; height: 14px; border-radius: 4px; background: var(--rl-primary); transform: rotate(45deg); }
.ti-nav { display: flex; gap: 4px; margin: 0 auto; padding: 5px; border: 1px solid var(--ti-line); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.ti-nav a { text-decoration: none; font-size: .88rem; font-weight: 500; padding: 8px 18px; border-radius: 999px; color: var(--ti-text); transition: background-color .2s, color .2s; }
.ti-nav a:hover { background: var(--rl-primary); color: var(--rl-on-primary, #0a0a0b); }
.ti-header-act { display: flex; align-items: center; gap: 10px; }
.ti-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ti-line); background: transparent; color: var(--ti-white); cursor: pointer; }
@media (max-width: 960px) {
    .ti-header-in { justify-content: space-between; }
    .ti-nav { position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; border-radius: 22px; background: #111114; max-height: 0; overflow: hidden; padding: 0 8px; border-color: transparent; transition: max-height .3s ease; margin: 0; }
    .ti-nav.is-open { max-height: 440px; padding: 10px 8px; border-color: var(--ti-line); }
    .ti-nav a { padding: 12px 16px; border-radius: 14px; }
    .ti-burger { display: block; }
}

/* Hero con tipografía gigante */
.ti-hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.ti-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.ti-glow-a { width: 560px; height: 560px; background: var(--rl-primary); opacity: .22; top: -240px; right: -120px; }
.ti-glow-b { width: 520px; height: 520px; background: var(--rl-accent); opacity: .28; top: 340px; left: -220px; }
.ti-hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); line-height: .98; margin: 26px 0 38px; max-width: 1040px; }
.ti-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ti-hero-row p { font-size: 1.15rem; max-width: 520px; }
.ti-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ti-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--ti-line); border-bottom: 1px solid var(--ti-line); }
.ti-facts div { padding: 26px 28px; border-right: 1px solid var(--ti-line); } .ti-facts div:last-child { border-right: 0; }
.ti-facts strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; color: var(--ti-white); letter-spacing: -.02em; }
.ti-facts span { font-size: .88rem; }
.ti-screen { margin: 64px auto 0; max-width: 900px; position: relative; }
.ti-screen::before { content: ''; position: absolute; inset: 12% 8% -8%; background: linear-gradient(90deg, var(--rl-primary), var(--rl-accent)); filter: blur(70px); opacity: .45; z-index: 0; }
.ti-screen > * { position: relative; z-index: 1; }
.ti-screen > img { width: 100%; border-radius: 20px; border: 1px solid #34343c; }
.ti-screen .lm-win { border-radius: 20px; border: 1px solid #34343c; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
@media (max-width: 800px) { .ti-hero { padding: 56px 0 40px; } .ti-facts { grid-template-columns: 1fr; } .ti-facts div { border-right: 0; border-bottom: 1px solid var(--ti-line); } .ti-facts div:last-child { border-bottom: 0; } }

/* Marquesina gigante */
.ti-marquee { overflow: hidden; border-top: 1px solid var(--ti-line); border-bottom: 1px solid var(--ti-line); padding: 22px 0; background: var(--rl-primary); }
.ti-marquee-track { display: flex; gap: 38px; width: max-content; align-items: center; animation: ti-slide 30s linear infinite; }
.ti-marquee span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.4rem; text-transform: uppercase; letter-spacing: -.02em; color: var(--rl-on-primary, #0a0a0b); white-space: nowrap; }
.ti-marquee em { font-style: normal; color: var(--rl-on-primary, #0a0a0b); opacity: .6; font-size: 1.6rem; }
@keyframes ti-slide { to { transform: translateX(-50%); } }

.ti-sec { padding: 110px 0; position: relative; }
.ti-sec-tight { padding: 70px 0; }
.ti-head { margin-bottom: 58px; max-width: 760px; } .ti-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; margin-top: 18px; }
@media (max-width: 800px) { .ti-sec { padding: 70px 0; } .ti-marquee span { font-size: 1.5rem; } }

/* Mosaico */
.ti-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.ti-bento-card { position: relative; overflow: hidden; border-radius: 26px; background: var(--ti-card); border: 1px solid var(--ti-line); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .3s, border-color .3s; }
.ti-bento-card:hover { transform: translateY(-5px); border-color: var(--rl-primary); }
.ti-bento-card h3 { font-size: 1.5rem; margin-bottom: 8px; } .ti-bento-card p { font-size: .96rem; max-width: 420px; }
.ti-bento-n { position: absolute; top: 24px; right: 28px; font-family: 'Space Grotesk', sans-serif; font-size: .9rem; color: #5a5a66; }
.ti-bento-ico { position: absolute; top: 26px; left: 30px; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--rl-primary); background: color-mix(in srgb, var(--rl-primary) 12%, transparent); border: 1px solid color-mix(in srgb, var(--rl-primary) 30%, transparent); }
.ti-b0 { grid-column: span 2; grid-row: span 2; background: var(--rl-primary); border-color: var(--rl-primary); }
.ti-b0 h3 { font-size: 2.2rem; color: var(--rl-on-primary, #0a0a0b); } .ti-b0 p { color: color-mix(in srgb, var(--rl-on-primary, #0a0a0b) 78%, transparent); font-size: 1.05rem; }
.ti-b0 .ti-bento-ico { background: rgba(10, 10, 11, .12); border-color: rgba(10, 10, 11, .18); color: var(--rl-on-primary, #0a0a0b); width: 72px; height: 72px; font-size: 1.8rem; }
.ti-b0 .ti-bento-n { color: rgba(10, 10, 11, .45); }
.ti-b1 { grid-column: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--rl-accent) 38%, #131316), #131316); }
.ti-b1 .ti-bento-ico { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
@media (max-width: 900px) { .ti-bento { grid-template-columns: 1fr 1fr; } .ti-b0 { grid-column: span 2; grid-row: auto; min-height: 300px; } .ti-b1 { grid-column: span 2; } }
@media (max-width: 560px) { .ti-bento { grid-template-columns: 1fr; } .ti-b0, .ti-b1 { grid-column: auto; } }

/* Características como filas */
.ti-rows { border-top: 1px solid var(--ti-line); }
.ti-rows li { position: relative; display: grid; grid-template-columns: 70px 1fr 1.2fr 40px; gap: 24px; align-items: center; padding: 30px 20px; border-bottom: 1px solid var(--ti-line); transition: background-color .25s, padding .25s; }
.ti-rows li:hover { background: var(--rl-primary); padding-left: 32px; }
.ti-row-n { font-family: 'Space Grotesk', sans-serif; color: #5a5a66; font-size: .95rem; }
.ti-rows h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 14px; } .ti-rows h3 i { color: var(--rl-primary); font-size: 1.1rem; width: 24px; }
.ti-rows p { font-size: .98rem; } .ti-row-arrow { opacity: 0; transform: translateX(-10px); transition: .25s; justify-self: end; }
.ti-rows li:hover h3, .ti-rows li:hover h3 i, .ti-rows li:hover p, .ti-rows li:hover .ti-row-n, .ti-rows li:hover .ti-row-arrow { color: var(--rl-on-primary, #0a0a0b); }
.ti-rows li:hover .ti-row-arrow { opacity: 1; transform: none; }
@media (max-width: 800px) { .ti-rows li { grid-template-columns: 40px 1fr; } .ti-rows p { grid-column: 2; } .ti-row-arrow { display: none; } .ti-rows h3 { font-size: 1.2rem; } }

.ti-shots { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; }
.ti-shots figure { margin: 0; flex: 0 0 min(620px, 88%); scroll-snap-align: start; border-radius: 20px; overflow: hidden; border: 1px solid #34343c; } .ti-shots img { display: block; width: 100%; }

.ti-pills { display: flex; flex-wrap: wrap; gap: 14px; }
.ti-pills span { display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; border-radius: 999px; border: 1.5px solid #3a3a44; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--ti-white); transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.ti-pills span i { color: var(--rl-primary); font-size: 1.1rem; }
.ti-pills span:hover { background: var(--rl-primary); border-color: var(--rl-primary); color: var(--rl-on-primary, #0a0a0b); transform: rotate(-2deg) scale(1.04); } .ti-pills span:hover i { color: inherit; }
@media (max-width: 700px) { .ti-pills span { font-size: 1.05rem; padding: 12px 20px; } }

/* Pasos */
.ti-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ti-steps li { background: var(--ti-card); border: 1px solid var(--ti-line); border-radius: 26px; padding: 30px 26px 34px; transition: border-color .3s, transform .3s; }
.ti-steps li:hover { border-color: var(--rl-accent); transform: translateY(-5px); }
.ti-step-n { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 6rem; font-weight: 700; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--rl-primary); margin-bottom: 24px; }
.ti-steps h3 { font-size: 1.2rem; margin-bottom: 8px; } .ti-steps p { font-size: .94rem; }
@media (max-width: 900px) { .ti-steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .ti-steps { grid-template-columns: 1fr; } }

/* Planes en filas */
.ti-plans { display: grid; gap: 14px; }
.ti-plan { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 30px; align-items: center; background: var(--ti-card); border: 1px solid var(--ti-line); border-radius: 26px; padding: 30px 36px; transition: border-color .3s, transform .3s; }
.ti-plan:hover { border-color: var(--rl-primary); transform: translateX(6px); }
.ti-plan-name h3 { font-size: 1.7rem; } .ti-plan-name p { font-size: .92rem; margin-top: 4px; }
.ti-plan-badge { display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: 999px; background: #0a0a0b; color: var(--rl-primary); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ti-plan-price s { display: block; font-size: .9rem; color: #6b6b78; }
.ti-plan-price strong { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; color: var(--ti-white); letter-spacing: -.04em; } .ti-plan-price small { font-size: .95rem; margin-left: 4px; }
.ti-plan.is-rec { background: var(--rl-primary); border-color: var(--rl-primary); }
.ti-plan.is-rec h3, .ti-plan.is-rec strong, .ti-plan.is-rec p, .ti-plan.is-rec small, .ti-plan.is-rec s { color: var(--rl-on-primary, #0a0a0b); }
.ti-plan.is-rec:hover { transform: translateX(6px) scale(1.01); }
@media (max-width: 800px) { .ti-plan { grid-template-columns: 1fr; gap: 18px; padding: 26px; } .ti-plan:hover, .ti-plan.is-rec:hover { transform: none; } }

/* Testimonios: carril horizontal */
.ti-quotes { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; }
.ti-quotes figure { margin: 0; flex: 0 0 min(430px, 88%); scroll-snap-align: start; background: var(--ti-card); border: 1px solid var(--ti-line); border-radius: 26px; padding: 34px; position: relative; display: flex; flex-direction: column; }
.ti-q { font-family: 'Space Grotesk', sans-serif; font-size: 6rem; line-height: .6; color: var(--rl-primary); height: 40px; }
.ti-stars { color: var(--rl-primary); font-size: .85rem; margin: 6px 0 14px; }
.ti-quotes blockquote { margin: 0; font-size: 1.15rem; line-height: 1.6; color: var(--ti-white); flex: 1; font-weight: 500; }
.ti-quotes figcaption { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.ti-quotes figcaption img, .ti-av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ti-av { display: inline-flex; align-items: center; justify-content: center; background: var(--rl-accent); color: #fff; font-weight: 700; }
.ti-quotes strong { display: block; color: var(--ti-white); } .ti-quotes small { font-size: .84rem; }

/* Demostración */
.ti-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ti-demo h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; margin: 18px 0 18px; } .ti-demo p { font-size: 1.1rem; max-width: 460px; }
.ti-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--rl-primary); font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.ti-form-box { background: var(--ti-card); border: 1px solid var(--ti-line); border-radius: 30px; padding: 36px; position: relative; }
.ti-form-box::before { content: ''; position: absolute; inset: -1px; border-radius: 30px; padding: 1px; background: linear-gradient(135deg, var(--rl-primary), transparent 40%, var(--rl-accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ti-form input, .ti-form textarea { padding: 15px 18px; background: #0a0a0b; border: 1.5px solid var(--ti-line); border-radius: 16px; color: var(--ti-white); transition: border-color .2s; }
.ti-form input::placeholder, .ti-form textarea::placeholder { color: #6b6b78; }
.ti-form input:focus, .ti-form textarea:focus { outline: none; border-color: var(--rl-primary); }
.ti-form .lm-submit { padding: 17px; border: 0; border-radius: 999px; background: var(--rl-primary); color: var(--rl-on-primary, #0a0a0b); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
@media (max-width: 900px) { .ti-demo { grid-template-columns: 1fr; gap: 36px; } .ti-form-box { padding: 24px; } }

/* FAQ */
.ti-faq { border-bottom: 1px solid var(--ti-line); }
.ti-faq:first-of-type { border-top: 1px solid var(--ti-line); }
.ti-faq .lm-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 4px; font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--ti-white); transition: color .2s; }
.ti-faq .lm-faq-q:hover, .ti-faq.is-open .lm-faq-q { color: var(--rl-primary); }
.ti-faq .lm-faq-q i { font-size: 1rem; transition: transform .3s; } .ti-faq.is-open .lm-faq-q i { transform: rotate(45deg); }
.ti-faq .lm-faq-a p { padding: 0 4px 28px; max-width: 680px; font-size: 1.02rem; }

/* CTA y pie */
.ti-cta { background: var(--rl-primary); padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.ti-cta h2 { color: var(--rl-on-primary, #0a0a0b); font-size: clamp(2.2rem, 6vw, 5rem); line-height: .98; max-width: 940px; margin: 0 auto; }
.ti-cta p { color: color-mix(in srgb, var(--rl-on-primary, #0a0a0b) 75%, transparent); font-size: 1.15rem; margin: 22px auto 38px; max-width: 560px; }
.ti-cta .ti-actions { justify-content: center; }
.ti-footer { padding: 70px 0 0; overflow: hidden; position: relative; }
.ti-footer-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; position: relative; z-index: 1; }
.ti-footer p { max-width: 380px; margin-bottom: 8px; } .ti-footer-logo { max-height: 36px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.ti-footer-links { display: grid; gap: 10px; justify-items: start; } .ti-footer a { color: var(--ti-white); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; } .ti-footer a:hover { color: var(--rl-primary); border-color: var(--rl-primary); }
.ti-footer-mark { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(3rem, 13vw, 11rem); letter-spacing: -.05em; line-height: .85; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px #2a2a32; margin: 40px 0 -24px; user-select: none; }
.ti-footer-bottom { padding: 24px; border-top: 1px solid var(--ti-line); text-align: center; font-size: .82rem; color: #6b6b78; background: var(--ti-bg); position: relative; z-index: 1; }
@media (max-width: 700px) { .ti-footer-in { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ti-marquee-track { animation: none; } }

.ti-bento-card { padding-top: 104px; }
.ti-b0 { padding-top: 120px; }
.ti-b2:last-child { grid-column: span 2; }
@media (max-width: 560px) { .ti-b2:last-child { grid-column: auto; } }
