/*
 Theme Name:   Bluberry Models
 Theme URI:    https://bluberrymodels.com
 Description:  Diseño Élite — Webcam Power 💎 Negro Navy + Oro Premium
 Author:       Bluberry Models
 Author URI:   https://bluberrymodels.com
 Template:     astra
 Version:      3.21.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  bluberry-models
*/

/* ============================================================
   🎨 BLUBERRY MODELS — BRAND IDENTITY ÉLITE
   Colores oficiales del logo:
     Navy:    #0a1a33 (Deep Navy)
     Gold:    #c9a84c (Oro Premium)
     Gold Lt: #d6cbaa (Oro Claro)
   ============================================================ */

:root {
    --bm-navy:         #0a1a33;
    --bm-navy-dark:    #050e1a;
    --bm-navy-deeper:  #000712;
    --bm-navy-mid:     #0f2645;
    --bm-navy-light:   #132d4e;
    --bm-gold:         #c9a84c;
    --bm-gold-light:   #d6cbaa;
    --bm-gold-dim:     rgba(201, 168, 76, 0.6);
    --bm-gold-glow:    rgba(201, 168, 76, 0.25);
    --bm-gold-soft:    rgba(201, 168, 76, 0.12);
    --bm-cream:        #faf8f2;
    --bm-white:        #ffffff;
    --bm-offwhite:     #f7f6f2;
    --bm-gray:         #e8e6df;
    --bm-dark-text:    #e8e6df;
    --bm-body-text:    rgba(255,255,255,0.7);
    --bm-card-bg:      rgba(255, 255, 255, 0.04);
    --bm-card-border:  rgba(201, 168, 76, 0.12);
    --bm-card-shadow:  0 8px 32px rgba(0, 0, 0, 0.3);
    --bm-card-hover-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 168, 76, 0.06);
    --bm-border-subtle: rgba(201, 168, 76, 0.12);
    --bm-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --bm-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   ✨ GLOBAL — Dark Theme
   ============================================================ */

body {
    font-family: var(--bm-font-body);
    color: var(--bm-body-text);
    font-weight: 400;
    line-height: 1.8;
    background: var(--bm-navy-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bm-font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bm-white);
}

p {
    color: var(--bm-body-text);
}

/* ============================================================
   🏛️ HEADER — Dark + Minimal
   ============================================================ */

.site-header,
.ast-primary-header-bar,
.ast-main-header-wrap,
#ast-desktop-header,
#ast-mobile-header {
    background: var(--bm-navy-dark) !important;
    border-bottom: 1px solid var(--bm-border-subtle);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.main-header-menu .menu-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-header-menu .menu-link:hover {
    color: var(--bm-gold);
}

.main-header-menu .current-menu-item > .menu-link {
    color: var(--bm-gold);
}

/* ── Logo CENTRADO en el header, menú debajo ──────────────── */
@media (min-width: 922px) {
    /* Colapsar la fila del header a una sola columna centrada */
    .ast-primary-header-bar .ast-builder-grid-row {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }
    /* Ocultar la sección derecha del menú en escritorio
       (la navegación vive en el menú secundario, debajo) */
    .site-header-primary-section-right {
        display: none !important;
    }
    .site-header-primary-section-left {
        justify-content: center !important;
        width: 100%;
    }
}

/* Centrar branding + logo en todas las pantallas */
.site-header .site-branding,
.site-header .ast-site-identity,
.site-header .ast-builder-layout-element[data-section="title_tagline"] {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Ocultar el texto del título (el logo ya contiene la marca)
   — se mantiene accesible para lectores de pantalla */
.site-header .ast-site-title-wrap .site-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Logo premium — insignia circular con anillo dorado */
.site-header .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-header .custom-logo {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bm-gold-dim);
    box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 30px var(--bm-gold-glow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.site-header .custom-logo:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 42px rgba(201,168,76,0.4);
}

/* Aire alrededor del logo redondo */
.ast-primary-header-bar {
    padding-top: 14px;
    padding-bottom: 14px;
}

@media (max-width: 921px) {
    .site-header .custom-logo { width: 78px; height: 78px; }
}

/* ============================================================
   ⚡ HERO — Webcam Power (Dramatic Navy + Radial Gold Glow)
   ============================================================ */

/* The entire hero section */
.elementor-element[data-id="hero7ac5"] {
    position: relative;
    overflow: hidden;
}

/* Gold shimmer overlay on hero */
.elementor-element[data-id="hero7ac5"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(201, 168, 76, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 1;
}

/* Gold floating particles effect via pseudo */
.elementor-element[data-id="hero7ac5"]::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: goldParticleFloat 8s ease-in-out infinite alternate;
}

@keyframes goldParticleFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(60px, -40px) scale(1.3); opacity: 1; }
}

/* Blog heading — with dramatic gold glow */
.elementor-widget-heading h1 {
    text-shadow: 0 0 60px rgba(201, 168, 76, 0.2), 0 4px 30px rgba(201, 168, 76, 0.15), 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

/* ============================================================
   🎯 FILTER TABS — Premium Pill Style on Dark
   ============================================================ */

.bluberry-filter-wrapper {
    margin-bottom: 50px;
    text-align: center;
}

.bluberry-filter-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.bluberry-filter-tab {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.80rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.5px;
    font-family: var(--bm-font-body);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Subtle gold shimmer on hover */
.bluberry-filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.08), transparent);
    transition: left 0.5s ease;
}

.bluberry-filter-tab:hover::before {
    left: 100%;
}

/* Hover — elevate + gold glow */
.bluberry-filter-tab:hover {
    background: rgba(201, 168, 76, 0.08);
    color: var(--bm-gold-light);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.12);
}

/* Active — solid gold + navy */
.bluberry-filter-tab.active {
    background: var(--bm-gold);
    color: var(--bm-navy);
    border-color: var(--bm-gold);
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    font-weight: 700;
}

.bluberry-filter-tab.active:hover {
    background: var(--bm-gold-light);
    color: var(--bm-navy-dark);
    border-color: var(--bm-gold-light);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
    transform: translateY(-2px);
}

/* ============================================================
   📰 POST CARDS — Premium Glassmorphism on Dark
   ============================================================ */

.eael-post-grid-container {
    max-width: 960px;
    margin: 0 auto;
}

.eael-post-grid-container .eael-post-grid {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Each post card — glassmorphism style */
.eael-grid-post {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 16px !important;
    padding: 32px 36px;
    margin-bottom: 0 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: var(--bm-card-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Gold accent line on hover — left border */
.eael-grid-post::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--bm-gold), var(--bm-gold-light));
    border-radius: 16px 0 0 16px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

/* Shimmer overlay on hover */
.eael-grid-post::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(201, 168, 76, 0.02) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.eael-grid-post:hover::before {
    opacity: 1;
}

/* Animate gold line */
.eael-grid-post:hover::after {
    transform: scaleY(1);
    opacity: 1;
}

/* Hover — lifted card with gold glow */
.eael-grid-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--bm-card-hover-shadow);
    border-color: rgba(201, 168, 76, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

/* Post thumbnail — rounded, premium */
.eael-grid-post .eael-entry-media {
    margin-bottom: 18px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.eael-grid-post .eael-entry-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.eael-grid-post:hover .eael-entry-media img {
    transform: scale(1.05);
}

/* Image overlay — gradient on hover */
.eael-grid-post .eael-entry-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 7, 18, 0.4), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.eael-grid-post:hover .eael-entry-media::after {
    opacity: 1;
}

/* Post title — white, Playfair */
.eael-grid-post .eael-entry-title {
    margin: 0 0 12px;
    padding: 0;
}

.eael-grid-post .eael-entry-title a {
    color: var(--bm-white) !important;
    font-family: var(--bm-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.3px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.eael-grid-post .eael-entry-title a:hover {
    color: var(--bm-gold) !important;
}

/* Post excerpt — light gray on dark */
.eael-grid-post .eael-entry-content {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.75;
}

.eael-grid-post .eael-entry-content p {
    margin: 0;
    color: rgba(255,255,255,0.55);
}

/* Read more — gold pill button */
.eael-grid-post .eael-read-more {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 28px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bm-gold) !important;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.eael-grid-post .eael-read-more:hover {
    background: var(--bm-gold);
    color: var(--bm-navy) !important;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

/* ============================================================
   📱 ONE-COLUMN LAYOUT (Desktop list)
   ============================================================ */

.eael-col-1 .eael-grid-post {
    width: 100% !important;
    max-width: 100%;
}

.eael-grid-post .eael-entry-media {
    max-width: 320px;
    margin-right: 30px;
    float: left;
}

/* Responsive: stack image on top */
@media (max-width: 768px) {
    .eael-grid-post .eael-entry-media {
        max-width: 100%;
        float: none;
        margin-right: 0;
    }
    
    .eael-grid-post {
        padding: 24px 20px;
    }
}

/* ============================================================
   🔥 DIVIDER — Gold line with glow
   ============================================================ */

.elementor-divider-separator {
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

/* ============================================================
   🦶 FOOTER — Premium Dark
   ============================================================ */

.site-footer {
    background: var(--bm-navy-deeper);
    color: rgba(255,255,255,0.55);
    padding: 5rem 0 2rem;
    border-top: 2px solid var(--bm-border-subtle);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--bm-gold-dim), transparent);
}

.site-footer a {
    color: var(--bm-gold);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--bm-gold-light);
}

/* ============================================================
   📋 SECONDARY MENU (Below Header)
   ============================================================ */

.bluberry-secondary-menu {
    background: var(--bm-navy-dark);
    border-bottom: 2px solid var(--bm-border-subtle);
    padding: 0;
    position: relative;
    z-index: 5;
}

.bluberry-secondary-menu .ast-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1340px;
}

.bluberry-secondary-menu-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.bluberry-secondary-menu-list > .menu-item {
    margin: 0;
    position: relative;
}

.bluberry-secondary-menu-list > .menu-item > .menu-link {
    display: block;
    padding: 14px 15px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.bluberry-secondary-menu-list > .menu-item > .menu-link:hover {
    color: var(--bm-gold);
    border-bottom-color: var(--bm-gold);
}

.bluberry-secondary-menu-list > .current-menu-item > .menu-link {
    color: var(--bm-gold);
    border-bottom-color: var(--bm-gold);
}

/* Secondary menu — móvil/tablet: scroll horizontal */
@media (max-width: 921px) {
    .bluberry-secondary-menu .ast-container {
        justify-content: flex-start;
    }

    .bluberry-secondary-menu-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 6px;
        padding: 10px 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .bluberry-secondary-menu-list::-webkit-scrollbar { display: none; }

    .bluberry-secondary-menu-list > .menu-item { scroll-snap-align: start; flex-shrink: 0; }

    .bluberry-secondary-menu-list > .menu-item > .menu-link {
        padding: 8px 18px;
        font-size: 0.75rem;
        border-bottom: none;
        background: rgba(255,255,255,0.06);
        border-radius: 30px;
        color: rgba(255,255,255,0.8);
    }

    .bluberry-secondary-menu-list > .menu-item > .menu-link:hover {
        background: var(--bm-gold);
        color: var(--bm-navy);
    }
}

/* ============================================================
   🚀 HIDE PRIMARY DESKTOP MENU (secondary is the main nav)
   ============================================================ */

@media (min-width: 922px) {
    .ast-builder-menu-1 { display: none !important; }
}

/* ============================================================
   ✨ ANIMATIONS — Premium
   ============================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes goldPulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation for cards */
.eael-post-grid .eael-grid-post {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.eael-post-grid .eael-grid-post:nth-child(1) { animation-delay: 0.05s; }
.eael-post-grid .eael-grid-post:nth-child(2) { animation-delay: 0.1s; }
.eael-post-grid .eael-grid-post:nth-child(3) { animation-delay: 0.15s; }
.eael-post-grid .eael-grid-post:nth-child(4) { animation-delay: 0.2s; }
.eael-post-grid .eael-grid-post:nth-child(5) { animation-delay: 0.25s; }
.eael-post-grid .eael-grid-post:nth-child(6) { animation-delay: 0.3s; }
.eael-post-grid .eael-grid-post:nth-child(7) { animation-delay: 0.35s; }
.eael-post-grid .eael-grid-post:nth-child(8) { animation-delay: 0.4s; }
.eael-post-grid .eael-grid-post:nth-child(9) { animation-delay: 0.45s; }
.eael-post-grid .eael-grid-post:nth-child(10) { animation-delay: 0.5s; }

/* ============================================================
   🌀 SECTION DIVIDER — Gold wave
   ============================================================ */

.elementor-shape .elementor-shape-fill {
    fill: var(--bm-navy-deeper);
}

/* ============================================================
   🔍 FILTER HIDDEN STATE
   ============================================================ */

.eael-grid-post.filter-hidden {
    display: none !important;
}

/* ============================================================
   📱 RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .elementor-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    
    body { font-size: 15px; }
    
    .site-header { padding: 10px 15px; }
    .site-footer { padding: 2.5rem 1rem 1.5rem; }
    
    .bluberry-filter-tab { padding: 10px 20px; font-size: 0.72rem; }
    
    .eael-grid-post { padding: 24px 18px; }
    .eael-grid-post .eael-entry-title a { font-size: 1.2rem; }
    
    .eael-grid-post .eael-entry-media { border-radius: 8px; }
    
    .eael-post-grid .eael-grid-post { animation: none; opacity: 1; }
}

@media (max-width: 480px) {
    .bluberry-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 12px;
        gap: 8px;
    }
    
    .bluberry-filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.68rem;
    }
    
    h1 { font-size: 1.7rem !important; }
    
    .elementor-section,
    .e-con {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* ============================================================
   🛠️ UTILITIES
   ============================================================ */

.text-center { text-align: center; }

/* ============================================================
   ♿ ACCESSIBILITY
   ============================================================ */

:focus-visible {
    outline: 2px solid var(--bm-gold);
    outline-offset: 2px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================================
   🎯 BOTÓN CTA EN EL MENÚ — "Aplica Ahora"
   ============================================================ */

/* Menú secundario (debajo del header) */
.bluberry-secondary-menu-list > .bm-cta-menu-item { margin-left: 6px; flex-shrink: 0; }
.bluberry-secondary-menu-list > .bm-cta-menu-item > .menu-link {
    background: linear-gradient(120deg, var(--bm-gold), var(--bm-gold-light));
    color: var(--bm-navy) !important;
    border-radius: 50px !important;
    padding: 9px 18px !important;
    font-weight: 700 !important;
    border-bottom: none !important;
    box-shadow: 0 4px 16px rgba(201,168,76,0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bluberry-secondary-menu-list > .bm-cta-menu-item > .menu-link:hover {
    color: var(--bm-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(201,168,76,0.45);
}

/* Menú principal (escritorio Astra + móvil off-canvas) */
.main-header-menu .bm-cta-menu-item > .menu-link,
.ast-mobile-popup-drawer .bm-cta-menu-item > .menu-link {
    background: linear-gradient(120deg, var(--bm-gold), var(--bm-gold-light));
    color: var(--bm-navy) !important;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 700;
    display: inline-block;
}
.main-header-menu .bm-cta-menu-item > .menu-link:hover,
.ast-mobile-popup-drawer .bm-cta-menu-item > .menu-link:hover {
    color: var(--bm-navy) !important;
    box-shadow: 0 4px 18px rgba(201,168,76,0.4);
}

/* ============================================================
   🦶 FOOTER PROPIO BLUBERRY (reemplaza el footer builder de Astra)
   ============================================================ */
/* Ocultar el footer/copyright por defecto de Astra */
.site-below-footer-wrap,
.site-primary-footer-wrap { display: none !important; }

.bm-footer {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--bm-navy) 0%, var(--bm-navy-deeper) 100%);
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(201,168,76,0.25);
    font-family: var(--bm-font-body, 'Inter', sans-serif);
}
.bm-footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 64px 28px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}
.bm-footer-brand { max-width: 320px; }
.bm-footer-logo {
    width: 76px; height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bm-gold-dim);
    box-shadow: 0 6px 22px rgba(0,0,0,0.4), 0 0 26px var(--bm-gold-glow);
    margin-bottom: 18px;
}
.bm-footer-tag {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.bm-footer-col h4 {
    font-family: var(--bm-font-heading, 'Playfair Display', serif);
    color: var(--bm-gold-light);
    font-size: 1.05rem;
    margin: 0 0 18px;
    letter-spacing: 0.5px;
}
.bm-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bm-footer-col li { margin-bottom: 12px; }
.bm-footer-col a {
    color: rgba(255,255,255,0.68);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
    position: relative;
}
.bm-footer-col a:hover {
    color: var(--bm-gold);
    padding-left: 6px;
}

/* Barra legal / firma — dorada */
.bm-footer-legal {
    border-top: 1px solid rgba(201,168,76,0.22);
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.06), transparent);
    padding: 22px 28px;
    text-align: center;
}
.bm-footer-copy {
    margin: 0;
    font-size: 0.82rem;
    color: var(--bm-gold-light);
    letter-spacing: 0.3px;
}
.bm-footer-dev {
    margin: 8px 0 0;
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bm-gold);
    opacity: 0.85;
}

@media (max-width: 880px) {
    .bm-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
        padding: 52px 24px 40px;
    }
    .bm-footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
    .bm-footer-inner { grid-template-columns: 1fr; }
    .bm-footer-brand { text-align: center; }
    .bm-footer-logo { margin-left: auto; margin-right: auto; }
}
