/* =========================================
   QUIÉNES SOMOS - LIBREMENTE
   Diseño Moderno y Profesional
   ========================================= */

/* Contenido Principal */
.qs-main-content {
    margin-top: 5px;
    min-height: calc(100vh - 60px);
    background: #ffffff;
}

/* =========================================
   HERO SECTION
   ========================================= */
.qs-hero-section {
    background: linear-gradient(135deg, #6b4c7f 0%, #5a9e7f 100%);
    padding: 20px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.qs-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.qs-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.qs-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qs-hero-title i {
    color: #fff;
}

.qs-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 300;
}

.qs-hero-image {
    position: relative;
    z-index: 2;
}

.qs-hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =========================================
   CONTENIDO PRINCIPAL
   ========================================= */
.qs-content {
    padding: 40px 0 80px;
}

/* Introducción */
.qs-intro {
    max-width: 900px;
    margin: 0 auto 60px;
}

.qs-lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #2c3e50;
    font-weight: 300;
}

.qs-lead strong {
    color: #6b4c7f;
}

/* Títulos de Sección */
.qs-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.qs-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6b4c7f, #5a9e7f);
    border-radius: 2px;
}

/* Textos Grandes */
.qs-text-large {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
    font-weight: 300;
}

/* Features */
.qs-feature {
    padding: 40px 30px;
    transition: transform 0.3s ease;
}

.qs-feature:hover {
    transform: translateY(-10px);
}

.qs-feature-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #6b4c7f 0%, #5a9e7f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(107, 76, 127, 0.2);
}

.qs-feature-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.qs-feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.qs-feature-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Tecnología */
.qs-tech-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 40px;
    border-radius: 20px;
    margin: 60px 0;
}

.qs-tech-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 3.5rem;
    color: #6b4c7f;
}

.tech-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Misión y Visión */
.qs-mission-vision {
    padding: 50px 40px;
    background: white;
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
}

.qs-mission-vision:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.qs-mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #6b4c7f 0%, #5a9e7f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qs-mv-icon i {
    font-size: 2.2rem;
    color: white;
}

.qs-mv-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    text-align: center;
}

.qs-mv-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin: 0;
    text-align: center;
}

/* Valores */
.qs-values-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
}

.qs-value {
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.qs-value:hover {
    transform: translateY(-8px);
}

.qs-value i {
    font-size: 3rem;
    color: #6b4c7f;
    margin-bottom: 15px;
    display: block;
}

.qs-value h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.qs-value p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Footer */
.qs-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .qs-hero-section {
        padding: 60px 0;
        margin-bottom: 40px;
    }
    
    .qs-hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .qs-hero-subtitle {
        font-size: 1.15rem;
        text-align: center;
    }
    
    .qs-hero-image {
        margin-top: 40px;
    }
    
    .qs-hero-image img {
        max-height: 300px;
    }
    
    .qs-section-title {
        font-size: 2rem;
    }
    
    .qs-lead {
        font-size: 1.25rem;
    }
    
    .qs-tech-stack {
        gap: 30px;
    }
    
    .tech-item i {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .qs-main-content {
        margin-top: 35px;
    }
    
    .qs-hero-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    
    .qs-hero-title {
        font-size: 2rem;
    }
    
    .qs-hero-subtitle {
        font-size: 1.05rem;
    }
    
    .qs-hero-image img {
        max-height: 250px;
    }
    
    .qs-content {
        padding: 30px 0 60px;
    }
    
    .qs-section-title {
        font-size: 1.8rem;
    }
    
    .qs-lead {
        font-size: 1.15rem;
    }
    
    .qs-text-large {
        font-size: 1.1rem;
    }
    
    .qs-feature {
        padding: 30px 20px;
    }
    
    .qs-feature-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .qs-feature-icon-wrapper i {
        font-size: 2rem;
    }
    
    .qs-tech-section {
        padding: 40px 25px;
    }
    
    .tech-item i {
        font-size: 2.5rem;
    }
    
    .qs-mission-vision {
        padding: 35px 25px;
    }
    
    .qs-values-section {
        padding: 40px 25px;
    }
}

@media (max-width: 576px) {
    .qs-hero-title {
        font-size: 1.8rem;
    }
    
    .qs-section-title {
        font-size: 1.6rem;
    }
    
    .qs-lead {
        font-size: 1.1rem;
    }
    
    .qs-tech-stack {
        gap: 25px;
    }
    
    .tech-item i {
        font-size: 2.2rem;
    }
    
    .tech-item span {
        font-size: 1rem;
    }
    
    .qs-value i {
        font-size: 2.5rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qs-intro,
.qs-feature,
.qs-tech-section,
.qs-mission-vision,
.qs-value {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.qs-intro { animation-delay: 0.1s; }
.qs-feature:nth-child(1) { animation-delay: 0.2s; }
.qs-feature:nth-child(2) { animation-delay: 0.3s; }
.qs-feature:nth-child(3) { animation-delay: 0.4s; }
.qs-tech-section { animation-delay: 0.5s; }
.qs-mission-vision:nth-child(1) { animation-delay: 0.6s; }
.qs-mission-vision:nth-child(2) { animation-delay: 0.7s; }
.qs-value:nth-child(1) { animation-delay: 0.8s; }
.qs-value:nth-child(2) { animation-delay: 0.9s; }
.qs-value:nth-child(3) { animation-delay: 1s; }
.qs-value:nth-child(4) { animation-delay: 1.1s; }