/* =====================================================================
   Landings «bingo para…» (fiestas, residencias, asociaciones, colegios) — diseño 2026
   Plantilla: includes/audience-landing.php. Prefijo bp-. Tokens y .b-* en brand.css.
   ===================================================================== */

.bp { padding: 36px 0 90px; }
.bp-wrap { width: var(--b-max); margin: 0 auto; }
.bp-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--b-pink-soft); color: var(--b-pink-ink); font-size: 16px; font-weight: 800; }

/* Portada de la página */
.bp-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 48px; align-items: center; }
.bp-hero h1 { margin-top: 14px !important; font-size: var(--b-fs-h1, clamp(36px, 3.7vw, 58px)); font-weight: 800; line-height: 1.04; letter-spacing: -0.01em; }
.bp-lead { margin-top: 16px !important; color: var(--b-muted); font-size: var(--b-fs-lead, 21px); line-height: 1.5; max-width: 32em; }
.bp-lead strong { color: var(--b-text); }
.bp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bp-trust { list-style: none; padding: 0; margin: 22px 0 0 !important; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.bp-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; }
.bp-trust li::before { content: '✓'; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--b-green-soft); color: var(--b-green-ink); font-size: 15px; font-weight: 800; }
.bp-media { position: relative; isolation: isolate; }
.bp-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--b-radius-lg); box-shadow: var(--b-shadow-hover); }
.bp-media::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; z-index: -1; border-radius: var(--b-radius-lg); background: var(--b-gradient); opacity: .22; }
.bp-planok { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 14px; background: var(--b-green-soft); color: var(--b-green-ink); font-size: 17px; font-weight: 800; }

/* Enlaces entre las 4 páginas */
.bp-audiences { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding: 14px 18px; border-radius: 20px; background: var(--b-surface); box-shadow: var(--b-shadow); }
.bp-audiences > span { margin-right: 6px; color: var(--b-muted); font-size: 17px; font-weight: 700; }
.bp-audiences a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 16px; border: 3px solid var(--b-line); border-radius: 999px; color: var(--b-text); font-size: 17px; font-weight: 700; text-decoration: none; }
.bp-audiences a:hover { border-color: var(--b-line-strong); }
.bp-audiences a[aria-current="page"] { border-color: var(--b-blue); background: var(--b-blue-soft); }
.bp-audiences a:focus-visible { outline: 4px solid var(--b-focus); outline-offset: 3px; }

/* Secciones */
.bp-sec { margin-top: 84px; scroll-margin-top: calc(var(--site-header-h, 80px) + 24px); }
.bp-head { max-width: 46em; margin-bottom: 26px; }
.bp-head small { display: block; color: var(--b-pink-ink); font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bp-head h2 { margin-top: 6px !important; font-size: var(--b-fs-h2, clamp(28px, 2.8vw, 42px)); font-weight: 800; line-height: 1.1; }
.bp-head p { margin-top: 10px !important; color: var(--b-muted); font-size: var(--b-fs-lead, 19px); line-height: 1.5; }

.bp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bp-feat { padding: 24px 24px 22px; }
.bp-feat-ico { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 18px; display: grid; place-items: center; background: var(--b-blue-soft); font-size: 28px; }
.bp-feat:nth-child(even) .bp-feat-ico { background: var(--b-pink-soft); }
.bp-feat-ico img { width: 40px; height: 40px; }
.bp-feat h3 { font-size: var(--b-fs-h3, 22px); font-weight: 800; line-height: 1.2; }
.bp-feat p { margin-top: 6px !important; color: var(--b-muted); font-size: 17px; line-height: 1.5; }

/* Guía visual con 2 fotos (solo colegios) */
.bp-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bp-guide-card { overflow: hidden; padding: 0; }
.bp-guide-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.bp-guide-card div { padding: 20px 24px 24px; }
.bp-guide-card span { color: var(--b-blue-ink); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.bp-guide-card h3 { margin-top: 4px !important; font-size: var(--b-fs-h3, 23px); font-weight: 800; line-height: 1.2; }
.bp-guide-card p { margin-top: 6px !important; color: var(--b-muted); font-size: 17px; line-height: 1.5; }

/* Pasos */
.bp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bp-step { padding: 14px 14px 22px; }
.bp-step img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--b-surface-2); }
.bp-step-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 18px 10px 0; }
.bp-step .b-step-num { grid-row: span 2; }
.bp-step h3 { font-size: var(--b-fs-h3, 22px); font-weight: 800; line-height: 1.2; align-self: center; }
.bp-step p { color: var(--b-muted); font-size: 17px; line-height: 1.5; }

/* Planes (mismo aspecto que la página de planes) */
.bp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.bp-plan { display: flex; flex-direction: column; padding: 26px 24px 24px; border: 3px solid transparent; border-radius: var(--b-radius-lg); background: var(--b-surface); box-shadow: var(--b-shadow); }
.bp-plan.is-featured { border-color: var(--b-pink); box-shadow: var(--b-shadow-hover); }
.bp-plan-label { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--b-surface-2); color: var(--b-muted); font-size: 15px; font-weight: 800; }
.bp-plan.is-featured .bp-plan-label { background: var(--b-pink-ink); color: var(--b-on-accent); }
.bp-plan h3 { margin-top: 12px !important; font-size: var(--b-fs-h3, 25px); font-weight: 800; line-height: 1.15; }
.bp-plan-desc { margin-top: 6px !important; color: var(--b-muted); font-size: 17px; line-height: 1.45; }
.bp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 18px; }
.bp-price-num { font-size: 44px; font-weight: 800; line-height: 1; }
.bp-price-rest { color: var(--b-muted); font-size: 17px; font-weight: 700; }
.bp-plan ul { list-style: none; padding: 0; margin: 18px 0 22px !important; display: grid; gap: 8px; }
.bp-plan li { position: relative; padding-left: 26px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.bp-plan li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--b-green); font-weight: 800; }
.bp-plan .b-btn { width: 100%; margin-top: auto; }
.bp-plans-note { margin-top: 16px !important; color: var(--b-muted); font-size: 17px; }
.bp-plans-note a { color: var(--b-pink-ink); font-weight: 800; }

/* Llamada final */
.bp-final { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 64px; padding: 34px 38px; border-radius: var(--b-radius-lg); background: linear-gradient(135deg, var(--b-blue-soft) 0%, var(--b-pink-soft) 100%); }
.bp-final h2 { font-size: var(--b-fs-h2, clamp(26px, 2.4vw, 34px)); font-weight: 800; line-height: 1.15; }
.bp-final p { margin-top: 8px !important; color: var(--b-muted); font-size: var(--b-fs-lead, 19px); line-height: 1.5; }
.bp-final-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Preguntas */
.bp-faq { display: grid; gap: 12px; max-width: 980px; }
.bp-q { padding: 0; overflow: hidden; }
.bp-q summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 20px; font-weight: 800; line-height: 1.3; }
.bp-q summary::-webkit-details-marker { display: none; }
.bp-q summary:hover { background: var(--b-surface-2); }
.bp-chev { margin-left: auto; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--b-surface-2); position: relative; transition: transform .2s ease; }
.bp-chev::before { content: ''; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px; border-right: 3px solid var(--b-text); border-bottom: 3px solid var(--b-text); transform: translate(-50%, -50%) rotate(45deg); }
.bp-q[open] .bp-chev { transform: rotate(180deg); background: var(--b-blue-soft); }
.bp-q p { padding: 0 22px 20px; color: #394150; font-size: 18px; line-height: 1.6; }

/* Aviso inferior (showAudienceToast) */
.toast {
    position: fixed; bottom: 30px; left: 50%; z-index: 1000;
    max-width: min(90vw, 520px);
    padding: 14px 22px;
    border-radius: 16px;
    background: var(--b-text); color: #fff;
    font-family: var(--b-font); font-size: 17px; font-weight: 700; text-align: center;
    opacity: 0; pointer-events: none;
    transform: translateX(-50%) translateY(100px);
    transition: transform .3s ease, opacity .3s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .bp *, .toast { transition: none !important; }
}

@media (max-width: 1100px) {
    .bp-feats, .bp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-steps { grid-template-columns: 1fr; }
    .bp-step { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 0 8px; }
    .bp-step-body { padding-top: 0; }
}
@media (max-width: 900px) {
    .bp-hero { grid-template-columns: 1fr; gap: 30px; }
    .bp-final { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .bp { padding-top: 20px; }
    .bp-lead { font-size: var(--b-fs-lead, 19px); }
    .bp-actions .b-btn, .bp-final-actions .b-btn { width: 100%; }
    .bp-media::before { display: none; }
    .bp-audiences { padding: 14px; }
    .bp-audiences > span { width: 100%; }
    .bp-sec { margin-top: 60px; }
    .bp-feats, .bp-plans, .bp-guide { grid-template-columns: 1fr; }
    .bp-feat { padding: 20px; }
    .bp-step { display: block; }
    .bp-step-body { padding-top: 16px; }
    .bp-final { padding: 26px 20px; }
    .bp-q summary { font-size: 18px; padding: 16px 18px; }
    .bp-q p { padding: 0 18px 18px; font-size: 17px; }
}
