/* BoostyTools: secciones comerciales sobre la base Sorvine (HorizonX).
   Mismo negro, Geist, azul y vidrio; las palabras gigantes con revelado
   ligado al scroll vienen de Velto. Prefijo bx- para no chocar con Sorvine. */
:root {
  --bx-wrap: 1180px;
  --bx-card: #0a0a0c;
  --bx-card-2: #101014;
  --bx-line: rgba(255, 255, 255, 0.08);
  --bx-line-2: rgba(255, 255, 255, 0.16);
  --bx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Sorvine ancla el scroll táctil de forma obligatoria; con contenido largo
   después de las escenas, basta con atraerlo cuando está cerca. */
@media (hover: none) and (pointer: coarse) {
  html { scroll-snap-type: y proximity; }
}

.bx-wrap { width: min(var(--bx-wrap), 100% - 40px); margin-inline: auto; }
.bx-muted { color: var(--text-muted); font-weight: 400; }
.bx-soft { color: var(--text-soft); margin: 18px 0 0; font-size: 17px; line-height: 1.6; letter-spacing: -0.02em; }
.bx-soft a { color: #fff; border-bottom: 1px solid var(--bx-line-2); }
.bx-sec { position: relative; padding-bottom: clamp(90px, 12vh, 150px); }
.bx-block { width: 100%; }

/* Palabra gigante (Velto): sube desde una máscara y vuelve a bajar. */
.bx-word { width: min(var(--bx-wrap), 100% - 40px); margin: 0 auto; padding-top: clamp(90px, 14vh, 160px); overflow: hidden; }
.bx-word--center { text-align: center; }
.bx-word__text { margin: 0; padding-bottom: 0.1em; font-size: clamp(40px, 13vw, 210px); font-weight: 700; line-height: 0.84; letter-spacing: -0.06em; }
.bx-word__text span { display: inline-block; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.28) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; }
.bx-lead { max-width: 640px; margin: 30px 0 56px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; letter-spacing: -0.03em; color: var(--text-muted); }
.bx-lead b { color: #fff; font-weight: 600; }
.bx-lead--center { margin-inline: auto; text-align: center; }
.bx-title { margin: 0; font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; }

/* Integraciones */
.bx-marquee { position: relative; z-index: 1; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--bx-line); background: #000; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.bx-marquee__track { display: flex; width: max-content; animation: bx-marq 40s linear infinite; }
.bx-marquee:hover .bx-marquee__track { animation-play-state: paused; }
.bx-marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.bx-marquee li { display: flex; align-items: center; gap: 44px; padding-right: 44px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.03em; color: #bdbdbd; white-space: nowrap; }
.bx-marquee li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
@keyframes bx-marq { to { transform: translateX(-50%); } }

.bx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Mock de chat */
.bx-chat, .bx-orders { width: min(380px, 100%); padding: 18px; border-radius: 24px; background: rgba(0, 0, 0, 0.72); border: 1px solid var(--bx-line-2); box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--tone) 50%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 10px; }
.bx-chat { min-height: 440px; }
.bx-chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--bx-line); }
.bx-chat__head b { display: block; font-size: 14px; }
.bx-chat__head small { color: #5ee0a0; font-size: 12px; }
.bx-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #cfe0ff, var(--primary)); color: #000; font-size: 13px; font-weight: 700; }
.bx-msg, .bx-typing, .bx-ok { opacity: 0; transform: translateY(10px) scale(0.98); }
.is-live .bx-msg, .is-live .bx-ok { animation: bx-pop 0.5s var(--bx-ease) forwards; animation-delay: var(--d); }
.is-live .bx-typing { animation: bx-pop 0.4s var(--bx-ease) var(--d) forwards, bx-gone 0.3s 1.85s forwards; }
@keyframes bx-pop { to { opacity: 1; transform: none; } }
@keyframes bx-gone { to { opacity: 0; height: 0; padding: 0; margin: -5px 0; } }
.bx-msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; letter-spacing: -0.01em; }
.bx-msg.in { align-self: flex-start; background: #17171c; border-bottom-left-radius: 6px; }
.bx-msg.out { align-self: flex-end; background: linear-gradient(135deg, #4189fd, #2f6ee0); border-bottom-right-radius: 6px; }
.bx-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: #17171c; }
.bx-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8a8a8a; animation: bx-blink 1s infinite; }
.bx-typing i:nth-child(2) { animation-delay: 0.15s; }
.bx-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bx-blink { 50% { opacity: 0.3; transform: translateY(-2px); } }
.bx-audio { display: flex; align-items: center; gap: 10px; }
.bx-play { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.bx-play::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 8px solid #2f6ee0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.bx-wave { display: flex; align-items: center; gap: 2.5px; height: 22px; }
.bx-wave i { width: 3px; height: 30%; border-radius: 2px; background: rgba(255, 255, 255, 0.85); animation: bx-wv 1.1s ease-in-out infinite; }
.bx-wave i:nth-child(3n) { animation-delay: 0.2s; }
.bx-wave i:nth-child(3n + 1) { animation-delay: 0.45s; }
.bx-wave i:nth-child(4n) { height: 70%; }
@keyframes bx-wv { 50% { height: 95%; } }
.bx-audio small { font-size: 11px; opacity: 0.8; }
.bx-file { display: flex; align-items: center; gap: 10px; }
.bx-file__ic { position: relative; width: 34px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, #26262e, #1a1a20); box-shadow: inset 0 0 0 1px var(--bx-line-2); }
.bx-file__ic::after { content: ""; position: absolute; inset: auto 7px 9px 7px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #5ee0a0, var(--primary-soft)); opacity: 0.7; }
.bx-ok { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(94, 224, 160, 0.1); border: 1px solid rgba(94, 224, 160, 0.38); color: #a6f0cb; font-size: 13px; font-weight: 600; }
.bx-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Mock de pedidos */
.bx-orders { gap: 16px; }
.bx-orders__head { display: flex; justify-content: space-between; align-items: baseline; }
.bx-orders__head small { color: var(--text-muted); font-size: 12px; }
.bx-pipe { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding-bottom: 12px; font-size: 11.5px; color: #6f6f6f; text-align: center; }
.bx-pipe::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: #1a1a20; }
.bx-pipe__bar { position: absolute; z-index: 1; left: 0; bottom: 0; width: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #ff7a3d, #ffc24b); box-shadow: 0 0 14px #ff7a3d; }
.is-live .bx-pipe__bar { animation: bx-pipe 5.5s var(--bx-ease) 0.4s forwards; }
@keyframes bx-pipe { 22% { width: 25%; } 45% { width: 50%; } 70% { width: 75%; } 100% { width: 100%; } }
.bx-order { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #121217; border: 1px solid var(--bx-line); }
.bx-order__thumb { flex: none; width: 44px; height: 44px; border-radius: 12px; background: radial-gradient(circle at 30% 30%, #ffd29a, #ff7a3d 55%, #b34714); }
.bx-order__info { flex: 1; min-width: 0; }
.bx-order__info b { display: block; font-size: 14px; }
.bx-order__info small { color: var(--text-muted); font-size: 12px; }
.bx-order__state { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(255, 122, 61, 0.12); color: #ffb68f; border: 1px solid rgba(255, 122, 61, 0.35); }
.bx-order__state::after { content: "Nuevo"; }
.is-live .bx-order__state::after { animation: bx-estados 5.5s steps(1) 0.4s forwards; }
@keyframes bx-estados { 0% { content: "Nuevo"; } 22% { content: "Confirmado"; } 45% { content: "En ruta"; } 70%, 100% { content: "Entregado"; } }
.bx-landing { overflow: hidden; border-radius: 16px; background: #f6f1ea; color: #1a1410; }
.bx-landing__bar { display: flex; gap: 5px; padding: 8px 10px; background: #ece4d9; }
.bx-landing__bar i { width: 7px; height: 7px; border-radius: 50%; background: #cfc2b2; }
.bx-landing__hero { height: 86px; margin: 10px; border-radius: 10px; background: radial-gradient(circle at 70% 50%, #ffb36b, transparent 45%), linear-gradient(120deg, #ffe2c4, #ffc797); }
.bx-landing__lines { display: grid; gap: 6px; padding: 0 10px; }
.bx-landing__lines i { height: 7px; border-radius: 4px; background: #e2d6c7; }
.bx-landing__lines i:last-child { width: 60%; }
.bx-landing__btn { margin: 12px 10px; padding: 10px; border-radius: 10px; background: #1a1410; color: #fff; text-align: center; font-size: 12px; font-weight: 700; }

.bx-lab { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bx-lab__item { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 20px; border: 1px dashed var(--bx-line-2); background: rgba(255, 255, 255, 0.02); }
.bx-lab__item b { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.bx-lab__item small { color: var(--text-muted); }
.bx-lab__item span { align-self: flex-start; margin-top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--primary-soft); background: rgba(65, 137, 253, 0.1); border: 1px solid rgba(65, 137, 253, 0.3); }

/* Pasos */
.bx-steps { overflow: hidden; }
.bx-steps__track { display: flex; gap: 22px; width: max-content; padding-inline: max(20px, calc((100vw - var(--bx-wrap)) / 2)); }
.bx-step { display: flex; flex-direction: column; width: min(420px, 78vw); min-height: 320px; padding: 34px; border-radius: 30px; background: linear-gradient(180deg, var(--bx-card-2), var(--bx-card)); --tone: #4189fd; }
.bx-step:nth-child(2) { --tone: #8db8ff; }
.bx-step:nth-child(3) { --tone: #5ee0a0; }
.bx-step:nth-child(4) { --tone: #ff7a3d; }
.bx-step__n { margin-bottom: auto; font-size: 88px; font-weight: 700; line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.4px color-mix(in srgb, var(--tone) 75%, transparent); }
.bx-step h3 { margin: 28px 0 8px; font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.bx-step p { margin: 0; color: var(--text-soft); letter-spacing: -0.02em; }

/* Bento */
.bx-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.bx-card { display: flex; flex-direction: column; min-height: 220px; padding: 30px; border-radius: 24px; background: linear-gradient(180deg, var(--bx-card-2), var(--bx-card)); --tone: #4189fd; }
.bx-card:nth-child(2) { --tone: #ff7a3d; }
.bx-card:nth-child(3) { --tone: #8db8ff; }
.bx-card:nth-child(4) { --tone: #5ee0a0; }
.bx-card:nth-child(5) { --tone: #ffc24b; }
.bx-card:nth-child(6) { --tone: #8db8ff; }
.bx-card--wide { grid-column: span 2; }
.bx-card__ic { width: 44px; height: 44px; margin-bottom: auto; padding: 10px; border-radius: 14px; fill: none; stroke: color-mix(in srgb, var(--tone) 80%, #fff); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: color-mix(in srgb, var(--tone) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 32%, transparent); }
.bx-card h3 { margin: 26px 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.035em; }
.bx-card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* Precios */
.bx-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.bx-plan { display: flex; flex-direction: column; padding: 38px; border-radius: 30px; background: linear-gradient(180deg, var(--bx-card-2), var(--bx-card)); --tone: #8db8ff; }
.bx-plan .btn { margin-top: auto; }
.bx-plan--hot { --tone: #4189fd; }
.bx-plan__flag { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 0 20px rgba(65, 137, 253, 0.5); }
.bx-plan__name { margin: 0; color: var(--text-muted); font-weight: 500; }
.bx-price { margin: 10px 0 0; font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -0.06em; }
.bx-price__cur { margin-right: 4px; font-size: 26px; letter-spacing: 0; vertical-align: 28px; color: var(--text-muted); }
.bx-price small { margin-left: 8px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-muted); }
.bx-included { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; max-width: 920px; margin: 22px auto 0; padding: 24px 28px; border-radius: 22px; border: 1px solid var(--bx-line); background: rgba(255, 255, 255, 0.02); }
.bx-included p { margin: 0; font-weight: 600; }
.bx-included ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bx-included li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--bx-line); background: rgba(255, 255, 255, 0.04); font-size: 13px; }
.bx-addon { max-width: 920px; margin: 18px auto 0; text-align: center; color: var(--text-muted); font-size: 15px; }
.bx-addon b { color: #fff; }

/* Preguntas */
.bx-faq { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; padding-top: clamp(90px, 14vh, 160px); }
.bx-faq__head { position: sticky; top: 110px; }
.bx-faq__list { display: grid; gap: 12px; }
.bx-faq details { border-radius: 18px; border: 1px solid var(--bx-line); background: linear-gradient(180deg, var(--bx-card-2), var(--bx-card)); transition: border-color 0.3s; }
.bx-faq details[open] { border-color: var(--bx-line-2); }
.bx-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -0.025em; }
.bx-faq summary::-webkit-details-marker { display: none; }
.bx-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.35s var(--bx-ease); }
.bx-faq details[open] summary::after { transform: rotate(45deg); }
.bx-faq details p { margin: 0; padding: 0 24px 22px; color: var(--text-soft); line-height: 1.6; }

/* Cierre */
.bx-cta { position: relative; overflow: hidden; padding: clamp(140px, 22vh, 220px) 0; text-align: center; border-top: 1px solid var(--bx-line); }
.bx-cta__bg { position: absolute; inset: 0; z-index: 0; }
.bx-cta__bg canvas { display: block; width: 100%; height: 100%; }
.bx-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(50% 60% at 50% 50%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)); pointer-events: none; }
.bx-cta__inner { position: relative; z-index: 2; }
.bx-cta__title { margin: 0; font-size: clamp(46px, 8vw, 120px); font-weight: 700; line-height: 0.95; letter-spacing: -0.06em; }
.bx-cta__actions { justify-content: center; margin-top: 36px; }

/* Pie */
.bx-footer { position: relative; z-index: 1; padding: 64px 0 28px; border-top: 1px solid var(--bx-line); background: #000; }
.bx-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.bx-footer__brand p { max-width: 300px; margin: 14px 0 0; color: var(--text-muted); font-size: 14px; }
.bx-footer__cols { display: flex; flex-wrap: wrap; gap: 64px; }
.bx-footer__cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.bx-footer__cols b { margin-bottom: 4px; color: #6f6f6f; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.bx-footer__cols a { color: #cfcfcf; }
.bx-footer__cols a:hover { color: #fff; }
.bx-footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bx-line); color: #6f6f6f; font-size: 13px; }

@media (max-width: 1024px) {
  .bx-bento { grid-template-columns: 1fr 1fr; }
  .bx-faq { grid-template-columns: 1fr; gap: 32px; }
  .bx-faq__head { position: static; }
}
@media (max-width: 720px) {
  .bx-ticks, .bx-bento, .bx-plans, .bx-lab { grid-template-columns: 1fr; }
  .bx-card--wide { grid-column: auto; }
  .bx-steps__track { flex-direction: column; width: auto; padding-inline: 20px; }
  .bx-step { width: 100%; min-height: auto; }
  .bx-step__n { font-size: 64px; }
  .bx-plan { padding: 28px; }
  .bx-price { font-size: 62px; }
  .bx-cta__actions { flex-direction: column; align-items: stretch; }
  .bx-footer__cols { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .bx-marquee__track, .bx-wave i, .bx-typing i { animation: none; }
  .bx-msg, .bx-ok { opacity: 1; transform: none; animation: none !important; }
  .bx-typing { display: none; }
  .bx-pipe__bar { width: 100%; animation: none !important; }
}

/* ---------- Componentes originales de HorizonX aplicados ---------- */

/* Halo Button: acción principal de conversión. */
.hlb-btn { font-family: var(--font); text-decoration: none; }
.hlb-btn.bx-block { width: 100%; }

/* Border Glow: una lámpara recorre el borde hacia el cursor. */
.bx-bgl {
  --bgl-x: 0px; --bgl-y: 0px; --bgl-lit: 0;
  --bgl-radius: 24px; --bgl-halo: 20px; --bgl-spread: 130px; --bgl-brightness: 1; --bgl-wash: 0.12; --bgl-rim: 1px; --bgl-ink: #fff;
  --bgl-wheel: conic-gradient(from -90deg at 50% 50%, #4189fd, #8db8ff, #5ee0a0, #4189fd);
  position: relative; overflow: visible; border: 1px solid rgba(255, 255, 255, 0.1); outline: none;
}
.bx-bgl > :not(.bgl-lamp) { position: relative; z-index: 1; }
.bx-step.bx-bgl, .bx-plan.bx-bgl { --bgl-radius: 30px; }
.bx-step:nth-child(4).bx-bgl, .bx-card:nth-child(2).bx-bgl { --bgl-wheel: conic-gradient(from -90deg at 50% 50%, #ff7a3d, #ffc24b, #8db8ff, #ff7a3d); }

/* Neon Glass Card: el plan recomendado brilla y su borde gira. */
.bx-plan--hot.ngc-card {
  --ngc-w: 440px; --ngc-u: calc(var(--ngc-w) / 20); --ngc-radius: 30px; --ngc-frost: 17px; --ngc-tint: 7%; --ngc-lift: 6px;
  --ngc-glow: 0.72; --ngc-spread: 0.58; --ngc-sweep-opacity: 1; --ngc-sweep-play: running; --ngc-sweep-duration: 4600ms;
  --ngc-neon: #4189fd; --ngc-neon-alt: #8db8ff; --ngc-ink: #ffffff; --ngc-surface: #0b0f1a; --ngc-duration: 400ms;
  --ngc-hairline: color-mix(in srgb, var(--ngc-ink) 18%, transparent);
  --ngc-glass: color-mix(in srgb, var(--ngc-ink) var(--ngc-tint), transparent);
  width: auto; height: auto; background: #05070d; overflow: hidden;
}
.bx-plan--hot > :not(.ngc-bloom):not(.ngc-pane):not(.ngc-ring):not(.bx-plan__flag) { position: relative; z-index: 3; }
.bx-plan--hot .bx-plan__flag { position: absolute; z-index: 4; }

/* Herramientas en pestañas (FeatureTabs de Velto). */
.bx-tabs { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: 36px; border: 1px solid var(--bx-line); background: radial-gradient(90% 90% at 60% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 60%), linear-gradient(180deg, var(--bx-card-2), var(--bx-card)); transition: background 0.5s; }
.bx-tabs__list { display: flex; flex-direction: column; gap: 6px; }
.bx-tabs__tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 18px; background: none; color: var(--text-muted); font: inherit; text-align: left; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.bx-tabs__tab b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.bx-tabs__tab small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); }
.bx-tabs__tab:hover { color: #fff; }
.bx-tabs__tab[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: var(--bx-line-2); }
.bx-tabs__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.bx-tabs__tab[aria-selected="true"] .bx-tabs__dot { background: var(--tab-tone, #4189fd); box-shadow: 0 0 12px var(--tab-tone, #4189fd); }
.bx-tabs__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 40px); align-items: center; animation: bx-panel 0.5s var(--bx-ease); }
.bx-tabs__panel[hidden] { display: none; }
@keyframes bx-panel { from { opacity: 0; transform: translateY(12px); } }
.bx-tabs__visual { display: flex; justify-content: center; }
.bx-tabs__copy h3 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.04; letter-spacing: -0.045em; }
.bx-tabs__copy > p { margin: 16px 0 0; color: var(--text-soft); line-height: 1.6; letter-spacing: -0.02em; }
.bx-tabs .bx-lab { width: 100%; }
@media (prefers-reduced-motion: reduce) { .bx-tabs__panel { animation: none; } }
.bx-plan .hlb-btn { margin-top: auto; }

/* ---------- Ajustes de pantalla: van al final para prevalecer sobre las reglas base ---------- */
.bx-login-corto { display: none; }
@media (max-width: 1024px) {
  .bx-tabs, .bx-tabs__panel { grid-template-columns: 1fr; }
  .bx-tabs__copy { order: -1; }
}
@media (max-width: 900px) {
  /* Banda oscura bajo la barra para que no se mezcle con el contenido al reaparecer. */
  .nav::before { content: ""; position: absolute; inset: -16px 0 -18px; z-index: -1; background: linear-gradient(180deg, #000 55%, transparent); pointer-events: none; }
}
@media (max-width: 720px) {
  .bx-tabs { padding: 14px; border-radius: 26px; gap: 18px; }
  .bx-tabs__list { flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .bx-tabs__list::-webkit-scrollbar { display: none; }
  .bx-tabs__tab { flex: 1 0 auto; width: auto; justify-content: center; padding: 10px 12px; }
  .bx-tabs__tab b { font-size: 15px; }
  .bx-tabs__tab small { display: none; }
  .bx-tabs__panel { gap: 22px; }
  .bx-tabs__copy { padding: 4px 6px 0; }
  .bx-tabs__copy h3 { font-size: 30px; }
  .bx-chat { min-height: 0; }
  .bx-actions .btn { flex: 1 1 auto; }
  .bx-plan__flag { top: 18px; right: 18px; }
  .bx-plan { padding: 26px 22px; }
  .hero__actions .hlb-btn { --h: 46px !important; }
}
@media (max-width: 480px) {
  .nav__logo { font-size: 20px; gap: 7px; }
  .nav__logo .sorvine-mark { width: 24px; height: 24px; }
  .bx-login-largo { display: none; }
  .bx-login-corto { display: inline; }
}
