/* ========== VARIABLES ========== */
:root {
    --azul-principal: #0A2E5C;
    --azul-medio: #1e4d8c;
    --azul-claro: #3b7dd8;
    --dorado: #C9A227;
    --dorado-claro: #f4e4ba;
    --verde-whatsapp: #25D366;
    --azul-caja-honor: #003366;
    --rojo-alerta: #dc3545;
    --amarillo-aviso: #fff3cd;
    --gris-texto: #4a5568;
    --blanco: #ffffff;
    --azul-privado: #0A2E5C;
    --azul-privado-claro: #3b7dd8;
}

/* ========== RESET & BASE ========== */
.blog-body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: #f8fafc;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.blog-body * {
    box-sizing: border-box;
}

.blog-body a {
    text-decoration: none;
    color: inherit;
}

/* ========== AVISO LEGAL PRINCIPAL ========== */
.legal-disclaimer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-bottom: 3px solid #ffc107;
    padding: 20px;
    position: relative;
}

.legal-disclaimer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.legal-disclaimer h4 {
    color: #856404;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.legal-disclaimer h4 i {
    font-size: 22px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.legal-disclaimer p {
    color: #664d03;
    font-size: 13px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* ========== BARRA CANALES OFICIALES ========== */
.official-channels-bar {
    background: linear-gradient(135deg, var(--azul-caja-honor) 0%, #004080 100%);
    padding: 15px 20px;
    border-bottom: 3px solid var(--dorado);
}

.official-channels-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.official-title {
    color: var(--dorado);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.official-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* ========== BOTÓN WHATSAPP CAJA HONOR - OFICIAL ========== */
.btn-wa-oficial {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--verde-whatsapp) 0%, #128C7E 100%);
    color: white;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: glow-green 2s infinite;
}

@keyframes glow-green {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7), 0 0 40px rgba(37, 211, 102, 0.3);
    }
}

.btn-wa-oficial:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ========== HEADER & LOGO ========== */
.blog-header {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-medio) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--azul-principal);
    line-height: 1.2;
    margin: 0;
}

.logo-text h1 span {
    color: var(--dorado);
}

/* ========== BOTÓN PRIVADO (AZUL) ========== */
.btn-privado-popup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul-claro) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(30, 77, 140, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(30, 77, 140, 0.4);
    }

    50% {
        box-shadow: 0 10px 35px rgba(30, 77, 140, 0.6), 0 0 50px rgba(59, 125, 216, 0.2);
    }
}

.btn-privado-popup:hover {
    transform: translateY(-3px) scale(1.05);
    color: white;
}

/* ========== ARTICLE LAYOUT ========== */
.article-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-image-main {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 1200/630;
    object-fit: cover;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image-secondary {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 800/450;
    object-fit: cover;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-title {
    font-size: 36px;
    color: var(--azul-principal);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-content h2 {
    color: var(--azul-principal);
    margin: 40px 0 20px;
    font-size: 28px;
}

.article-content h3 {
    color: var(--azul-medio);
    margin: 30px 0 15px;
    font-size: 22px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* ========== MODAL ========== */
.whatsapp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.whatsapp-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-warning {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
}

.modal-btn-confirm {
    background: linear-gradient(135deg, var(--verde-whatsapp) 0%, #128C7E 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
}

.modal-btn-cancel {
    background: #e2e8f0;
    padding: 14px 28px;
    border-radius: 30px;
    margin-right: 10px;
}

/* ========== FLOATING ========== */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.floating-whatsapp-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul-claro) 100%);
    border-radius: 50%;
    color: white;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 8px 30px rgba(30, 77, 140, 0.5);
    animation: float-bounce 3s infinite;
}

@keyframes float-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}