/* ==========================================================================
   BQ360 - Estilos
   Identidad BrandQuity: rojo de marca, negro, blanco. Display en Arial Black.
   ========================================================================== */

:root {
  --bq-red: #FF0000;        /* rojo del logo: bloques, acentos grandes */
  --bq-red-ink: #D10000;    /* rojo para texto y botones (contraste AA sobre blanco) */
  --bq-red-deep: #A30000;
  --bq-black: #000000;
  --bq-white: #FFFFFF;
  --bq-paper: #F3F3F3;
  --bq-gray: #555555;
  --bq-line: #DADADA;
  --bq-wa: #1FA855;

  --font-display: "Arial Black", "Archivo Black", "Arial Bold", Gadget, sans-serif;
  --font-body: "Archivo", Arial, Helvetica, sans-serif;

  --header-h: 76px;
  --radius-sm: 4px;
  --radius-md: 10px;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--bq-black);
  --bs-link-color: var(--bq-red-ink);
  --bs-link-hover-color: var(--bq-black);
  --bs-link-color-rgb: 209, 0, 0;
  --bs-link-hover-color-rgb: 0, 0, 0;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--bq-black); background: var(--bq-white); }

:focus-visible { outline: 3px solid var(--bq-red); outline-offset: 2px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--bq-black); color: var(--bq-white); padding: .5rem 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- Tipografía ---------------------------------------------------------- */
.section-title, .hero-title, .plan-name, .plan-price .amount, .sub-title, .footer-title, .bq-wordmark, .hero-stamp {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; margin-bottom: 1rem; }
.section-lead { font-size: 1.15rem; color: var(--bq-gray); max-width: 62ch; }
.section-head { margin-bottom: 3rem; max-width: 760px; }

/* --- Botones ------------------------------------------------------------- */
.btn { font-weight: 700; border-radius: var(--radius-sm); padding: .7rem 1.25rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-bq { background: var(--bq-red-ink); color: var(--bq-white); border: 2px solid var(--bq-red-ink); }
.btn-bq:hover, .btn-bq:focus-visible { background: var(--bq-black); border-color: var(--bq-black); color: var(--bq-white); }
.btn-outline-bq { background: transparent; color: var(--bq-black); border: 2px solid var(--bq-black); }
.btn-outline-bq:hover, .btn-outline-bq:focus-visible { background: var(--bq-black); color: var(--bq-white); }
.btn-light-bq { background: var(--bq-white); color: var(--bq-black); border: 2px solid var(--bq-white); }
.btn-light-bq:hover, .btn-light-bq:focus-visible { background: var(--bq-black); border-color: var(--bq-black); color: var(--bq-white); }
.btn-wa { background: var(--bq-wa); color: var(--bq-white); border: 2px solid var(--bq-wa); }
.btn-wa:hover, .btn-wa:focus-visible { background: var(--bq-black); border-color: var(--bq-black); color: var(--bq-white); }

/* --- Header -------------------------------------------------------------- */
.site-header { background: var(--bq-white); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--bq-line); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.brand-logo { height: 46px; width: auto; }
.navbar-toggler { border: 2px solid var(--bq-black); border-radius: var(--radius-sm); padding: .4rem .7rem; color: var(--bq-black); }
.navbar-toggler:focus { box-shadow: none; }
.site-header .nav-link { color: var(--bq-black); font-weight: 600; padding: .5rem .8rem !important; position: relative; }
.site-header .nav-link:hover { color: var(--bq-red-ink); }
.site-header .nav-link.active { color: var(--bq-red-ink); }
.site-header .nav-link.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 3px; background: var(--bq-red); }
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 1.25rem; border-top: 1px solid var(--bq-line); margin-top: .5rem; }
  .site-header .nav-link.active::after { display: none; }
  .site-header .btn-bq { margin-top: .5rem; width: 100%; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero { padding-top: calc(var(--header-h) + 1.5rem); background: var(--bq-white); overflow: hidden; }
.hero-h1 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--bq-gray); margin: 0 0 1rem; padding-left: .9rem; border-left: 4px solid var(--bq-red); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; min-height: min(68vh, 600px); padding-bottom: 1rem; }
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; margin: 0 0 1.5rem; max-width: 14ch; }
.hero-answer { font-size: 1.2rem; color: var(--bq-gray); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: end; background: var(--bq-red); border-radius: 50%; display: grid; place-items: center; }
.hero-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 2.5rem; }
.hero .carousel-indicators [data-bs-target] { width: 44px; height: 6px; background: var(--bq-black); opacity: .2; border: 0; margin: 0 6px 0 0; }
.hero .carousel-indicators .active { opacity: 1; background: var(--bq-red); }
.hero-arrows { display: flex; gap: .5rem; }
.hero-arrow { width: 46px; height: 46px; border: 2px solid var(--bq-black); background: var(--bq-white); border-radius: 50%; display: grid; place-items: center; }
.hero-arrow:hover { background: var(--bq-black); color: var(--bq-white); }

/* Banner 1: puestos que se cobran */
.seats { display: grid; grid-template-columns: repeat(4, 52px); gap: 12px; }
.seat { width: 52px; height: 52px; border-radius: 50%; background: var(--bq-white); color: var(--bq-black); display: grid; place-items: center; font-size: 1.2rem; }
.seat-paid { background: var(--bq-black); color: var(--bq-white); }
.carousel-item.active .seat-paid { animation: seatIn .4s both; animation-delay: calc(var(--i) * 90ms); }
@keyframes seatIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.seat-bill { position: absolute; left: -8%; bottom: 10%; background: var(--bq-white); padding: .75rem 1rem; display: grid; grid-template-columns: auto auto; gap: .1rem 1rem; font-size: .85rem; box-shadow: 0 10px 30px rgba(0,0,0,.18); border-radius: var(--radius-sm); }
.seat-bill strong { color: var(--bq-red-ink); }
.hero-stamp { position: absolute; right: -2%; top: 8%; width: 118px; height: 118px; border-radius: 50%; background: var(--bq-black); color: var(--bq-white); display: grid; place-items: center; text-align: center; line-height: 1; font-size: 1.35rem; transform: rotate(-12deg); }
.hero-stamp small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; }

/* Banner 2: ficha cuadrada en hueco redondo */
.fit { position: relative; width: 78%; height: 78%; }
.fit-hole { position: absolute; inset: 22% 22%; border-radius: 50%; background: var(--bq-black); }
.fit-peg { position: absolute; width: 40%; height: 40%; }
.fit-peg-wrong { left: -6%; top: -4%; background: var(--bq-white); transform: rotate(-14deg); border-radius: 6px; }
.fit-peg-right { left: 30%; top: 30%; border-radius: 50%; background: var(--bq-white); border: 6px dashed var(--bq-red); }
.carousel-item.active .fit-peg-right { animation: drop .8s .3s both cubic-bezier(.2,.9,.3,1.2); }
@keyframes drop { from { transform: translateY(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
.fit-label { position: absolute; font-weight: 700; font-size: .85rem; background: var(--bq-white); padding: .25rem .6rem; border-radius: var(--radius-sm); }
.fit-label-wrong { left: -6%; top: 40%; text-decoration: line-through; color: var(--bq-gray); }
.fit-label-right { right: -4%; bottom: 6%; background: var(--bq-black); color: var(--bq-white); }

/* Banner 3: línea de tiempo */
.timeline-viz { width: 82%; background: var(--bq-white); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.tl-row { display: grid; grid-template-columns: 1fr; gap: .35rem; margin-bottom: 1.1rem; }
.tl-name { font-weight: 700; font-size: .9rem; }
.tl-bar { height: 14px; background: var(--bq-paper); border-radius: 7px; overflow: hidden; }
.tl-fill { display: block; height: 100%; border-radius: 7px; }
.tl-fill-slow { width: 23%; background: var(--bq-gray); }
.tl-fill-fast { width: 100%; background: var(--bq-red); }
.carousel-item.active .tl-fill-fast { animation: fill 1.4s .2s both ease-out; }
@keyframes fill { from { width: 0; } }
.tl-val { font-size: .8rem; color: var(--bq-gray); }
.tl-row-bq .tl-val { color: var(--bq-red-ink); font-weight: 700; }
.tl-weeks { display: grid; grid-template-columns: repeat(6, 1fr); font-size: .7rem; color: var(--bq-gray); text-align: center; border-top: 1px solid var(--bq-line); padding-top: .4rem; }

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; min-height: 0; }
  .hero-visual { justify-self: center; max-width: 330px; }
  .seats { grid-template-columns: repeat(4, 40px); gap: 9px; }
  .seat { width: 40px; height: 40px; font-size: .95rem; }
  .hero-stamp { width: 92px; height: 92px; font-size: 1.05rem; }
  .seat-bill { left: 0; bottom: 4%; }
  .fit-label-wrong { left: 0; }
}

/* --- Secciones ----------------------------------------------------------- */
.section { padding: 6rem 0; }
.section-paper { background: var(--bq-paper); }
.section-dark { background: var(--bq-black); color: var(--bq-white); }
.section-dark .section-lead { color: #C9C9C9; }
.section-red { background: var(--bq-red); color: var(--bq-white); padding: 4.5rem 0; }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } }

/* Comparativo */
.compare-wrap { margin-bottom: 4rem; }
.compare { --bs-table-bg: transparent; --bs-table-color: var(--bq-white); margin: 0; width: 100%; table-layout: fixed; }
.compare th, .compare td { border-bottom: 1px solid #2E2E2E; padding: 1.1rem 1rem; vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 1.15rem; border-bottom: 2px solid var(--bq-white); }
.compare tbody th { font-weight: 600; color: #C9C9C9; width: 22%; }
.compare td { color: #BDBDBD; }
.compare .col-bq { color: var(--bq-white); font-weight: 600; }
.compare thead .col-bq { color: var(--bq-red); }
.compare td.col-bq i { color: var(--bq-red); margin-right: .35rem; }
/* En pantallas pequeñas la tabla se apila: sin barra de desplazamiento horizontal */
@media (max-width: 767.98px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 1rem 0; border-bottom: 1px solid #2E2E2E; }
  .compare th, .compare td { border: 0; padding: .25rem 0; }
  .compare tbody th { width: 100%; color: var(--bq-white); font-family: var(--font-display); margin-bottom: .35rem; }
  .compare td::before { content: attr(data-label) ": "; display: block; font-size: .8rem; color: #8F8F8F; font-weight: 600; }
  .compare td.col-bq::before { color: var(--bq-red); }
}

.sub-title { font-size: 1.5rem; margin-bottom: 1.75rem; }
.attr-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 2.5rem; }
.attr { display: flex; gap: 1rem; }
/* Beneficios: iconografía Font Awesome blanca, manteniendo diseño y diagramación. */
.attr .attr-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bq-red); color: #fff; font-size: 1.05rem; }
.attr .attr-icon .fa-solid { color: #fff !important; font-size: 18px; line-height: 1; display: inline-block; }
/* Los iconos se dibujan DENTRO del bullet rojo de cada beneficio. */
#beneficios .attr-grid .attr .attr-icon { display: inline-flex !important; align-items: center; justify-content: center; width: 46px; height: 46px; min-width: 46px; background-color: #BF2134 !important; border-radius: 50% !important; color: #fff !important; }
#beneficios .attr-grid .attr .attr-icon i.fa-solid { color: #fff !important; opacity: 1 !important; font-size: 18px !important; }
.attr h4 { font-size: 1.05rem; font-weight: 700; margin: .25rem 0 .3rem; }
.attr p { color: #BDBDBD; margin: 0; font-size: .98rem; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; border: 2px solid var(--bq-black); border-radius: var(--radius-md); padding: 2rem 1.5rem 1.5rem; display: flex; flex-direction: column; background: var(--bq-white); }
.plan-featured { border-color: var(--bq-red); box-shadow: 0 0 0 4px var(--bq-red) inset; }
.plan-high { background: var(--bq-black); color: var(--bq-white); }
.plan-flag { position: absolute; top: -14px; left: 1.5rem; background: var(--bq-red); color: var(--bq-white); font-weight: 700; font-size: .8rem; padding: .25rem .7rem; border-radius: var(--radius-sm); }
.plan-name { font-size: 1.35rem; margin-bottom: .6rem; }
.plan-ideal { color: var(--bq-gray); font-size: .95rem; min-height: 4.6em; }
.plan-high .plan-ideal { color: #C9C9C9; }
.plan-price { margin: auto 0 1.25rem; padding-top: 1rem; border-top: 1px solid var(--bq-line); }
.plan-high .plan-price { border-top-color: #333; }
.plan-price .amount { display: block; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.1; }
.plan-price .terms { display: block; font-size: .85rem; color: var(--bq-gray); margin-top: .35rem; }
.plan-high .plan-price .terms { color: #C9C9C9; }
@media (max-width: 1199.98px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; } }
@media (max-width: 575.98px) { .plans { grid-template-columns: 1fr; } .plan-ideal { min-height: 0; } }

.plans-include { margin-top: 3rem; padding: 2rem; background: var(--bq-paper); border-radius: var(--radius-md); }
.plans-include h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.plans-include ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .5rem 2rem; }
.plans-include li i { color: var(--bq-red-ink); margin-right: .4rem; }
.plans-note { font-size: .85rem; color: var(--bq-gray); margin: 0; max-width: 90ch; }

/* Tipos de negocio */
.biz-tabs { gap: .5rem; border: 0; margin-bottom: 1.25rem; }
.biz-tabs .nav-link { border: 2px solid var(--bq-black); color: var(--bq-black); background: var(--bq-white); border-radius: 999px; font-weight: 700; padding: .55rem 1.15rem; }
.biz-tabs .nav-link:hover { background: var(--bq-black); color: var(--bq-white); }
.biz-tabs .nav-link.active { background: var(--bq-red-ink); border-color: var(--bq-red-ink); color: var(--bq-white); }
.biz-panes { background: var(--bq-white); border-radius: var(--radius-md); padding: 2rem; }
.biz-title { font-size: 1.3rem; font-weight: 700; }
.biz-list { list-style: none; padding: 0; margin: 1.25rem 0 0; columns: 2; column-gap: 2rem; }
.biz-list li { break-inside: avoid; padding: .45rem 0 .45rem 1.4rem; position: relative; border-bottom: 1px solid var(--bq-line); }
.biz-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 9px; height: 9px; border-radius: 50%; background: var(--bq-red); }
@media (max-width: 575.98px) { .biz-list { columns: 1; } .biz-panes { padding: 1.5rem; } }

/* Diagnóstico */
.diag { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.diag-copy { max-width: 720px; }
.diag-copy p { font-size: 1.15rem; margin: 0; }
.section-red .section-title { color: var(--bq-white); }

/* Testimonios */
.quotes { columns: 3 320px; column-gap: 1.5rem; }
.quote { break-inside: avoid; margin: 0 0 1.5rem; padding: 1.75rem; border-left: 4px solid var(--bq-red); background: var(--bq-paper); }
.quote blockquote { margin: 0 0 1.25rem; }
.quote blockquote p { margin: 0; font-size: 1.02rem; }
.quote figcaption { display: flex; gap: .85rem; align-items: center; }
.quote .avatar { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--bq-black); color: var(--bq-white); font-family: var(--font-display); display: grid; place-items: center; font-size: .9rem; }
.quote strong { display: block; line-height: 1.25; }
.quote .who { font-size: .88rem; color: var(--bq-gray); }
.quote .who a { color: var(--bq-gray); text-decoration-color: var(--bq-red); }

/* Formulario */
.lead-form { background: var(--bq-white); padding: 2.25rem; border-radius: var(--radius-md); }
.lead-form .form-label { font-weight: 600; margin-bottom: .3rem; }
.lead-form .opt { color: var(--bq-gray); font-weight: 400; }
.lead-form .form-control, .lead-form .form-select { border: 2px solid var(--bq-line); border-radius: var(--radius-sm); padding: .7rem .85rem; }
.lead-form .form-control:focus, .lead-form .form-select:focus { border-color: var(--bq-black); box-shadow: none; }
.lead-form .form-check-input { width: 1.25em; height: 1.25em; border: 2px solid var(--bq-black); margin-top: .2em; }
.lead-form .form-check-input:checked { background-color: var(--bq-red-ink); border-color: var(--bq-red-ink); }
.consent .form-check-label { font-size: .92rem; color: var(--bq-gray); }
.lead-form textarea.form-control { resize: vertical; min-height: 150px; }
.char-count { color: var(--bq-gray); font-size: .85rem; padding-top: .25rem; }
.char-count.near { color: var(--bq-red-ink); font-weight: 700; }
.lead-form .form-select:disabled { background-color: var(--bq-paper); }
.lead-form textarea.is-invalid ~ div .d-block-on-invalid { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.ok { background: #E8F7EE; color: #0F5132; border-left: 4px solid var(--bq-wa); }
.form-status.err { background: #FDECEC; color: var(--bq-red-deep); border-left: 4px solid var(--bq-red); }
@media (max-width: 575.98px) { .lead-form { padding: 1.5rem; } }

.contact-direct { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-direct li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; font-weight: 600; }
.contact-direct i { width: 38px; height: 38px; border-radius: 50%; background: var(--bq-black); color: var(--bq-white); display: grid; place-items: center; }
.contact-direct a { color: var(--bq-black); text-decoration: none; }
.contact-direct a:hover { color: var(--bq-red-ink); }

/* Legal */
.legal { padding-top: calc(var(--header-h) + 3rem); }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin-top: 2rem; }
.legal p { max-width: 78ch; }
.breadcrumb a { color: var(--bq-gray); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--bq-paper); padding: 4.5rem 0 1.5rem; border-top: 6px solid var(--bq-red); }
.footer-brands { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.footer-logo { height: 54px; width: auto; }
.footer-by { color: var(--bq-gray); font-size: .9rem; }
.bq-wordmark { font-family: "Arial Black", "Archivo Black", Gadget, sans-serif; font-size: 1.9rem; color: var(--bq-black); text-decoration: none; letter-spacing: -0.02em; line-height: 1; }
.bq-wordmark .r { color: var(--bq-red); }
.bq-wordmark:hover { color: var(--bq-black); opacity: .85; }
.footer-claim { color: var(--bq-gray); max-width: 42ch; }
.footer-title { font-size: 1.05rem; margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { display: flex; gap: .7rem; padding: .35rem 0; }
.footer-list i { color: var(--bq-red-ink); width: 18px; margin-top: .3rem; }
.footer-list a { color: var(--bq-black); text-decoration: none; }
.footer-list a:hover { color: var(--bq-red-ink); text-decoration: underline; }
.footer-nav li { padding: .25rem 0; }
.footer-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--bq-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--bq-gray); }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 1030; width: 58px; height: 58px; border-radius: 50%; background: var(--bq-wa); color: var(--bq-white); display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none; }
.wa-float:hover { background: var(--bq-black); color: var(--bq-white); }

/* Gutter horizontal seguro en móvil: evita desplazamiento lateral de la página */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* ==========================================================================
   Banners 4 a 8 (v1.3)
   ========================================================================== */
.hero-title-sm { font-size: clamp(2rem, 3.9vw, 3.35rem); max-width: 18ch; line-height: 1.06; }
.hero .carousel-indicators { flex-wrap: nowrap; }
.hero .carousel-indicators [data-bs-target] { width: 30px; }

/* Banner 4: acetaminofén */
.rx { position: relative; width: 82%; display: grid; gap: 14px; justify-items: center; }
.rx-pains { display: grid; gap: 6px; width: 100%; }
.rx-pains span { background: var(--bq-white); border-radius: 999px; padding: .35rem .85rem; font-size: .82rem; box-shadow: 0 6px 16px rgba(0,0,0,.14); text-decoration: line-through; text-decoration-color: var(--bq-red); text-decoration-thickness: 2px; }
.rx-pains b { display: inline-block; min-width: 4.4rem; color: var(--bq-red-ink); text-decoration: none; }
.carousel-item.active .rx-pains span { animation: seatIn .35s both; animation-delay: calc(var(--i) * 140ms); }
.rx-blister { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: #E9E9E9; border: 3px solid var(--bq-white); border-radius: 14px; padding: 14px 12px; box-shadow: inset 0 0 0 1px #CFCFCF, 0 12px 26px rgba(0,0,0,.22); }
.rx-pill { position: relative; width: 50px; height: 88px; border-radius: 26px; background: var(--bq-white); overflow: hidden; display: grid; place-items: end center; box-shadow: inset -4px -4px 8px rgba(0,0,0,.08); }
.rx-half { position: absolute; inset: 0 0 50% 0; background: var(--bq-red); }
.rx-pill small { position: relative; font-size: .55rem; font-weight: 700; padding-bottom: 10px; letter-spacing: .02em; }
.carousel-item.active .rx-pill { animation: drop .6s both cubic-bezier(.2,.9,.3,1.2); animation-delay: calc(.35s + var(--i) * 120ms); }
.rx-label { background: var(--bq-black); color: var(--bq-white); padding: .55rem 1rem; border-radius: var(--radius-sm); text-align: center; line-height: 1.15; }
.rx-label strong { font-family: var(--font-display); display: block; font-size: 1.15rem; }
.rx-label span { font-size: .75rem; color: #CFCFCF; }

/* Banner 5: multicolor */
.palette { width: 82%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.pal-orange { background: #F47A20; border-radius: var(--radius-md); padding: 14px 12px; display: grid; gap: 7px; align-content: start; position: relative; filter: grayscale(.25); transform: rotate(-3deg); }
.pal-tag { background: rgba(255,255,255,.92); color: #6B3200; font-size: .72rem; font-weight: 700; padding: .3rem .5rem; border-radius: 4px; display: flex; justify-content: space-between; gap: .3rem; }
.pal-price { margin-top: 6px; color: var(--bq-white); font-weight: 800; font-size: .95rem; text-align: center; border-top: 2px dashed rgba(255,255,255,.7); padding-top: 6px; }
.pal-orange::after { content: ""; position: absolute; inset: -6px; border-radius: 14px; background: linear-gradient(to top right, transparent calc(50% - 3px), var(--bq-black) calc(50% - 3px), var(--bq-black) calc(50% + 3px), transparent calc(50% + 3px)); }
.pal-multi { background: var(--bq-white); border-radius: var(--radius-md); padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-content: start; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.pal-multi span { aspect-ratio: 1 / 1; border-radius: 50%; background: var(--c); }
.carousel-item.active .pal-multi span { animation: seatIn .4s both; animation-delay: calc(var(--i) * 90ms); }
.pal-multi strong { grid-column: 1 / -1; text-align: center; font-family: var(--font-display); font-size: 1.1rem; }

/* Banner 6: embudos */
.funnels { width: 84%; display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; align-items: end; }
.fn { display: grid; gap: 5px; justify-items: center; }
.fn em { font-style: normal; font-size: .72rem; font-weight: 700; margin-top: 6px; text-align: center; }
.fn-std span { height: 22px; background: rgba(255,255,255,.55); border-radius: 3px; }
.fn-std em { color: var(--bq-white); text-decoration: line-through; opacity: .85; }
.fn-own { background: var(--bq-white); padding: 12px 10px; border-radius: var(--radius-md); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.fn-own span { width: var(--w); background: var(--bq-black); color: var(--bq-white); font-size: .66rem; font-weight: 700; text-align: center; padding: .28rem .2rem; border-radius: 3px; white-space: nowrap; overflow: hidden; }
.fn-own span:nth-child(odd) { background: var(--bq-red-ink); }
.carousel-item.active .fn-own span { animation: fill .6s both ease-out; animation-delay: calc(var(--i) * 110ms); }
.fn-own em { color: var(--bq-black); }

/* Banner 7: ecuación */
.eq { width: 84%; display: grid; gap: 12px; }
.eq-formula { background: var(--bq-white); border-radius: var(--radius-md); padding: 16px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.eq-term { font-family: var(--font-display); font-size: 1.05rem; padding: .2rem .5rem; border: 2px solid var(--bq-black); border-radius: 4px; }
.eq-main { background: var(--bq-black); color: var(--bq-white); width: 100%; text-align: center; font-size: 1.3rem; }
.eq-op { font-family: var(--font-display); font-size: 1.5rem; color: var(--bq-red-ink); }
.carousel-item.active .eq-term { animation: seatIn .4s both; }
.carousel-item.active .eq-term:nth-of-type(3) { animation-delay: .15s; }
.carousel-item.active .eq-term:nth-of-type(5) { animation-delay: .3s; }
.eq-code { margin: 0; background: var(--bq-black); color: #EDEDED; border-radius: var(--radius-md); padding: 12px 14px; font-size: .74rem; line-height: 1.55; white-space: pre; overflow: hidden; }
.eq-code .k { color: #FF6B6B; font-weight: 700; }
.eq-code .s { color: #7BE3A1; }

/* Banner 8: tres Doritos después */
.chips { width: 82%; display: grid; gap: 12px; justify-items: center; }
.chips-row { display: flex; gap: 10px; }
.chip { width: 66px; height: 60px; background: #F2A33A; clip-path: polygon(50% 0, 100% 100%, 0 100%); display: grid; place-items: end center; padding-bottom: 8px; position: relative; }
.chip::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 35% 70%, rgba(180,60,0,.35) 2px, transparent 3px) 0 0 / 12px 12px; clip-path: inherit; }
.chip b { position: relative; z-index: 1; font-family: var(--font-display); color: var(--bq-black); font-size: 1rem; }
.carousel-item.active .chip { animation: drop .5s both cubic-bezier(.2,.9,.3,1.2); animation-delay: calc(var(--i) * 220ms); }
.chips-steps { list-style: none; margin: 0; padding: 12px 14px; background: var(--bq-white); border-radius: var(--radius-md); width: 100%; display: grid; gap: 6px; counter-reset: st; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.chips-steps li { counter-increment: st; display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; color: var(--bq-gray); }
.chips-steps li::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; background: var(--bq-paper); display: grid; place-items: center; font-size: .7rem; }
.chips-steps li span { flex: 1; border-bottom: 2px dashed var(--bq-line); padding-bottom: 2px; }
.chips-live { background: var(--bq-black); color: var(--bq-white); padding: .55rem 1rem; border-radius: var(--radius-sm); font-weight: 800; text-align: center; line-height: 1.2; }
.chips-live i { color: var(--bq-red); }
.chips-live small { font-weight: 600; color: #CFCFCF; }

@media (max-width: 575.98px) {
  .hero .carousel-indicators [data-bs-target] { width: 16px; margin-right: 4px; }
  .hero-arrow { width: 40px; height: 40px; }
}
@media (max-width: 991.98px) {
  .rx, .palette, .funnels, .eq, .chips { width: 86%; }
  .rx-pill { width: 40px; height: 70px; }
  .rx-pill small { font-size: .48rem; padding-bottom: 7px; }
  .rx-pains span { font-size: .7rem; padding: .25rem .6rem; }
  .rx-pains b { min-width: 3.6rem; }
  .rx-blister { padding: 10px 8px; gap: 7px; }
  .pal-tag { font-size: .6rem; }
  .fn-std span { height: 16px; }
  .fn-own span { font-size: .56rem; }
  .eq-term { font-size: .85rem; }
  .eq-main { font-size: 1.05rem; }
  .eq-code { font-size: .6rem; padding: 9px 10px; }
  .chip { width: 50px; height: 46px; }
  .chips-steps li { font-size: .72rem; }
}

/* BQ360 2026: componentes añadidos sin alterar los estilos existentes */
.bq-added .section-head{margin-bottom:2rem}.bq-module-card{height:100%;padding:1.5rem;border:1px solid rgba(0,0,0,.1);border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(0,0,0,.04)}.bq-module-card>i{font-size:1.65rem;color:#ed2024;margin-bottom:1rem}.bq-module-card h3{font-size:1.2rem;font-weight:800}.bq-module-card p{margin-bottom:0;line-height:1.65}.bq-disclaimer{margin-top:1.2rem;font-size:.86rem;opacity:.75}.bq-plan-annual,.bq-plan-renew{font-size:.9rem;line-height:1.5;margin:12px 0}.bq-plan-details{padding-left:0;list-style:none;margin:15px 0}.bq-plan-details li{margin:7px 0;font-size:.86rem}.bq-plan-details i{color:#ed2024;width:22px}.bq-roi-panel{border:1px solid rgba(0,0,0,.1);border-radius:20px;padding:clamp(1rem,3vw,2.5rem);background:#fff;box-shadow:0 12px 35px rgba(0,0,0,.05)}.bq-roi-results{border-radius:16px;background:#17191f;color:white;padding:clamp(1.1rem,2.5vw,2rem);height:100%}.bq-roi-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;color:#c8c8c8}.bq-roi-metric{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.16)}.bq-roi-metric span{font-size:.88rem}.bq-roi-metric strong{font-size:1.13rem;text-align:right}.bq-roi-highlight strong{color:#ff6969;font-size:1.55rem}.bq-roi-note{font-size:.75rem;line-height:1.65;color:#d4d4d4;margin-top:20px}@media(max-width:575px){.bq-roi-metric{align-items:flex-start;flex-direction:column;gap:3px}}

/* BQ360 v4.1 — comparativo interactivo de planes, sin alterar las tarjetas existentes */
.bq-plan-comparison{margin:2.25rem 0 1.5rem;padding:1.4rem;border:1px solid var(--bq-line);border-radius:var(--radius-md);background:#fff}
.bq-plan-comparison-head{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;flex-wrap:wrap;margin-bottom:1.1rem}
.bq-plan-comparison-head h3{font-size:1.4rem;margin:0 0 .4rem}
.bq-plan-comparison-head p{margin:0;color:var(--bq-gray);max-width:720px;font-size:.95rem}
.bq-plan-comparison-actions{min-width:190px}.bq-plan-comparison-actions label{display:block;font-size:.82rem;font-weight:700;margin-bottom:.3rem}
.bq-plan-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--bq-line);border-radius:8px}
.bq-plan-table{width:100%;min-width:740px;border-collapse:separate;border-spacing:0;font-size:.9rem}
.bq-plan-table th,.bq-plan-table td{padding:.82rem .85rem;border-bottom:1px solid var(--bq-line);text-align:left;vertical-align:middle}
.bq-plan-table thead th{background:#f5f5f5;font-weight:800;position:sticky;top:0;z-index:1}
.bq-plan-table thead th:first-child{width:29%}
.bq-plan-table tbody th{font-weight:600;background:#fff}
.bq-plan-table tbody tr:nth-child(even) td,.bq-plan-table tbody tr:nth-child(even) th{background:#fafafa}
.bq-plan-table tbody tr:last-child td,.bq-plan-table tbody tr:last-child th{border-bottom:0}
.bq-plan-table .bq-plan-selected{background:#fff0f0!important;box-shadow:inset 3px 0 0 var(--bq-red)}
.bq-plan-table .bq-plan-muted{opacity:.43}
.bq-plan-table-note{font-size:.8rem;color:var(--bq-gray);margin:.85rem 0 0}
@media(max-width:767px){.bq-plan-comparison{padding:1rem}.bq-plan-comparison-actions{width:100%}.bq-plan-comparison-head h3{font-size:1.2rem}}

/* v4.2.0: módulos por plan en la tabla comparativa y en las tarjetas */
.bq-plan-table tbody tr.bq-plan-group th{background:var(--bq-black)!important;color:#fff;font-family:var(--font-display);font-weight:900;font-size:.95rem;letter-spacing:-.01em;padding:.7rem .85rem}
.bq-plan-table tbody tr.bq-plan-group th i{color:var(--bq-red);margin-right:.4rem}
.bq-plan-table .bq-yes{color:var(--bq-black);font-weight:700;white-space:nowrap}
.bq-plan-table .bq-yes i{color:var(--bq-red-ink);margin-right:.3rem}
.bq-plan-table .bq-no{color:#8A8A8A;white-space:nowrap}
.bq-plan-table .bq-no i{margin-right:.3rem;font-size:.8em}
.bq-plan-table tr.bq-plan-module th{font-weight:700}
.bq-module-card{display:flex;flex-direction:column}
.bq-module-card>p:not(.bq-module-plan){flex:1}
.bq-module-plan{margin:1rem 0 0!important;padding-top:.75rem;border-top:1px solid var(--bq-line);font-size:.85rem;font-weight:700;color:var(--bq-red-ink)}
.bq-module-plan.is-all{color:var(--bq-black)}
.bq-module-plan i{margin-right:.35rem}
#modulos .section-lead a{color:var(--bq-red-ink);font-weight:700}

/* v4.2.0: menú de 9 enlaces en una sola línea (hamburguesa por debajo de 1200 px) */
.site-header .nav-link { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .nav-link { padding: .5rem .5rem !important; font-size: .95rem; }
  .site-header .nav-link.active::after { left: .5rem; right: .5rem; }
  .brand-logo { height: 40px; }
}

/* v4.3.0: botón "Ver demo" (terciario: no compite con el rojo principal) */
.btn-demo { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: #FFF1F1; color: var(--bq-red-ink); border: 2px solid #FFD6D6; font-weight: 700; }
.btn-demo i { font-size: 1.05em; }
.btn-demo:hover, .btn-demo:focus-visible { background: var(--bq-red-ink); border-color: var(--bq-red-ink); color: #fff; }
.btn-demo-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-demo-light i { color: var(--bq-red); }
.btn-demo-light:hover, .btn-demo-light:focus-visible { background: #fff; border-color: #fff; color: #000; }
.section-actions { display: flex; align-items: center; gap: .9rem 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.section-actions span { color: var(--bq-gray); font-size: .95rem; }
.section-dark .section-actions span { color: #C9C9C9; }
