* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================== */
/* ========== HERO SECTION ================= */
/* ========================================== */

.qs-hero {
    background: linear-gradient(135deg, #05053d 0%, #05053d 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.qs-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.qs-hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.qs-hero h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.qs-hero p {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

/* ========================================== */
/* ========== CONTAINER ==================== */
/* ========================================== */

.qs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* ========================================== */
/* ========== INTRODUCCIÓN ================= */
/* ========================================== */

.qs-intro {
    background: #0a0a5a;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 60px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.qs-intro-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.qs-intro-content p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.qs-intro-content p:last-child {
    margin-bottom: 0;
}

/* ========================================== */
/* ========== GRID MISIÓN Y VISIÓN ========= */
/* ========================================== */

.qs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.qs-card {
    background: #0a0a5a;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.qs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.qs-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.qs-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.qs-card h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
}

.qs-card p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
}

/* ========================================== */
/* ========== VALORES ====================== */
/* ========================================== */

.qs-valores {
    background: #0a0a5a;
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.qs-valores-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.qs-valores-header i {
    font-size: 36px;
    color: #3b82f6;
}

.qs-valores-header h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
}

.qs-valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.qs-valor-item {
    background: rgba(59, 130, 246, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.qs-valor-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateY(-5px);
}

.qs-valor-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.qs-valor-item h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.qs-valor-item p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================== */
/* ========== RESPONSIVE =================== */
/* ========================================== */

@media (max-width: 991px) {
    .qs-hero h1 {
        font-size: 40px;
    }

    .qs-hero p {
        font-size: 16px;
    }

    .qs-container {
        padding: 60px 20px;
    }

    .qs-intro {
        flex-direction: column;
        padding: 40px;
    }

    .qs-intro-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .qs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .qs-valores {
        padding: 40px;
    }

    .qs-valores-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .qs-hero {
        min-height: 40vh;
        padding: 60px 20px;
    }

    .qs-hero h1 {
        font-size: 34px;
    }

    .qs-hero p {
        font-size: 15px;
    }

    .qs-intro {
        padding: 30px;
    }

    .qs-intro-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .qs-card,
    .qs-valores {
        padding: 30px;
    }

    .qs-card h2 {
        font-size: 22px;
    }

    .qs-valores-header h2 {
        font-size: 28px;
    }

    .qs-valores-header i {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .qs-hero h1 {
        font-size: 28px;
    }

    .qs-container {
        padding: 40px 15px;
    }

    .qs-intro {
        padding: 25px;
    }

    .qs-intro-content p {
        font-size: 15px;
    }

    .qs-card,
    .qs-valores {
        padding: 25px;
    }

    .qs-card h2 {
        font-size: 20px;
    }

    .qs-valores-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .qs-valores-header h2 {
        font-size: 24px;
    }

    .qs-valor-item {
        padding: 25px;
    }
}