/* ////////////"Quiénes Somos"/////////// */

/* Video de fondo QUIENES SOMOS (estilos independientes) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem; /* 20px */
    background-color: #000000; /* Color de Fondo de Header */

    .logo {
        position: relative;
    }
    
    .logo img {
        height: 3.125rem; /* 50px */
        z-index: 1;
        position: relative;
        padding-right: 0.2rem!important;
    }
    
    .logo::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%)!important;
        width: 50%;
        height: 50%;
        border-radius: 40%;
        box-shadow: 0 0 30px rgba(208, 1, 223, 0.63);
        animation: neon-pulse 1s ease-in-out infinite;
        opacity: 1;
    }
}

#video-quienes-somos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Ajustes de brillo y posición */
#video-quienes-somos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); 
    mix-blend-mode: multiply;
    z-index: 1;
}

#video-quienes-somos video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1); 
}

/* Encabezado "Quiénes Somos" */
.quienes-somos-header {
    text-align: center;
    /* quitamos el !important y el padding fijo */
    max-width: 87.5rem;      /* 1400px / 16 = 87.5rem */
    padding: 0 3.75rem;      /* 60px horizontales, en rem */
    margin: 1.5rem auto 2rem;/* margen superior 24px, inferior 32px, centrado horizontal */
}

.quienes-somos-header h1 {
    font-family: 'Big Noodle Titling', sans-serif;
    font-size: clamp(3.75rem, 8vw, 5rem); /* 60px-120px */
    color: #DE3FF3;
    text-shadow: 0 0 5px #d001df37, 0 0 10px #D001DF, 0 0 20px #d001df5f;
    margin-bottom: 40px;
}

.quienes-somos-header p {
    font-family: 'TT Chocolates Trial Bold', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #ffffff;
    margin: 1.25rem 3rem 6rem;   /* solo margen arriba de 20px, sin centrar */
    line-height: 1.5;
    /* No establecemos width: 100% porque hereda el ancho del padre (max-width: 87.5rem) */
    text-align: left;
}

.quienes-somos-header p span {
    text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.7),
    0 0 15px rgba(255, 255, 255, 0.5);
    
}

/* Secciones temáticas */
.secciones-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mantener gap para separación, sin márgenes internos extras */
    gap: 0.9375rem;   /* 15px en rem, suficientemente relativo */
    padding: 0 3.75rem 3.75rem;  /* 60px en rem */
    max-width: 1400px;
    margin: 0 auto 1.5rem; /* 0 auto 60px */
    grid-auto-rows: 1fr;    /* filas de igual altura */
}

.seccion {
    /* Quitamos márgenes; dejamos solo padding interno */
    margin: 0;
    padding: 2.5rem;       /* 40px en rem */
    border-radius: 10px;
    background-color: rgba(28, 0, 42, 0); 
    box-shadow: 0 4px 20px rgba(208, 1, 223, 0); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;
    /*  <-- importante: alinear todo en la parte superior de la celda */
    align-items: flex-start;
    gap: 1.25rem !important;  /* 20px en rem */
}

.seccion:hover {
    transform: translateY(-0.3125rem); /* 5px en rem */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.icono {
    width: 5rem !important;   /* 80px en rem */
    height: 5rem !important;  /* 80px en rem */
    /* Ya no hace falta margin-right; el gap se encarga */
    margin-right: 0;
    transition: all 0.3s ease;
}

.seccion:hover .icono {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(208, 1, 223, 0.6));
}

.contenido {
    /* Aseguramos que el título siempre arranque pegado al top del bloque .seccion */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contenido h2 {
    font-family: 'Big Noodle Titling', sans-serif;
    font-size: 2.5rem;      /* 40px en rem */
    color: #ffffff;
    margin: 0;              /* quitamos márgenes superiores e inferiores */
    margin-bottom: 1.25rem; /* 20px en rem */
    line-height: 1.1;       /* para que no ocurra salto raro si hacen zoom */
}

.contenido p {
    font-family: 'TT Hoves Pro Trl Cnd', sans-serif;
    font-size: 1.875rem;    /* 30px → 1.875rem */
    color: #ffffff;
    margin: 0;              /* quitamos márgenes excesivos */
    line-height: 1.4;       /* mejor legibilidad al hacer zoom */
}

/* Descripción de cierre */
.cierre {
    text-align: center;
    margin-top: 5px; 
    margin-bottom: 30px; 
    margin: 3.125rem auto 9.375rem !important; /* 50px auto 150px */
    padding: 0 20px;
    max-width: 800px;
}

.cierre p {
    font-family: 'TT Chocolates Trial Bold', sans-serif;
    font-size: 2rem; /* 32px */ 
    color: #b27fff;
    text-shadow: 0 0 4px rgba(151, 74, 239, 0.7),
    0 0 7px rgba(151, 74, 239, 0.7);
}

.cierre p .disruptivos {
    color: #b27fff; /* Color sólido morado brillante */
    text-shadow: 0 0 4px rgba(151, 74, 239, 0.7),
    0 0 7px rgba(151, 74, 239, 0.7);
}


/* Efecto neón pulsante para "disruptivos" */
.disruptivos {
    position: relative;
    font-family: 'TT Chocolates Trial Bold', sans-serif;
    color: #ffffff; /* Color morado neón */
    text-shadow: 0 0 10px #d001df00, 0 0 20px #d001df00, 0 0 40px #d001df00;
    animation: neon-pulsee 2s infinite;
}

/* Animación de neón pulsante */
@keyframes neon-pulsee {
    0%, 100% { text-shadow: 0 0 0px #b27fff; }
    10% { text-shadow: 0 0 10px #b27fff, 0 0 30px #b27fff; }
}

/* === AJUSTES COMPLEMENTARIOS === */
.cierre p {
    text-align: center;
    padding: 20px 0;
}


/* Animación de intermitencia de luz */
@keyframes light-blink {
    25%, 50%, 100% {
        opacity: 1; /* Luz encendida */
        text-shadow: 0 0 10px #9e63fc, 0 0 20px #9e63fc, 0 0 40px #9e63fc;
    }
    25%, 75% {
        opacity: 0; /* Luz apagada */
        text-shadow: none;
    }
}

/* ========== RESPONSIVE - QUIENES SOMOS ========== */
@media (max-width: 768px) {
    /* Header y Menú Hamburguesa */
    header {
        padding: 15px 20px;
        flex-direction: column;
        position: relative;
    }

    .hamburger {
        display: flex !important;
        position: fixed !important;
        top: 25px;
        right: 20px;
        z-index: 1001;
    }

    nav {
        width: 100%;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: rgba(0,0,0,0.97);
        backdrop-filter: blur(15px);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        padding-top: 80px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav ul li a {
        font-size: 24px !important;
    }

    /* Contenido Principal */
    .quienes-somos-header {
        margin: 2rem 1rem !important;
        padding: 0 1px !important;
    }

    .quienes-somos-header h1 {
        font-size: 3.5rem !important; /* 56px */
        margin-bottom: 1.5rem !important;
        line-height: 1.1;
        text-shadow: 0 0 10px rgba(208, 1, 223, 0.5);
    }

    .quienes-somos-header p {
        font-size: 1.2rem !important; /* 19px */
        line-height: 1.4;
        margin: 0 auto 2rem !important;
        max-width: 90%;
        padding: 3rem; 
    }

    /* Secciones */
    .secciones-container {
        grid-template-columns: 1fr !important;
        padding: 0 30px 30px; 
        gap: 30px;
    }

    .seccion {
        flex-direction: column;
        text-align: center;
        margin: 0px 20px; 
        padding: 30px;
        gap: 15px;
    }

    .icono {
        width: 90px !important;  
        height: 90px !important;
        margin: 0 auto 10px !important;  /* Espacio inferior aumentado */
    }

    .contenido h2 {
        font-size: 32px !important;
    }

    .contenido p {
        font-size: 25px !important;
    }

    /* Cierre */
    .cierre {
        margin: 60px 20px !important;
    }

    .cierre p {
        font-size: 24px !important;
    }

    /* Video de fondo mobile */
    .video-background video {
        transform: scale(1.5);
    }
}

@media (max-width: 480px) {
    /* Ajustes para pantallas pequeñas */
    .quienes-somos-header h1 {
        font-size: 2.5rem !important; /* 40px */
    }

    .quienes-somos-header p {
        font-size: 1rem !important; /* 16px */
        max-width: 100%;
    }

    .seccion {
        padding: 20px 15px;
    }

    .contenido h2 {
        font-size: 28px !important;
    }

    .contenido p {
        font-size: 16px !important;
    }

    .cierre p {
        font-size: 22px !important;
    }
}