
/* Sección Quiénes Somos con imagen y texto lado a lado */
.quienes-somos-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.quienes-somos-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.quienes-somos-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 70vh;
}

/* Contenedor de la imagen (lado izquierdo) */
.imagen-container {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.imagen-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.imagen-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imagen-container:hover .imagen-principal {
    transform: scale(1.05);
}

/* Overlay decorativo sobre la imagen */
.imagen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 52, 52, 0.3), rgba(255, 215, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.imagen-container:hover .imagen-overlay {
    opacity: 1;
}

/* Contenedor del contenido (lado derecho) */
.contenido-container {
    padding: 40px;
    position: relative;
}

/* Título principal */
.titulo-principal {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1d1d1d, #565656);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.3s forwards;
}

.subtitulo {
    font-size: 1.5rem;
    color: #070707;
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.5s forwards;
}

.descripcion-principal {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.7s forwards;
}

/* Tarjetas de información apiladas verticalmente */
.info-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card-compact {
    background: linear-gradient(135deg, rgba(255,215,0,0.08) 0%, rgba(255,255,255,0.8) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #d4af37, #f4e17a) 1;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    opacity: 0;
    transform: translateX(50px);
}

.info-card-compact:nth-child(1) { 
    animation: slideInRight 0.8s ease 0.9s forwards; 
}
.info-card-compact:nth-child(2) { 
    animation: slideInRight 0.8s ease 1.1s forwards; 
}
.info-card-compact:nth-child(3) { 
    animation: slideInRight 0.8s ease 1.3s forwards; 
}

.info-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.6s ease;
}

.info-card-compact:hover::before {
    left: 100%;
}

.info-card-compact:hover {
    transform: translateX(-10px);
    box-shadow: 0 15px 30px rgba(255,215,0,0.15);
    border-image: linear-gradient( #d4af37, #f4e17a) 1;
}

.card-title-compact {
    font-size: 1.5rem;
    font-weight: bold;
    color: #343434;
    margin-bottom: 1rem;
    position: relative;
}

.card-title-compact::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #d4af37, #f4e17a);
    transition: width 0.3s ease;
}

.info-card-compact:hover .card-title-compact::after {
    width: 50px;
}

.card-content-compact {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Línea decorativa */
.decorative-line-right {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    margin: 2rem 0;
    border-radius: 2px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.8s forwards;
}

/* Animaciones */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .quienes-somos-container {
        gap: 40px;
    }
    
    .imagen-container {
        height: 500px;
    }
    
    .titulo-principal {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .quienes-somos-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .imagen-container {
        height: 400px;
        order: -1;
    }
    
    .contenido-container {
        padding: 20px;
    }
    
    .titulo-principal {
        font-size: 2.5rem;
    }
    
    .info-card-compact {
        transform: none;
        animation: fadeInUp 0.8s ease forwards;
    }
    
    .info-card-compact:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .titulo-principal {
        font-size: 2rem;
    }
    
    .subtitulo {
        font-size: 1.2rem;
    }
    
    .descripcion-principal {
        font-size: 1rem;
    }
    
    .info-card-compact {
        padding: 1.5rem;
    }
    
    .card-title-compact {
        font-size: 1.3rem;
    }
}




/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Media Queries adicionales para Header - Responsive */
@media (max-width: 768px) {
    .menu_principal {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        width: 150px;
        height: 100px;
    }

    table td {
        padding: 0 15px;
    }

    table {
        border-spacing: 30px 0;
    }

    .social-media-container {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 10px;
    }
}
 .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #050505;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .loading-screen.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        /* Imagen de carga */
        .loading-image {
            max-width: 500px;
            max-height: 500px;
            width: auto;
            height: auto;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { 
                transform: scale(1);
                opacity: 0.8;
            }
            50% { 
                transform: scale(1.05);
                opacity: 1;
            }
        }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
     font-family: Arial, sans-serif;
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     overflow-x: hidden;
}

/* Header y navegación */
.menu_principal {
    background-color: #343434;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    width: 100%;
}

/* Redes sociales */
.social-media-container {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    z-index: 10;
}

.boton-facebook,
.boton-twiter,
.boton-instagram,
.boton-linkin,
.boton-tiktok {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.boton-ubicacion,
.boton-telefono,
.boton-email {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-right: 8px;
}

.boton-facebook:hover,
.boton-twiter:hover,
.boton-instagram:hover,
.boton-linkin:hover,
.boton-tiktok:hover,
.boton-ubicacion:hover,
.boton-telefono:hover,
.boton-email:hover {
    transform: scale(1.1);
}

/* Logo */
.logo {
    width: 250px;
    height: 150px;
    margin-top: -25px;
}

/* Navegación - Enlaces en blanco */
table {
    margin-top: 70px;
    flex: 1;
    padding: 30px 10px;
    border-spacing: 60px 0;
    text-align: center;
    color: white;

}

table td {
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 10px;
    border-radius: 5px;
}

table td a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

table td:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 215, 0, 0.1);
}

table td:hover a {
    color: #FFD700 !important;
}

/* Sección Quiénes Somos con imagen y texto lado a lado */
.quienes-somos-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.quienes-somos-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.quienes-somos-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 70vh;
}

/* Contenedor de la imagen (lado izquierdo) */
.imagen-container {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.imagen-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.imagen-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imagen-container:hover .imagen-principal {
    transform: scale(1.05);
}

/* Overlay decorativo sobre la imagen */
.imagen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 52, 52, 0.3), rgba(255, 215, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.imagen-container:hover .imagen-overlay {
    opacity: 1;
}

/* Contenedor del contenido (lado derecho) */
.contenido-container {
    padding: 40px;
    position: relative;
}

/* Título principal */
.titulo-principal {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1d1d1d, #565656);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.3s forwards;
}

.subtitulo {
    font-size: 1.5rem;
    color: #070707;
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.5s forwards;
}

.descripcion-principal {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.7s forwards;
}

/* Tarjetas de información apiladas verticalmente */
.info-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card-compact {
    background: linear-gradient(135deg, rgba(255,215,0,0.08) 0%, rgba(255,255,255,0.8) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #d4af37, #f4e17a) 1;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    opacity: 0;
    transform: translateX(50px);
}

.info-card-compact:nth-child(1) { 
    animation: slideInRight 0.8s ease 0.9s forwards; 
}
.info-card-compact:nth-child(2) { 
    animation: slideInRight 0.8s ease 1.1s forwards; 
}
.info-card-compact:nth-child(3) { 
    animation: slideInRight 0.8s ease 1.3s forwards; 
}

.info-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.6s ease;
}

.info-card-compact:hover::before {
    left: 100%;
}

.info-card-compact:hover {
    transform: translateX(-10px);
    box-shadow: 0 15px 30px rgba(255,215,0,0.15);
    border-image: linear-gradient( #d4af37, #f4e17a) 1;
}

.card-title-compact {
    font-size: 1.5rem;
    font-weight: bold;
    color: #343434;
    margin-bottom: 1rem;
    position: relative;
}

.card-title-compact::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #d4af37, #f4e17a);
    transition: width 0.3s ease;
}

.info-card-compact:hover .card-title-compact::after {
    width: 50px;
}

.card-content-compact {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Línea decorativa */
.decorative-line-right {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    margin: 2rem 0;
    border-radius: 2px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 0.8s forwards;
}

/* Animaciones */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .quienes-somos-container {
        gap: 40px;
    }
    
    .imagen-container {
        height: 500px;
    }
    
    .titulo-principal {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    /* Header responsive */
    .menu_principal {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        width: 150px;
        height: 100px;
    }

    table td {
        padding: 0 15px;
    }

    table {
        border-spacing: 30px 0;
    }

    .social-media-container {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 30px;

    }

    /* Quienes somos responsive */
    .quienes-somos-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .imagen-container {
        height: 400px;
        order: -1;
    }
    
    .contenido-container {
        padding: 20px;
    }
    
    .titulo-principal {
        font-size: 2.5rem;
    }
    
    .info-card-compact {
        transform: none;
        animation: fadeInUp 0.8s ease forwards;
    }
    
    .info-card-compact:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    /* Header y navegación - APLICANDO RESPONSIVE DE STYLE.CSS */
    .menu_principal {
        padding: 10px 5px;
        min-height: auto;
        flex-direction: column;
        gap: 15px;
    }
    
    .title-container {
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        position: relative;
    }
    
    .logo {
        width: 140px;
        height: 100px;
        margin-top: 0;
    }
    
    /* ARREGLO PRINCIPAL: Redes sociales en móvil */
    .social-media-container {
        position: static !important; /* Eliminar posición absoluta */
        right: auto !important;
        top: auto !important;
        transform: none !important;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin: 0;
        z-index: 10;
        margin-top: -30px;
    }
    
    .boton-facebook,
    .boton-twiter,
    .boton-instagram,
    .boton-linkin,
    .boton-tiktok {
        width: 35px;
        height: 35px;
        flex-shrink: 0; /* Evitar que se compriman */
    }
    
    .boton-ubicacion,
    .boton-telefono,
    .boton-email {
        width: 30px;
        height: 30px;
    }
    
    /* Navegación tabla - SEPARADA y al final */
    table {
        border-spacing: 8px 0;
        margin-top: 10px; /* Espacio después de las redes sociales */
        order: 3; /* Menú de navegación al final */
        width: 100%;
        padding: 0;
    }
    
    table td {
        padding: 12px 8px;
    }
    
    table td a {
        font-size: 0.9em;
        white-space: nowrap;
        font-weight: 500;
    }

    /* Quienes somos responsive para móvil */
    .titulo-principal {
        font-size: 2rem;
    }
    
    .subtitulo {
        font-size: 1.2rem;
    }
    
    .descripcion-principal {
        font-size: 1rem;
    }
    
    .info-card-compact {
        padding: 1.5rem;
    }
    
    .card-title-compact {
        font-size: 1.3rem;
    }
}

/* Footer */
.footer {
    background-color: #343434;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
}

.footer h4 {
    margin-bottom: 15px;
    color: white;
}

.footer p {
    margin: 5px 0;
    color: #ccc;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer-bottom {
    border-top: 1px solid #FFD700;
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
}

.ubicacion-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}




