/* ======================================================
   MataderosBarrial — Campaña Mundialista v2
   Parche visual completo. Apagar desde config.php.
   ====================================================== */

/* ── Variables de paleta ─────────────────────────────── */
.mb-world-hero,
.mb-world-strip,
.mb-world-page,
.mb-world-landing-hero,
.mb-world-float {
    --mw-celes:    #74c0fc;
    --mw-azul:     #1971c2;
    --mw-azul-osc: #1251a1;
    --mw-blanco:   #ffffff;
    --mw-noche:    #0d1b2a;
    --mw-noche2:   #091526;
    --mw-gold:     #fcc419;
    --mw-verde-mb: #1e5c28;   /* verde MB del sitio */
    --mw-verde-cl: #2e8b3a;
}

/* ══════════════════════════════════════════════════════
   BANNER HERO — Index + Formulario
   ══════════════════════════════════════════════════════ */
.mb-world-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    /* Franja celeste-blanca-celeste argentina, compacta */
    background:
        linear-gradient(180deg,
            #1971c2 0%,
            #1971c2 28%,
            #ffffff 28%,
            #ffffff 72%,
            #1971c2 72%,
            #1971c2 100%
        );
    /* Overlay oscuro para que el texto sea legible */
    padding: 0;
    border-bottom: 3px solid #1251a1;
}

/* Overlay que oscurece el fondo con gradiente lateral */
.mb-world-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(9,21,38,.82) 0%,
        rgba(9,21,38,.55) 50%,
        rgba(9,21,38,.30) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Patrón de rombos tipo camiseta argentina, muy sutil */
.mb-world-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .07;
    background-image:
        linear-gradient(60deg, rgba(255,255,255,.9) 25%, transparent 25%),
        linear-gradient(-60deg, rgba(255,255,255,.9) 25%, transparent 25%),
        linear-gradient(60deg, transparent 75%, rgba(255,255,255,.9) 75%),
        linear-gradient(-60deg, transparent 75%, rgba(255,255,255,.9) 75%);
    background-size: 24px 24px;
    background-position: 0 0, 12px 0, 12px -12px, 0 12px;
    pointer-events: none;
    z-index: 0;
}

.mb-world-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .5fr);
    gap: 20px;
    align-items: center;
    padding: 22px 0 20px;
}

/* En index el hero es un poco más alto, en el resto compacto */
.mb-world-hero:not(.mb-world-hero-compact) .mb-world-hero-inner {
    padding: 28px 0 26px;
}

.mb-world-hero-compact .mb-world-hero-inner {
    padding: 18px 0 16px;
}

/* ── Kicker pill ─────────────────────────────────────── */
.mb-world-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.30);
    color: #fff;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .72rem;
    margin-bottom: 10px;
}

/* Escudito FIFA 2026 — logo oficial inline (emoji como fallback,
   el real se puede reemplazar con un <img> desde el PHP) */
.mb-world-kicker::after {
    content: '🏆';
    font-size: .85em;
}

/* ── Título y texto ─────────────────────────────────── */
.mb-world-copy {
    position: relative;
    z-index: 1;
}

.mb-world-copy h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3.2vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0 0 10px;
    text-shadow: 0 2px 14px rgba(0,0,0,.30);
}

.mb-world-copy p {
    color: rgba(255,255,255,.92);
    font-size: .96rem;
    margin: 0 0 16px;
    max-width: 640px;
}

/* ── Botones ─────────────────────────────────────────── */
.mb-world-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mb-world-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none !important;
    transition: transform .13s ease, box-shadow .13s ease;
    white-space: nowrap;
}

.mb-world-btn:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.mb-world-btn-primary {
    background: var(--mw-gold);
    color: #0d1b2a !important;
    box-shadow: 0 6px 20px rgba(252,196,25,.38);
}

.mb-world-btn-primary:hover {
    background: #f59f00;
    box-shadow: 0 10px 28px rgba(252,196,25,.45);
}

.mb-world-btn-soft {
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,.40);
    background: rgba(255,255,255,.12);
}

.mb-world-btn-soft:hover {
    background: rgba(255,255,255,.20);
}

/* ── Panel precio (derecha del hero) ────────────────── */
.mb-world-panel {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 18px 20px;
    color: #fff;
}

/* Logo Mundial pequeño dentro del panel */
.mb-world-panel::before {
    content: '⚽🇦🇷';
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.mb-world-panel-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: .68rem;
    font-weight: 700;
    color: rgba(255,255,255,.80);
}

.mb-world-panel strong {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1;
    margin: 4px 0 2px;
    color: var(--mw-gold);
}

.mb-world-panel small {
    display: block;
    color: rgba(255,255,255,.85);
    font-weight: 600;
    font-size: .80rem;
    margin-bottom: 12px;
}

.mb-world-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
    font-size: .84rem;
}

.mb-world-panel li::before { content: '⚽ '; }

/* ══════════════════════════════════════════════════════
   STRIP — franja compacta (Guía, Radio)
   ══════════════════════════════════════════════════════ */
.mb-world-strip {
    /* Franja celeste-blanca-celeste apaisada, más potente */
    background: linear-gradient(
        90deg,
        #1251a1 0%,
        #1971c2 20%,
        #2196f3 35%,
        #fff    35%,
        #fff    65%,
        #2196f3 65%,
        #1971c2 80%,
        #1251a1 100%
    );
    position: relative;
    overflow: hidden;
    border-top: 2px solid #0f3e82;
    border-bottom: 2px solid #0f3e82;
    padding: 0;
}

/* Overlay para contraste */
.mb-world-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(9,21,38,.65) 0%,
        rgba(9,21,38,.35) 30%,
        rgba(9,21,38,.10) 45%,
        rgba(9,21,38,.10) 55%,
        rgba(9,21,38,.35) 70%,
        rgba(9,21,38,.65) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.mb-world-strip-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
}

.mb-world-strip strong {
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    margin-right: 8px;
}

.mb-world-strip span {
    color: rgba(255,255,255,.90);
    font-size: .86rem;
}

/* Botón "Ver detalles" en el strip — pequeño, limpio, sin violeta */
.mb-world-strip a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    color: #0d1b2a !important;
    background: var(--mw-gold);
    text-decoration: none !important;
    border: none;
    transition: background .13s, transform .13s;
    white-space: nowrap;
}

.mb-world-strip a:hover {
    background: #f59f00;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* ══════════════════════════════════════════════════════
   NOTA EN FORMULARIO (mb-world-form-note)
   ══════════════════════════════════════════════════════ */
.mb-world-form-note {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    background: linear-gradient(135deg, #e8f4ff, #fff9db);
    border: 1.5px solid #90c8f6;
    border-radius: 16px;
    padding: 14px 16px;
    margin: -4px 0 22px;
    box-shadow: 0 6px 20px rgba(25,113,194,.10);
}

.mb-world-form-note strong {
    display: block;
    color: #1251a1;
    font-size: .90rem;
    margin-bottom: 3px;
}

.mb-world-form-note span {
    color: #374151;
    font-size: .84rem;
}

/* Botón "Ver detalles" en el form-note — pequeño, sin violeta */
.mb-world-form-note a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    background: #1971c2;
    color: #fff !important;
    text-decoration: none !important;
    border: none;
    transition: background .13s, transform .13s;
    white-space: nowrap;
}

.mb-world-form-note a:hover {
    background: #1251a1;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* ══════════════════════════════════════════════════════
   FLOTANTE (CTA esquina)
   ══════════════════════════════════════════════════════ */
.mb-world-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 999;
    width: min(290px, calc(100vw - 28px));
    border-radius: 18px;
    background: linear-gradient(135deg, #1251a1 0%, #1971c2 60%, #2196f3 100%);
    box-shadow: 0 16px 48px rgba(18,81,161,.35);
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
}

.mb-world-float.is-hidden { display: none; }

.mb-world-float::before {
    content: '';
    position: absolute;
    top: -18px; right: -18px;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}

.mb-world-float a {
    display: grid;
    gap: 2px;
    padding: 14px 46px 14px 16px;
    color: #fff !important;
    text-decoration: none !important;
}

.mb-world-float span {
    font-weight: 700;
    font-size: .80rem;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mb-world-float strong {
    font-size: 1.25rem;
    line-height: 1.05;
    color: var(--mw-gold);
}

.mb-world-float small {
    color: rgba(255,255,255,.82);
    font-size: .78rem;
    font-weight: 600;
}

.mb-world-float-close {
    position: absolute;
    right: 8px; top: 8px;
    width: 28px; height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════════════
   LANDING MUNDIAL (/mundial.php)
   ══════════════════════════════════════════════════════ */
.mb-world-page {
    background: #f5f7fa;
}

.mb-world-landing-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 56px;
    color: #fff;
    background: linear-gradient(
        180deg,
        #1971c2 0%,
        #1971c2 25%,
        #fff    25%,
        #fff    75%,
        #1971c2 75%,
        #1971c2 100%
    );
}

.mb-world-landing-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(9,21,38,.85) 0%, rgba(9,21,38,.60) 55%, rgba(9,21,38,.30) 100%);
    pointer-events: none;
    z-index: 0;
}

.mb-world-landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .06;
    background-image:
        linear-gradient(60deg, rgba(255,255,255,.9) 25%, transparent 25%),
        linear-gradient(-60deg, rgba(255,255,255,.9) 25%, transparent 25%),
        linear-gradient(60deg, transparent 75%, rgba(255,255,255,.9) 75%),
        linear-gradient(-60deg, transparent 75%, rgba(255,255,255,.9) 75%);
    background-size: 22px 22px;
    background-position: 0 0, 11px 0, 11px -11px, 0 11px;
    pointer-events: none;
    z-index: 0;
}

.mb-world-landing-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .62fr);
    gap: 32px;
    align-items: center;
}

.mb-world-landing-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    color: #fff;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin: 0 0 14px;
    text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.mb-world-landing-hero p {
    color: rgba(255,255,255,.92);
    font-size: 1.04rem;
    margin: 0 0 22px;
    max-width: 700px;
}

/* Panel precio en landing */
.mb-world-price-card {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.26);
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 24px 22px;
}

/* Logo FIFA 2026 pequeño en el price card */
.mb-world-price-card::before {
    content: '⚽ FIFA World Cup 2026™';
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mw-gold);
    margin-bottom: 10px;
    opacity: .90;
}

.mb-world-price-card span,
.mb-world-price-card small {
    display: block;
    color: rgba(255,255,255,.84);
    font-weight: 700;
    font-size: .84rem;
}

.mb-world-price-card strong {
    display: block;
    color: var(--mw-gold);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1;
    margin: 8px 0 4px;
}

.mb-world-price-card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.84);
    font-size: .86rem;
}

/* ── Secciones del body de la landing ─────────────────── */
.mb-world-landing-section {
    padding: 50px 0;
}

.mb-world-landing-soft {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.mb-world-section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 24px;
}

.mb-world-section-head h2 {
    margin: 0 0 8px;
    color: #111827;
    letter-spacing: -.03em;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.mb-world-section-head p { color: #6b7280; }

/* Benefits grid */
.mb-world-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.mb-world-benefits-grid article {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 8px 28px rgba(15,23,42,.06);
    transition: box-shadow .18s;
}

.mb-world-benefits-grid article:hover {
    box-shadow: 0 14px 40px rgba(15,23,42,.10);
}

.mb-world-benefits-grid span {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

.mb-world-benefits-grid h3 {
    color: #111827;
    margin: 0 0 7px;
    font-size: 1.05rem;
}

.mb-world-benefits-grid p { color: #6b7280; font-size: .90rem; }

/* Steps */
.mb-world-steps {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(260px,.65fr);
    gap: 24px;
    align-items: center;
}

.mb-world-steps h2 {
    color: #111827;
    letter-spacing: -.03em;
    margin: 0 0 16px;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
}

.mb-world-steps ol {
    margin: 0;
    padding-left: 20px;
    color: #6b7280;
    line-height: 1.7;
}

.mb-world-cta-box {
    background: linear-gradient(135deg, #e8f4ff, #fff9db);
    border: 1.5px solid #90c8f6;
    border-radius: 22px;
    padding: 22px 20px;
    color: #111827;
}

.mb-world-cta-box h2 {
    margin: 0 0 8px;
    color: #1251a1;
    font-size: 1.15rem;
}

.mb-world-cta-box p {
    color: #374151;
    font-size: .88rem;
    margin: 0 0 16px;
}

.mb-world-cta-box .mb-world-btn-primary {
    background: #1971c2;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(25,113,194,.28);
}

.mb-world-cta-box .mb-world-btn-primary:hover {
    background: #1251a1;
}

/* ══════════════════════════════════════════════════════
   CARDS DE GUIA — "Ver detalles" sin violeta
   ══════════════════════════════════════════════════════ */

/* Forzar que el botón "Más información" use colores del sitio */
.guia-btn-more {
    color: #fff !important;
    background: var(--mw-verde-mb, #1e5c28) !important;
    border-color: var(--mw-verde-mb, #1e5c28) !important;
    text-decoration: none !important;
}

.guia-btn-more:hover {
    background: #154d22 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Botón "Ver detalles" en strip — también sin violeta (refuerzo) */
a[href*="mundial.php"],
a[href*="mundial"],
.mb-world-strip a,
.mb-world-form-note a {
    color: initial;
    text-decoration: none !important;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
    .mb-world-hero-inner,
    .mb-world-landing-grid,
    .mb-world-steps {
        grid-template-columns: 1fr;
    }

    .mb-world-benefits-grid {
        grid-template-columns: 1fr;
    }

    .mb-world-panel,
    .mb-world-price-card {
        max-width: 400px;
    }
}

@media (max-width: 580px) {
    .mb-world-hero:not(.mb-world-hero-compact) .mb-world-hero-inner,
    .mb-world-hero-compact .mb-world-hero-inner {
        padding: 18px 0 16px;
    }

    .mb-world-landing-hero {
        padding: 40px 0 36px;
    }

    .mb-world-actions,
    .mb-world-strip-inner,
    .mb-world-form-note {
        flex-direction: column;
        gap: 10px;
    }

    .mb-world-btn,
    .mb-world-strip a,
    .mb-world-form-note a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .mb-world-strip-inner {
        padding: 10px 0;
    }

    .mb-world-float {
        right: 10px;
        bottom: 10px;
    }
}

/* ══════════════════════════════════════════════════════
   BADGE "Mundialista" — plan especial de campaña
   Se aplica sobre el sistema de badges de la guía.
   ====================================================== */

/* Badge en la guía de anunciantes */
.guia-badge.plan.plan-mundialista {
    background: linear-gradient(135deg, #1251a1, #1971c2);
    color: #fff;
    border: none;
    font-weight: 700;
    letter-spacing: .02em;
    position: relative;
    overflow: hidden;
}

/* Brillo sutil animado */
.guia-badge.plan.plan-mundialista::after {
    content: ' 🇦🇷';
    font-size: .85em;
}

/* Card completa con plan mundialista — borde celeste sutil */
.guia-card.guia-plan-mundialista {
    border-left: 3px solid #1971c2;
}

/* Badge en el formulario de anunciantes (anun-plan-badge) — por si se agrega en el futuro */
.anun-plan-badge.plan-mundialista {
    background: linear-gradient(135deg, #1251a1, #2196f3);
    color: #fff;
}

/* ── Disclaimer disclaimer de independencia (mundial.php) ─── */
.mb-world-disclaimer {
    margin-top: 10px;
    padding: 6px 10px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
}

.mb-world-disclaimer small {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: .72rem;
    line-height: 1.5;
    font-style: italic;
}

/* ── Overrides hero compacto formulario (saca el inline style) ── */
.anun-hero          { padding-top: 32px; padding-bottom: 28px; }
.anun-hero h1       { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 10px; }
.anun-hero > .container { gap: 20px; }
