/* ========================================
   HISTORIA - ESTILOS COMPLETOS
   ======================================== */

/* ===== HERO DE HISTORIA ===== */
.historia-hero {
    padding: 140px 0 70px;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    text-align: center;
    border-bottom: 3px solid var(--red);
}

.historia-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.historia-subtitulo {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 4px 20px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.historia-titulo {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}

.historia-titulo .highlight {
    color: var(--red);
}

.historia-descripcion {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ===== SECCIONES GENERALES ===== */
.historia-seccion {
    padding: 70px 0;
}

.historia-seccion:nth-child(even) {
    background: var(--gray);
}

.historia-seccion-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 2px 14px;
    border-radius: 30px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.historia-seccion h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

/* ===== GRID HISTORIA ===== */
.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.historia-grid-reverse {
    direction: rtl;
}

.historia-grid-reverse .historia-texto,
.historia-grid-reverse .historia-imagen {
    direction: ltr;
}

.historia-texto p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.historia-texto p:last-child {
    margin-bottom: 0;
}

.historia-texto strong {
    color: var(--dark);
    font-weight: 700;
}

.historia-imagen {
    position: relative;
}

.historia-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.historia-img:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.historia-img-pie {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 8px;
    font-style: italic;
}

/* ========================================
   SECCIÓN DATOS Y NÚMEROS
   ======================================== */

.historia-datos-numeros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dato-numero {
    background: #fff;
    padding: 20px 16px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.dato-numero:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.dato-cifra {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--red);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
}

.dato-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* ========================================
   SECCIÓN ACTIVIDADES
   ======================================== */

.historia-actividades-header {
    text-align: center;
    margin-bottom: 35px;
}

.historia-actividades-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.historia-actividades-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 300;
}

.actividades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.actividad-item {
    background: #fff;
    padding: 18px 14px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.actividad-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--red);
}

.actividad-item i {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: 6px;
    display: block;
}

.actividad-item h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 2px;
}

.actividad-detalle {
    display: block;
    font-size: 0.6rem;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .actividades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .actividades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .actividad-item {
        padding: 14px 10px;
    }
    
    .actividad-item i {
        font-size: 1.5rem;
    }
    
    .actividad-item h4 {
        font-size: 0.7rem;
    }
    
    .actividad-detalle {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .actividades-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .actividad-item {
        padding: 12px 8px;
        border-radius: 12px;
    }
    
    .actividad-item i {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    
    .actividad-item h4 {
        font-size: 0.65rem;
    }
    
    .actividad-detalle {
        font-size: 0.5rem;
    }
}

/* ========================================
   SECCIÓN FRASE
   ======================================== */

.historia-frase {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #660000;
    text-align: center;
    padding: 70px 0;
}

.historia-frase-content {
    max-width: 750px;
    margin: 0 auto;
}

.historia-frase-content i {
    font-size: 2rem;
    color: var(--red);
    opacity: 0.4;
    margin-bottom: 16px;
    display: block;
}

.historia-frase-content blockquote {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    font-style: italic;
    color: #660000;
}

.historia-frase-content cite {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--red);
    font-style: normal;
    letter-spacing: 0.5px;
}

/* ========================================
   SECCIÓN REINAS
   ======================================== */

.historia-reinas {
    background: #fff;
}

.historia-reinas-header {
    text-align: center;
    margin-bottom: 35px;
}

.historia-reinas-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.historia-reinas-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 300;
}

.reinas-historicas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.reina-historica-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.reina-historica-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reina-historica-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eee;
}

.reina-historica-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reina-historica-item:hover .reina-historica-img img {
    transform: scale(1.04);
}

.reina-historica-info {
    padding: 12px 14px 14px;
    text-align: center;
}

.reina-historica-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1px;
}

.reina-ano {
    font-size: 0.7rem;
    color: var(--red);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== BOTÓN VER MÁS REINAS ===== */
.reinas-ver-mas-container {
    text-align: center;
    margin-top: 5px;
}

.btn-ver-mas-reinas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--red);
    color: var(--red);
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-ver-mas-reinas:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.25);
}

.btn-ver-mas-reinas .btn-icono i {
    transition: transform 0.4s ease;
}

.btn-ver-mas-reinas.cargado .btn-icono i {
    transform: rotate(180deg);
}

/* ===== CTA FINAL ===== */
.historia-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--red), #660000);
    color: #fff;
    text-align: center;
}

.historia-cta-content {
    max-width: 550px;
    margin: 0 auto;
}

.historia-cta-content i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.8;
}

.historia-cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.historia-cta-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.historia-cta-fecha {
    font-size: 1.05rem !important;
    margin-bottom: 18px !important;
}

.historia-cta-content .btn-primary {
    background: #fff;
    color: var(--red);
}

.historia-cta-content .btn-primary:hover {
    background: #f0f0f0;
    color: var(--red-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .historia-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .historia-grid-reverse {
        direction: ltr;
    }
    
    .historia-datos-numeros {
        grid-template-columns: 1fr 1fr;
    }
    
    .actividades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reinas-historicas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dato-cifra {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .historia-hero {
        padding: 110px 0 50px;
    }
    
    .historia-titulo {
        font-size: 2.5rem;
    }
    
    .historia-descripcion {
        font-size: 0.95rem;
    }
    
    .historia-seccion {
        padding: 50px 0;
    }
    
    .historia-seccion h2 {
        font-size: 1.6rem;
    }
    
    .historia-datos-numeros {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .dato-cifra {
        font-size: 1.8rem;
    }
    
    .dato-numero {
        padding: 16px 12px;
    }
    
    .actividades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .actividad-item {
        padding: 14px 10px;
    }
    
    .actividad-item i {
        font-size: 1.5rem;
    }
    
    .actividad-item h4 {
        font-size: 0.7rem;
    }
    
    .reinas-historicas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .historia-frase {
        padding: 50px 0;
    }
    
    .historia-frase-content blockquote {
        font-size: 1.05rem;
    }
    
    .historia-cta {
        padding: 50px 0;
    }
    
    .historia-cta-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .historia-hero {
        padding: 100px 0 40px;
    }
    
    .historia-titulo {
        font-size: 2rem;
    }
    
    .historia-descripcion {
        font-size: 0.85rem;
    }
    
    .historia-seccion {
        padding: 40px 0;
    }
    
    .historia-seccion h2 {
        font-size: 1.4rem;
    }
    
    .historia-texto p {
        font-size: 0.85rem;
    }
    
    .historia-datos-numeros {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .dato-cifra {
        font-size: 1.4rem;
    }
    
    .dato-label {
        font-size: 0.65rem;
    }
    
    .dato-numero {
        padding: 14px 10px;
        border-radius: 12px;
    }
    
    .actividades-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .actividad-item {
        padding: 12px 8px;
        border-radius: 12px;
    }
    
    .actividad-item i {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    
    .actividad-item h4 {
        font-size: 0.65rem;
    }
    
    .reinas-historicas-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .reina-historica-info {
        padding: 10px 10px 12px;
    }
    
    .reina-historica-info h4 {
        font-size: 0.75rem;
    }
    
    .reina-ano {
        font-size: 0.65rem;
    }
    
    .historia-frase-content blockquote {
        font-size: 0.9rem;
    }
    
    .historia-frase-content cite {
        font-size: 0.8rem;
    }
    
    .historia-cta-content h2 {
        font-size: 1.3rem;
    }
    
    .historia-cta-content p {
        font-size: 0.85rem;
    }
    
    .btn-ver-mas-reinas {
        padding: 8px 20px;
        font-size: 0.7rem;
        gap: 8px;
    }
}
/* ========================================
   BOTONES DE COMPARTIR
   ======================================== */

.seccion-compartir {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 2px solid #eee;
}

.seccion-compartir-centrado {
    text-align: center;
}

.seccion-compartir-dark .compartir-label {
    color: rgba(255, 255, 255, 0.7);
}

.seccion-compartir-dark {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.compartir-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.compartir-botones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.seccion-compartir-centrado .compartir-botones {
    justify-content: center;
}

.compartir-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: var(--gray);
    color: var(--text-gray);
    border: 1px solid #e0e0e0;
}

.compartir-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.compartir-btn.facebook {
    background: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

.compartir-btn.facebook:hover {
    background: #0d65d9;
    border-color: #0d65d9;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.compartir-btn.whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.compartir-btn.whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.compartir-btn.copiar {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

.compartir-btn.copiar:hover {
    background: #5a6268;
    border-color: #5a6268;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.compartir-btn.copiar.copiado {
    background: #28a745;
    border-color: #28a745;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* Tooltip de copiado */
.compartir-tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.compartir-tooltip.mostrar {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
}

/* ========================================
   RESPONSIVE BOTONES COMPARTIR
   ======================================== */

@media (max-width: 768px) {
    .compartir-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .compartir-label {
        font-size: 0.6rem;
    }
    
    .seccion-compartir {
        margin-top: 18px;
        padding-top: 14px;
    }
}

@media (max-width: 480px) {
    .compartir-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
}
/* ===== CONTADOR DE REINAS ===== */
.reinas-contador {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 10px;
    font-weight: 500;
}

.reinas-ver-mas-container {
    text-align: center;
    margin-top: 5px;
}

/* Animación de entrada para reinas */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reina-historica-item {
    animation: fadeInScale 0.5s ease forwards;
}
/* ===== VIDEO EN HISTORIA CON CONTROLES ===== */
.historia-video {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.historia-video:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}
/* ========================================
   HERO CON VIDEO DE FONDO
   ======================================== */

.hero-video {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-video-text {
    color: #fff;
}

.hero-video-text .historia-subtitulo {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 4px 24px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-video-text .historia-titulo {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-video-text .historia-titulo .highlight {
    color: var(--red);
}

.hero-video-text .historia-descripcion {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-video {
        padding: 110px 0 50px;
        min-height: 80vh;
    }
    
    .hero-video-text .historia-titulo {
        font-size: 2.5rem;
    }
    
    .hero-video-text .historia-descripcion {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-video {
        padding: 100px 0 40px;
        min-height: 70vh;
    }
    
    .hero-video-text .historia-titulo {
        font-size: 2rem;
    }
    
    .hero-video-text .historia-descripcion {
        font-size: 0.85rem;
    }
}