/* --- DECORACIÓN DORADA EN TÍTULO DE DETALLE --- */
.detalle-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    font-size: 2.1rem;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    margin: 2.5rem auto 1.5rem auto;
    letter-spacing: 1.2px;
    text-align: center;
/* cierre eliminado */
}
.detalle-title::before {
    content: '';
    display: block;
    height: 3px;
    width: 120px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0) 0%, #ffd700 20%, #ffe066 100%);
    border-radius: 2px;
    opacity: 0.85;
}
.detalle-title::after {
    content: '';
    display: block;
    height: 3px;
    width: 120px;
    background: linear-gradient(270deg, rgba(255, 215, 0, 0) 0%, #ffd700 20%, #ffe066 100%);
    border-radius: 2px;
    opacity: 0.85;
}
/* --- DECORACIÓN DORADA EN TÍTULO DE ESTADÍSTICAS --- */
.conocenos-stats h2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    font-size: 2.1rem;
/* cierre eliminado */
}
.conocenos-stats h2::before {
    content: '';
    display: block;
    height: 3px;
    width: 120px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0) 0%, #ffd700 20%, #ffe066 100%);
    border-radius: 2px;
    opacity: 0.85;
}
.conocenos-stats h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 120px;
    background: linear-gradient(270deg, rgba(255, 215, 0, 0) 0%, #ffd700 20%, #ffe066 100%);
    border-radius: 2px;
    opacity: 0.85;
}
/* Mantener el título de contacto en una sola línea y hacerlo responsivo
   Se usa nowrap para evitar saltos, y clamp para reducir el tamaño en pantallas pequeñas
   sin truncar el texto. Si en dispositivos muy pequeños aún hay problemas, podemos
   ajustar el clamp o permitir wrapping sólo en <420px. */
#contacto .conocenos-stats h2,
#contacto h2 {
    white-space: nowrap;
    line-height: 1;
    font-size: clamp(20px, 3.5vw, 36px);
    /* asegurar que no rompa palabras inesperadamente */
    overflow-wrap: normal;
}

@media (max-width: 420px) {
    /* En pantallas muy estrechas reducimos aún más la fuente para intentar
       mantener todo en una sola línea; si esto no es suficiente, cambiaré
       a `white-space: normal` bajo petición del usuario. */
    #contacto .conocenos-stats h2,
    #contacto h2 {
        font-size: clamp(18px, 4.2vw, 28px);
    }
}
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 0.1rem auto 0 auto;
    width: 100%;
    max-width: 900px;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}
@media (max-width: 900px) {
    .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 440px;
    }
}
@media (max-width: 600px) {
    .stats-cards-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
}
@media (max-width: 700px) {
    .stats-cards-grid {
        grid-template-columns: 1fr;
    }
}
.stats-card {
    background: none !important;
    border-radius: 10px;
    box-shadow: none !important;
    padding: 0.1rem 0.1rem 0.1rem 0.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}
.stats-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(60,100,200,0.18);
}
.stats-card-title {
    color: #ffd700;
    font-size: 0.75rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 0.12rem;
    text-align: center;
}
.stats-card-title-box {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 0.3rem;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffd700;
    text-align: center;
    margin-bottom: 0.2rem;
    width: 100%;
    box-sizing: border-box;
}
.stats-card-value {
    color: #fff;
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.10);
}
body {
    scroll-padding-top: 110px;
}

section, .new-user-guide, #conocenos, #donaciones, #galeria, #reviews, #faq, #contacto {
    scroll-margin-top: 110px;
}
.conocenos-lema-explicacion {
    display: block;
    text-align: center;
    font-size: 1.15rem;
    color: #fff;
    margin-top: 0.7rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    white-space: normal;
}
.conocenos-lema {
    display: block;
    text-align: center;
    font-style: italic;
    font-size: 1.35rem;
    color: #ffe066;
    margin-bottom: 1.1rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    quotes: "“" "”";
}
/* Título principal de sección CONÓCENOS */
.conocenos-title-unete-style {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 2.2rem auto;
    line-height: 1.15;
    letter-spacing: 1.2px;
    text-shadow:
        0 0 8px #fff8,
        0 1px 8px rgba(0,0,0,0.10);
    background: none;
    border-radius: 0;
    padding: 0;
    position: relative;
}
@media (max-width: 768px) {
    .conocenos-title-unete-style {
        font-size: 2.1rem; /* Match .conocenos-stats h2 size on mobile */
    }
}
.conocenos-title-unete-style::after {
    content: '';
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 80px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffe066 60%, #ffd700 100%);
    opacity: 0.85;
}

.conocenos-desc-unete-style {
    color: #fff;
    font-size: 1.35rem;
    text-align: center;
    margin: 0 auto 2.5rem auto;
    max-width: 700px;
    line-height: 1.6;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.10);
    background: none;
    border-radius: 0;
    padding: 0;
}
/* --- CONOCENOS PAGE --- */
.conocenos-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
    background: linear-gradient(120deg, #232a3b 60%, #3c5ab4 100%);
    border-radius: 32px;
    margin: 0 auto 2.5rem auto;
    max-width: 900px;
    box-shadow: 0 8px 36px 0 rgba(60,100,200,0.13), 0 2px 12px 0 rgba(80,120,200,0.09);
}
.conocenos-title {
    font-family: 'Allegreya', serif;
    font-size: 2.7rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 1.2rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: 0 4px 18px #232a3b44, 0 1.5px 0 #fffbe6;
}
.conocenos-desc {
    font-size: 1.25rem;
    color: #fffbe6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Roboto', Arial, sans-serif;
}
.conocenos-stats {
    max-width: 100%;
    margin: 0 auto 2.5rem auto;
    background: rgba(30, 45, 80, 0.85);
    border-radius: 24px;
    padding: 2.2rem 1.5rem 2.5rem 1.5rem;
    box-shadow: 0 4px 18px 0 rgba(60,100,200,0.10);
    text-align: center;
}
.conocenos-stats {
    margin: 2.5rem auto 2.5rem auto;
    padding: 0;
    background: none !important;
    border-radius: 0;
    box-shadow: none !important;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stats-table {
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    font-size: 1.15rem;
    box-shadow: 0 2px 12px rgba(30,41,59,0.10);
}
.stats-table th, .stats-table td {
    padding: 1.1rem 0.7rem;
    text-align: center;
}
.stats-table th {
    background: #232a3b;
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid #ffd70044;
}
.stats-table td {
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid #ffd70022;
}
.conocenos-sections {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    padding-bottom: 2.5rem;
}
.conocenos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.conocenos-card {
    background: linear-gradient(120deg, #232a3b 60%, #3c5ab4 100%);
    color: #fffbe6;
    border-radius: 18px;
    padding: 2.2rem 1.2rem 2.2rem 1.2rem;
    font-size: 1.25rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    text-align: center;
    box-shadow: 0 4px 18px 0 rgba(60,100,200,0.10);
    letter-spacing: 0.5px;
    transition: transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
    min-width: 180px;
}
.conocenos-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(60,100,200,0.18);
    background: linear-gradient(120deg, #3c5ab4 60%, #232a3b 100%);
}
.conocenos-card .icon {
    margin-bottom: 0.3rem;
}

.conocenos-card .title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    text-align: center;
}
/* Ensure card titles use the original Roboto font (override page-wide serif titles) */
.conocenos-card h4,
.conocenos-card .title {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 600;
}
.hide-on-guide-visible {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s;
}
/* Fade y deslizamiento notorio para la imagen también */
.fade-img-out {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-img-in {
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
}
/* Fade y deslizamiento notorio para cambio de texto */
.fade-text-out {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-text-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.slide-up-out {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.slide-up-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
}
.slide-up-out {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.slide-up-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
}
/* Modal trailer */
.trailer-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(20,30,60,0.85);
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.trailer-modal-content {
    background: #232a3b;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 2px 24px rgba(30,41,59,0.25);
    position: relative;
    padding-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.trailer-modal iframe {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,41,59,0.18);
}
.close-trailer {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    transform: none;
    font-size: 2.2rem;
    color: #ffd700;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
    z-index: 2;
}
.close-trailer:hover {
    color: #fff;
}
/* Slides del banner */
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.banner-slide.active {
    display: flex;
}

.banner-social {
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: center;
    color: #fff;
    max-width: 100%;
    margin: 0 auto;
    transition: opacity 0.4s, transform 0.4s;
    width: 100%;
}

.social-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center;
    width: 100%;
}

.social-grid {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping on mobile */
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-img {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 600px) {
    .social-title {
        font-size: 1.5rem; /* Smaller title on mobile */
        margin-bottom: 1rem;
        padding: 0 1rem; /* Add padding to prevent text touching edges */
    }

    .social-grid {
        gap: 1.5rem; /* Reduce gap on mobile */
        flex-direction: row; /* Keep in row but allow wrap if needed */
    }

    .social-img {
        width: 40px; /* Smaller icons */
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    /* Adjust social-icon button size if needed, assuming .social-icon styles are elsewhere */
    .social-icon {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

.banner-social p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.social-icon {
    background: rgba(60, 90, 180, 0.38);
    color: #f7f8fa;
    border: 1.5px solid rgba(180,200,255,0.22);
    border-radius: 18px;
    padding: 1.1rem 2.5rem;
    font-size: 1.28rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 8px 36px 0 rgba(60,100,200,0.18), 0 2px 12px 0 rgba(80,120,200,0.13);
    transition: background 0.28s cubic-bezier(.4,0,.2,1), color 0.22s, border 0.22s, box-shadow 0.28s, transform 0.22s;
    cursor: pointer;
    text-align: center;
    backdrop-filter: blur(10px) saturate(1.3);
    outline: none;
}
.social-icon.instagram { border: 2px solid #e1306c; }
.social-icon.tiktok { border: 2px solid #010101; }
.social-icon.twitter { border: 2px solid #1da1f2; }
.social-icon:hover {
    background: rgba(60, 70, 100, 0.92);
    color: #e0e6f0;
    border-color: #bfc8e6;
    box-shadow: 0 4px 18px 0 rgba(80,120,200,0.13);
    transform: translateY(-2px) scale(1.045);
}
.hide-banner-actions {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
/* Guía para nuevos usuarios */
.new-user-guide {
    margin-top: 900px;
    margin-bottom: 180px;
    background: none;
    color: #fff;
    padding: 6rem 0 0 0; /* quitar padding inferior */
    min-height: auto;
    width: 100%;
    box-shadow: 0 2px 16px rgba(30,41,59,0.10);
    scroll-margin-top: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    flex: 1;
}
.guide-container {
    max-width: 900px;
    margin: 0 auto;
    background: none;
    border-radius: 32px;
    padding: 1.5rem 3.5rem 0 3.5rem; /* quitar padding inferior */
    box-shadow: 0 8px 36px 0 rgba(60,100,200,0.13), 0 2px 12px 0 rgba(80,120,200,0.09);
    backdrop-filter: blur(14px) saturate(1.2);
    text-align: center;
    border: 1.5px solid rgba(180,200,255,0.13);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}
/* Detalle decorativo moderno */
.guide-container::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #ffe06655 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
.guide-container > * {
    position: relative;
    z-index: 1;
}
.guide-container h2 {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 2.7rem;
    margin-top: 0.1rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-shadow: 0 0 8px #fff8, 0 1px 8px rgba(0,0,0,0.10);
}

.guide-intro {
    font-size: 1.25rem;
    color: #fffbe6;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
}

.guide-steps {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s, background 0.2s;
}

.guide-step:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.step-icon {
    font-size: 2.5rem;
    line-height: 1;
    min-width: 3rem;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-content b {
    display: block;
    font-size: 1.2rem;
    color: #ffe066;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', 'Trajan Pro', serif !important;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    font-size: 1.05rem;
    color: #e0e6f0;
    line-height: 1.6;
    font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 600px) {
    .guide-container {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }
    
    .guide-step {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .step-icon {
        font-size: 3rem;
    }
}
.guide-container h2::after {
    content: '';
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 80px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffe066 60%, #ffd700 100%);
    opacity: 0.85;
}
.guide-container ul {
    margin: 2.5rem auto;
    padding-left: 0;
    display: inline-block;
    text-align: left;
}
.guide-container li {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}
/* Botones centrales en el banner de video */
.banner-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 2.5rem;
    z-index: 5;
}
.banner-btn {
    background: rgba(60, 90, 180, 0.38);
    color: #f7f8fa;
    border: 1.5px solid rgba(180,200,255,0.22);
    border-radius: 18px;
    padding: 1.1rem 2.5rem;
    font-size: 1.28rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 8px 36px 0 rgba(60,100,200,0.18), 0 2px 12px 0 rgba(80,120,200,0.13);
    transition: background 0.28s cubic-bezier(.4,0,.2,1), color 0.22s, border 0.22s, box-shadow 0.28s, transform 0.22s;
    cursor: pointer;
    text-align: center;
    backdrop-filter: blur(10px) saturate(1.3);
    outline: none;
}
.banner-btn:hover {
    background: rgba(60, 70, 100, 0.92);
    color: #e0e6f0;
    border-color: #bfc8e6;
    box-shadow: 0 4px 18px 0 rgba(80,120,200,0.13);
    transform: translateY(-2px) scale(1.045);
}
/* Banner de video desplazable */

.video-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 0;
}

body, main, header, .banner, .conocenos-hero, .conocenos-stats, .conocenos-sections {
    position: relative;
    z-index: 2;
}


.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    margin: 0;
    padding: 0;
}

.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    z-index: -1;
}

.banner-dots {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.banner-dot {
    width: 38px;
    height: 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(180,200,255,0.18);
    box-shadow: none;
    backdrop-filter: blur(4px) saturate(1.1);
    cursor: pointer;
    transition: background 0.28s cubic-bezier(.4,0,.2,1), border 0.22s, transform 0.22s;
    outline: none;
}

.banner-dot.active {
    background: linear-gradient(90deg, #ffe066 60%, #fffbe6 100%);
    border: 2px solid #fffbe6;
    box-shadow: none;
    transform: scale(1.08);
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20,30,60,0.7) 60%, rgba(20,30,60,0.95) 100%);
    pointer-events: none;
    z-index: 1;
}

.banner {
    position: relative;
    z-index: 2;
}
body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: #10162a;
    color: #fff;
    transition: background 0.3s, color 0.3s;
    padding-top: 110px; /* igual o mayor que la altura del navbar */
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}


.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: #232a3b; /* azul oscuro sólido, opaco */
    box-shadow: 0 4px 24px 0 rgba(40,60,120,0.18), 0 2px 0 0 #10162a;
    color: #fff;
    padding: 0.75rem 2.5rem;
    font-family: 'Roboto', Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin: 0;
}

.logo {
    height: 62px;
    margin-right: 0.3rem;
}

.site-title {
    font-size: 1.1rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    background: none;
    text-shadow: none;
    transition: background 0.4s, text-shadow 0.3s;
    margin: 0 0.5rem;
    display: inline-block;
    /* transform eliminado para evitar texto ancho */
    vertical-align: middle;
}

.center-nav {
    flex: initial;
    display: flex;
    justify-content: center;
}

.nav-sections {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.nav-sections a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.18rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    position: static;
    box-shadow: 0 1px 4px rgba(40,60,120,0.08);
}

.nav-sections a.unete-separator {
    margin-left: 2.5rem;
}

.nav-sections a:hover {
    background: rgba(60, 90, 180, 0.22);
    color: #e0e6f0;
    box-shadow: 0 4px 18px 0 rgba(80,120,200,0.13);
    border-radius: 10px;
    transform: translateY(-2px) scale(1.045);
    transition: background 0.28s cubic-bezier(.4,0,.2,1), color 0.22s, box-shadow 0.28s, transform 0.22s;
}

.theme-toggle {
    margin-left: 1rem;
    background: linear-gradient(135deg, #232a3b 60%, #ffd700 100%);
    color: #fff;
    border: 2px solid #ffd700;
    border-radius: 50%;
    padding: 0.45rem 0.55rem;
    font-size: 1.15rem;
    font-family: 'Allegreya', serif;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(30,41,59,0.18);
    transition: background 0.3s, color 0.3s, transform 0.2s, border 0.3s;
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    outline: none;
    cursor: pointer;
}

.theme-toggle:hover {
    background: linear-gradient(135deg, #ffd700 60%, #232a3b 100%);
    color: #232a3b;
    border-color: #fff;
    transform: scale(1.12);
}

/* Modo oscuro */
body.dark-mode {
    background: #181818;
    color: #eee;
}

body.dark-mode .banner {
    background: rgba(30, 41, 59, 0.95);
    color: #eee;
}

body.dark-mode .nav-sections a {
    color: #eee;
}

body.dark-mode .nav-sections a:hover {
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
}

body.dark-mode .theme-toggle {
    background: rgba(255, 215, 0, 0.18);
    color: #eee;
}

body.dark-mode .theme-toggle:hover {
    background: rgba(255, 215, 0, 0.35);
    color: #ffd700;
}
.garrysmod-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.garrysmod-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20, 24, 40, 0.65);
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem 2.2rem 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    max-width: 420px;
    margin: 0 auto;
}
.garrysmod-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0;
    gap: 0.2rem;
    padding: 1rem;
}
.garrysmod-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: -18px;
    margin-top: 0.5rem;
    aspect-ratio: 1/1;
}
/* Hacer logo.png igual de grande que logogarrys.png */
.garrysmod-logo[src$='logo.png'] {
    width: 145px;
    height: 145px;
    margin-top: -18px;
}
.garrysmod-title {
    text-transform: uppercase;
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 0.1rem;
    letter-spacing: 0.045em;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
    line-height: 1.13;
    font-family: 'Roboto', Arial, sans-serif;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.5s cubic-bezier(.4,0,.2,1);
    will-change: transform, opacity;
}
.garrysmod-desc {
    text-transform: uppercase;
    color: #e0e0e0;
    font-size: clamp(1rem, 2.5vw, 1.28rem);
    text-align: center;
    margin-bottom: 2.3rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    line-height: 1.4;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.10);
    white-space: normal;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.5s cubic-bezier(.4,0,.2,1);
    will-change: transform, opacity;
}
/* Animación de fade y deslizamiento simple */
.fade-slide-out {
        opacity: 0;
        transform: translateX(60px);
        pointer-events: none;
        transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
}
.fade-slide-in {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
}
.garrysmod-buttons {
    display: flex;
    flex-direction: row;
    gap: 2.2rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.banner-btn-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.banner-btn-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    display: block;
}
.conocenos-card .stats-card-value {
    font-size: 2.7rem;
    color: #ffe9a0;
    font-weight: bold;
    text-shadow: 0 2px 12px rgba(60,60,0,0.18), 0 1px 0 #fffbe6;
    margin-top: 0.7rem;
    margin-bottom: 0.2rem;
    letter-spacing: 1.5px;
    transition: color 0.2s, text-shadow 0.2s;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.conocenos-card:hover .stats-card-value {
    color: #fffbe6;
    text-shadow: 0 2px 18px #ffd700, 0 1px 0 #fffbe6;
}

/* -----------------------------
   FAQ / Preguntas frecuentes
   Estilo "Magical Card" acorde con el resto de la web
   ----------------------------- */
#faq { padding-bottom: 1rem; }
.faq-container { max-width: 700px; margin: 0 auto; padding: 0 1.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }

/* Remove any accidental decorative lines on the left inside the FAQ area */
.faq-container, .faq-item { border-left: none !important; }
.faq-item::before, .faq-item::after, .faq-container::before, .faq-container::after { display: none !important; }

.faq-item {
    /* Mismo gradiente que las cards de conócenos pero ajustado */
    background: linear-gradient(120deg, #232a3b 60%, #3c5ab4 100%);
    border-radius: 12px; /* Menos curvado, look más sobrio */
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-color: rgba(255, 255, 255, 0.25);
}
/* Ajustes específicos para la sección de contacto: reducir espacio entre el título
   y el párrafo siguiente para que queden más pegados. Se usa !important para
   asegurar que sobreescriba estilos inline presentes en el HTML. */
#contacto .conocenos-stats {
    margin-bottom: 0.2rem;
}
#contacto .conocenos-stats h2 {
    margin-bottom: 0.1rem;
}
#contacto .conocenos-desc-unete-style {
    /* Separación adicional respecto al título de contacto */
    margin-top: 0.8rem !important;
    margin-bottom: 1rem !important;
}

/* Reducir espacio entre el título de 'Testimonios mágicos' y su contenido */
#reviews .conocenos-stats {
    margin-bottom: 0.2rem; /* menos espacio bajo el título */
}
#reviews .conocenos-stats h2 {
    margin-bottom: 0.08rem;
}
#reviews .conocenos-desc-unete-style {
    margin-top: 0.15rem; /* acercar el texto descriptivo al título */
    margin-bottom: 2rem; /* aumentar espacio entre la descripción y el slider (más espaciado solicitado) */
}
/* .conocenos-sections tenía inline style margin-top:1rem; forzamos un valor menor aquí */
#reviews .conocenos-sections {
    margin-top: 0.35rem !important;
}

/* Reducir espacio entre el slider de reseñas y la sección FAQ */
#reviews { 
    margin-bottom: 0.4rem; /* menos separación bajo reviews */
}
#faq {
    margin-top: 0.2rem; /* subir la sección FAQ hacia arriba */
    padding-top: 0 !important;
}
#faq .conocenos-stats {
    margin-top: -35px !important; /* solicitado: subir título FAQ */
    margin-bottom: 0.2rem;
}

/* Estilos para el botón 'Abrir ticket' en la sección de contacto */
.contact-actions { margin-top: 0.8rem; }
.contact-ticket-btn{
    display:inline-flex;
    align-items:center;
    gap:0.8rem;
    background: linear-gradient(135deg, #6f8ff7 0%, #3b61c9 60%, #2b3f90 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 14px 22px; /* mayor tamaño */
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 10px 32px rgba(28,50,120,0.22), inset 0 -2px 8px rgba(255,255,255,0.03);
    transition: transform 180ms cubic-bezier(.2,.9,.2,1), box-shadow 180ms ease, filter 160ms ease;
}
.contact-ticket-btn:hover{
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 44px rgba(28,50,120,0.28), inset 0 -2px 10px rgba(255,255,255,0.04);
}
.contact-ticket-btn:active{ transform: translateY(-1px) scale(0.995); }
.contact-ticket-btn:focus{ outline: none; box-shadow: 0 0 0 6px rgba(96,165,250,0.12); }
.contact-ticket-btn .ct-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    color:#fff;
    font-weight:800;
    font-size:1.05rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}
.contact-ticket-btn .ct-label{ text-transform:none; letter-spacing:0.4px; }

@media (max-width:600px){
    .contact-ticket-btn{ padding:10px 16px; gap:0.6rem; font-size:1rem; }
    .contact-ticket-btn .ct-icon{ width:30px;height:30px;font-size:1rem }
}

/* cursor customization removed per user request */


.faq-item[open] {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.faq-summary {
    padding: 1rem 1.8rem; /* Más estrecho verticalmente */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
    transition: color 0.3s ease;
}

.faq-summary:hover {
    color: #e0e7ff;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary .chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
    color: #ffffff;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .chevron {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.faq-body {
    padding: 0 1.8rem 1.5rem 1.8rem;
    color: #fffbe6;
    line-height: 1.6;
    font-size: 0.96rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    /* Eliminado el borde superior interno para un look más limpio */
    margin-top: -0.2rem;
    /* allow smooth open/close animation by animating max-height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms cubic-bezier(.2,.8,.2,1);
}

.faq-body p { margin: 0; }

@media (max-width: 600px) {
    .faq-summary { padding: 1rem 1.4rem; font-size: 1rem; }
    .faq-body { padding: 0 1.4rem 1.4rem 1.4rem; }
    .faq-summary .chevron { width: 28px; height: 28px; }
}

/* Reduce vertical gap between Reviews and FAQ title */
/* tightened spacing to bring FAQ title closer to the reviews slider */
#reviews .conocenos-sections { margin-bottom: 0rem; }
#reviews { margin-bottom: -0.3rem; }
#faq { margin-top: -0.2rem; }
#faq .conocenos-stats { margin-top: 0; margin-bottom: 0.08rem; padding-top: 0; }

.faq-body p { margin: 0; }

@media (max-width: 600px) {
    .faq-summary { padding: 1.2rem; font-size: 1rem; }
    .faq-body { padding: 0 1.2rem 1.2rem 1.2rem; }
    .faq-summary .chevron { width: 30px; height: 30px; }
}

/* --- FOOTER STYLES --- */
#site-footer {
    background-color: #0b0f1d;
    padding: 3rem 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-socials {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
    transform: translateY(-3px);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-socials img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.footer-socials a:hover img {
    filter: brightness(1.2);
}

.footer-copyright p {
    color: #a0aec0;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 1px;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .footer-socials {
        gap: 1.5rem;
    }
    .footer-socials a {
        width: 40px;
        height: 40px;
    }
    .footer-socials img {
        width: 20px;
        height: 20px;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none !important; /* Force hidden on Desktop/Tablet */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    display: none !important; /* Force hidden on Desktop/Tablet */
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #232a3b;
    box-shadow: -2px 0 10px rgba(0,0,0,0.5);
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
    font-family: 'Roboto', Arial, sans-serif;
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: #ffd700;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Media Queries */
/* Changed breakpoint to 767px so 768px (Tablet) keeps the PC menu */
@media (max-width: 767px) {
    .center-nav {
        display: none !important; /* Force hidden on Mobile */
    }
    
    .hamburger-menu {
        display: flex !important; /* Show on Mobile */
        margin-left: auto;
    }

    .mobile-nav {
        display: flex !important; /* Show on Mobile (but off-screen initially) */
    }
    
    .banner {
        justify-content: space-between;
        padding: 0.5rem 1rem; /* Reduced padding for mobile */
    }

    .logo {
        height: 40px; /* Smaller logo for mobile */
    }

    .site-title {
        font-size: 1rem; /* Smaller title for mobile */
    }
}

/* Gallery Sections Buttons */
.gallery-sections {
    display: flex;
    gap: 0.3rem; /* Reduced gap for better fit */
    justify-content: center;
    margin-bottom: 0.8rem;
    /* Removed flex-wrap to force single row on desktop */
}

.gallery-section-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 4px 6px; /* Further reduced padding */
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.8rem; /* Smaller font for compactness */
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.gallery-section-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.gallery-section-btn.active {
    background: linear-gradient(135deg, #ffd700 0%, #ffe066 100%);
    color: #232a3b;
    border-color: #ffd700;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .gallery-sections {
        gap: 0.5rem;
        padding: 0 0.5rem;
        flex-wrap: wrap; /* Allow wrapping on mobile */
    }
    
    .gallery-section-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
        flex: 1 1 auto; /* Allow buttons to grow/shrink */
        text-align: center;
        white-space: normal; /* Allow text to wrap inside button if needed */
        min-width: 120px; /* Ensure a minimum width for touch targets */
    }
}

